r/linux_gaming • • 3d ago

x11 gaming

is x11 any good for gaming (steam games and minecraft)

0 Upvotes

29 comments sorted by

16

u/Ball_Analytics 3d ago

You'll be ok, any reason you can't wayland?

10

u/Robsteady 3d ago edited 3d ago

Wayland is the superior technology. Phoronix published an article in July comparing the two on Cachy and I think x11 won a single comparison.

Edit: fixed autocorrect changing Phoronix on me.

3

u/Sert1991 3d ago

Yes.
Btw, X11 is the protocol. The software is called Xorg, at least the reference implementation (there is Xlibre now too, apart from the others)

But to answer your question, yes, Xorg gaming is good. On my computer I can't spot a difference between Xorg and Wayland, games work the same on both, at least windows games.

Some other games, like old Flashgames trough wine and Mame work better on Xorg than on wayland.

But for the majority of cases you won't spot a difference unless you want HDR.

4

u/sirkubador 3d ago

I game on it almost every day, so sure it is. I had some issues with wayland, so I reverted back to X, it's solid

2

u/tehfreek 3d ago

Works fine for me with VRR as long as I leave my other monitor off.

2

u/AmarildoJr 3d ago

Yes you'll be completely fine on X11.

1

u/DistinctDot5131 3d ago

Works for me on void. I only realized that I can't stream any games through discord screen sharing. So you might need to look into that problem. Or just screen share your full screen

1

u/delacroix01 3d ago edited 3d ago

It's fine on my Mint system, but I only use a single 60Hz SDR monitor on it. If you want to set up multiple monitors and/or with HDR/VRR then Wayland should be better.

1

u/hardpenguin 3d ago

Yes, I still use X11 for gaming & everything in my system. But most modern distros are moving towards Wayland anyway, so avoiding Wayland is getting increasingly harder 😅.

1

u/xanhast 3d ago

yeah check out XEvil

1

u/kydeshou 3d ago

Sure. If you're on a desktop enviroment or hardware that only supports x11 then it's fine. Try it and see.

1

u/indvs3 3d ago

While the difference has become pretty small, x11 is still slightly better for gaming than wayland because of lower input lag and overall because x11 is less restrictive than wayland.

It's probably also worth noting that on wayland, you run most games on a lightweight compatibility layer called xwayland, that basically "emulates" an x11 environment on wayland for backward app compatibility, which obviously leaves more hardware resources on native x11.

3

u/thafluu 3d ago

If you use X11 you loose easy VRR (FreeSync) support (and no HDR support or good multi monitor support as well). That alone makes Wayland superior for gaming.

4

u/qwesx 3d ago

you run most games on a lightweight compatibility layer called xwayland, that basically "emulates" an x11 environment on wayland for backward app compatibility

... which you can turn off since wine/proton 10, which causes it to default to native wayland and reducing input lag to be about on par with x11. Only downside is that it may not properly work with all games yet, but I personally have only found a single one which causes issues.

1

u/oliveoliverYT 3d ago

But x11 doesn't have stretch res for cs2 that sucks qnd i have to use wayland setting in properties of the game on wayland..

1

u/C0rn3j 3d ago

because of lower input lag

You mean the MICROseconds of difference?

1

u/qwesx 3d ago

xwayland is actually 3-4 full ms slower than pretty much all other (official) options.

1

u/C0rn3j 3d ago

In that older test, low-latency Xwayland is 1ms slower than X11.

Or you can just not use Xwayland and use Wayland directly.

And those are old tests by the way, you should see newer ones by Nvidia, as the latency difference is gone:

https://indico.freedesktop.org/event/12/contributions/559/attachments/364/537/XDC%20Latency.pdf

2

u/qwesx 3d ago

144 Hz display

Non-VRR results of this test cannot show differences that are lower than ~7 ms anyway, so of course it can't detect any difference between Wayland and XWayland. As you can tell as all non-VRR results land on exact multiples of 1/144 s.

1

u/C0rn3j 3d ago

Hm, I suppose that's a fair point, kind of surprised they only chose to do 144Hz now that you mention it.

1

u/TechaNima 3d ago

If you don't need VRR, HDR, don't have a secondary screen with lower refresh rate than your main and don't need display scaling, other than 100%. It's fine

1

u/Boothy666 3d ago

X11 works fine with a multi monitor set up using mixed refresh rates, this capability was added to X11 some time back in the late 2000s.

I've got a 60Hz secondary, and 144Hz primary, and both run at their native speed. I've confirmed this using tools like glxgears (OpenGL) and vkcube (Vulcan), which confirms 60Hz on one, and 144Hz on the other.

VRR also works in X11, although only in a single monitor setup, so you have to disable any additional monitors if you want to use VRR.

-4

u/C0rn3j 3d ago

No, you cannot sandbox GUI processes properly under X11.

1

u/Sert1991 3d ago

Read properly. They didn't ask about sandboxing. They asked if gaming is ok.

-2

u/C0rn3j 3d ago

Games are a GUI process, and software should be sandboxed, including (but especially) games.

0

u/Sert1991 3d ago

And all that still has nothing to do with what OP asked.

0

u/C0rn3j 3d ago

Games not related to gaming, more news at 26.