5 ms·
Amazed? I am amazed that people try to force limited and unfinished Wayland instead of X11. I recently had RHEL on ThinkPad T14 at work - which by default uses
by vermaden 4y ago
Amazed?
I am amazed that people try to force limited and unfinished Wayland instead of X11. I recently had RHEL on ThinkPad T14 at work - which by default uses Wayland - yet even employer by default switches settings to X11 because EVERYTHING works there as desired - including screen sharing and/or recording.
... and for my personal stuff? I have ZERO issues with X11 on FreeBSD - why would I switch to Wayland if everything works as desired on X11? FreeBSD of course supports Wayland and you can use it there if you wish - but I just do not see the point of it. I do not have ANY screen flickering or other issues on X11.
Not to mention that A LOT of stuff is X11 only and not ported (and never will be) to Wayland.
- spijdar 4y agoWayland is a complicated and sore topic for a lot of people, but I think I've gained some perspective over time. From a historical perspective, the "why Wayland?" question is incredibly obvious IMO. The old Linux graphics stack consisted of the dumb Linux framebuffer and fbcon, and the separate Xorg stack with all its DDX/UMS drivers that required root-level permissions, and only provided a graphics API for ... Xorg. Your options were either Xorg, or the framebuffer, which IIRC didn't always support all of the available display modes. Wayland was part of a wider push to rewrite the Linux graphics stack, with the new stack of KMS/DRM/DRI3/Mesa being a huge improvement over the 2000s Linux GUI stack. This came at the cost of old UMS and DRI drivers, making e.g. PowerPC Mac GPUs largely useless now (very unstable and incapable of suspend-to-RAM), while unifying mode-setting between the kernel and userland (no more praying the video card doesn't crash when ctrl-alt-f2'ing), also allowing for an arbitrary number of shared video buffers to be created (including by non GLX video applications) which makes compositors work in a not-hacked-together sense, but also allows for e.g. hardware video decoders to work in a not-hacky way. Coupled with the addition of evdev to replace the Xorg DDX stuff like all the custom peripheral drivers, and you finally had a kernel-level API for accessing your video and input hardware. These were all prerequisites for the idea of "Wayland", decoupling the video and input layers from the display server and creating a low level API for window server things, so that you can have both small window servers (e.g. wlroots-based compositors) as well as "thick" environments (Mutter/KWin-based desktops). Part of what makes this confusing is a lot of these benefits trickled down to Xorg itself. Nowadays evdev (and libinput) have replaced the old DDXs on Xorg, and I think most distros have switched to using xf86-video-modesetting, which could be thought of as "Wayland-style rendering on Xorg", in the sense it uses pure DRM and Mesa to render instead of GPU-specific DDX drivers. So Xorg has gotten a lot of the benefits of Wayland's development "for free" anyway. This is intentional, as you mention, a lot of things will never be ported to Wayland. Wayland is not a replacement for X11, but an API for implementing the display server at a lower level than X11 allowed, while allowing us to implement full X11 compatibility "for free", by embedding Xorg in the form of Xwayland. I think this makes a ton of sense for the majority of desktop-environment level compositors like Mutter (GNOME) and KWin (Plasma), which were already massive and implemented so much of their own functionality outside of Xorg, that it made sense to just let them do their own compositing. Same with GTK and Qt, which were already doing "their own rendering" outside of X. Didn't mean for this to become an apologetic rant for Wayland, but as a "wayland skeptic" myself I feel like most anti-wayland arguments miss the forest for the trees (screen sharing not working). As an olive branch, though, I'll also add I don't think the wayland version of the big compositors like Mutter or KWin actually do much for end users, and it's pretty shameful how they've been launched with so many bugs, with no compelling user story beyond "better scaling" and "flicker".
- anthk 4y agoXenocara under OpenBSD and Hyperbola don´t run as root.
- spijdar 4y agoTrue, though it does so using KMS/DRM adapted from Linux [0], which I would argue were created in the same spirit as Wayland, even if they're not strictly related. [0] https://marc.info/?l=openbsd-cvs&;m=139245772023497&w=2 https://marc.info/?l=openbsd-cvs&;m=139245772023497&w=2
- anthk 4y agoX extensions overriding the core because of performance predate Wayland for long years.
- robinsonb5 4y agoTo be fair I don't really care all that much whether my box is running something X11-based or something Wayland-based. What I care about is whether it can still do today the things it could do 15 years ago. I'm finding it extremely frustrating that the answer is tending towards "no" - even with Xorg - but my impression is that Wayland increases the "no" count somewhat.
- hulitu 4y ago> So Xorg has gotten a lot of the benefits of Wayland's development "for free" anyway Mesa was in X before Wayland was a thing.
- tapoxi 4y agoIn the examples of screen sharing and recording, they work on Wayland but the application needs to be aware and request permission. Zoom and Chrome both support this, AFAIK.
- sprash 4y agoActually they don't work "on Wayland". The Wayland protocol provides no mechanisms for screen sharing and it is not intended that it ever will. Screen sharing has to be done by external protocols that are either compositor specific or using a somewhat standardized dbus protocol that is completely separate from Wayland.
- tapoxi 4y agoSemantics, if you're using GNOME or KDE like most users they support the org.freedesktop.portal.ScreenCast interface when running under Wayland. I'm not sure if there are any compositor specific interfaces or why they would be used when xdg portals exist.
- sprash 4y agoNot Semantics. It shows how Wayland forces a Gnome/GTK and KDE/Qt duopoly and cuts out the long tail of hobbyists and power users. The latter is the interesting part about the FOSS/Linux-Desktop ecosystem. With Wayland the FOSS-Desktop will be 100% corporate controlled. If essential things were properly standardized this wouldn't happen. Therefore it's obviously done on purpose as means for sabotage.
- QUrprUd1nCeicw 4y agoCan you please knock off the conspiracy theories? You don't have to bring yourself down to that level.
- BaculumMeumEst 4y agoThe issues with xorg that i’m aware of are that it’s awful to maintain and that it has security issues like everything being able to access your clipboard. And xwayland exists so porting isn’t much of an issue. But yeah, despite all that i’m on x11 still as well. I need to use proprietary nvidia drivers and I don’t want to run full gnome or whatever to make that run smoothly. I’ll probably be dead before dwm stops working on an updated system.
- kaba0 4y agoI don’t own nvidia, but from what I read they finally managed to have proper DRM support in their drivers which was the only limiting factor for Wayland (as opposed to nvidia patching your X server binary to run the proprietary driver, Wayland in itself only depends on proper linux kernel APIs which weren’t supported by nvidia for a long time)
- BaculumMeumEst 4y agoThe technical capability does seem to be there, I was able to run Sway with the --unsupported-gpu flag for a little while, but it broke unfortunately, and my investment in Wayland isn't high enough to try to support it myself. I'm not sure if any other wlroots compositor based projects support nvidia.
- woodruffw 4y agoI don’t mean this in a flamey way, but I’ve always wondered what the importance of clipboard isolation is, given how bad of a user experience it results in. I’m a security engineer, and I can’t think of many threat models in which an attacker can snoop clipboard contents but can’t do much worse things, which I assume is why neither macOS nor Windows has ever bothered with clipboard isolation. (It’s entirely possible I’m under-thinking it!)
- kaba0 4y agoSo you think it is okay for a single npm install to fork a process and continuously query the clipboard and without any sort of notice just upload it to some random server? Or, even just log every single keystroke you press? Hell, it can even take screenshots of everything. Afaik macOS doesn’t allow clipboard access in that naive way and you do get access in wayland, it is just not this “uncontrolled”.
- hulitu 4y ago> I am amazed that people try to force limited and unfinished Wayland instead of X11. The xorg people phylosophy seems to be: if it works, fix it. Since xorg forked XFree86 the quality has gone down.
- asveikau 4y agoI remember using XFree86 in the late 90s and first ~3 years of the 2000s. When the X server started changing a lot circa 2003 it was really exciting, and I very eagerly anticipated those releases. I think Xorg is better than XFree86. Some of the things they did off the top of my head: * Render extension. This enabled all sorts of things, like easier drawing and scaling of pixmaps, or better font handling. * Less monolithic build, phase out imake. This allowed iterating various components at different rates. * Better auto configuration - less need to write a config file for the most common configurations. XCB was also a good idea. I don't think it lived up to full potential because interest in writing code for X waned. I think one thing that was lost to history are some of the proprietary X servers, such as those by Sun and SGI. The XFree86/Xorg lineage is missing their input.
- anthk 4y agoThis. 30-70h, 50-160v. You know what I'm talking about. XFree86 was much worse.
- User23 4y agoDriving CRTs was pretty different from LCD panels.
- hulitu 4y ago> * Better auto configuration - less need to write a config file for the most common configurations Better until you compile a new kernel and realize that you don't have keyboard and mouse in X because it insists using an obscure (event ?) interface. And then press the power button to restart.
- kaba0 4y ago> I am amazed that people try to force limited and unfinished Wayland Can we just not do this useless flamewar under every similar topic’s thread? Especially that no, noone wants to force Wayland, they want something that is under active maintenance, which X11 is not anymore, since every maintainer of it left/migrated to Wayland. > Not to mention that A LOT of stuff is X11 only and not ported (and never will be) to Wayland. Hmm, only if the goddamn maintainers of X11 who came up with Wayland thought of that. They could have named it something like W11.. no, XWayland!
- sprash 4y agoLegitimate concerns of people that have a severely degraded user experience are not flamewar. Xorg lost most of its corporate support which moved mostly to Wayland, that is true. Despite this Wayland has very poor adoption rate. The main reason for this is that Wayland has many unfixable flaws at the concept level that have been discussed here many times.
- kaba0 4y agoActually caring a tiny bit about security and not letting everything be a keylogger is not an “unfixable flaw”, there is working screen sharing for basically every mainstream desktop app, what exactly is that flaw then?
- icedchai 4y agoHow true this is. In the 90's, at least one commercial Unix vendor shipped their systems with X11 open to the world (equivalent of "xhost +", full remote access, no security.) In the days of no firewalls, that was a fun time.
- sprash 4y agoWayland does not care about security. In fact it does not even offer standardized access control protocols. The flaw here (among many others) is that the protocol that is responsible for negotiating display output for multiple processes (which is what Wayland tries to be) should also contain standardized interfaces to exchange that output among processes, but Wayland doesn't.
- odiroot 4y agoI have T14 (AMD version) with Arch on it. I use Wayland because it's the only way to get HiDPI and fractional scaling to work well. Pretty much the only problem I have with it, is lack of good screen-recording software. OBS is a bit of an overkill for short screen-casts.