Skip to content
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

FIFO on Vulkan showing old frames on high refresh rate monitors #5828

Open
MScottMcBee opened this issue Jun 17, 2024 · 0 comments
Open

FIFO on Vulkan showing old frames on high refresh rate monitors #5828

MScottMcBee opened this issue Jun 17, 2024 · 0 comments
Labels
api: vulkan Issues with Vulkan type: bug Something isn't working

Comments

@MScottMcBee
Copy link

MScottMcBee commented Jun 17, 2024

Description
FIFO and FIFO_RELAXED for Vulkan are displaying old frames out of order, causing jitter. This happens if my monitor is set to 144hz, but if I lock it to 60 in windows it doesn't happen. I found this while working on my Bevy game, and was able to reproduce it in the Boids example. The Bevy reproduction even shows the frame count rendered on screen and you can see it go 3317, 3319, 3321, 3320. In the Boids gif attached below, it goes 1,2,3,4,3,5, no skipping a frame outright.

Repro steps
Run Boids example.
It can be harder to tell vs normal frame pacing issue, so it can make it easier to record and review to footage frame by frame

Expected vs observed behavior
Expected: To not see a frame repeated after a newer one has been shown.
Observed: Frames going backwards.

Extra materials
Old_frame
Old_frame_3
Trying to find other people running into this issue and I found this. https://forums.blurbusters.com/viewtopic.php?t=13358. 0 idea if it's useful.

Platform
Windows 11 build 22631, Nvidia 4090 running 555.99. Found on wgpu 0.17.2 and 0.20.1

@Wumpf Wumpf added type: bug Something isn't working api: vulkan Issues with Vulkan labels Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: vulkan Issues with Vulkan type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants