Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
6.7.3
-
None
-
MS Windows 10 Enterprise, Vulkan 1.4.309.0, 13th Intel Core i7-13700H, 240Mhz, 32GB RAM, NVIDIA RTX A500
-
-
d96c2018f6bbab640b739241e49e1d0c60f91882
Description
I've encountered an issue with QVulkanWindow on Windows that produces validation layer errors. I initially developed a large portion of my Vulkan application on Linux, but when moving to Windows, I started getting validation errors.
When running my application with Vulkan validation layers enabled, I receive this error:
vkDebug: vkAcquireNextImageKHR(): Semaphore must not have any pending operations.
The Vulkan spec states: If semaphore is not VK_NULL_HANDLE, it must not have any uncompleted signal or wait operations pending (https://vulkan.lunarg.com/doc/view/1.4.309.0/windows/antora/spec/latest/chapters/VK_KHR_surface/wsi.html#VUID-vkAcquireNextImageKHR-semaphore-01779)
To confirm this wasn't an issue with my code, I ran the "hellovulkantriangle" example that ships with Qt, and it produces the same validation error.
I would love to help troubleshoot this QVulkanWindow semaphore handling issue, but Vulkan isn't my area of expertise. The error suggests a synchronization problem with how semaphores are being managed during image acquisition, which appears in both custom code and Qt examples.