-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application unresponsive under Linux without vkQueueWaitIdle call #55
Comments
Hello, What program are you running ? |
I'm running example/example_sdl2.py. |
Ok @stephane-13. If not, I will update the test with a Wait for each loop. |
Yes, as I mentioned above, I had to add a call to vkQueueWaitIdle at the end of the draw_frame() function to limit the number of frames submitted to the rendering pipeline. I assume that when vsync is enabled, the frames are sent too quickly (i.e. faster than 60Hz in my case) and the vkQueueWaitIdle call ensures that the previous frame has been processed before sending the next one. |
I fixed it. |
When I run the program under Linux, the window is unresponsive and the whole screen is freezing intermittently.
Adding an extra call to vkQueueWaitIdle( presentation_queue ) at the end of the draw_frame() function solves the issue.
Is that something expected?
The text was updated successfully, but these errors were encountered: