You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for the wonderful introductions to Vulkan in LWJGL.
To prevent the following error when runnning InstancedSpheresDemo.java, I need to put Thread.sleep(40); before vkQueueWaitIdle(queue);:
[mvk-warn] VK_TIMEOUT: vkQueueWaitIdle timed out after 10 frames while awaiting 1 swapchain image presentations to complete.
ERROR OCCURED: VK_TIMEOUT: vkQueueWaitIdle timed out after 10 frames while awaiting 1 swapchain image presentations to complete.
libc++abi: terminating due to uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument
I don't think it's specific to this demo, this is just an example. I'm only starting to learn the Vulkan API so can't quite work out whether perhaps Host access to queue must be externally synchronised is violated, or there is some other reason for the timeout.
I'm using the JVM flag -XstartOnFirstThread because I'm on macOS; could that be relevant?
Hi, thanks for the wonderful introductions to Vulkan in LWJGL.
To prevent the following error when runnning
InstancedSpheresDemo.java
, I need to putThread.sleep(40);
beforevkQueueWaitIdle(queue);
:I don't think it's specific to this demo, this is just an example. I'm only starting to learn the Vulkan API so can't quite work out whether perhaps Host access to
queue
must be externally synchronised is violated, or there is some other reason for the timeout.I'm using the JVM flag
-XstartOnFirstThread
because I'm on macOS; could that be relevant?(repo revision, Vulkan 1.3.268.1 (MoltenVK), Java 17.0.4, macos 14.1.2, Intel Xeon W, Radeon Pro Vega 56)
The text was updated successfully, but these errors were encountered: