Overv / VulkanTutorial

Tutorial for the Vulkan graphics and compute API
https://vulkan-tutorial.com
Creative Commons Attribution Share Alike 4.0 International
3.06k stars 511 forks source link

Frames showing up in the wrong order #373

Closed McFlyboy closed 5 months ago

McFlyboy commented 5 months ago

Hi. I tried copying these three files into an empty project:

When I run it everything looks fine, but when I change the code to selecting FIFO instead of MAILBOX for the present mode the rotating square looks jittery. I have recorded my screen and gone through it frame by frame and it looks like the frames are showing up in the wrong order. I have also tested this out on a slower laptop where the code runs slow enough that it becomes visible even when using the MAILBOX present mode. So it seems like this issue is just always there, but can only really be observed when the FPS is low enough to notice.

If you could look into this, test it out for yourself and respond to this issue it would be very much appreciated. Thank you! 😊

McFlyboy commented 5 months ago

Nevermind. I just found out that I experience the samme issue with the vkcube app that ships with the VulkanSDK, so the issue clearly has to be on my end somewhere