this post was submitted on 30 Jun 2023
60 points (100.0% liked)

Linux Gaming

14926 readers
1 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
 

One step closer to full Wayland support.

top 16 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 year ago (2 children)

It would be cool if Valve released a native Steam wayland by the time this hit proton.

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

Yeah , would be awesome

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

I think implementing Steam popup on Wayland is still an unsolved problem unfortunately. There isn't a protocol for that yet.

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

Let's go 😀

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

Can someone explain what this means? I’m new to Linux gaming. Don’t really get what the difference is between wayland and x11. Will this improve performance in d4 on distros like fedora?

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

Simply put, X11 is the bottom of the graphics stack, i.e. everything that makes Linux have more than just a command line has historically been built on top of X11

X11 is OLD. Like really old. And has a bunch of problem because of it (no variable refresh rate, no good multi monitor support, no proper fractional scaling , tearing, no security etc) It's also very mature. Somehow developers have managed to build a decent user experience out of the old X11

The Wayland protocol was designed to overcome the shortcomings of X11 and replace it. Wayland is now at the cusp of being a fully functional complete replacement for X11. It already is for many (most?) use cases.

Many Applications that are not made for Wayland will still run in Wayland, but they run in a fake X11 server inside called Xwayland. But native Wayland is better (performance, security, features)

Wayland very good on AMD and Intel these days. Nvidia was unsupported, but last year nVidia made a business decision to support EGL(?) so with fresh drives work has begun in Gnome and KDE to support Nvidia in Wayland. I'm not sure how mature Nvidia on Wayland is yet

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

Wayland very good on AMD and Intel these days. Nvidia was unsupported, but last year nVidia made a business decision to support EGL(?) so with fresh drives work has begun in Gnome and KDE to support Nvidia in Wayland. I’m not sure how mature Nvidia on Wayland is yet

Clarification: GBM is what Intel, AMD and the general "nice players" of the Linux graphics ecosystem decided, whereas EGLStreams was something NVidia came up with because it worked better with their proprietary drivers (AFAIK)

Gnome and KDE were fine going out of their way to support both, but smaller implementations such as wlroots (the thing behind sway and Hyprland and other non-Weston "window managers") didn't feel the tradeoff was worth it (in both philosophical and manpower reasons) and stuck to GBM.

NVidia comparatively recently "caved in" and got GBM support working (alongside kernel mode setting & other terms you don't really need to know about), and being one of the few proprietary players in the ecosystem they have not been able to benefit from help from the community, which is one of the reasons why their Wayland support is immature compared to the likes of Intel and AMD.

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

You're mostly there, but the big issue now is their handling of Xwayland. nVidia also doesn't expose VRR/GSync under Wayland (but an engineer remarked that it's slated for the 545 series release on the nVidia Linux forums).

The most glaring issue currently that effectively blocks Wayland for nVidia users is the lack of implicit sync on their end, and the Xwayland developers refusal to merge nVidia's proposed explicit sync method. This is oversimplifying but the short version is from nVidia "implicit sync is too slow, it architecturally conflicts with our driver forcing a comprehensive rewrite, and we don't want to look bad with implicit sync's performance". The response from X devs boils down to "You weren't there when we planned all this, implicit sync works fine, explicit sync won't benefit how the Mesa drivers work so this would only be for your benefit, and you've been complete assholes".

Neither side looks like it's going to flinch, so getting Wine to run in Wayland is the only feasible solution for nVidia users. In an all-wayland environment with no applications running under Xwayland, Mutter and plasma-wayland run like a dream, it's a great experience.

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

yeah, wayland is awesome, unless you really need global shortcuts decided by the application, or a tun of other accessibility features. Still though, as you said, for most cases, wayland is good, and even the a11y features are getting ironed out, ever so slowly.

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

Has there been any news what the long term plans of Gamescope (Steam Deck Compositor)? They are building pretty heavily on top of xwayland, so wondering if they’ll make the switch to native Wayland game sessions at some point…

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

Gamescope should be wayland based, it uses xwayland for wine/proton games

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

I am aware it’s Wayland based. But it’s using xwayland for literally everything by design at the moment. There is not even a way to run Wayland native applications currently.

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

gamescope is such a great tool!

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

Nice! Would this help big picture mode on a steam box?

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

Is the version of SteamOS on steam boxes still getting updates? If so, maybe. If not, it'll probably take some tinkering.

If valve every gets around to releasing their updated SteamOS, almost certainly.