Emulator Issues #12970
closedGameCube Service Disc-Optical Disc Drive
0%
Description
Game Name?
US GameCube Service Disc
Game ID? (right click the game in the game list, Properties, Info tab)
301E01
MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)
536dba21b557c8d8cd8292534cfaa260
What's the problem? Describe what went wrong.
The Optical Disc Drive test results in Dolphin failing the second of two tests. It outputs the following error at it's end: "TEST FAILED" and "direg2.dol Code:5000000".
What steps will reproduce the problem?
Run the "Optical Disc Drive Test"
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
Yes, 5.0-16831
Is the issue present in the latest stable version?
No, 5.0
If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)
5.0-11476 -> https://dolphin-emu.org/download/dev/966e1b31ba42f836df2f2c8fff98687267912885/
If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer
[Attach any fifologs if possible, write a description of fifologs and screenshots here to assist people unfamiliar with the game.]
What are your PC specifications? (CPU, GPU, Operating System, more)
i7-8750H
GTX 1060
Windows 10
8GB DDR4
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
[Anything else here]
Files
Updated by ZephyrSurfer over 2 years ago
- File optical_disc_drive_test_log_5.0-11458.txt optical_disc_drive_test_log_5.0-11458.txt added
- File optical_disc_drive_test_log_5.0-11476.txt optical_disc_drive_test_log_5.0-11476.txt added
Some sort of difference between physical and virtual memory. Is that significant?
Let me know if you need anything, I'll see what else I can do.
Updated by pokechu22 over 2 years ago
That error code corresponds to DriveState::MotorStopped (5), DriveError::None (000000). 5.0-11476 introduced an issue there (see #12017), which was fixed in 5.0-12436 (PR 8571). Can you check that version and provide logs for it and the current version?
The difference with the physical/virtual addresses is because I changed the masking on s_DIMAR
. I don't remember if there was a related hardware test or not, but this affects all games and is likely not relevant.
Updated by ZephyrSurfer over 2 years ago
- File optical_disc_drive_test_log_5.0-12426.txt optical_disc_drive_test_log_5.0-12426.txt added
- File optical_disc_drive_test_log_5.0-12436.txt optical_disc_drive_test_log_5.0-12436.txt added
- File optical_disc_drive_test_log_5.0-16831.txt optical_disc_drive_test_log_5.0-16831.txt added
I included three. The one right before 5.0-12436 as well in case it helps in comparisons. A log from latest development version is included too
Updated by pokechu22 over 2 years ago
OK, after looking at this further, I think I confused myself with that 0x5000000 motor stopped comment. With a current log, there would be logging for when a read is attempted with the motor stopped, and logging for when the game checks the error code.
There is, however, this in the log (which wasn't there in the working version):
58:28:616 Core\HW\EXI\EXI_DeviceIPL.cpp:306 N[OSREPORT]:
test 0x600, pad bits set
The commit where I removed that masking was this one, where I note that it is "Based on a hardware test on a Wii". It's quite likely that the Wii handles masking differently here, since it has MEM2 from physical address 0x10000000 to 0x13FFFFFF in addition to the GameCube's MEM1 from physical address 0x00000000 to 0x017FFFFF. And, I'm guessing that this is specifically testing for that masking behavior, as it also tests what happens when writing to DICFG
(at 0c006024), which should be nothing.
Can you test https://github.com/dolphin-emu/dolphin/pull/10821?
Updated by ZephyrSurfer over 2 years ago
- File fixed_PR-10821.png fixed_PR-10821.png added
- File optical_disc_drive_test_log_PR-10821.txt optical_disc_drive_test_log_PR-10821.txt added
It works now on that PR.
Updated by flacs over 2 years ago
- Status changed from New to Fixed
- Fixed in set to 5.0-17116