RPCS3 / rpcs3

PlayStation 3 emulator and debugger
https://rpcs3.net/
GNU General Public License v2.0
15.33k stars 1.91k forks source link

Koihime Enbu [BLJM61274] - Random game freezes #11224

Open orbea opened 2 years ago

orbea commented 2 years ago

Quick summary

When playing Koihime Enbu the game will randomly freeze during a match with all video, audio and input gone. The game can be exited normally and the frontend is still repsonsive.

Details

When playing Koihime Enbu the game with the first game mode (Arcade?) it will randomly freeze during a match and always occurs within a few matches. Sometimes this is the first, sometimes this is the third or fourth and I have never been able to complete the game without it freezing.

In the log this is printed countless times.

U sys_prx TODO: _sys_prx_get_module_id_by_name(name=“cellLibprof”, flags=0, pOpt=*0x0)
E SYS: 'sys_mutex_unlock' failed with 0x80010009 : CELL_EPERM [1]
U sys_prx TODO: _sys_prx_get_module_id_by_name(name=“cellLibprof”, flags=0, pOpt=*0x0)
E SYS: 'sys_mutex_unlock' failed with 0x80010009 : CELL_EPERM [1]
U sys_prx TODO: _sys_prx_get_module_id_by_name(name=“cellLibprof”, flags=0, pOpt=*0x0)
E SYS: 'sys_mutex_unlock' failed with 0x80010009 : CELL_EPERM [1]

To reproduce:

  1. Start the first game mode which is the top entry on the list.
  2. Choose any fighter.
  3. Skip cutscenes (Might not matter).
  4. Try to complete the game without freezing.

I did this will all default options and tried both vulkan and opengl.

1. Please attach RPCS3's log.

RPCS3.log.gz

2. If you describe graphical issue, please provide an RSX capture and a RenderDoc capture that demonstrate it.

N/A

3. Please attach screenshots of your problem.

N/A

4. Please provide comparison with real PS3.

N/A

5. Please provide your system configuration:

nitroos-ai commented 2 years ago

Have you tried the game with TSX disabled?

orbea commented 2 years ago

Thanks for the suggestion, I got much farther in than before, but it still froze. I am not sure if that is coincidence or not.

Edit: Second attempt was in the second match so it was probably just luck that it took so long the first attempt.

nitroos-ai commented 2 years ago

Set "PPU decoder" to "Interpreter (fast)" or just use my config.

Edit: It seems to be working well with "PPU decoder" set to LLVM and "Accurate PPU 128-byte Reservation" set to "Always Enabled" config_BLJM61274.zip

orbea commented 2 years ago

Set "PPU decoder" to "Interpreter (fast)" or just use my config.

I tried this for two runs, the first I stopped without a freeze in the 7th match and the second it froze in the 8th match. it seems to make the issue harder to reproduce.

It seems to be working well with "PPU decoder" set to LLVM and "Accurate PPU 128-byte Reservation" set to "Always Enabled"

I don't see any option in the GUI config menu, but I changed Accurate PPU 128-byte Reservation Op Max Length from 0 to -1 matching your config in config_BLJM61274.yml and again, it froze in the 8th match.

ScottNash042 commented 1 year ago

update or close ??