31
submitted 5 months ago by ylai@lemmy.ml to c/linux_gaming@lemmy.ml
top 9 comments
sorted by: hot top controversial new old
[-] CarlosCheddar@lemmy.world 10 points 5 months ago

There is no advantage to games and average applications preferring Wayland over X11 -- only severe performance and unusability regressions right now. Thus, we must revert this change until fifo-v1 and commit-timing-v1 are released and at least in a stable release for major compositors."

Does this mean I’ve been getting reduced performance for using Wayland when playing games? I haven’t noticed any difference but I haven’t been benchmarking.

[-] Max_P@lemmy.max-p.me 6 points 5 months ago

It's always felt just a tiny bit better for me, but also never benchmarked it. Maybe on particularly heavy workloads or less powerful devices like the Steam Deck. Could also be that Gamescope doesn't cope too well with it.

I do have 2 GPUs, one for my displays and desktop another dedicated to compute/VMs/gaming. So I wouldn't know if it causes the compositor to slow down or starve for GPU access, as the game has a whole GPU just for itself.

[-] eodur@lemmy.world 3 points 5 months ago

I know I was seeing drastically reduced performance before switching back to X11.

[-] rah@feddit.uk 2 points 5 months ago
[-] breadsmasher@lemmy.world 7 points 5 months ago* (last edited 5 months ago)

With the SDL library that's widely-used by cross-platform games with the current SDL 3.0 development code it prefers Wayland over X11,

Does this read really convoluted/weirdly phrased?

[-] iusearchbtw 10 points 5 months ago

It's quite common with Phoronix. Larabel's running a committed and consistent open source news aggregator, but his English isn't the best.

[-] breadsmasher@lemmy.world 11 points 5 months ago

Oh I wasn’t aware english is a second language to the author. In that case, this article is written vastly better than any article I could write in another language!

[-] kbal@fedia.io 3 points 5 months ago

I've never done SDL in Wayland, but shouldn't it be up to applications that use SDL to tell it which to prefer if it's important for them?

[-] chalk46@fedia.io 3 points 5 months ago

I've been switching between the two a lot lately, primarily tweaking "sway" and "spectrwm" Xorg generally uses less RAM and has way more options as far as window managers go, but I like how Xwayland uses the actual names from the /sys/class/drm/card*-* for the screen names (multiscreen randr stuff), although in Xorg my lid-switching script is considerably simpler since it uses xset for DPMS. There's a reason X11 has been around for so long I guess. I mean I just discovered a window-manager agnostic way of setting my media keys using xbindkeys (which is nice because spectrwm's custom action bindings are bugged and need a reload after every fresh start), and even compton isn't so bad once you learn to use it properly (it was ignoring the documented user config path ¯⁠\⁠_⁠(⁠ツ⁠)⁠_⁠/⁠¯). I mean don't get me wrong, it's cool as hell that you can literally run "sway" from the command-line, and set the bg and screen positions in a single config line, or that setting transparency in the "foot" terminal is also a single simple setting, but the complexity of Xorg isn't always a bug..

this post was submitted on 26 Mar 2024
31 points (100.0% liked)

Linux Gaming

15475 readers
240 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS