On Sun, Feb 11, 2024 at 1:50 AM Kilian Hanich khanich.opensource@gmx.de wrote:
Am 10.02.24 um 09:47 schrieb Neal Gompa:
Technically, turning off display sync completely is quite difficult right now since the actual driver stack in Linux underneath everything (both Wayland and X11) uses implicit sync right now (Linux kernel drivers, Mesa drivers, etc.).
Interesting considering that I once read (but haven't fact check) that the Vulkan spec explicitly requires explicit sync instead of implicit, even if you for parts of it.
I don't know enough about Vulkan to confidently say one way or another. Especially since I'm pretty sure parts of it are one and the other.
That said, there's a move to support explicit sync in Wayland[1], and the first steps of that for KWin have been written up as a merge request[2]. Once there's an agreed upon mechanism for explicit sync, it would be possible to support something like that.
Interesting read. I will just hope that this won't be something which ends up in "noone actually still looks at it"-land as some things sometimes end up in because people focused on different things and then forgot about it (well, kind natural for volunteer projects I guess).
That's not going to happen because Direct3D 12 requires explicit sync. That's been driving the change to support it in the Linux graphics stack in the first place.