pcsx2
pcsx2 copied to clipboard
[BUG]: Crash when switching language if Big Picture mode is open
Describe the Bug
If you try to change the language from Qt when Big Picture Mode is open, PCSX2 will crash. So far i have only observed the crash on Linux. On windows it spams similar error on the console but can still survive the crash. The log will be attached down below.
Reproduction Steps
- Fire up PCSX2 and go to Big Picture Mode.
- Open up Qt's settings window
- Change to any language (doesn't matter which)
- PCSX2 will crash.
Here is a demo
https://github.com/PCSX2/pcsx2/assets/14798312/d0a1b03a-a758-4bdb-a446-5722cd5be1f1
Expected Behavior
The language changes correctly and PCSX2 doesn't crash.
PCSX2 Revision
v1.7.4653
Operating System
Linux (64bit) - Specify distro below
If Linux - Specify Distro
Arch Linux
Logs & Dumps
Here is the error log before the crash.
[ 11,2895] (SelectSurfaceFormat) vkGetPhysicalDeviceSurfaceFormatsKHR failed: (-3: VK_ERROR_INITIALIZATION_FAILED)
[ 11,2895] (SwapChain) Preferred present mode: VK_PRESENT_MODE_IMMEDIATE_KHR, selected: VK_PRESENT_MODE_IMMEDIATE_KHR
[ 11,2952] Failed to resize swap chain. Next present will fail.
[ 11,2952] (BeginPresent) vkAcquireNextImageKHR() failed: (-1000000000: VK_ERROR_SURFACE_LOST_KHR)
[ 11,3058] Surface lost, attempting to recreate
../pcsx2/GS/Renderers/Vulkan/VKSwapChain.cpp:612: assertion failed in function bool VKSwapChain::RecreateSurface(const WindowInfo &): Recreated surface does not support presenting.
just to note it doesn't crash on windows, it just spams that message.
Still an issue as of v1.7.4964