Closed smbhax closed 2 weeks ago
I'll have to reject this one. It's not crashing in our code. You can see windows points to the faulting module as avutil-58.dll but we don't have avutil integration, reshade does.
Fair. I'm now getting it more often pointing to module d3d11.dll, but I'm on RPCS3's Vulkan renderer so that again is likely not directly from RPCS3.
Crash also occurs when using "SweetFX by CeeJay.dl - LumaSharpen.fx" to achieve a similar sharpening goal.
Besides using "Home Menu - Exit Game" instead of Stop to leave the game, another workaround is to uncheck the .fx in ReShade's Home menu before Stopping the game, since you likely won't want it active in whatever game you play next--and this avoids the crash.
The crash only occurs when using the Vulkan renderer; setting X-Men on a custom config to launch with the OpenGL renderer--and correspondingly setting ReShade to run under OpenGL--avoids the crash.
This also has the possibly convenient side-effect of keeping ReShade active only on PS3 games in RPCS3 that are set to the OpenGL renderer; if all your other PS3 games in RPCS3 are using Vulkan, for instance, then ReShade, when it has been pointed to OpenGL in its own Setup, will only be enabled in PS3 game that is using the OpenGL renderer--so you won't have to bother toggling the .fx you're using there off/on when switching back and forth to other games.
Quick summary
RPCS3 crashes with a Fatal Error if I click the master window's Stop button while running [NPUB30320] X-Men in Vulkan with ReShade's "Legacy effects - AdaptiveSharpen.fx" installed and active.
Details
If instead of using the Stop button, I press the PS button on my DualSense pad to bring up RPCS3's "Home Menu" and choose "Exit Game," the crash does not occur.
The crash also does not occur if running X-Men and ReShade under the OpenGL renderer rather than Vulkan.
Sample crash window below; the address and Module name vary--I've seen module "d3d11.dll" listed instead of "avutil-58.dll":
(ReShade is an external program so I'm not sure this will be supported, but I see ReShade mentioned in numerous issues here as a means of achieving desired effects that RPCS3 doesn't supply itself. In this case I wanted to use ReShade's AdaptiveSharpen.fx for X-Men because the PS3 port of X-Men is very blurry, which AdaptiveSharpen.fx fixes.)
Attach a log file
RPCS3.log
Attach capture files for visual issues
No response
System configuration
Operating System: Windows 11
CPU: i7-10750H
GPU: GTX 1660 Ti Driver version 535.98
Other: 16 GB RAM S271HL NVIDIA High Definition Audio
Other details
No response