Project

General

Profile

Emulator Issues #10791

libogc ucodes aren't implemented in DSPHLE

Added by ryanebola16 about 3 years ago. Updated 7 months ago.

Status:
Accepted
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Feature request
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

Project M Launcher (attached)

What's the problem? Describe what went wrong.

Freezes upon playing game. Doesn't occur with DSP LLE.

What steps will reproduce the problem?

  1. Launch Project M Launcher with DSP HLE
  2. Press "Play"
  3. Observe freeze. See attached log. Probably has something to do with the "Unknown mail sent to AX::HandleMail"

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

5.0-6177

What are your PC specifications? (CPU, GPU, Operating System, more)

Samsung Galaxy Note8 (SM-N950U)
Qualcomm Snapdragon 835
Octa-core (4x2.35 GHz Kryo & 4x1.9 GHz Kryo)
Adreno 540
6GB RAM (LPDDR4)
Baseband version N950USQS2BQK2
Kernel version 4.4.21
Android 7.1.1

and

Win 10 Pro x64
Intel Core i7-4702MQ CPU @2.20GHz
GeForce GT 750M
GeForce Game Ready Driver 390.65

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

Project M Launcher can be used to load most Gecko OS compatible Brawl mods too.

For Android Gecko OS can run Brawl mods at about 11 FPS due to needing the cached interpreter (see #10786).
Project M Launcher + LLE gets the FPS in the upper 30's!

dolphin.log (72.1 KB) dolphin.log ryanebola16, 01/12/2018 05:22 PM
PML.rar (1.97 MB) PML.rar ryanebola16, 01/12/2018 05:22 PM
DSP.zip (26.9 KB) DSP.zip ryanebola16, 09/03/2020 09:51 AM

History

#1 Updated by ryanebola16 about 3 years ago

Placing a reminder here for me to move ...\Dolphin Emulator\GameSettings\00000000.ini when testing fixes for this since I made it force DSPHLE = False

#2 Updated by leoetlino about 3 years ago

  • Issue type changed from Bug to Feature request
  • Priority changed from Normal to Low
  • Status changed from New to Accepted
  • Subject changed from Project M Launcher freeze to libogc ucodes aren't implemented in DSPHLE

#3 Updated by ryanebola16 about 3 years ago

Could we remove the low priority status? A lot of people use the Project M Launcher for loading codes, Android doesn't have code editing in the UI, and Gecko OS has even worse problems.

#4 Updated by leoetlino about 3 years ago

It's been a known issue since 2015 and this is the first feature request about it AFAIK. Based on that, I'd say this is low priority, at least for the developers.

https://forums.dolphin-emu.org/Thread-homebrew-detection-of-dolphin-in-newer-builds?pid=371512#pid371512

#5 Updated by ryanebola16 12 months ago

  • Priority changed from Low to Normal

Now that I'm a developer who's interested in getting this implemented I can make it not low priority! No idea if this is difficult though.
Can someone tell me where ucodes can be found in Dolphin and then I can read up on them? If someone also knows where to find the ucodes to implement within libogc that will be helpful too.

#6 Updated by JMC4789 12 months ago

Your best bet would be hopping onto our IRC channels and asking questions.

#8 Updated by ryanebola16 7 months ago

I don't know when I'll get around to looking into this again but I dumped the relevant UCodes.

And the launcher's "config.xml" still calls unknown opcodes even with:
<useSoundEffects>false</useSoundEffects>
<useMusic>false</useMusic>

#9 Updated by ryanebola16 7 months ago

  • Related to Emulator Issues #10865: Super Smash Bros. Brawl: File Patch Code prevents masterpiece games from loading added

#10 Updated by ryanebola16 7 months ago

  • Related to Emulator Issues #11113: Gecko OS DSI exception occurs when Emulated or Real Wii Remote is connected added

#11 Updated by ryanebola16 7 months ago

  • Related to Emulator Issues #10896: Real Wii Remotes don't reconnect when using Gecko OS or Minima Launcher added

#12 Updated by ryanebola16 7 months ago

  • Milestone set to Current

Since the likely related issues involve serious errors and unknown opcodes I think this should be part of the Current milestone. Feel free to remove that status if the opcodes are actually unrelated to libogc.

#13 Updated by JosJuice 7 months ago

  • Milestone deleted (Current)

A new feature this big with this little developer interest can't warrant a Current milestone in my opinion.

#14 Updated by JosJuice 7 months ago

Regarding the issues you marked as related, have you tested that they occur with DSP HLE but don't occur with DSP LLE? If that isn't the case, they're not related to this issue.

#15 Updated by ryanebola16 7 months ago

I marked this as Current because it may fix other Current issues. Shouldn't we attempt to implement the relevant opcodes in the related issues before removing the Current status? Also, does that mean I should assume all libogc codes work in DSPLLE if I'm using a NAND dump? I'll retest the issues to make sure they work with DSPLLE and not DSPHLE.

#16 Updated by JosJuice 7 months ago

I don't know what a NAND dump would have to do with it, but if there is an issue with libogc ucodes when using DSP LLE, such as unimplemented opcodes, then that is a valid issue that has no relation to this issue. This issue is about HLE implementation of libogc ucodes only.

#17 Updated by ryanebola16 7 months ago

Oh I just realized that a real DSP ROM isn't part of the NAND dump. Ok this all makes sense now. I'll assume that the unknown opcodes I found in the related issues are likely the causes of those issues. And if any of the related issues occur with DSP LLE I'll unlink them from this issue. Sorry for the confusion.

#18 Updated by ryanebola16 7 months ago

  • Related to deleted (Emulator Issues #10865: Super Smash Bros. Brawl: File Patch Code prevents masterpiece games from loading)

#19 Updated by ryanebola16 7 months ago

  • Related to deleted (Emulator Issues #11113: Gecko OS DSI exception occurs when Emulated or Real Wii Remote is connected)

#20 Updated by ryanebola16 7 months ago

  • Related to deleted (Emulator Issues #10896: Real Wii Remotes don't reconnect when using Gecko OS or Minima Launcher)

Also available in: Atom PDF