this post was submitted on 26 Jan 2026
88 points (98.9% liked)

Linux Gaming

22110 readers
20 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 5 years ago
MODERATORS
 

no idea if this is a recent development, but stumbled upon the info. you can run wine games on wayland directly, as opposed to the default, running it through Xwayland translation.

what you need to do is clear the DISPLAY variable. I use lutris, so I add it like so:

mangohud reports "wayland", without the line it's "xwayland", so it works. the results for the few games I play are awesome - no resolution issues, no alt-tab glitchings, no launch multiple times before it starts... didn't run any benchmarks as it's already maxed out at 60 fps on Ultra. but so far, very cool!

you are viewing a single comment's thread
view the rest of the comments
[โ€“] fuckwit_mcbumcrumble@lemmy.dbzer0.com 1 points 1 month ago (1 children)

with WSL it runs X11, I'm curious if they'll ever port wayland to WSL. Probably a lot harder to do than X11.

[โ€“] Ferk@lemmy.ml 1 points 1 month ago* (last edited 1 month ago)

My understanding is that since WSL version 2 (publicly launched a few years ago I think) it comes with a wayland implementation built-in, and it uses xwayland to run X11 compatible apps. At least if you are using a compatible image.

https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps

https://devblogs.microsoft.com/commandline/wslg-architecture/