bigwheels icon indicating copy to clipboard operation
bigwheels copied to clipboard

Vulkan projects and benchmarks crashing on minimization with VK_ERROR_OUT_OF_DATE_KHR

Open angela28chen opened this issue 1 year ago • 3 comments

Platform: Windows

Description: When I run Debug applications/benchmarks and try to minimize the window, it crashes. I've noticed this consistently happens for vk_* binaries but not for dx12_*. Able to reproduce for the following:

  • vk_01_triangle.exe
  • vk_17_primitives.exe
  • vk_fishtornado.exe
  • vk_graphics_pipeline.exe
  • ...

Error:

*** PPX ASSERT ***
Message   : vkQueuePresentKHR failed: VK_ERROR_OUT_OF_DATE_KHR
Condition : false
Function  : ppx::grfx::vk::Swapchain::PresentInternal
Location  : C:\src\git\bigwheels\src\ppx\grfx\vk\vk_swapchain.cpp : 619

Assertion failed: false, file C:\src\git\bigwheels\src\ppx\grfx\vk\vk_swapchain.cpp, line 619

angela28chen avatar Jun 06 '23 22:06 angela28chen

@angela28chen Which GPU and driver version are you using?

chaoticbob avatar Jun 23 '23 18:06 chaoticbob

The full fix for this will need to wait for https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_swapchain_maintenance1.html.

chaoticbob avatar Jun 23 '23 22:06 chaoticbob

For completeness,

Card: NVIDIA Quadro P1000

Driver Version: NVIDIA 12/29/2021 30.0.15.1109

angela28chen avatar Jun 26 '23 16:06 angela28chen