RPCS3 / rpcs3

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

gl/v3d: Several applications and games require shader cache to be removed before boot #15986

Open AniLeo opened 3 weeks ago

AniLeo commented 3 weeks ago

Booting certain applications or games a second time on GL requires the shader cache to be removed before boot, otherwise there's always an rsx::thread corruption crash at boot

Backtrace

image

List of known affected applications/games

System information

RPCS3 v0.0.32-16881 Manjaro Linux arm64 Mesa 24.1.6 (V3D 7.1.7)

AniLeo commented 3 weeks ago

I can reproduce the corruption issue consistently on my x64 laptop while booting NieR Replicant with OpenGL, and removing all the caches or changing any settings besides the Renderer doesn't allow it to boot contrary to my aarch64 system

Booting it with Vulkan works fine

edit: Different crashes, I'll focus this ticket on the arm64 system one.

AniLeo commented 2 weeks ago

Reported this issue at mesa, since the backtrace shows a crash inside v3d https://gitlab.freedesktop.org/mesa/mesa/-/issues/11823

AniLeo commented 1 week ago

Fixed by https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30986 (pending merge)