Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal. You can also buy games using our partner links for GOG and Humble Store.
Wayland.....and games
Lemosbash Jul 28, 2020
I've seen much people trying to argue against Wayland when talking about games, but, the main problem for me, is that i don't have a proper hardware for making proper benchmarks or observing performance issues, so, as this is kinda of a big forum, i truly want to see how things are going for other people, or how people are thinking when it comes to wayland and gaming, as i can't talk much, i want to see what you guys have to say, please reply, my hardware and DE are public informations on my profile.


PS//I have a second computer, but i think he will be even worse than my main one, the one listed on my profile, but, if you want to check it, here it goes

tuxintuxedo Jul 28, 2020
It's important to note that currently there are basically no games designed for Wayland (there might be a few simple ones, but they are hard to find). Almost everything you start runs on XWayland, which is different. In some way it can be seen as Wine for Windows programs. As far as I know, in recent years there were a lot of optimizations done to XWayland and it should only have marginal differences compared to native X.

Last edited by tuxintuxedo on 28 July 2020 at 8:26 pm UTC
Shmerl Jul 28, 2020
I'm waiting for Wayland support in KDE to get in shape before switching. It still has nasty bugs. But games tend to work OK. Especially with XWayland fallback for cases like Wine.
Lemosbash Jul 28, 2020
Quoting: tuxintuxedoIt's important to note that currently there are basically no games designed for Wayland (there might be a few simple ones, but they are hard to find). Almost everything you start runs on XWayland, which is different. In some way it can be seen as Wine for Windows programs. As far as I know, in recent years there were a lot of optimizations done to XWayland and it should only have marginal differences compared to native X.


Yeah, i know about that, and that's almost the main reason for creating that topic, i've seen some people arguing that Xwayland create some issues, i haven't seen one, but....who knows, maybe someone else did
Shmerl Jul 29, 2020
Quoting: tuxintuxedoIt's important to note that currently there are basically no games designed for Wayland

Normal games shouldn't be touching anything related to X directly. They use SDL and the like to handle desktop integration. So it should work with Wayland already. Only some ancient games use X and Wine too so far, since Wine didn't implement Wayland support yet.

Last edited by Shmerl on 2 August 2020 at 2:06 am UTC
Dennis_Payne Aug 1, 2020
I use Fedora with Wayland and generally have no problem with games. An old game using ClanLib 0.6 had problems but all commercial games where my computer is powerful enough have run fine.
dr_jekyll Aug 1, 2020
Quoting: ShmerlOnly some ancient games use X and Wine too so far, since Wine didn't implement Wayland support yet.

Some time ago I found wine-wayland (link to github ).
I did not test it yet, but it looks promising.

@Dennis_Payne: Can you give some details?
-I assume the games don't use XWayland?
-What Games and do they need special modifications/preparations?

Last edited by dr_jekyll on 5 August 2020 at 12:28 pm UTC
Samsai Aug 2, 2020
I've played games on Wayland for probably two years now either on GNOME or Sway. The only issue I could trace back to Wayland is that a bug in XWayland causes some GLX capabilities to be misrepresented to games relying on GLX, which means that a GLX-based game trying to use MSAA will crash. Luckily these games are relatively few (Paradox games like HOI4 and Stellaris come to mind, along with OpenMW) and you can disable MSAA for them to get them working. A fix for this apparently exists but maybe it hasn't trickled down to Xorg yet. So, usually if I run into a game that doesn't start I just figure out how to disable anti-aliasing and usually stuff just works.

In general benchmarking seems to show only minor performance differences between X11, Xwayland and Wayland, which makes sense since windowing system overhead is comparatively minimal to graphics or CPU processing bottlenecks. A more interesting thing to compare would be frame latency (time it takes between a frame being drawn and being presented on display), since buffer management and compositing differs between X11 and Wayland. I haven't seen such benchmarks being made though.

In regular day to day use, Wayland has been perfectly fine for gaming as far as my gaming needs are concerned, and I tend to try a fair number of different games on a weekly basis. If performance differences exist, they aren't severe enough to harm my enjoyment of the games I play.
Dennis_Payne Aug 3, 2020
Quoting: dr_jekyll
Quoting: ShmerlOnly some ancient games use X and Wine too so far, since Wine didn't implement Wayland support yet.

Some time ago I found wine-wayland (link to github.
I did not test it yet, but it looks promising.

@Dennis_Payne: Can you give some details?
-I assume the games don't use XWayland?
-What Games and do they need special modifications/preparations?
Are you asking me or Shmerl? Most games are probably using XWayland. I don't check. Whether it is native Wayland or using XWayland is irrelevant to me.

Commercial games have worked without problem except for a few using proton. Lara Craft and the Temple of Osiris was just too slow on my hardware. Lego Ninjago Movie and .hack//G.U. Last Recode had drawing issues. I'm using integrated Intel graphics so they might have been too slow even if they worked.

For open source games, I tend to try everything. Older libraries can be problematic. ClanLib 0.6 doesn't get keyboard input when full screen but you have a hard time finding games using it. (I wanted Mojotron because I'm a big Robotron: 2084 fan.) If the game is in interesting enough and not maintained, the special modifications/preparations tend to be me taking over maintenance and porting it to a newer library. Hence my Free Software Game Restoration talk for Libre Planet.
dr_jekyll Aug 5, 2020
Quoting: Dennis_PayneWhether it is native Wayland or using XWayland is irrelevant to me.

Well for me as a user of the Nvidia official driver it is very relevant (because afaik NVIDIA for now does not support graphics acceleration for XWayland), but I guess I simply have to try things myself.

Anyway thx for the information .
GustyGhost Aug 8, 2020
The only game I've run into where I must switch to an X session is Star Conflict. Of course, that was running my own build so it's entirely possible that I just screwed some part of the build process and the official game distributed by storefronts might not have the issue.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring 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 Google
Social logins require cookies to stay logged in.