Reassessing Wayland
-
Thanks for the detailed answers. So we can say that Wayland sacrifices lower latency in exchange for higher accuracy.
According to this post Gnome allows you to change this behavior through an environment variable (
MUTTER_DEBUG_ENABLE_ATOMIC_KMS=0
on Ubuntu 22.04). It should be a configurable option, considering the amount of people complaining about this mouse behavior.Oh and this is also why the cursor movement might visibly start stuttering during heavy GPU load. This is a problem that was solved back in the 80s but here we are…
Sad, but does this problem only affect Wayland or also Xorg?
-
Note that depending on compositor switching to the legacy API might not help due to how they are designed. And with legacy you'll also probably lose the fancy modern crap like HDR.
Sad, but does this problem only affect Wayland or also Xorg?
Wayland compositors only in my experience.
-
The only thing that's keeping me from Wayland full-time is the push to talk mess. I use Mumble to talk with friends. Under Wayland, to make it work you have to force mumble to run in the xwayland mode and even then, push to talk will only work when you're focused on xwayland windows. Want to look up something on web browser? Cool, now your push to talk button won't register. You have to click on any currently running xwayland application. As I need that push to talk on a regular basis, it's absolutely infuriating.
-
been a while since I used kde & wayland, but I remember there being something in the Plasma settings -
random redditor said "Go under "KDE Settings->Applications->Legacy X11 App Support" and click to allow keylogging for all keyboard keys", I think this was it. Had discord (running in xwayland) accepting my global hotkeys with no problems
-
Oh, you're right. They have that option and it works, thank you. Though now I wish they had a setting to allow only one specific key. I see it's either function keys/function+whatever you press while holding function key/everything. But then again, I only use 2 applications running in xwayland so it's fine.
-
To be honest, I switched to Wayland years ago precisely because of the better perceived input/cursor experience.
Change my mind, but having an average of half a frame input latency is much preferred when in return I gain that the cursor position on the screen actually aligns with all the other content displayed.
Plus, I'm very sensitive to tearing, so whenever it happens I get the impression that there was a huge rendering error.
Well and on the note that the cursor might visibly stutter, sure. But it's a bit misleading. A game pinning the GPU to 100 % and running on 5 FPS doesn't mean that your cursor will be rendered with 5 FPS. So far I've only noticed cursor lag/stutters in OOM situations, but neither under heavy GPU or CPU load.
-
This is such a major issue for streaming. It's why I had to stop using Gnome. Global hotkeys for OBS, Discord, etc are such a crucial part of it. It's actually shocking to me how Linux has moved on without global hotkeys and nobody seems to care.
The Plasma solution is sweet, but I'm sticking to X11 until Wayland actually functions for streaming.
-
I've actually forgot where exactly was the prolem, I remember some electron app in wayland mode was crashing/glitching - that might be because of my GPU though (3090 with open dkms latest drivers).
Also maybe Pycharm didn't look right? -
Is there a tiling Wayland compositor out there that supports applying custom shaders to windows (similar to picom)? This has been a known limitation for many years. And I brought it up myself with a couple of compositors' developers, and they told me that it would break direct scan-out, and I told them that I would be fine with that, and then discussions fizzled out.
I also tried an x11vnc alternative I don't remember the name of, and besides the generally buggy experience, it completely broke when power management kicked on the sever side (turning off the monitor IIRC). So that's another show stopper, although maybe not as relevant as custom shader support which I need for applying my custom color inversion shaders to specific windows, otherwise, my vision would go bad quickly.
So yeah, I will be sticking with my Awesome WM (+picom +x11vnc) setup for a while too.
-
Yeah as far as I understand, it's available with the xdg-desktop-portal Global Shortcuts for any application to implement. It's available for both sandboxed and regular applications to implement.