OS: CachyOS x86_64
Host: ROG Zephyrus G16 GU605MZ_GU605MZ (1.0)
Kernel: Linux 7.0.11-1-cachyos
Display (SDC41A3): 2560x1600 @ 1.75x in 16", 240 Hz [Built-in]
DE: KDE Plasma 6.6.5
WM: KWin (XLibre)
CPU: Intel(R) Core™ Ultra 9 185H (22) @ 5.10 GHz
GPU 1: NVIDIA GeForce RTX 4080 Max-Q / Mobile [Discrete]
GPU 2: Intel Arc Graphics @ 2.35 GHz [Integrated]
KDE announced it will become Wayland only on 6.8
Wayland doesn’t work for me, because of forced VSync, that i cannot turn off.
Vsync adds input delay at everything. I use instant animations on Plasma I want my windows to tear, because the input latency is very noticeable and unbearable - so unbearable that the only option I have is to use x11/xlibre.
I want to have the ability to fully and always turn off vsync (permanent tearing enable).
How can that be achieved?
Regarding the input lag. I think I read recnetly that kwin is having code added to reduce input lag. Maybe that will help?
Happy to hear that there are improvements coming, but that does not solve the problem. The code added is like a cherry on top, if Vsync could be disabled.
The problem is that when tearing is disabled (VSync is on) do whatever optimizations you want, but you will not have the same low input latency as with VSync off. Because that’s the whole point of VSync - to delay the display rendering until the full frame has been buffered.
And games sample input based on frames output?
Thank you for your addition to the discussion. Your post is irrelevant to the topic.
If we take gaming, xlibre with tearfree set to disabled, has lower input latency than wayland.
Enabling tearing in wayland also doesn’t work.
My request is to have the ability to enable tearing always, not to discuss why it isn’t needed in someones non factual opinion. I can feel the difference between the two, I am requesting a problem to be solved which was created by the forced migration to wayland. I want to use wayland, but its not working as the functionality has not been made as it was on x11.
Xlibre tearfree set to disabled, has a better experience than any setting on wayland allows it to.
I have added at the top 240 Hz as my display. I can feel a big difference between wayland and xlibre when in games - I am not gonna mention how poor the games run with stuttering on wayland, maybe thats because tearing doesn’t work on external monitors, but thats not the discussion here.
I want to be able to use wayland tearing always
Funnily enough, the “Wayland breaks everything” comparison counts “VSync / Tear-free Rendering” as a Wayland positive. Maybe someone should tell them that Screen Tearing is actually a desired feature.
But fear not there is already a plasma 6 fork named SonicDE to continuing support of xlibre/x11.
VSync is forced by default on games even with “Screen Tearing: Allow in fullscreen windows” ticked.
It’s possible to disable VSync for games with MangoHud or using MESA_VK_WSI_PRESENT_MODE=immediate in games launch parameters, but this causes gaps in the interval updates which does not happen in Windows 10. This is bad behaviour/implementation or a bug of the compositor.
I have VRR disabled in the monitor, but KDE compositor acts like VRR and mouse cursor in games is shown at the same Hz as fps set and gets those gaps bug.
I don’t like VRR, I prefer to have the screen working at 240Hz with games limited to 60fps.
There are 3 ways to overcome the low HZ and the interval update gaps, with caveats:
- Use PROTON_ENABLE_WAYLAND=1 (breaks Steam Input and Overlay)
- Untick “Screen Tearing: Allow in fullscreen windows” (but this still causes a weird VSync behaviour where it gets activated for some seconds while transitioning in a game’s menus, no idea if it will happen during gameplay)
- Use Gamescope (has it’s own compositor and no VSync)
I took some photos with my phone that shows the low Hz and the gaps bug.
- Left: VSync=off ; Tearing=yes ; fps=unlimited ; There are gaps in the cursor (doesn’t happen in Windows even with VRR=on)
- Center: VSync=off ; Tearing=yes ; fps=60 ; Bigger gaps (acts like VRR, but it’s off)
- Right: VSync=off ; Tearing=no ; fps=60/unlimited ; No gaps (normal/expected behaviour)
What software is forcing vsync on?
In most games I see a graphics option to turn vsync on or off.
The default is often off and always turn it back on it that is the case.
Is the option in the game not making a difference?
KDE Compositor is what forces VSync. The option in games doesn’t disable it.
240Hz monitor.