94
Tearing protocol merged for XWayland. Wayland gets closer to being suitable for gaming purposes
(gitlab.freedesktop.org)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
As someone who games exclusively (okay, except fucking PUBG) on Linux and Wayland for two years now, I find the implicit claim that (x)Wayland would not be suitable for Linux pretty misleading. The problem is that this is repeated a lot throughout the community, mainly by people who haven't tried it recently. However, good for the few people that need that feature!
I feel like you're just doing the same thing but from the other side. You're dismissing other people's experiences with Wayland simply because it doesn't line up with what you're personally seeing on your specific hardware.
On my Radeon 680M, Wayland has been an absolute no-go for gaming in terms of input latency and frame pacing. I tried it with Valheim and God of War in KDE Wayland and the performance is drastically worse than KDE X11. Other games like Spiderman Miles Morales show less of a performance gap, but it's still there. And yes I tried it very recently.
That's not my intention at all, in fact, I really welcome such contributions with precise examples, so thank you for providing one! Hardware is a good point, my GPU is a 6800XT which I bought right at release. Played all kinds of games but actually none if the ones you listed. Some working examples on my system:
All of this on Arch Linux with a 5900X CPU. Hope the combination of our comments gives OP a picture :)
Haha, sorry if I came out a bit strong in my previous comment. I daily drive Linux on all the machines I game on and I do want to see Wayland succeed, especially in the gaming space. This is why I find the merge request I linked to in the main post (I am OP btw) so exciting! And we do already see Wayland working really well on the Steam Deck due to Valve putting in some extra magic sauce (like the aforementioned tearing support), so I have no doubt that Wayland will get there on desktop eventually.
This makes me wonder whether the input latency issues are more noticeable on lower-end cards running at lower framerates. It makes sense that that could be the case. A 6800XT might be brute forcing through some of the inefficiencies that would otherwise be visible on a dinky little APU like my Radeon 680M. You also have a pretty beefy CPU, so I am also wondering whether that has an effect on how certain Wayland compositors deliver frames. For example, in Valheim, it isn't just simple input latency issues, the frame delivery is actually worse somehow.
Did you do performance comparisons between Wayland and X11, or is your metric subjective?
Completely subjective, I represent the average semi-casual gamer that is limited by skill, not lag. So for all these games I can just tell I did not notice any lag that annoyed me (and everything ran on my 144Hz monitor) and that there have been no framerate drops (to that, I am susceptible)