Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal. You can also buy games using our partner links for GOG and Humble Store.
We do often include affiliate links to earn us some pennies. See more here.

The day is finally here. Xwayland now has the code for Explicit GPU Synchronization merged after waiting over a year for everything to be ready. It's a pretty big deal and should make NVIDIA GPU users especially happy in future.

From the merge request that was originally opened by Erik Kurzinger from NVIDIA:

Here is our proposal for adding explicit GPU synchronization to the DRI3 and Present extensions, along with an implementation for Xwayland. While we at NVIDIA may be particularly keen to have this in place, since our driver lacks implicit sync support, a general consensus seems to be forming around the idea that explicit sync is the best path forward for the Linux graphics stack. Xwayland will likely remain an important component in that stack for some time yet, and therefore I feel that this work will be of long-term benefit to the community more broadly.

The design takes inspiration from the proposed Wayland wp_linux_explicit_sync_v2 protocol [1], making use of DRM syncobjs as the main primitive. I believe this offers a few benefits. One, having both X11 and Wayland use a similar mechanism for explicit sync will simplify development for client-side drivers, and two, it will also hopefully make it fairly straight-forward for Xwayland itself to add support for the Wayland explicit sync protocol, presumably once it's more widely implemented by compositors.

I've tried to keep this initial proposal focused on getting a usable GPU synchronization primitive in place, and adding support for it to the PresentPixmap request, believing this to be the most important part of the presentation pipeline. Other use-cases for this primitive are conceivable, for instance perhaps in the Damage extension, but I feel that those are best left for later.

Not much is left to get everything all hooked up nicely, with an upcoming NVIDIA beta driver that should have support for it next month. The code for GNOME has already been merged, KDE has a merge request open for it too, Mesa also already has it merged in.

Nice to see it finally there.

Article taken from GamingOnLinux.com.
Tags: Misc, Open Source
20 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly checked on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly. You can also follow my personal adventures on Bluesky.
See more from me
All posts need to follow our rules. For users logged in: please hit the Report Flag icon on any post that breaks the rules or contains illegal / harmful content. Guest readers can email us for any issues.
7 comments

Minux Apr 9
Does this mean we should probably have no more ghosting, stuttering and massive visual issues on Nvidia? If that's right I might try gaming on Wayland again :D
Spurlos Apr 9
I wonder if every bit will fall in the right place for the OS like Ubuntu 24.04 LTS to get it working, or people who are stuck with LTS releases would have to wait for another two years to get everything in the main repos?


Last edited by Spurlos on 10 April 2024 at 10:13 am UTC
kftX Apr 9
Does this mean we should probably have no more ghosting, stuttering and massive visual issues on Nvidia? If that's right I might try gaming on Wayland again :D

I'm actually curious about this too. I recently tried switching over to Fedora as I want to be done with Windows, but using the newest nVidia driver, there was a lot of... blinking/flickering all over the place on anything that was GPU accelerated or needed to be drawn by the GPU. That was a big no-no and I ended up coming back to Windows 11 for the time being. I have no interest in using any distro still on xorg so I decided to play the waiting game for a while more. If this fixes it, I would be very pleased.


Last edited by kftX on 9 April 2024 at 4:21 pm UTC
Pikolo Apr 9
I wonder if every bit will fail in the right place for the OS like Ubuntu 24.04 LTS to get it working, or people who are stuck with LTS releases would have to wait for another two years to get everything in the main repos?
I'm afraid this is too late for 24.04 - maybe for 24.10?
scaine Apr 9
View PC info
  • Contributing Editor
  • Mega Supporter
I wonder if every bit will fail in the right place for the OS like Ubuntu 24.04 LTS to get it working, or people who are stuck with LTS releases would have to wait for another two years to get everything in the main repos?
I'm afraid this is too late for 24.04 - maybe for 24.10?
It'll probably make 24.10, but the damage will be done in terms of LTS support. That's the biggest drawback of the LTS approach, although I was a big advocate until a couple of years ago. The stability was epic, and you still got decent updates through PPA updates. But not all the shiny updates, sadly. Maybe they'll backport, but it's more likely to go on hold, at least until they do that HWE update thing they pitch every year or so.
I wonder if every bit will fail in the right place for the OS like Ubuntu 24.04 LTS to get it working, or people who are stuck with LTS releases would have to wait for another two years to get everything in the main repos?
I'm afraid this is too late for 24.04 - maybe for 24.10?
It'll probably make 24.10, but the damage will be done in terms of LTS support. That's the biggest drawback of the LTS approach, although I was a big advocate until a couple of years ago. The stability was epic, and you still got decent updates through PPA updates. But not all the shiny updates, sadly. Maybe they'll backport, but it's more likely to go on hold, at least until they do that HWE update thing they pitch every year or so.
Yeah, I wish NixOS has an official LTS channel - you can already do multiple nixpkgs channels with flakes, but they only really focus on latest Stable and Unstable.
CatKiller Apr 11
View PC info
  • Supporter Plus
I wonder if every bit will fall in the right place for the OS like Ubuntu 24.04 LTS to get it working, or people who are stuck with LTS releases would have to wait for another two years to get everything in the main repos?

LTS releases get newer versions of the kernel and Mesa every six months until the next LTS.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register