MethanePowered / MethaneKit

🎲 Modern 3D graphics made simple with C++17 cross-platform framework and rendering abstraction API on top of DirectX 12, Metal & Vulkan
Apache License 2.0
846 stars 51 forks source link

Vulkan Present fails with ErrorOutOfDateKHR after resizing swapchain on Linux with NVidia proprietary drivers #105

Closed egorodet closed 1 year ago

egorodet commented 2 years ago

Describe the bug Any Methane application fails on vk::Queue::PresentKHR after resizing the window on Linux with NVidia proprietary drivers with weird error ErrorOutOfDateKHR.

Steps To Reproduce

  1. Make sure you're using NVidia Graphics Card with latest proprietary drivers installed (nvidia-driver-515 in my case) image
  2. Run any Methane application built with Vulkan graphics API on Linux
  3. Resize window => swapchain is recreated normally, but subsequent call to vk::Queue::PresentKHR fails with ErrorOutOfDateKHR Screenshot from 2022-09-09 16-08-40

Expected behavior Window resizing along with swapchain creation and framebuffers presenting should work normally, as it works on AMD graphics cards on Linux with the same implementation.

Desktop (please complete the following information):