Future Tech

Wayland takes the wheel as Red Hat bids farewell to X.org

Tan KW
Publish date: Thu, 30 Nov 2023, 07:57 AM
Tan KW
0 407,540
Future Tech

Red Hat reckons Wayland is now mature enough to take over as the only display server in the forthcoming RHEL 10.

A blog post by Carlos Soriano Sanchez, head of the GPU team on RHEL, spells out news that doesn't come as a big surprise: the next version of Red Hat Enterprise Linux, expected in 2025, will drop X.org and will provide only a Wayland display server. As RHEL only offers GNOME, that means it will offer the Mutter compositor and nothing else.

When RHEL 8 was released in 2019, Wayland became the default display server, and when RHEL 9 appeared three years later, X.org was officially deprecated. Soriano Sanchez goes on to say:

We found this statement amusing for two reasons. Firstly, the X window system is much closer to 40 than 30 - we celebrated its 38th birthday in the middle of last year. X tore through its first ten major releases in just a few years. The first version was in 1984, and the 11th - which is why it's called X11 for short - was in 1987.

Secondly, as we noted when a GNOME developer proposed that Gtk5 drop X11 support, Wayland itself is getting old now. Work on it started in 2008; if RHEL 10 does ship in 2025, Wayland will be 17. So at the time when the biggest enterprise Linux goes Wayland-only, that protocol will in the same general ballpark age-wise that X11 was when Kristian Høgsberg started work on its replacement. At that time, X11 had been around for 21 years.

The Reg FOSS desk remains somewhat skeptical about Wayland, but the critical mass is getting there. KDE 6 will be Wayland-only. As it happens, personally, this vulture isn't a big fan of either GNOME or KDE, so it reassures us that two of the most popular Wayland holdouts are both adjusting their attitudes. Mint is experimenting with support in Cinnamon, and so is the Xfce team.

Over on the Arm side of things, the new desktop in Raspberry Pi OS 5 has a sort of grafted-together LXDE and Wayfire, and it works (so long as you're not using a touchscreen anyway). The Asahi team, working on Linux for Apple Silicon, announced six months ago that it was only targeting Wayland.

Some of the big, important apps are getting there too. Firefox 121 just went into beta, and it will default to rendering directly to Wayland instead of via the built-in XWayland server (don't panic: it will still work with X.org if you're not running Wayland). Another problematic app, the OBS Studio screencasting software, got native Wayland support in version 27. This was a deal-breaker for people doing - well, whatever it is that livestreamers do. Its appeal is likely to remain a mystery to this graybeard, if we're honest.

The real significance of this isn't going to be the end user experience. There are still glitches, and some people will have to learn new methods and techniques. When we wrote that Xfce now has the backing of Budgie in its Wayland efforts, the comments contained a whole conversation about piping Wayland desktops over SSH. For now, there are accessibility issues such as with screen magnifier and screen magnifier tools, using VR headsets, and most of all with Nvidia driver support… but they will get ironed out.

The real issue is developer support. Red Hat's vast team of developers is the main force behind a huge amount of work on Linux, from the kernel down. In Red Hat's own terms, it is upstream of almost the whole industry. X.org still often has CVEs and someone has to maintain it, even if it's not getting new features any more. If Red Hat stops all its development efforts on X.org, it's not clear that anyone else will step up and volunteer.

One of the problems with how Wayland works is that each window manager must implement the profile for itself in its own codebase. Wayland is just a protocol, not a display server. There's no direct one-to-one match between Wayland's components and those of an X11-based system, but the point is that there's no central shared "Wayland server" for desktops to share and work together on. The closest thing to a "display server" in a Wayland system is the compositor, and that's much like the window manager under X11. Almost every desktop environment has its own, and very few share them with other environments.

X11 works on every UNIX™ and Unix-like OS, but proprietary UNIX is dead. OSes such as AIX, Solaris, and HP-UX are in maintenance mode. The last commercial UNIX still selling is Apple's macOS, and it doesn't use X11 at all, although you can still download XQuartz if you need it.

X.org was forked from version 4.4 of XFree86 in 2004 (XFree86 itself got to release 4.8.0 around the time Wayland came into existence). X11 is a very large and complex piece of software, and as one of the primary corporate backers steps back from X.org and redeploys its developers, the future does not look good for this last cooperative implementation.

If nobody volunteers to take on the considerable workload of maintaining X.org, it will die. The task of getting OpenBSD, FreeBSD, NetBSD, and DragonflyBSD to all cooperate on maintaining a shared implementation, perhaps based on OpenBSD's Xenocara, is probably even more difficult. Xenocara does run on Linux - Hyperbola used it, but that OS is in the process of moving to a BSD base.

Our suggestion for anyone who wants to see the X Window System live is to urgently start working out what must be retained, and revive the X12 initiative. Junk as much legacy as possible. X.org recently dropped byte-swapped clients, so make X12 little-endian only - the endianness holy war is over. Only allow true color, 24-bit (or higher) or nothing. No modern X environment uses a font server, drop them. Some of this was already being discussed [PDF] in 2005. Today, maybe render directly to OpenVG or Vulkan.

This would be an epic task, and without a commercial backer, it doesn't seem likely to happen. Perhaps it really is time to just let X die. If that seems drastic, we advise reading chapter 7 of The Unix Hater's Handbook.

Perhaps the more independent-minded Unixes could do an end run around Wayland and switch to Arcan instead. Or even start over. Don Hopkins, the author of that chapter, suggested to us that a better plan would be to reimplement something akin to NeWS using JavaScript instead of PostScript. That sounds fun. ®

 

https://www.theregister.com//2023/11/29/rhel_10_dropping_x11/

Discussions
Be the first to like this. Showing 0 of 0 comments

Post a Comment