Project

General

Profile

Actions

Emulator Issues #11580

closed

CSI: Hard Evidence does not boot when using x64 JIT

Added by JosJuice about 5 years ago. Updated almost 5 years ago.

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

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Current
Regression:
Yes
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
4.0-2647
Fixed in:
5.0-10039

Description

Game Name?

CSI: Hard Evidence

Game ID? (right click the game in the game list, properties, info tab)

RCIP41

MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)

7794b556f3fadff8be6fcdde4128dc78

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.

Yes, 5.0-9620.

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

Actions #1

Updated by JosJuice about 5 years ago

Seems to work fine on JITARM64 (apart from my phone being really slow). Only x64 is broken.

Actions #2

Updated by JosJuice about 5 years ago

  • Subject changed from CSI: Hard Evidence does not boot when using JIT to CSI: Hard Evidence does not boot when using JIT
Actions #3

Updated by JosJuice about 5 years ago

Apparently JITARM64 hangs during the company logos, though. This is the behavior that the forum poster described happening before 4.0-2647, so it seems to be separate from the issue of not being able to boot at all.

Actions #4

Updated by JosJuice about 5 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.

Actions #5

Updated by JosJuice about 5 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.

Actions #6

Updated by flacs about 5 years ago

That's idle skipping.

Actions #7

Updated by degasus about 5 years ago

Is this issue still valid with #7287 ? It is a new implementation of idle skipping.

Actions #8

Updated by JosJuice about 5 years ago

  • Status changed from New to Fix pending
  • Milestone set to Current

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.)

Actions #9

Updated by JosJuice almost 5 years ago

  • Status changed from Fix pending to Fixed
  • Fixed in set to 5.0-10039
Actions

Also available in: Atom PDF