5 ms·
Before the Wayland complaints take over the thread, I’d like to post a link to a very short thread by Drew DeVault. https://fosstodon.org/@drewdevault/11160788
by MBCook 3y ago
Before the Wayland complaints take over the thread, I’d like to post a link to a very short thread by Drew DeVault.
https://fosstodon.org/@drewdevault/111607882208898175 https://fosstodon.org/@drewdevault/111607882208898175
Here are the two important posts:
———
The story of Wayland:
1. No one wanted to maintain X11 because it sucked
2. We made Wayland and it's much better
3. A vocal minority of change-averse people complained with little to no factual basis
4. They were asked to muster some labor to maintain X11
5. None of them did
6. All of the people who actually do get work done eventually stopped listening to them and moved on with Wayland
——
Some of these detractors built a tottering pile of godawful hacks on top of X11 where every piece depends on another critical design flaw of X11 and are upset that by fixing all of these design flaws their pile of hacks fell over when no one wanted to maintain the load bearing side of their hacks
- deleted 3y ago[deleted]
- bee_rider 3y agoIn the thread about Firefox switching defaults to Wayland, there were some complaints about some accessibility software not being supported by Wayland. If the “tottering pile of godawful hacks” is required to not exclude blind people, it doesn’t seem that godawful… Personally I’d prefer to use Sway, but last time I tried Zoom on Sway it gave me a lot of trouble. X11 might not be getting much future development, but it is done and it works, so who cares? It can just stay the same in perpetuity for all I care as long as it keeps working.
- shmerl 3y agoDoes Zoom even support Wayland or you are running it through XWayland? All these proprietary clients usually have a lot of inertia with implementing Wayland support.
- bee_rider 3y agoI haven’t the slightest clue, it is a terrible program and I just wanted to do the minimal to get it working. Switching to X11 meant I was able to waste fewer brain-cycles thinking about Zoom.
- yencabulator 3y agoFor what it's worth, Zoom has worked well enough in the browser for me every time I've been forced to use it.
- bisby 3y agoZoom supports the xdg-desktop-portal for screensharing as of semi recently. Sway's screensharing portal (via xdg-desktop-portal-wlr) only lets you share a full monitor at a time. You cant only share a screen region or a single window, so YMMV. Some of the big proprietary clients have their own devs using linux. Devs tend to be that type of person, so them pushing for upgrades to tools they themselves use isn't too surprising. Discord just recently released an official flatpak and cited internal dev teams as a reason.
- shmerl 3y agoKDE should support desktop portal better. It works fine with OBS for example in the Wayland session for screen recording of individual windows. Does Discord support Wayland at all? I've heard a bunch of related complaints from people using its native client.
- maxhille 3y agoI run it as a Wayland client since a year or so now. The only problem I know of is that screen sharing does not allow you to select an audio stream which has already spawned multiple hacks / modded clients over the years (and might also apply when running as a X client IDK)
- account42 3y agoThe thing is, in a reasonably designed replacement that shouldn't matter. Requiring applications to update to the new thing just to keep working is absurd.
- shmerl 3y agoReasonable applications would use something like SDL to abstract it. But it depends on complexity. Wine for example implementing Wayland support is a big deal and it's not trivial.
- account42 3y agoUsing SDL is a good idea but it isn't a stable interface either, e.g. SDL 1 programs will not run with SDL 2. SDL 2 is also not something you can rely on being installed, you generally need to ship your own copy and even if you want to rely on distro packages you will need to adapt your code eventually as old versions are purged. SDL is also not a reasonable abstraction for all kinds of applications as it is focused on games and game like use-cases. Backwards compatibility really should be the primary focus for anything looking to replace a system component. We do have Xwayland for that but its an incomplete solution by design as X clients won't see non-X windows nor can they capture the whole desktop.
- shmerl 3y agoAnyone with more complex cases like Wine can work with Wayland directly. Wayland protocols are pretty stable. If they care to support X too they'd need two paths. But something like freerdp for example managed to do it with SDL well enough. SDL of all projects actually did think about translating older ABIs to avoid breaking changes. I.e. there is SDL 1 over SDL 2 helper. It would be nice to see more of such efforts on Linux.
- MBCook 3y agoI’m not saying Wayland is perfect as-is or accessibility shouldn’t be fixed. That’s a total straw man. Every post that even touches on Wayland in the smallest way gets flooded with “Wayland sux, just keep developing Xorg” posts. Xorg is not getting useful/meaningful/future focused development. The fact new commits exist doesn’t mean it’s a healthy alternative. I just happened to see this post yesterday and thought it was a pretty good summary, if pithy, about the state of X vs Wayland. I don’t blame them for being mad about people continuing to beat this horse. It must feel a bit like if people continuing to demand that we give up on electric cars and go back to developing leaded gas.
- bee_rider 3y agoI didn’t say you said it is perfect, so if there is a strawman here it is one of your construction. I think I will not try to defend Xorg, as I don’t really even like it, and as you note the topic is kind of beating a dead horse at this point.
- dijit 3y agoIt is a shame that it takes a seriously long time to properly replace 30+ years of hacks on hacks. But I don’t think the answer is to not try; people use Waylands lack of support for things to justify not using it which then means there no testing or development of those things. I am somewhat in favour of the wayland devs being a lot slower to the punch, because understanding the problem properly and creating a somewhat clean solution takes time by itself, and writing the software to do things the clean way (screen readers for example) also takes time and effort. I am reminded that in the c64 days people would poke random memory addresses and it was normal. Protected mode in Windows was a huge step back for many developers who were used to just writing arbitrary bits to memory. I’m not saying we should abandon everything for progress, it’s good to be critical. But in this case I think the critical eye is only really focused on preventing change, which as many people point out is sorely needed.
- kaba0 3y agoAs if linux was so good at accessibility before that.. as one ex-X-maintainer once said: “there is only so much lipstick you can put on a pig before you question why you try to make it fly” (I may be butchering up the quote).
- grandinj 3y agoPart of the problem is that Wayland looked at several large chunks of functionality that X11 implemented and said "no thanks, those are security holes, we want nothing to do with them, that is the responsibility of the distro/DE/etc" Which is rather in conflict with earlier promises about maintaining functionality. This resulted in a whole chunk of work that was either badly done, or not done at all, or needed all sorts of hacks and extra work because it needed to be re-implemented in different ways on different distros. So I'm really not sympathetic to the Wayland devs, they needlessly created this situation. A more reasonable answer would have been "we don't like this, it's a security hole, but whatever, just implement a Wayland extension that matches the X11 one, and security conscious people can disable it, and everybody else can move forward productively in the short term"
- bitwize 3y agoThe Wayland devs don't need your sympathy. What's needed is a higher s/n ratio, and that means aggressive moderation of useless "wayland sux/x11 roolz" type comments, which belong in the dustbin of [flagged] [dead] along with e.g. any comment that uses "woke" as a pejorative. The dead horse has been beaten enough and a decision has been made. We're a few years out from the major toolkits removing their X code paths altogether. Everybody who knows anything about how the graphics stack actually works is committed to Wayland. Nobody cares at this point if you're sticking with X11. One day, you'll wake up and find that your entire GUI environment has broken all around you.
- grandinj 3y agoWell, yes, what is needed is a solid understanding of why we are here, and what needs to be done to get to a better place. I like the Wayland devs, and their occasional failures should not overshadow their successes.
- nolist_policy 3y agoNo what is needed is that the armchair experts shut up and start contributing to actual Wayland development. The one doing the work decides how its done.
- phendrenad2 3y agoWayland achieves its lack of "suck" by being a radically simple design that simply ignores the need for those X11 "godawful hacks" (which provide useful features to a small subset of users). You can already see that people are grafting those features into Wayland compositors in non-standard ways, so soon enough Wayland compositors will have their own collection of ugly hacks. The cycle of life is beautiful, isn't it?
- sph 3y agoA variant of the second-system effect: one decides to reimplement something from scratch to incorporate all the lessons learned, avoiding the pile of hacks that accumulated over the years. Then, as the project grows, you find people have been relying on hacks for so long you need to reimplement them. But your new, clean version is not designed to accomodate such abominations, so you need, very inelegantly, to hack them in. Now you're back at square 1. Until the next naive engineer that decides to do the things the right way, once again.
- Sankozi 3y agoBut it is not situation in Wayland - it is simple - so you need to implement hacks at a different layer (it is often impossible to implement them on the Wayland layer). No matter how much stuff you throw at the compositor layer the core is unaffected.
- j16sdiz 3y agoPushing hack to different layers won't solve the real problem ='(
- alex7734 3y agoAlso those features are not limited to esoteric stuff that no one uses. You cannot, for example, move your own window in Wayland. If you have a multi-window application, like GIMP [1], you cannot have your application position its windows in a reasonable way. [1]: https://gitlab.freedesktop.org/wayland/wayland-protocols/uploads/2fa2c948e946c4562dcada4abb9c7d9a/GIMP-Multiwindow.png https://gitlab.freedesktop.org/wayland/wayland-protocols/upl...
- rlkf 3y agoIn the same spirit as the parent post, we can write the story of opposition to Wayland. If this seems to you as an overly confrontational rendition, please compare this to the original and ruminate on why it seems confrontational to you and if that reason in fact touches on the problem itself. 1. A bunch of developers decided to replace the windowing system with something more akin to Desqview. 2. People complained that this now broke their previously working remote desktop. 3. They got told that their use case was utterly unimportant compared to the very pressing issue of getting rid of screen tearing. 4. Upon comments that screen tearing is irrelevant if you don't actually have a desktop, they replied that someone could write a remote desktop extension for Wayland. 5. None of them did. 6. All of the people that actually wanted to get work done stopped listening to them and continued using X11.
- kaba0 3y ago5: There is waypipe and similar programs, some that even support audio transmission (as arguably, that’s the whole feature set. There is not much point having it built into the part responsible for display only) 6: continued using is not the same as maintaining/active development, not even close.
- marmight 3y agoTearing has more-or-less been fixed [1,2,3] in the latest version of X.org, although these changes are only present in the latest master branch and aren't in any official release and thus not shipped by most Linux distributions. I'm sure the argument could be made about how these are just more kluges and how Wayland solves this problem more optimally, but the argument to switch to Wayland to not experience anymore tearing is weaker than it has ever been. [1] https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1006 https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests... [2] https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1042 https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests... [3] https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1224 https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests...
- miloignis 3y agoThey 100% did write a remote desktop extension for Wayland. That's the difference, Wayland is actually being developed. It'd be nice if we had software that was actually finished and solid and we could use it without change forever, but X11 isn't that, so if it's not going to get updates, we'll need something else, and hopefully it'll continue developing to be closer to that ideal.
- fsckboy 3y ago> Before the Wayland complaints take over the thread Just BTW, there were no Wayland complaints taking over the thread till you started this with that somewhat inflammatory copypasta. Here's why your suggestion for controlling Wayland spam won't work: ...
- renox 3y ago> 3. A vocal minority of change-averse people complained with little to no factual basis Little to actual factual basis?? 1) How do you explain the time it has taken?? 2) prioritising "shallow security" over "accessibility" is a fact: see https://news.ycombinator.com/item?id=38696891 https://news.ycombinator.com/item?id=38696891 ?? Wayland design was "OK", Wayland's implementation is a disaster.. Nearly every DE reinventing its own server implementation is a recipe for incompatibility, bugs..
- account42 3y agoClassic smear the opposition tactic instead of giving real arguments and addressing concerns.
- incrudible 3y agoThat's certainly not my story from a user's perspective. For over a decade now, whenever I install a new system, at some point, some thing or another doesn't work and the simple fix ends up something like: WaylandEnable=false Surely there are interesting arguments to be made about how the design and philosophy behind Wayland is so much better than that of X, but the way I experience it is that Wayland is a nuisance, whereas X just does what it should do.
- orangeboats 3y agoNever in my decades of Linux usage have I ever seen this "WaylandEnable=false" config option. If anything, Wayland has always been the _opt-in_ setting for many applications, not _opt-out_ as you are suggesting.
- incrudible 3y agoWayland has been opt-out on Fedora /w GNOME since 2016 and Ubuntu since 2018 (though they briefly reverted due to issues). I guess "for over a decade" was a poor choice of words, but that's what it felt like.