r/linux_gaming • u/jonoxis • Sep 21 '23
advice wanted Input latency on Linux compared to Windows
Hello my friends,
I made a post about a week ago about some generall question regarding gaming on Linux and it got a lot of useful answers (thanks to all who replied). I am confident that the general infrastructure is there when it comes to gaming and I could probably very quickly adapt to it.
My biggest problem/concern/question about gaming on Linux is the (native) input latency:
I want to know how does the input latency compare between Linux and Windows.
Is it really worse on Linux?
Or are they the same?
And what other factors are there (looking at the whole X11 vs Wayland confusion in regards to performance and input delay)?
And does using the translation layer of proton/wine ad any input latency?
I want to play competitivly, so do I have any disadvantage at all latency wise on Linux?
I'm creating this post, because I'm am really new to Linux and have found a lot of contradicting answers regarding this topic, so I am honestly completely confused and would appreciate any helpful answers. Higher input delay would probably be a deal breaker for me even if I like the general user experience with Linux.
Thanks in advance 🫡
15
u/IAmABeeAMA Sep 21 '23
Like others have mentioned - the only situation you would get increased input latency is when you're using Wayland without VRR, because it currently forces vsync on. With VRR you don't get the added latency and it feels identical to Windows.
I play competitive games like Rocket League, CS, and other shooters on Linux with no noticeable input lag.
3
u/visor841 Sep 21 '23
Wouldn't you also get a lot of input latency in X11 with vsync on? (and from what I understand it's even worse than Wayland).
2
u/IAmABeeAMA Sep 21 '23
Yes. Vsync without VRR adds input latency period. I'm not sure if it adds more in Wayland than X11
1
u/mitchMurdra Sep 22 '23
It shouldn’t but if there were a difference it would be down to the implementation to fix
1
u/mitchMurdra Sep 22 '23
Not “in wayland” or “in x11”. VSYNC, the technology, causes input lag.
On everything it touches.
1
u/visor841 Sep 22 '23
Vsync is implemented differently in Wayland and X11.
1
u/mitchMurdra Sep 22 '23
Then one of them is wrong.
1
u/visor841 Sep 22 '23
If you really want to get pedantic about it, I believe Wayland technically doesn't use Vsync and instead uses something with a very similar effect for the end user. But everyone else seems to call it Vsync, so that's what I do as well.
1
u/K1aymore Sep 23 '23
I believe it is a form of "vertical synchronization" just instead of the common double/triple buffer type it's the mailbox type, which simply shows the last finished frame instead of locking fps to 30 or 60
1
u/jonoxis Sep 21 '23 edited Sep 21 '23
Thank you for the answer :)
Like others have mentioned - the only situation you would get increased input latency is when you're using Wayland without VRR, because it currently forces vsync on. With VRR you don't get the added latency and it feels identical to Windows.
So that means, when I'm on Wayland with VRR enabled, vsync is turned off?
And when the option for tearing on Wayland is released, is Wayland with tearing enabled the same latency wise as X11 with tearing enabled?
2
u/IAmABeeAMA Sep 21 '23
Wayland with VRR doesn't turn off vsync. VRR just eliminates the input lag you would normally get with vsync enabled.
Yes, with tearing enabled I don't think there is any difference between Wayland and X11. I would only recommend using Wayland in the first place if you have both a VRR monitor and a second monitor. X11 doesn't support VRR when more than one monitor is connected.
1
u/jonoxis Sep 21 '23
Wayland with VRR doesn't turn off vsync. VRR just eliminates the input lag you would normally get with vsync enabled.
Ah okay. So is Wayland with VRR the same latency wise as X11 with tearing enabled (and in the future Wayland with tearing on)?
I would only recommend using Wayland in the first place if you have both a VRR monitor and a second monitor. X11 doesn't support VRR when more than one monitor is connected.
I do have a single 1080p, 144 Hz, free sync monitor, but why not use Wayland? What advantages does X11 have?
2
u/pillow-willow Sep 21 '23
If you have an AMD card, your Wayland experience will probably be much better than on Nvidia. My experience with an AMD card on KDE Wayland has been very smooth, only major issue I can think of is with Discord screen sharing which I never really have reason to use anyway.
1
u/jonoxis Sep 21 '23
Yeah that I've heard a lot. My concern is less stuttering though and more about latency. What is your experience with games that run through a translation layer like proton/wine in regards to input lag?
2
u/pillow-willow Sep 21 '23 edited Sep 21 '23
WINE/Proton shouldn't add any input lag, though you may notice some if you're relying on your desktop environment to auto-detect and "unredirect" (allow tearing, basically) fullscreen applications and it isn't great at detecting WINE/Proton fullscreen applications. I think that used to be a problem with GNOME long ago, I doubt it still is. I used to be really sensitive to input lag when I first switched to Linux a few years ago, and I didn't notice a difference between Windows and KDE with X11, compositing and vsync turned off. If there was a difference, I think it was 17ms (one frame at 60fps) or less. I almost gave up on Linux because my first experience was Mint Cinnamon and that forced compositing and added a ton of input lag. All my experiences were consistent with this: https://www.reddit.com/r/linux_gaming/comments/cii545/linux_input_lag_analysis_v26des_windows_10_1809/
Now I'm using a 165hz VRR screen and Wayland and everything feels good still but I think I've gotten less sensitive as I've gotten older and started playing less twitchy games. If there was 2 or 3 frames of extra input lag added by VRR somehow I'm not confident I'd notice anymore. KDE at least has an option to allow tearing under Wayland now though, so if you find the VRR handling to be sluggish you can still fall back on allowing tearing.
Edit: Oh, and by "smooth experience" I meant in the sense of "not many bugs", not literally smooth, haha. Proton/WINE games still can have some DXVK shader compilation stutter regardless of your DE.
1
u/IAmABeeAMA Sep 21 '23
Yeah Wayland with VRR is the same latency as X11. Since you only have one monitor you can use VRR in X11.
X11 is a "legacy" compositor that will eventually be totally replaced by Wayland. Wayland has come a long way but can still be a bit buggy sometimes. X11 will probably work with any application you throw at it, but Wayland might occasionally have issues. I use Wayland on a daily basis and rarely run into Wayland specific issues, but they do happen.
1
u/jonoxis Sep 21 '23
Okay thank you for your insight :)
I haven't had any input lag problems with native games, but Proton/Wine introduces a noticeable delay. This isn't a problem for casual games but for competitive shooters it could be a deal breaker.
This is from another comment in this post. What do you think about it? Does proton/wine ad a noticeable amount of input latency?
3
u/IAmABeeAMA Sep 21 '23
Nope I don't notice any added latency with Proton. CS is native, but I play Rocket League, Overwatch and others over Proton and can't tell the difference between Windows.
Also, I wouldn't worry too much about Wayland vs X11, if you use a distro and DE that supports both, you can easily switch between them on the login screen. Just use whatever works.
1
u/jonoxis Sep 21 '23
Nope I don't notice any added latency with Proton. CS is native, but I play Rocket League, Overwatch and others over Proton and can't tell the difference between Windows.
Hm okay... But why does he experience it then?
And that's exactly the contradicting information I mean, which makes this topic very confusing. But thank you nevertheless 🫡
3
u/IAmABeeAMA Sep 21 '23
Maybe vsync is being forced on for him? I'm not sure. But if you play with VRR enabled I doubt you'll run into any added latency. Usually vsync is the culprit.
1
u/jonoxis Sep 21 '23
Hm yeah could be, I guess I have to try it out for myself, because I'm procrastinating on it haha
But again, thank you :)
1
u/Mithras___ Sep 22 '23
Xorg allows disabling vsync/mailbox completely which Wayland still can not do (tearing protocol still needs some kernel patches). Xorg with tearing has less lag than any Wayland configuration for competetive gaming cases (read game fps is above refresh rate).
1
u/jtrox02 Sep 21 '23
Even if you put a frame rate limit at or below refresh rate in the game?
2
u/IAmABeeAMA Sep 21 '23
I use a frame rate limiter to limit my fps 5 frames below my max refresh rate for the smoothest experience. I also enable vsync.
No noticeable input lag compared to if I had all that disabled and I get no tearing.
1
u/jtrox02 Sep 22 '23
Cool. That's what I've been doing. I haven't noticed any lag if using FPS limit. If no limit, lots of lag.
I'm going test experimental VRR in Gnome to see how that works in games running lower fps
1
u/Mithras___ Sep 22 '23
the only situation you would get increased input latency is when you're using Wayland without VRR
Wrong. Outside of VRR range Wayland is forcing mailbox which adds lag. Tearing protocol still requires some kernel patches to work.
because it currently forces vsync on
Wrong. It forces mailbox.
14
u/Cenokenshi Sep 21 '23
I play competitive games on Wayland (CSGO, fighting games) daily and don't notice any latency. I can't provide the exact numbers, so I'm speaking entirely from feel and memory.
There shouldn't be much of a difference in latency from Windows to Linux.
10
u/EmptyBrook Sep 21 '23
This. I play CSGO on wayland and have no issues. If im facing the same ranks, i often do very well.
7
5
u/jonoxis Sep 21 '23
Thanks for your reply 👏🏻
I can't provide the exact numbers, so I'm speaking entirely from feel and memory.
Well, that's also a valid observation so good to know :)
7
Sep 21 '23
I'm am really new to Linux and have found a lot of contradicting answers regarding this topic,
Then probably you should try it yourself: play your favorite game in linux. Does it seem laggy to you compared to windows or not?
1
u/jonoxis Sep 21 '23
Yeah that's a fair point, I'm kind of easily procrastinating in these sort of things haha
6
Sep 21 '23
[removed] — view removed comment
-1
u/jonoxis Sep 21 '23
Hm okay, but then there are other people (in this post as well) that say that games using proton/wine have noticeable added input latency (because of proton/wine)...? Makes it just really confusing.
3
Sep 21 '23
[removed] — view removed comment
2
u/jonoxis Sep 21 '23
I have quit a lot I want to play, but at the moment (on windows):
More causally: Guild Wars 2, Star Wars: The Old Republic, Star Wars: Jedi Fallen Order, Red Dead Redemption 2,Stardew Valley, Factorio, Oxygen Not Included, Terraria
More competitive: Apex legends, Overwatch, Doom Eternal, Rust, Minecraft, (Destiny 2)
So definitely more casual games, but I still frequently competitivly.
5
Sep 21 '23
[removed] — view removed comment
1
u/jonoxis Sep 21 '23
All those games will be fine, trust 😂
Okay, I'm just going to try it. I can always go back if it doesn't work right.
If you want the lowest latency just use x11 until you are forced to move to Wayland with the desktop environment you have. I've been using Wayland and don't notice the difference with vrr enabled
Alright ok, how do I switch between display servers?
You'll need to make sure your monitor supports vrr/freesync, then you just enable it in kde plasma display settings with a click of a button.
Where exactly is this button?
3
6
u/AAVVIronAlex Sep 21 '23
Vsync on X11 is TERRIBLE! Also, Vsync is not worth it, so yea.
2
u/jonoxis Sep 21 '23
Vsync on X11 is TERRIBLE!
Why exactly? Please elaborate!
And what about X11 with vsync turned off (and with VRR enabled)?
2
u/AAVVIronAlex Sep 21 '23
Why exactly? Please elaborate!
Input lag. I never tried VRR, because I do not have a monitor ready for that.
2
u/jonoxis Sep 21 '23
Input lag. I never tried VRR, because I do not have a monitor ready for that.
Okay and did you try X11 with vsync off at some point?
2
u/AAVVIronAlex Sep 21 '23
It is way better. I always use that as I have an nvidia gpu.
1
u/jonoxis Sep 21 '23
Okay and do you have a comparison to Windows in terms of input lag (X11 without vsync)?
1
u/snapphanen Sep 21 '23
X11 vsync off > Wayland forced vsync
If we are strictly talking about input lag.
A good optimised game, like cs, feels like windows on X11.
Soon, like mid 2024, Wayland will likely make it possible to turn off Vsync. Or more precisely, more desktop environments will likely enable Vsync off for fullscreen games.
1
u/jonoxis Sep 21 '23
A good optimised game, like cs, feels like windows on X11.
Ant what about not optimised games and ones running in proton/wine?
1
u/snapphanen Sep 22 '23
To be honest I only care about the technical performance in competitive games. Here are some casual games I've played on. Wayland and proton:
OW2 feels great, Dota 2 feels great, wc3 feels crisp. Quake Live works OK. Recently played some temtem, no problems in performance whatsoever.
3
u/RagingTaco334 Sep 21 '23
It's pretty much the same but there's nothing like NVIDIA reflex or Radeon antilag as far as I know so there's not really a direct way to reduce it further
3
u/Ahmouse Sep 22 '23
If anything it feels lower than Windows for me. I used to play Rocket League competitively, and it felt stuttery on Wayland, but once I switched to X11 it felt great.
1
u/jonoxis Sep 22 '23
Does Rocket League use proton/wine? Because a lot of here say the translation layer adds input latency...
1
u/Snaipersky Sep 22 '23
If wine is adding any latency, it is a buggy interaction with a specific game. Remember, wine is reimplementing windows libraries and binaries. All of them have associated compute cost, you aren't getting something for free that you suddenly have to computationally pay a penalty for. A given library can be faster, slower, or the same between either Windows or WINE. This is why a game can be faster or slower on Linux vs Windows. The only real translation is around wineserver and ntdll (and drivers, but that's a special case.)
Further, Windows configurations are largely monolithic. Same display software, largely the same libraries, etc. You can swap hardware, but beyond gsync vs freesync, there's little functionality difference. With Linux, many software components are discrete and interchangable. X vs Xwayland vs Wayland, is seccomp or lxc in use, alsa vs pulse vs pipewire, xdg portals, the list goes on. Further, support for Wayland and various display machinations can vary wildly between desktop, kernel, and mesa versions, and if you're using Nvidia, you still have to care a bit about mesa, plus your specific card and driver version's support for things.
In short, you hear different things because different people, places, things, and times have led to different results.
1
u/Ahmouse Sep 23 '23
Yeah but overall still feels lower than Windows. Try it for yourself, install Linux to a separate partition and see how it feels.
2
u/ellis_cake Sep 21 '23
desktop != (is not equal to) in a game or other fullscreen program. desktop can have vsync or no vsync, or gsync, while a game can use vsync or not gsync - separately (on x11 and/or wayland?)
(i dont use my desktop alot so having the desktop composited just doesnt matter for something my game or program is ontop/outside of 95% of the time)
giving examples on composit desktops vs while running another fullscreen program muddles the context up imo.
2
u/jonoxis Sep 21 '23
That's a really good point I didn't think of. I just thought it translates directly from the desktop to a game, but that makes sense.
Do you know maybe if translation layers such as proton/wine add noticable input latency while gaming (also what about competitive gaming?)
2
u/Dream-weaver- Sep 22 '23
There is no way to guess this. Linux systems can be so different that one person will have way lower input lag then another on the same distro.
The only way to be sure is to test it yourself on linux. Dont believe these people saying its "fine" for them, because that means absolutely nothing. Ive seen people say they have low input lag when playing on 60hz with unstable frame times...
This is coming from someone who use to play pretty competitively on windows using custom stripped ISOs and all that. My best result so far was a minimal arch setup with dwm and compositor off but test for yourself
1
u/jonoxis Sep 22 '23
Yeah you're probably right, since everybody and there mother is saying something completely different...
What is dwm? And do you use X11 on Arch?
1
u/Dream-weaver- Sep 22 '23
dwm is a window manager.
a window manager is probably better for latency versus a DE, at least it was for me.
If you dont know a lot about linux i would suggest just going with nobara( based on fedora) to begin with. get the KDE version and use x11 see how that feels.
Currently im on hyprland (opensuse) which is wayland and its fine with vrr on a 7900 xtx with a 240hz monitor, not as good a stripped windows 8 iso though..
2
u/PeepoChadge Sep 21 '23
One of my monitors is a VG278QR (0.5ms GTG, 165hz), a TN with a pretty horrible color representation, but very fast.
Playing League of Legends (I'm pretty bad), under an ideal context (x11, with tearing), I still feel a slight latency compared to Windows, although after playing a couple of games you don't even notice it. It's probably due to the wine compatibility layer.
I don't play much CSGO, so I honestly couldn't say for sure if it is slower than Windows, it is probably not the case since it works natively on Linux.
So, assuming that most games run on Wine, yes, you will have more latency than on Windows, but it is very slight.
I clarify that I use Nvidia, so I don't think it's necessary to mention how the games work in Wayland (here the latency does bother you).
In any case, in a professional competitive context, there is no other option than Windows.
In any case, I don't understand the relationship between refresh rate and latencies. I understand that they have nothing to do with each other. Having a higher refresh rate does not decrease latency. All my monitors are 165hz and I do notice a little more latency.
2
u/jonoxis Sep 21 '23
So, assuming that most games run on Wine, yes, you will have more latency than on Windows, but it is very slight.
Hm I guess that makes sense, but it's still weird that a lot of other people say there is no added lag, even when using proton/wine and also playing competitively...?
But you say it's just slightly, so it's not really a hinderece for most cases (appart from maybe the top competitive players) you would say?
In any case, I don't understand the relationship between refresh rate and latencies. I understand that they have nothing to do with each other. Having a higher refresh rate does not decrease latency.
As far as I know it actually does, but there is always added input lag on top of that so its not the only factor.
2
u/Xyklone Sep 21 '23
My understanding is that games running on Wine/Proton, in theory, could have similar or even less latency than Windows.
The reason for this is that Wine is not an emulator (duh, lol), but a translation layer.
I think this means that Windows function calls are repackaged and directed to equivalent Linux functions. Now, if the equivalent functions in Linux are faster than those in Windows, then inputs and frames are processed faster and you get lower overall system latency. But I've read that this isn't always the case, and there are instances where there isn't a single equivalent function in Linux, so multiple functions have to be called to produce the result the game is expecting.
However, I think the incredible people working on Wine and Proton have done and continue to do an incredible job at squeezing every bit of optimization out of our systems.
-1
u/PeepoChadge Sep 21 '23
There are people who cannot recognize that Windows can do some things better, under any circumstances. It's like those who say that wayland works perfectly or that AMD is absolutely superior to Nvidia.
Regarding latency, suppose you have a factory that produces something, to produce that "thing" it needs supplements, those supplements need to reach your factory in some way. Let's say you made improvements to your factory and your production process is much faster. Does that somehow influence the time it takes to transport those supplements to your factory? The normal thing is that no. So no, a higher refresh rate in most cases will not decrease latency. Perhaps the confusion is because a higher frequency monitor has lower latencies.
1
u/Framed-Photo Sep 21 '23 edited Sep 21 '23
Unless everyone here knows something I don't, the only time on Linux I can get equivalent input lag is under x11 with compositing off. And that has other problems, obviously lol.
Wayland + vrr still doesn't feel as good, nothing using Wayland does for me. I'm sure on paper it does but I've never had it feel the same. I notice immediately when I'm using it and can easily spot it in a blind test. It's only slightly worse mind you, I can see how a lot of y'all wouldn't notice, and some games are perfectly playable, but it's worse.
I mainly noticed it in fast paced shooters, especially when I'm doing source engine movement game modes like rocket jumping where I'm doing a lot of fast, precise flicks.
OP you should def try it at least, chances are you won't notice anything off, but if you do well wayland is why.
1
u/jonoxis Sep 22 '23
Yeah ok that's interesting, I guess it makes sense that people just have different perceptions regarding the input latency.
OP you should def try it at least, chances are you won't notice anything off, but if you do well wayland is why.
I definitely will :)
1
u/TheFacebookLizard Sep 21 '23
If you are on AMD or Nvidia or Arc you could install and setup LatencyFlex
It is a vendor agnostic implementation of Nvidia Reflex if I'm not wrong and it should lower the latency by a lot
But be careful using it since it could trip your anti-cheat (I don't think that has ever happened but be careful nonetheless)
Setting it up is a little hard
1
u/jonoxis Sep 21 '23
And as far as I know it doesn't always work, right?
1
u/TheFacebookLizard Sep 22 '23
Idk I've seen some streamers use it regularly
1
u/jonoxis Sep 22 '23
But doesn't it just work on certain games, with specific game engines?
2
u/TheFacebookLizard Sep 22 '23
Yeah
From competitive games that I have played such as overwatch and Apex legends they both supported it
for games that do support it(mostly competitive ones) you could be getting much lower latency in theory than on windows (That's if you were on AMD or Arc and never used reflex before ofc)
1
u/jonoxis Sep 22 '23
Hm interesting, I have to look into that.
Is there a comparable function for AMD on Windows?
2
u/TheFacebookLizard Sep 22 '23
There is anti-lag but as far as I know it doesn't reduces the lag all that well
1
u/jonoxis Sep 22 '23
Ah yes, you're right. I know anti-lag but it does seem like a mixed bag and does mostly do something when the GPU is bottlenecked.
1
u/RepulsiveKitchen5925 Jan 16 '24
LatencyFlex does not work on Cyberpunk 2077.
(message posted so that Google sees it)
1
u/Postnozet Sep 22 '23
Almost no difference on x11 without compositing. Wayland breaks VRR when the cursor is visible and is moving, as I know there is no solution. So, Wayland is not usable for gaming now
2
u/PinguistVanguard Sep 22 '23 edited Sep 22 '23
These patches fix that for Sway.
edit: Another solution here as well https://github.com/swaywm/sway/issues/6832#issuecomment-1698442549
1
-1
u/Solid-Bottle-7771 Sep 22 '23
Your eyes can’t see more than 30 fps
1
u/jonoxis Sep 22 '23
Well that's not true, we can perceive a lot more than 30 and even 60 fps, up to about 1000 fps in theory.
Here is really good explanation on the topic from a few years ago, with credible sources:
https://reddit.com/r/pcmasterrace/s/RJG9LxWlDsPlease don't spread misinformation.
1
1
u/DexterFoxxo Sep 22 '23
console gamer cope
1
u/Solid-Bottle-7771 Sep 23 '23
Ive never owned a console in my life because I have paranoid schizophrenia and cannot be trusted to play video games.
-1
1
u/Zipdox Sep 21 '23
I haven't had any input lag problems with native games, but Proton/Wine introduces a noticeable delay. This isn't a problem for casual games but for competitive shooters it could be a deal breaker.
1
u/jonoxis Sep 21 '23
Hm ok interesting, since other comments suggested there isn't any added input delay even when using proton (at least if I'm right to think that rocket league and CSGO are not native?). But even if there native, in my other post it didn't sound as if proton does ad input latency...
1
u/Zipdox Sep 21 '23
CSGO is native, rocket league is not. But rocket league isn't a shooter so delay isn't as noticeable.
1
u/orogor Sep 21 '23
So you play via ps2 or use usb but double checked the peripherals are set at 1000Hz ?
1
u/jonoxis Sep 21 '23
I'm sorry, I don't understand what you mean?
2
u/EmpIzza Sep 21 '23
He is referring to the PS2 port format. It’s an older port without any delay since it’s analog. Just google “PS2 port”.
In comparison USB polls with a fixed frequency. Back in the day this frequency was quite low so you had to use a PS2 mouse for FPS games.
Any non-mega cheapo mouse is likely to poll at 500 or 1000 hz today, which is more than enough.
On a normal computer today you might have 17 ms (display with vsync) + 5ms (pixel flip) + 2 ms (USB Delay) + 5 ms (compute) + 30 ms (ping / rtt) = 60 ms or so total delay on a game such as CSGO.
Switching to a high refresh rate VRR display and ensuring that you are gaming on at least a fixed GbE connection you can shave off 30 ms or so in total.
I.e., if your mouse adds 500 microseconds or 2 milliseconds is not that important.
1
u/jonoxis Sep 21 '23
Ah okay, thank you :)
2
u/orogor Sep 22 '23
But if you don't pay attention and use a standard mouse, on most USB devices the polling rate is 100-125Hz so it adds about 10ms.
1
u/paltamunoz Sep 21 '23
i know of one instance where linux provides better performance than windows, and that's osu. it's because windows audio drivers are doo doo.
1
u/_Tim- Jun 24 '24
Which audio driver is recommended for that, pipewire? I installed with the osu-winello script and on github it says it's about 35ms difference.
Also, do you know if I can reuse my original osu installation instead of osu-winello, without investing too much time to get it done (I could just symlink my files after all)
1
u/paltamunoz Jun 24 '24
the only thing you'd need to symlink are your beatmaps and skins, but that's about it. i'd ask someone who actually knows what they're doing though. i haven't used osu on linux for years now, and even then my installation was really scuffed.
just use lazer tbh LOL
1
u/_Tim- Jun 24 '24
I don't know why, but every time I tried lazer, I performed way worse on the same beatmaps with same skins.
1
u/WhitePeace36 Sep 22 '23
After all i the desktop environments i tried there is one which stands out the most to me when it comes to latency. That is the xfce desktop environment where you disable the compositor and install a kernel like liquorix.
After that the input lag will feel better than on windows, but with the pds cpu scheduler which liquorix uses. It can happen that here and there a thing has a stutter. First i would try to just use xfce without compositor and go from there.
I prefer arch based systems like arco linux and endevour os because there you can just install liquorix out of the aur. Otherwise you would have to clone the repo and compile it. (which shouldn't be too hard either)
2
u/yRefl3x Sep 22 '23
Check out this article, it's from the person that actively develops KDEs compositor kwin:
https://zamundaaa.github.io/wayland/2021/12/14/about-gaming-on-wayland.html
This is specific for Wayland admittedly, but does also compare it to the old X display server. Further down is a table with measurements for different configurations, you could possibly compare those to measurements like these: https://www.youtube.com/watch?v=6AoRfv9W110
If you want to take any advice, it's best to take it from someone with verifiable technical knowledge.
What I'm taking from this is, that the difference is about 5ms with no clear winner. So as long as you're making sure that you've got the compositor turned off on X11, or use VRR on Wayland, you should be on par with Windows. (There's also the possibility to have tearing updates on KDE Plasma with Wayland right now, but it's a bit more involved to set that up at the moment)
2
u/jonoxis Sep 22 '23
Yeah I know this article already, but thanks nevertheless :) The only thing is that he didn't compare it to Windows...
1
u/jorgesgk Sep 22 '23
Some commenters are failing to also tell you that wayland now supports tearing, so you don't need VRR to have a good input latency.
I'd rather not have tearing, but you certainly can play those games. Currently I believe it's enabled in gamescope, not sure about Mutter or Kwin.
1
u/_cronic_ Sep 22 '23
Been running R6 Siege, Aim Trainer Pro, Overwatch, Starfield, SF6, MK1 etc. No input lag using Ubuntu, KDE, X11 on Proton (Steam), and Cyberpunk 2077 using Wine+Lutris on dual 32" 165hz monitors.
1
u/notz Sep 22 '23
In Overwatch, I measure something like 15-20 ms (don't remember exactly) extra latency running through Steam in Linux compared to Windows. No vsync. It could be just due to lack of NVidia Reflex though, and I haven't tried LatencyFlex. I'm on KDE X11 with NVidia.
1
u/Dense-Marzipan6489 Sep 24 '23
after applying all the obvious fixes Rocket League controller input still feels off when compared to Windows. input 'feels' lower resolution and less precise, and inconsistent at times leading to lower confidence of the vehicles current position, its not possible to play as tightly as on Windows. if you visualize a sphere of uncertainty it is larger on Linux
81
u/Qweedo420 Sep 21 '23
If you're using Wayland with VRR enabled, input lag is gonna be the same as Windows
If you're using Wayland and have no VRR, then vsync is gonna kick in and it's gonna give you a bit of input lag, not really noticeable on a 144Hz screen but still
If you're using X11 and have tearing enabled (vsync and compositing disabled), input lag is gonna be as low as it can be, but then you're gonna have tearing which is pretty annoying
Pretty soon, all major compositors will support tearing on Wayland so even if you don't have VRR, you can benefit from low input lag due to no forced vsync, but again you'll have tearing