-
Notifications
You must be signed in to change notification settings - Fork 978
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
On Nvidia 535, tearing/flickering observed with PresentMode::Fifo #5491
Comments
Going to be honest, I have no idea how to even think about fixing this - as far as we know our vk synchronization is correct, so nvidia should be synchronizing correctly. |
I tried cherry-picking my change onto |
If you add a |
Whoa yeah! I added |
Cool, could you try the latest commit on that branch - it should be fixed internally (without the poll) |
I pulled the latest commit from that branch |
Description
I am observing tearing between 2 frames on Linux with X11 and Nvidia 535 drivers.
Repro steps
I have modified the "shadow" example in order to accentuate this effect: acarl005#1
This branch just renders 2 frames in rapid succession every 1 second.
Expected vs observed behavior
I observe the expected behavior on the integrated GPU.
WAYLAND_DISPLAY="" cargo run --bin wgpu-examples -- shadow
PXL_20240404_024350904.TS.mp4
However, when I switch to my Nvidia GPU, I instead see tearing and/or flickering.
WAYLAND_DISPLAY="" WGPU_POWER_PREF=high cargo run --bin wgpu-examples -- shadow
PXL_20240403_202650141.TS.mp4
The examples use
PresentMode::Fifo
, which says:Platform
Forked the current
trunk
branch of wgpu, commited843f802974eae9d708d3b3895264e9efb01dc6
.See acarl005#1
The text was updated successfully, but these errors were encountered: