RPCS3 / rpcs3

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

Test Drive Unlimited 2 [BLUS30527]: Freezes at title screen [Intel CPU only] #10886

Open Shoegzer opened 3 years ago

Shoegzer commented 3 years ago

This game always freezes the first time RPCS3 builds the shader cache. After the first time, it progresses to the Eden title screen at least, but then it freezes no matter how many further attempts are made. Curiously, RPCS3's main menu toggles from "Pause" to "Play" upon freezing.

This issue was also partially discussed in #10876 but moved here for better tracking. As @xddxd reported, the game has been known to test past this point on Windows systems.

Test information

xddxd commented 3 years ago

Try booting the game with Intel HD Graphics as the adapter.

Shoegzer commented 3 years ago

Thanks. For some reason nothing shows at all after booting with Intel HD Graphics (won't progress to title screen sequence, stuck at FPS 0.00). I tried clearing all caches and setting driver wakeup delay to 1000 but with the same results.

xddxd commented 3 years ago

It's a linux bug. Happens here as well, European version, AMD GPU, while it works fine on Windows. Happens regardless if on Vulkan or OpenGL. RPCS3.log

Shoegzer commented 1 year ago

Update: Tested this again after a while. Same issue it seems, though I noticed that now rpcs3 crashes rather than freezes after the Eden splash screen. I looked through the log and can't find anything out of the ordinary, has me wondering what linux-specific thing this title is doing that others aren't? At least we know it's not GPU-specific given @xddxd sees it happening on AMD too. I did catch this in the logs, perhaps a clue:

·W 0:00:42.174553 {PPU[0x100000a] Thread (RenderThread) [libsre: 0x019138a0]} sys_semaphore: sys_semaphore_create(sem_id=*0xd00bdba0, attr=*0xd00bdba8, initial_val=0, max_val=1)
·W 0:00:42.174559 {RSX [0x21009e0]} RSX: Could not gather textures into an atlas; using CPU fallback...
·W 0:00:42.174567 {RSX [0x21009e0]} RSX: Cache miss at address 0xC2D7C000. This is gonna hurt...

Here are specs that have differed since first test and an updated log in case it helps:

Shoegzer commented 1 year ago

Update: Changed title based on newer observations - it seems more likely this is related to CPU and not OS. @xddxd can you help confirm?

Shoegzer commented 1 year ago

Update: Tested against latest master (commit 8772219492118f538e4b6b97e5449c4f3fc66aca) as a few PRs that help with booting were recently merged, but unfortunately it seems to have regressed somewhat (won't even boot to the Eden title screen now, even after all caches were removed). Would be great if someone could confirm this as an Intel CPU issue as well.

Fabxx commented 11 months ago

After debugging with GDB the game returns a segmentation fault with some functions:

crash gdb.txt

rpcs3 log:

RPCS3.log

configuration:

https://wiki.rpcs3.net/index.php?title=Test_Drive_Unlimited_2

tested with both oGL and VK

Shoegzer commented 11 months ago

Thanks @Fabxx I hope your GDB log helps. I also noticed you're using an Intel CPU similar to mine (i7-10700 vs. i7-10870H).

Shoegzer commented 10 months ago

Update: further evidence of this can be found in #14837, which involves an AMD CPU. Tests involving an Intel CPU have not progressed to the point reported there.

Fabxx commented 8 months ago

RPCS3.log

Posting a new log based on the lastes version. Menu graphics appear to be corrupted as of now.

kd-11 commented 7 months ago

I don't own an intel CPU, so I'll unassign for now. It also points to a potential CPU issue, so it makes sense to let the CPU guys take a look.