Confused on Steam Play and Proton? Be sure to check out our guide.

SDL 2.0.22 will default to Wayland on Linux

By - | Views: 16,583

Simple DirectMedia Layer (SDL) is one of the most important pieces of open source for Linux gamers, as it's the tech used by various game engines and games. It's also about to continue changing the game for the Linux desktop in the upcoming version.

What does it actually do? It's a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware.

It has been announced that the SDL 2.0.22 will default to Wayland, preferring it over X11. This is another big step towards Wayland properly being a replacement for the old and crusty X11 everywhere. With this we might end up seeing more games and applications be native to Wayland, rather than having to run through XWayland.

Developer Ryan C. Gordon (also known as Icculus) mentioned on Twitter: "If you or your distro has not supplied a libdecor, you absolutely want to get that in place by around March 2022". A lot of the heavy lifting involved was done by Ethan Lee (also known as flibitijibibo), who mentioned on Twitter that almost all of the work involved was funded by sponsors of their GitHub.

Article taken from GamingOnLinux.com.
31 Likes
We do often include affiliate links to earn us some pennies. We are currently affiliated with GOG and Humble Store. See more here.
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
23 comments
Page: «3/3
  Go to:

TheRiddick 28 Jan
Defaulting to X11 until they get full display control and management integrated in Wayland... it still not possible to execute display adjustments or ICC controls correctly like how xgamma or xrandr allowed (often made available in WM settings or GUI tools).

Wayland still has loads of little problems that all add up.. X11 does too but actually has solutions to them for the most case!


Last edited by TheRiddick on 28 January 2022 at 5:18 am UTC
Zappor 31 Jan
Quoting: TheRiddickDefaulting to X11 until they get full display control and management integrated in Wayland... it still not possible to execute display adjustments or ICC controls correctly like how xgamma or xrandr allowed (often made available in WM settings or GUI tools).

Wayland still has loads of little problems that all add up.. X11 does too but actually has solutions to them for the most case!

Those sound more like problems for a desktop environment than for a game.
mirv 31 Jan
View PC info
  • Supporter Plus
Quoting: Zappor
Quoting: TheRiddickDefaulting to X11 until they get full display control and management integrated in Wayland... it still not possible to execute display adjustments or ICC controls correctly like how xgamma or xrandr allowed (often made available in WM settings or GUI tools).

Wayland still has loads of little problems that all add up.. X11 does too but actually has solutions to them for the most case!

Those sound more like problems for a desktop environment than for a game.

Indirectly impacts gaming however: not all games are fullscreen where some of this might be bypassed, and games are generally speaking launched from within a desktop environment / window manager. Even if the game is fullscreen, some of the screen settings applied directly through the likes of xgamma and xrandr are picked up anyway because "fullscreen" these days is closer to full screen sized borderless window.

Nothing resolvable by SDL2 of course, but it's important for Wayland adoption that such things are fixed, which might in turn impact just how much development focus X11 and Wayland each receive in SDL2.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: Liberapay or PayPal.

This ensures all of our main content remains totally free for everyone with no article paywalls. We also don't have tons of adverts, there's also no tracking and we respect your privacy. Just good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register

Or login with...
Sign in with Steam Sign in with Twitter Sign in with Google
Social logins require cookies to stay logged in.