PresentOptionAsyncMayTear is merged on Mesa. What needs to be done for us to have the ability to disable Wayland's vsync?

https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19125

49 points · 5 comments · view on lemmy.world

5 Comments

onelikeandidie@lemmy.world · 6 pts · 2y (2 replies)

I mean, reading the comments it seems like it can be disabled through environment variables. For vulkan at least.

proton_lynx@lemmy.world · 1 pts · 2y (1 reply)

I couldn't find any information about usage in the comments. How did you find?

onelikeandidie@lemmy.world · 2 pts · 2y

this comment implies there's is an environment variable to toggle vsync.

vividspecter@lemm.ee · 4 pts · 2y (1 reply)

The compositor has to support tearing too I believe (I'm not sure all of the main 3 do, and e.g. wlroots only very recently got most/all of the pieces and I'm not sure sway supports controlling it) and will probably be where the option is exposed. And this is specifically about XWayland, where the support is even more recent. So I wouldn't necessarily expect it to work yet, but maybe Plasma is ahead of things here.

Chewy7324@discuss.tchncs.de · 1 pts · 2y

Iirc the dev who largely pushed this tearing proposal implemented it first on KDE. First as a proof of concept and for a while it's been merged upstream.