Emulator Issues #11580
CSI: Hard Evidence does not boot when using x64 JIT
CSI: Hard Evidence
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.
If you are using JIT, the game does not boot. The emulation window shows up, but it never gets to the point where it renders a frame and the window title changes to show the framerate. The logs do show the game reading some data from the disc, though.
The game booted when I tried cached interpreter, but later the game seemed to freeze during the unskippable intro cinematic (after the company logos and before the title screen).
What steps will reproduce the problem?
Use JIT and launch the game.
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
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.)
4.0-2647 according to https://forums.dolphin-emu.org/Thread-wii-csi-crime-scene-investigation-hard-evidence?pid=462910#pid462910. (I have verified that the game still doesn't boot, but I haven't verified that this is the correct bisect.)
What are your PC specifications? (CPU, GPU, Operating System, more)
Windows 10 x64
Intel Core i5-7300HQ (2.50 GHz)
Nvidia GTX 1050 (2 GiB)
8 GiB RAM
#4 Updated by JosJuice about 2 years ago
- Subject changed from CSI: Hard Evidence does not boot when using JIT to CSI: Hard Evidence does not boot when using x64 JIT
If either JIT LoadStore lXz Off or JIT LoadStore lwz Off is used, it works on x64. But it takes a while to boot, so keep an eye on the DVDInterface info log (or some other log you like) to check whether it has hanged.
#5 Updated by JosJuice about 2 years ago
If I replace the condition here with false, it works: https://github.com/dolphin-emu/dolphin/blob/6e9eb7c07c9661b1a3348f433f0d70c20fd9140d/Source/Core/Core/PowerPC/Jit64/Jit_LoadStore.cpp#L122
But I have no idea what this code is doing, so I don't think I can fix the problem on my own.
#8 Updated by JosJuice almost 2 years ago
- Milestone set to Current
- Status changed from New to Fix pending
The game seems to be fully playable when using either of the JITs (x64 or AArch64) in the current version of PR 7287! Not only the x64 freeze on boot is fixed, but also the freeze during the prerendered movies that used to happen no matter what.
Unfortunately, it seems like cached interpreter hangs during the company logos. (It used to hang later, during the intro cinematic, but I guess it's the same underlying problem. And the difference might be due to a change unrelated to this PR.)