Skip to content

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

@MScottMcBee

Description

@MScottMcBee

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions