3 ms·
The various wayland compositors all have huge problems with keyboards, mice, and other input devices because the wayland spec and reference implementation(s) ch
by superkuh 2y ago
The various wayland compositors all have huge problems with keyboards, mice, and other input devices because the wayland spec and reference implementation(s) chose not to support such things. So each wayland compositor picks a different solution. Popular ones are libei and libinput but often there's just no support for "advanced" mouse/keyboard inputs at all (looking at you, weston). And you can never tell if a particular piece of linux software will work on any given wayland. The fragmentation is terrible. On X with the strong X11 reference that actually implements everything you can be sure something that works on one will work on another.
Hell, it's been 12 years and not a single wayland compositor supports screen readers for the visually disabled yet. They are toys.
- bsnnkv 2y agoThis is why I ultimately ended up on Windows after switching from macOS and focusing my free time development work on improving the power user/developer experience on Windows with a tiling window manager ecosystem.[1] One of the really cool things that has come out of this is seeing how people are adding accessibility workflows on top of the ecosystem. There is one person who controls their entire desktop via the tiling window manager using voice control![2] [1]: https://github.com/LGUG2Z/awesome-komorebi https://github.com/LGUG2Z/awesome-komorebi [2]: https://youtu.be/fiPJLmhnnXM https://youtu.be/fiPJLmhnnXM
- BearOso 2y agoWindows has added several things with the newer WDDMs to help alleviate compositor problems: flip model, overlays, etc. They've definitely identified the problem areas and are trying to correct them. It's been quite the turnaround since Vista.
- Hizonner 2y agoI'm told they left out color calibration support, too (as I read it, there's no way for calibration apps to control, or even know, what compensation is applied when they're trying to measure things). Oh, and client side window decorations still around, giving up on the chance to fix an ancient security hole. So no good for games, no good for professional graphics, no good if you don't see well... basically no good if you're any different from the people who hacked it together. But, hey, with any luck they cut down on the screen tearing that I've never noticed.
- mariusor 2y ago> basically no good if you're any different from the people who hacked it together. Why would you expect it any different? How can one implement things that they have no need or no hardware for? The entitlement is a bit jarring. Also I think they merged something last year: https://github.com/swaywm/sway/pull/7681 https://github.com/swaywm/sway/pull/7681
- Hizonner 2y agoIf you control what goes into a distribution, you can not drop support for stuff that's working and already implements those needs in favor of whatever you pull out of your butt.
- tuna74 2y agoYou can do whatever you want if you control a distribution. Use something else if you don't like it.
- mariusor 2y agoWhat was the "stuff that's already implemented"? Xorg? Which distribution has dropped Xorg?
- superkuh 2y agoIf not now, soon. Gtk itself is entirely dropping X support. And it's not their fault of wayland is so incomplete but I do wish people like them, and distro managers, would realize that the waylands are not actually replacements for X yet. And they might not ever be if you're visually impaired.
- KerrAvon 2y agoFWIW, I don’t think they left it out so much as haven’t spent the time to build it. It’s not like they’re pulling implementations off the shelf.
- mananaysiempre 2y ago
- mariusor 2y ago> there's just no support for "advanced" mouse/keyboard inputs at all It feels like you're probably blaming the wrong people here. You should look at the companies that make this peripherals that don't also offer you linux drivers.
- KerrAvon 2y agoYou say this, but have you seen the quality of the drivers they produce on platforms they ostensibly support? You do not want vendor mouse/keyboard software on any platform. Instead, improve the USB class drivers so that you don’t need third-party drivers.
- jeroenhd 2y agoI agree with you on general drivers, but what generic devices does Linux still lack? Controller HID support seems pretty universal, as do all manners of touch screens/touch pads, drawing tablets, and just about anything resembling a keyboard. The only hardware I know for sure is lacking is stuff like Stream Decks, but that kind of hardware is difficult to generalise for. Plus, most working hardware that doesn't fit a standard HID protocol already has drivers in the Linux kernel written by manufacturers.
- NekkoDroid 2y ago> The only hardware I know for sure is lacking is stuff like Stream Decks, but that kind of hardware is difficult to generalise for. I know that Georges Stavracas has been working on a controller for the Elgato devices for a while (https://flathub.org/apps/com.feaneron.Boatswain https://flathub.org/apps/com.feaneron.Boatswain) though it needs direct access to the devices instead of through some generic driver (https://gitlab.gnome.org/World/boatswain#udev-rules https://gitlab.gnome.org/World/boatswain#udev-rules).
- superkuh 2y agoNope. Because I don't mean special hardware. I mean using normal hardware in advanced ways: like sharing mouse and keyboards between computers. Something that's worked perfectly in X for 20+ years but still doesn't really work with the waylands even if the wayland compositor in question supports libei (which most do not).
- tuna74 2y agoWhat is lacking when you are using Orca on Gnome with wayland?