this post was submitted on 23 Jun 2023
53 points (96.5% liked)

Linux

47365 readers
1010 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
 

Hey guys, what are the pros and cons to wayland if I intend to use my PC for gaming + others?

Comparisons to X?

General impressions?

Your advice on if I should use it or stick with X?

My PC parts are arriving soon, and while Ive been a linux user since 2016 its the first time I intend to fully main drive linux, so I guess im just looking for as much information as I can get on it.

Feel free to post links to articles or anything that will answer if you prefer, we're on a link aggregator after all ;) and I dont mind reading.

Thanks in advance :)

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

A few gaming related downsides for me:

There's no way to disable the compositor, so if you play any windowed games, you'll have some extra input lag. It shouldn't matter if you play fullscreen games though.

Missing Xorg tools like xinput or xrandr. Maybe I'm too finicky, but sometimes I can't find the exact mouse speed I want through the settings GUI (for example, in KDE Plasma there are 11 steps from slowest to fastest), and through xinput commands I can just type any speed I want, which is very useful if one step feels too slow but the next one feels too fast.

I also want to increase the screen's gamma level sometimes and I haven't found any way to do that at all on Wayland.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

There’s no way to disable the compositor, so if you play any windowed games, you’ll have some extra input lag.

The reason compositors historically increase input lag so much is due to design flaws in Xorg. With VRR Wayland has comparable input lag to Xorg with no compositor, and it's only slightly worse than Xorg without VRR. In the best case scenario Wayland can have better input lag than uncomposited Xorg: there's a reason the Steam Deck uses Wayland in game mode.

I think as of recently Wayland with compositing might actually have better input lag than Xorg without compositing, but I haven't seen any thorough benchmarks in the past few months.

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

Yeah; I've a trackball mouse with an unhelpful button layout. XInput gives me the power to change the button assignment (and indeed, speed if I wanted) for input devices on a manufacturer / model-number basis. The amount of flexibility it provides seems ridiculously over-done, until you actually have a use for it.

Wayland developers seem to have thrown out all the 'cruft' when they've started over, but not realised that a lot of cruft (even basics like on-screen keyboards, screen readers) is superfluous to many but completely essential for a few.

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

All very good points, thanks! I'll need to look into the windowed games thing as I have 2 monitors, often one is the game and the other is any info for the game (e.g. 3PTools for Elite Dangerous) so the input lag will need some testing. I mean worst case scenario I simply go back to X while I can right?