Emulator Issues #10295
Gecko OS not loading properly
Game ID? (right click the game in the game list, properties, info tab)
MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)
What's the problem? Describe what went wrong.
When using the SD card method (boot.elf and all of that), Dolphin throws up "Invalid read from 0x0000000c, PC = 0x80e4ee9c"
The game still boots, but the music is messed up like Gecko hooked wrong.
What steps will reproduce the problem?
- Have Project M in a virtual SD card
- Set everything up in Dolphin
- Run boot.elf
- Enjoy bad system calls
Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?
5.0 works fine
Latest version (5.0-3803) doesn't
What are your PC specifications? (CPU, GPU, Operating System, more)
Windows 7 x64 (SP1)
nVidia GeForce GTX 760 (Gigabyte GV-N760OC-2GD REV2.0)
Intel Core i7-4770
8GB G.Skill Sniper Low Voltage edition
Is there any other relevant information? (e.g. logs, screenshots,
JMC asked me to narrow down builds that did and didn't work, but he also mentioned that recent IOS work may have caused this issue too. I personally think that's the case as well considering the following.
Before installing the requested IOS, Gecko would say that the game needed a certain kind of IOS to run at all. Something it didn't ask for in a vanilla installation of 5.0.
He also asked me to try all the various Gecko hooking methods. No dice.
Also, in game, for some reason you can't grab. The game registers the Z input but you just don't grab.
And last but not least, I get a different error message when I try to turn off the console.
#12 Updated by leoetlino over 2 years ago
Please find the actual version that affects Gecko OS. There have been so many changes and fixes that it's hard and time-consuming for someone who doesn't know much about the issue to figure out what the problem is.
(The log doesn't show anything interesting, sadly.)
#15 Updated by theincrediblemastere over 2 years ago
3272 did something interesting. Not just bad IOS calls, but bad PowerPC interpreter instructions!
Garbage starts at 21:17:693
Since it's not the behavior I experienced when submitting this report, I'll test later builds to see when this phenomena stopped.
#19 Updated by JMC4789 over 2 years ago
I think one of the first things to do is to maybe start fresh with a NAND? Maybe yours got corrupted at some point. The second thing to do is to figure out why all these weird builds are affecting it. None of the bisects are making sense, and when my testing disagrees with it, that's problematic for anyone trying to look into it as we don't have a consistent reproduction of the behavior.
#23 Updated by leoetlino over 2 years ago
Nothing to copy, since you're not going to use the fresh NAND for anything other than testing the issue... Just download the latest dev build, create a portable.txt file next to the executable (which will make Dolphin use a separate, clean profile + NAND), and try to reproduce your issue using that version and profile.
Btw, "Launch Channel" disappearing is entirely normal. It's the expected behaviour, and it matches what you would see on a real Wii when using an up-to-date IOS. (That should only be happening after 5.0-3274; looks like your bisect isn't totally correct.)
#24 Updated by theincrediblemastere over 2 years ago
Well it appears that may have done the trick.
As I mentioned earlier, Gecko started up saying "Using IOS 58" below the selections and then it requested to download IOS 36. After downloading the IOS and having to manually reset (Pressing B didn't reset like it said it would...), things appear to be okay.
I got and still get flooded with "Invalid read from 0x0000000c, PC = 0x80e4ee9c" when booting Gecko and launching the game, but it appears to work like it used to, grabbing and everything. I also still get flooded with various error messages when closing out of the Gecko menu until Dolphin finally crashes, but I won't have to be doing that anymore hopefully.
What should I do next? How do I get a new NAND without losing all my save data?
#27 Updated by theincrediblemastere over 2 years ago
Thanks for leaving me hangin' again...
Have an SD card.
#28 Updated by theincrediblemastere over 2 years ago
Well since I got left out to dry again, I did the work myself. Again.
I made a fresh .raw of Project M 3.6. Same errors, same bugged out music, same everything.
And if it was an incorrectly setup P:M then why would it be running perfectly on vanilla 5.0?
Listen, I'm at the end of my rope. Do you want video of it all happening so you can see it in real time? I just don't know what's going on or what I can do...
#29 Updated by JMC4789 over 2 years ago
There are a ton of people who put stuff on the issue tracker all the time and I miss messages. I have no idea what to do from here on out.
Considering how much debugging would have to be done, it's imperative that a developer be able to reproduce this mess. I'll try loading your SD card and seeing what happens.
#32 Updated by taolas over 2 years ago
I have the same issue with error messages. Not sure about buggy music/etc. I looked at the code and it seems intentional. It compares r3 to 0 and, if true, branches to an instruction that loads from 0x000c (r3), which would have r3 = 0. Is Gecko OS supposed to mess with the 0x00000000 region?
I tried in Dolphin 5.0 and it does the same thing, but Dolphin just ignores it rather than throwing errors. I don't know if someone without errors has the same thing running. The location for my code error is different than OP, so not sure if it's exactly the same.
What happens if you apply this AR nop code. Probably ignores the error, but does stuff break?
#37 Updated by JMC4789 about 2 years ago
Marcan sent me this, so I'm pretty sure he won't mind if I put it somewhere.
I'll give you a week or two to test it, if you don't respond I'll probably close the issue or forget about it. Sorry about the delay myself, been doing a lot of issue tracker cleanup.
#38 Updated by theincrediblemastere about 2 years ago
Thanks. It's cool, you're a busy dude.
Installed the .wad to my NAND and ran it through the Wii menu. Still suffering from the same issues... Even if I were to run it from the Dolphin launcher!
I'm not getting invalid reads, but the music is still messed up and I can't grab. Also, in the Project M launcher menu, I get "Failed to reserve memory for encoded texture upload" alerts.
Honestly at this point, I haven't the faintest idea what's going on... My build has worked before, and you personally said it checks out... Motherboard BIOS issues maybe?
#41 Updated by ryanebola16 over 1 year ago
I don't know if this issue is the exact same problem I'm encountering but Gecko OS inconsistently throws panic alerts when starting the app. This problem has been around for a while and remains in 5.0-6203. I still haven't found a way to reliably reproduce the issue.