pcsx2 icon indicating copy to clipboard operation
pcsx2 copied to clipboard

[BUG]: Crash when switching language if Big Picture mode is open

Open kamfretoz opened this issue 2 years ago • 1 comments

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

  1. Fire up PCSX2 and go to Big Picture Mode.
  2. Open up Qt's settings window
  3. Change to any language (doesn't matter which)
  4. 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.

kamfretoz avatar Jun 28 '23 14:06 kamfretoz

just to note it doesn't crash on windows, it just spams that message.

refractionpcsx2 avatar Jun 28 '23 14:06 refractionpcsx2

Still an issue as of v1.7.4964

kamfretoz avatar Aug 29 '23 03:08 kamfretoz