6 ms·
I don't get the Xorg vs Wayland fight. Feels like it mostly coming from people who don't contribute to either of them. If you like Xorg, use Xorg. If you like
by palata 1y ago
I don't get the Xorg vs Wayland fight. Feels like it mostly coming from people who don't contribute to either of them.
If you like Xorg, use Xorg. If you like Wayland, use Wayland. If you're not happy about an issue, contribute to it.
- charcircuit 1y agoThe fight is because: 1. freedesktop based on xorg is outdated and needs to be modernized to keep up with competing operating systems. 2. The Wayland movement is and has been run extremely poorly. Both xorg and wayland are bad so it's easy for either side to point that out.
- palata 1y ago> so it's easy for either side to point that out. Sure, it is. But does it matter? I don't think so. I was happy with Xorg, and there were things it couldn't do that I didn't plan on contributing, so I didn't complain to them. I am now happy with Wayland, and there are things it cannot do that I am not contributing, so I don't complain. What I see is that Wayland is quite active and they actually added things I needed that didn't exist a few years ago. That's great. Many people seem to be very vocal about how they prefer Xorg because it works for them: that's great, they can use Xorg. Someone wants to write another one? That's great, let them do it. Linux is about diversity. Don't come to Linux and ask it to become Windows or macOS.
- petre 1y ago> Linux is about diversity FreeBSD and even some Linux distros use boring technology™ that just works, thank you. I don't need breakage due to diversity, I need a stable OS that is reliable, works and doesn't crash.
- palata 1y agoHow is that contradicting what I'm saying? You want boring technology that works, there's certainly an open source distro for you. And there are open source distros for people who have different needs. "Diversity".
- bsder 1y ago> If you like Xorg, use Xorg. If you like Wayland, use Wayland. If you're not happy about an issue, contribute to it. The problem is that RedHat nee IBM are attempting to force everybody onto Wayland by dropping X11 support. They already tried once and the outcry was so huge that they had to back off saying they would try again next version. This is kind of a rock and a hard place. The Wayland developers don't want to support X11 but neither does anybody else. Wayland is fundamentally broken in many ways down at the architectural level, but the sunk cost fallacy keeps them working on it. Everybody forgets that Wayland predates Vulkan. A "real" replacement for X11/Wayland probably needs to restart from "Vulkan support is the base layer" and build up from there.
- em-bee 1y agoWayland predates Vulkan and how is that waylands fault? what if vulkan gets replaced? should a new replacement be written from scratch every time that happens?
- bsder 1y ago> and how is that waylands fault? It is not. However, Wayland had to make certain decisions up front that later turned out to be significantly suboptimal in the context of a graphics world that converged to DX12/Vulkan/Metal and all look roughly the same from an abstraction level.
- yjftsjthsd-h 1y ago> Wayland is fundamentally broken in many ways down at the architectural level, but the sunk cost fallacy keeps them working on it. > Everybody forgets that Wayland predates Vulkan. A "real" replacement for X11/Wayland probably needs to restart from "Vulkan support is the base layer" and build up from there. I wonder if you could point me in the right direction to learn more about this?
- bsder 1y agoErm, what do you want to learn? Wayland dates to 2008--Vulkan dates to 2016. That's an EON in tech. Wayland chose "we will control the compositing to avoid all tearing". This is suboptimal nowadays with monitors with multiple refresh rates some of which are on completely different graphics cards. It's better to let an application have a Vulkan (or equivalent) surface, draw to it, query, and choose its own linkage to the refresh rate. Also, nobody other than Wayland devs give one iota of damn about performance or tearing during resizes (see: macOS and Windows). There's also the issue of how much resource Wayland compositors have to overallocate in order to be able to composite everything. I have applications that regularly crash because Wayland chewed up too much VRAM and the application couldn't get sufficient VRAM resources. It's better to let something like Zink handle OpenGL rather than try to provide an OpenGL interface. It's better to give something a surface and let Vulkan handle video rendering onto the surface (the application understands whether it needs to do something like sync to audio or whether it is just an animation). etc. This is even more especially true in the world of massive multicore/multithread. Then there are the architectural decision that range from the silly to the flat out wrong. Fractional scaling is handled by doubling and shrinking--that's a huge waste of processing. Gnome idiocy around client-side decorations which are just a disaster because it forces everybody to link to C/C++ libraries even if they aren't using C/C++. Security stuff that has been a disaster: Stopping or arbitrarily jiggling the refresh rate to prevent "application fingerprinting" is dumb and just pisses everybody off. Pointer and focus issues because you might figure out some way to intercept people typing. Screenshot/screencast is an absolute PITA because "security". Input Method and accessibility that threw out a ton of working stuff from X11 that still hasn't been replaced. I mean, the Wayland developers are not wrong that these things are security issues ... but you can't let them continue to persist for more than a decade and then wonder why people think your project sucks. If you don't give them something, then don't complain when they go back to the old, shitty, insecure thing that works. As you can see, there are a LOT of corner cases to be covered. This is the primary problem. The video subsystem is a lot of fiddly work that very few people are qualified to do. Look at how much work Asahi Lina and Alyssa Rosenzweig had to do to make graphics work on Linux on Apple hardware. Now, multiply that out and you can see just what a mountain this stuff is. Be aware that in the discussion above, Vulkan can be substituted with Direct12 or Metal which are effectively the exact same graphics API. Which is actually probably the end result of all of this. We're probably going to wind up with some version of Win32/DX12 APIs on Linux thanks to Steam as that would give you portability betweeen Linux and the biggest OS platform. And, to be fair, most users would probably be happier...
- eadmund 1y agoThat doesn’t really work. If there’s no longer a browser which supports X11, then I have to choose between browsing the web and having a usable desktop. The problem is that the Wayland folks are trying to replace X11 rather than provide an easy upgrade path. They simply don’t care about anyone who uses a computer in any way outside of the ways they can be bothered to support. ‘It’s better!’ they cry, despite users telling them for well over a decade now that it’s not actually, because we cannot do the things we want. And Wayland is being used as a form of lock-in. ‘GNOME uses Wayland now. Just drop support for that crufty old X11,’ they whisper. Never mind that plenty of folks don’t use GNOME and don’t want to use GNOME. Never mind that Wayland is still not fit for purpose. It may be someday, and that would be great. I’d genuinely look forward to being able to move on from X11. But Wayland does not work for me, and as projects start to remove support for X11 they are removing support for me.
- em-bee 1y agothey are providing an upgrade path: XWayland. i have yet to come across an X11 application that does not run despite using wayland.
- eadmund 1y agoIs it possible to run an X11 window manager in XWayland and have it manage Wayland windows and intercept keystrokes for all windows? If not then it’s not really an upgrade path. I do get it — no-one owes me anything. They don’t even, really, owe me the kindness of not breaking the software I use. In principle I could fork and maintain everything I want myself, or working with others. But …
- em-bee 1y agothat's not fair. window managers are not regular apps. wayland has a different architecture that changes how windows are managed. this also has to affect things like taking screenhots, screen sharing, recording, locking, screensavers, etc. intercepting/sending keystrokes in particular had to be redesigned to make to make it more secure. without that there would not have been a point to wayland at all. your actual apps that just display stuff on the screen and take your input all still work though.