RPCS3 / rpcs3

PS3 emulator/debugger
https://rpcs3.net/
GNU General Public License v2.0
15.17k stars 1.89k forks source link

Need for Speed: The Run - VK_ERROR_DEVICE_LOST #14863

Open Ordinary205 opened 9 months ago

Ordinary205 commented 9 months ago

Quick summary

Everytime when the performance are acting nuts from higher clock scales, the game rarely/sometimes triggers a VK_ERROR_DEVICE_LOST during gameplay.

Details

Heres an example of when the game crashes: Need for Speed The Run crashed

The emulator didn't show fatal error report sign, due to deadlock issue after closing the game.

Error: F {SPU[0x0000600] Thread (JM_SPU5) [0x0a4d0]} SIG: Thread terminated due to fatal error: Assertion Failed! Vulkan API call failed with unrecoverable error: Device lost (Driver crashed with unspecified error or stopped responding and recovered) (VK_ERROR_DEVICE_LOST) (in file D:\a\1\s\rpcs3\Emu\RSX\VK\vkutils\sync.cpp:610[:5], in function wait_for_event) (in file D:\a\1\s\rpcs3\Emu\RSX\VK\vkutils\shared.cpp:114[:24], in function die_with_error)

Attach a log file

RPCS3.log.gz

Attach capture files for visual issues

No response

System configuration

AMD Ryzen 5900X 12-Core Processor | 24 Threads | 15.89 GiB RAM | RTX 3080 driver 546.17.0.0 | Windows 10 Pro 22H2

Other details

No response

kd-11 commented 9 months ago

Install the vulkan SDK and capture a log with vulkan debugging enabled (Debug Output option). This will at least give a hint why the driver crashed if it is a bug on our side.

Ordinary205 commented 9 months ago

I have tried enabling vulkan SDK before, but this causes the game to instantly freezes/crashes after entering view cars or during loading screen before attempting to continue the run. This makes it difficult to go ingame when trying to reproduce this issue. NFS The Run Vulkan SDK 1 NFS The Run Vulkan SDK 2 Lowering the clocks scale from 100% to 40% doesn't help either. ViewCars.log.gz BeforeIngame.log.gz

aakh1361 commented 9 months ago

I have the same problem Every game I run gives this error after a few moments I updated Windows 11 I selected the Nvidia driver and installed it with DDU 522.25 and 538.03 and 546.29 and 546.01 but it gives the same error I updated the BIOS of the motherboard I reset the settings to factory settings I enabled and disabled Resizable BAR I updated rcsp3 but it still gives the same error

After running every game in rpcs3, the memory of shared gpu memory and dedicated gpu memory is completely full and the emulator crashes image