rpcs3 icon indicating copy to clipboard operation
rpcs3 copied to clipboard

rsx: Shader interpreter causes a GPU hang when going ingame in Resistance 3

Open kd-11 opened this issue 11 months ago • 5 comments

Likely broken flow control. The GPU hangs for a few seconds then gets kicked by TDR.

kd-11 avatar Jan 19 '25 16:01 kd-11

In my HW it happens with Vulkan renderer and Shader Interpreter only shader. R3 immediately crashes with device lost when loading any chapter (black screen and freeze with device-lost logged in the GUI). That report is more to troubleshoot the device-lost issue in case you can reproduce the issue with that given example I found on R3 while testing Shader Interpreter only shader.

digant73 avatar Jan 19 '25 16:01 digant73

the hang is also present on an AMD iGPU (my laptop). In that case the AMD control panel popups an error message asking to report the crash to AMD. There is no issue at all reported on the RPCS3's GUI. Don't know if you were able to reproduce the issue so you hopefully can fix the issue (maybe the root cause is the same of the general device-lost reported on different games)

digant73 avatar Jan 20 '25 21:01 digant73

I can reproduce. However this is not the same cause of the device lost error observed elsewhere. This is just a hang (shader end could not be found within X seconds so the driver kills it). An interpreter is a program that runs another program inside it so that's not totally unexpected. The same is not possible with a recompiled program though. If it had no exit the recompiler itself would have crashed. It's more likely some poorly implemented interpreter instruction wrecked the virtualized shader state.

kd-11 avatar Jan 21 '25 01:01 kd-11

thanks for the clarification

digant73 avatar Jan 21 '25 08:01 digant73

Retested this issue on 0.0.38-18328 and still present. Attached the log.

RPCS3.log

digant73 avatar Nov 12 '25 20:11 digant73