mirror of
https://github.com/mihawk-99/PS5_RetroArch.git
synced 2026-10-18 23:09:29 -05:00
PPSSPP reported its current internal resolution as its maximum geometry, so any increase made RetroArch restart the video driver (runloop.c compares max_width/max_height). RetroArch keeps the cached Vulkan device across that restart and calls neither context_destroy nor context_reset, so PPSSPP's render thread kept the freed vk_t's interface and called a null function (issue 63: signal 11, rip=0, [rsp] inside the core). The maximum is now always 10x (4800x2720, the largest option and the PS5 default profile), so a change is a geometry update; with hardware rendering RetroArch creates no textures from the maximum, and default users already had it. Evidence (python3 tools/evidence.py compare evidence/: 146 replayed, 0 failed): - evidence/ppsspp-resolution-crash-before: build a2c7800a, tests/pad/ ppsspp-resolution-change.txt (2880x1632 to 3840x2176 at 30 s): the second video_vulkan init, then the reported crash, [rsp]=0x000000040084aabb. - evidence/ppsspp-resolution-change: build 191ff52c, the same script: SET_SYSTEM_AV_INFO 3840x2160 and NotifyDisplayResized 3840x2160 with one video_vulkan init; the 45 s screenshot and the 55 s STOP, no crash. Gates: tools/verify.sh, all five (format, unit 215, build, integration 215, evidence 141), before the evidence was added. Co-Authored-By: Claude <noreply@anthropic.com>