Graphical desktop system X Window just turned 38
- Reference: 1655894591
- News link: https://www.theregister.co.uk/2022/06/22/the_x_window_system_just/
- Source link:
The first public release of the [1]X window system , according to Robert W. Scheifler's [2]announcement , was 19 June 1984.
X itself was a rewrite of an older windowing system called W, which ran on a research microkernel OS called the V-System (V→W→X, you see.) Both the V-System and the W window system seem to have now been lost, although Bryan Lunduke has an interesting [3]history .
[4]
About the only relic that you can see today, if you're curious, is the V-System [5]manual [PDF].
[6]
[7]
Just two years after launch, X had already reached version 10 – the oldest point release showing in the release [8]history on the X.org Foundation web page. [9]X11R1 was [10]introduced in 1987, and with some modifications, that's what the world is still using today.
That is quite a feat of longevity, considering that that's the [11]same year as OS/2 1.0 came out , as well as [12]Acorn's Archimedes range .
Ex-org? Not at all! Three and a half years after X.Org Server 1.20, 1.21 is released [13]READ MORE
The latest version, [14]X11R7.7 , is already a decade ago, and currently there's no timeline for a monolithic [15]X11R7.8 , let alone the barely even sketched out [16]X12 .
The X project is largely unchanging these days: we reported in 2020 that its [17]lead maintainer had walked away . The [18]X Consortium no longer exists, and today, X is maintained by [19]Freedesktop.org – which is, of course, the primary body behind Wayland, the planned replacement for X.
[20]
Even so, new releases of X.11 components [21]do appear sometimes . As we said when looking at one, [22]many big-name distros are switching to Wayland , but every Wayland installation also includes [23]XWayland so that traditional X.11 apps still work.
Multiple desktop environments do not support Wayland yet. The Xfce team reports that it is [24]working on it for version 4.18.
For now, the popular Cinnamon desktop does not support it, and does not plan to. When this was officially raised as a feature request, Mint maintainer Clem Lefevbre jokingly [25]commented to the effect that others were welcome to do it… then closed the request, as he has done [26]before . Summary: don't expect it any time soon.
[27]X.Org is now pretty much an ex-org: Maintainer declares the open-source windowing system largely abandoned
[28]Started from the bottom, now we're near: 16 years on, open-source vector graphics editor Inkscape draws close to v1.0
[29]What's in Fedora 34? GNOME 40, accelerated Wayland, PipeWire Audio, improved Flatpak support, and more
[30]Ubuntu Linux daddy Mark Shuttleworth: Carrots for Unity 8?
Oddly enough, although it killed the Unity desktop, Canonical is still working on its [31]Mir display server , and this [32]may offer a route to MATE running on Wayland. There's a [33]prototype on the Snap store.
There are various reasons why some people don't want Wayland, or don't want it yet. Wayland's privacy controls mean that recording a video of what's happening onscreen is [34]difficult .
[35]
One of the central functions of X is that it works over a network connection, something that Wayland by design does not do, although there are workarounds such as [36]waypipe and [37]wayVNC .
It could even be that something better comes along and usurps Wayland altogether. The [38]Arcan project is working on a completely new type of display server, and has a demonstration desktop called [39]Durden . The website is prolix to say the least, and you might get more of an overview from its [40]wiki or simply watching some demo videos.
ChromeOS doesn't directly use either X or Wayland, but has its own [41]Ozone tool – although this does support Wayland for running Android apps on ChromeBooks.
We're not for a moment saying that Arcan (or Ozone) will succeed or displace Wayland, but it's also not yet clear that Wayland has what it takes to replace X. We suspect X.11 will easily get to 40-plus, and that's famously where life really begins. ®
Get our [42]Tech Resources
[1] http://www.opengroup.org/tech/desktop/x-window-system/
[2] https://www.talisman.org/x-debut.shtml
[3] https://lunduke.substack.com/p/w-the-window-system-before-x-that
[4] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2YrM8paYqlOgId9LCXSBu3AAAAFQ&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0
[5] http://bitsavers.org/pdf/stanford/v-system/V_6.0refMan_Jun86.pdf
[6] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YrM8paYqlOgId9LCXSBu3AAAAFQ&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[7] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33YrM8paYqlOgId9LCXSBu3AAAAFQ&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0
[8] https://www.x.org/wiki/Releases/History/
[9] https://www.x.org/wiki/X11R1/
[10] https://groups.google.com/g/comp.windows.x/c/NFT3Ax2Io7g/m/Jn37aUty-2QJ
[11] https://www.theregister.com/2012/11/27/the_os_wars_os2_25years_old/
[12] https://www.theregister.com/2012/06/01/acorn_archimedes_is_25_years_old/
[13] https://www.theregister.com/2021/10/28/x_org_1_21/
[14] https://www.x.org/wiki/Releases/7.7/
[15] https://www.x.org/wiki/Releases/7.8/
[16] https://www.x.org/wiki/Development/X12/
[17] https://www.theregister.com/2020/10/30/x_server_lead_maintainer_declares/
[18] https://www.x.org/wiki/XConsortium/
[19] https://www.freedesktop.org/wiki/
[20] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YrM8paYqlOgId9LCXSBu3AAAAFQ&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[21] https://www.theregister.com/2021/10/28/x_org_1_21/
[22] https://www.theregister.com/2021/09/22/xorg_server_21_1_0/
[23] https://wayland.freedesktop.org/xserver.html
[24] https://wiki.xfce.org/releng/wayland_roadmap
[25] https://github.com/linuxmint/cinnamon/issues/10025
[26] https://github.com/linuxmint/Cinnamon/issues/5201
[27] https://www.theregister.com/2020/10/30/x_server_lead_maintainer_declares/
[28] https://www.theregister.com/2020/04/14/16_years_inkscape_v1/
[29] https://www.theregister.com/2021/03/17/fedora_34_preview/
[30] https://www.theregister.com/2017/02/06/shuttleworth_unity_8_carrots/
[31] https://www.theregister.com/2013/07/11/ubuntu_1310_to_ship_with_mir_instead_of_x/
[32] https://discourse.ubuntu.com/t/porting-mate-apps-to-wayland/12670
[33] https://snapcraft.io/mate-wayland
[34] https://itsfoss.com/screen-record-obs-wayland/
[35] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33YrM8paYqlOgId9LCXSBu3AAAAFQ&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0
[36] https://gitlab.freedesktop.org/mstoeckl/waypipe/
[37] https://github.com/any1/wayvnc
[38] https://arcan-fe.com/
[39] http://durden.arcan-fe.com/
[40] https://github.com/letoram/arcan/wiki
[41] https://chromium.googlesource.com/chromium/src.git/+/HEAD/docs/ozone_overview.md
[42] https://whitepapers.theregister.com/
Re: What I like about X
The issue isn't that X is unstable, it is that it is obsolete. Huge chunks of it aren't used and haven't been used for years - the drawing primitives, fonts, damage model etc. Yet it all has to be maintained or it isn't the same protocol any more. And to do things approaching modern desktop requirements it had to be patched up by extensions which have to jump through hoops to function and had their own limitations and complexity.
That is why everyone including the people who wrote it have abandoned it for Wayland. It doesn't stop X running over Wayland, but X is no longer underpinning the desktop itself. This means you can still run X software but your desktop as a whole benefits from being more responsive & efficient.
There is a good overview of what Wayland is on its home page.
https://wayland.freedesktop.org/architecture.html
Re: What I like about X
I'm aware of all of this. I'm also aware that Wayland is about 14 years old now, and it is only in the last three or four years that *stable* distros have started to use Wayland as the default. (Fedora while mostly stable is not the same thing as RedHat). Ubuntu had problems with Wayland and went back to XOrg, then back to Wayland.
Does Wayland play nice with Nvidia? It's a yes or no question, not a "well if you spend hours looking through forums to see the problems that other people have had and find something which matches your problem then see if there is a solution" question.
If I do a search right now for "wayland nvidia problems" I see plenty. And I am not going to change my graphics card just to get a different graphics display.
If and when Wayland works out of the rpm/dpkg/tarball with Nvidia drivers, and XWayland also works the same, I will change. But PLEASE stop the FUD and just pretend that Wayland is the answer to a lot of problems (a lot of problems that I personally do not experience with XOrg), because it brings its own problems too.
As there is an article about Manjaro, perhaps it is relevant to quote from a Manjaro thread about Wayland and Nvidia: Currently the biggest issue is that NVIDIA does currently not support Xwayland properly, so apps that require it get software rendering. This includes most games, which are the most common use case for proprietary NVIDIA drivers. This is why GNOME automatically disables Wayland if you have NVIDIA.
It's no good pointing the finger at Nvidia. These same cards work with XOrg.
Re: What I like about X
As a boring user the only case I can make for Wayland over X is that on a hi-res screen laptop it makes fonts readable in an ancient application for which I need WINE. I guess that is pretty niche.
When Wayland leaves things in the same state as it found them I'll probably not care. Until then X seems to just work.
Apparently there are lots of reasons why Wayland is a good idea but from over here it still feels like a solution searching for a problem.
Re: What I like about X
>on a hi-res screen laptop it makes fonts readable
That's why we need Display-PostScript to make a comeback
Re: What I like about X
I suggest you read the link I provided to understand what Wayland is. It has nothing to do with your graphics card. It is a protocol that facilitates communication between clients and window managers. e.g. it allows an application to tell the desktop that it wants to create a surface, and that it wants to render its surface, or listen for events etc.
But how the client draws into the client or how the window manager composites are their own business. Most will render with OpenGL ES and will expect a driver capable of doing this. That goes too for however XWayland work which is going to assume a functioning driver.
So if there is an issue with a driver, e.g. NVidia then the issue is with the driver. And yes you can point the finger at NVidia if things function well with in other drivers whether they are hardware or software based.
Re: What I like about X
For technical reasons which are unlikely to ever go away, I want to be able to do GUI things without having any extra stuff in my process address space. The X protocol gives me that, and it sounds like Wayland has no intention of doing so. So, I'm glad things like XWayland exist and hopefully will continue to do so. My Linux is suffiently old that it still has the traditional X server, so I don't have any experience with Wayland.
And yes, I fully understand that using the X protocol makes high intensity graphical games unlikely to work. That's fine.
"Wayland's privacy controls mean that recording a video of what's happening onscreen is difficult."
Does that mean that tools like Teamviewer couldn't work ?
That's a death sentence in the business arena (not that that should be a problem for a Linux distro).
Re: "Wayland's privacy controls ...
I use Zoom on Wayland (Debian 11) and it can record sessions just fine, although the novelty of recording my weekely drunken virtual pub sessions wore off in the early stages of the first lockdown.
I haven't tried Teams, and based on my friend's experiences I really don't want to either.
Re: "Wayland's privacy controls..."
I think it means that you can't just plug in between the application and the display, as you easily can in X11 (reparenting just one window, or even the whole screen by inserting between the display manager and the root window), although this always was a bit of a security issue if done incorrectly.
This might make screen sharing a little more difficult, but any application will still be able to record a session in the application itself, that won't change.
Baby and bathwater come to mind.
"One of the central functions of X is that it works over a network connection, something that Wayland by design does not do"
This is THE deal-breaker for me. Beyond just using a local display, this is the core X11 function that I use. And I do it quite frequently (last weekend, I actually had VirtualBox running on a remote system using X to display it where I happened to be). It still work reasonably well, but some applications wanting to talk to the display via D-bus or one of the other in-system communication methods does not work (so why require it in the applcations?)
XWayland and the various types of VNC or RDP, whilst they do work, I find them obnoxious, jerky, prone to block, and as they are basically remote control applications for the console of the remote box are just a broken idea for multi-user systems.Not tried waypipe, but if it works like ssh tunnelling of X, it may work OK. IMHO, for everything I do, X11 works far better, and can cope with different display resolutions on server and client (whichever way you want to see this). I also work with non-intel legacy system, and for that X11 is still a must.
This really is a case of throwing the baby out with the bath water.
Back in the last century, I worked in an environment where we had powerful centralized servers with IBM X Stations on people's desks. It worked really well for the majority of what needed to be done, and passably well for most of the other tasks, with the exception of running Windows applications (which was not a huge issue at the time). It was easy to administer (just a handful of servers serving a community of 100+ workstations), and meant that people could pretty much work on any desk without having to move any hardware around.
I regard the move to desktop Windows workstations and now laptops as a really regressive move.
Ah, the olden times
For the longest time I preferred X10 to X11, especially on the Suns we were running at the time. X10 had animated icons that X11 lacked, and for many years X11 was a buggy piece of cr*p that burned far too much memory in an era when memory was a very precious resource.
Surely a perfect example of "if it ain't broke, don't fix it"? Better than having a new version every year that is guaranteed to break something
Jc
What I like about X
-> The X project is largely unchanging these days
Good. It means there is a stable API. So what if it is *old*?
Imagine like the Devilfish you had gone all in on Unity, only to have the rug pulled out from under your feet. Canonical did it once, they can do it again with Mir.
I don't have anything against Wayland per se, but I haven't looked at it for a quite a while. I'm a fan of Nvidia graphics cards generally (with the binary drivers that work), and I recall Wayland not working properly or well with them. For me that means forgeddaboutit.
-> XWayland
And it had better keep working too. It's all very well for somebody to devise some new graphical desktop, but it's quite another to then expect other people to rewrite their code to work with it. If XWayland disappears that will immediately render the Linux desktop less useful.