this post was submitted on 23 Jun 2023
113 points (97.5% liked)

Linux

48372 readers
1399 users here now

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.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

cross-posted from: https://lemmy.ml/post/1458833

Many Linux users have cited Wayland's forced vsync as a blocker for gaming related scenarios. This patch adds tearing support into Xwayland!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 1 year ago (1 children)

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!

[–] [email protected] 15 points 1 year ago (1 children)

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.

[–] [email protected] 5 points 1 year ago (2 children)

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:

  • World of Tanks, World of Warships
  • AC Valhalla
  • RDR2
  • Anno 1800
  • AoE2
  • Back4Blood
  • Control

All of this on Arch Linux with a 5900X CPU. Hope the combination of our comments gives OP a picture :)

[–] [email protected] 3 points 1 year ago

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.

my GPU is a 6800XT

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.

[–] [email protected] 1 points 1 year ago (1 children)

Did you do performance comparisons between Wayland and X11, or is your metric subjective?

[–] [email protected] 0 points 1 year ago

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)