this post was submitted on 24 Jan 2024
17 points (90.5% liked)
Linux Gaming
15289 readers
113 users here now
Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME
away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.
This page can be subscribed to via RSS.
Original /r/linux_gaming pengwing by uoou.
Resources
WWW:
Discord:
IRC:
Matrix:
Telegram:
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Wayland and X11 are protocols, they are essentially just documentation. You need an implementation to be able to actually run programs on it, called a compositor. People tend to think of X11 as a single software because historically Xorg became dominant as the main implementation of the specification, so most of us have only ever used Xorg (but Xorg is not the only implementation of X11, there are many others). Wayland, as a newer protocol, hasn't undergone such consolidation yet, there are many competing compositors implementing the protocol in their own way. GNOME has one such compositor, and KDE has their own, and there are many others. So it's not about "Desktop Environments" all running over the same compositor, as it was on Linux in the Xorg days. Instead, the Wayland features you get are the ones your choice of compositor has already implemented, and can vary between different compositors.
So it's less the Gnome doesn't support VRR and more that "the wayland compatible desktop compositor that the Gnome project prefers doesn't support VRR"?
Which is basically the same thing. Gnome uses Mutter, which is a part of the Gnome project as a whole.
Wayland changes things a fair bit compared to Xorg. There's no standard Wayland server, each DE implements their own to suit their needs. Some libraries have emerged to help with that, it's relatively easy to get going with wlroots which Sway/Hyprland/Gamescope uses. But Gnome makes their own and so does KDE so it can integrate more deeply with the DE.
There's non-desktop compositors too, like for VR for example where you can manage your windows in 3D space all around you. That's where Wayland shines, that gets super complicated to do in Xorg but a breeze with Wayland.