Wayland 1.0 Released, Not Yet Ready To Replace X11
An anonymous reader writes "After being talked about for four years, Wayland 1.0 was released today. The Wayland 1.0 release doesn't mark it yet as being ready for Linux desktop usage but just being API/protocol stable for future expansion. Wayland will now maintain backwards compatibility going forward, but how much longer will it take to replace X11 on the Linux desktop? Quite a while seems likely."
I did, at least, skim the article, and I still don't know. Didn't X11 just (as in last few years) get replaced with x.org? This is another replacement already? Ok, before posting, I google and see this:
... [An X server has] a tremendous amount of functionality that you must support to claim to speak the X protocol, yet nobody will ever use this. ... This includes code tables, glyph rasterization and caching, XLFDs (seriously, XLFDs!) Also, the entire core rendering API that lets you draw stippled lines, polygons, wide arcs and many more state-of-the-1980s style graphics primitives. For many things we've been able to keep the X.org server modern by adding extension such as XRandR, XRender and COMPOSITE ... With Wayland we can move the X server and all its legacy technology to an optional code path. Getting to a point where the X server is a compatibility option instead of the core rendering system will take a while, but we'll never get there if [we] don't plan for it.
What's different now is that a lot of infrastructure has moved from the X server into the kernel (memory management, command scheduling, mode setting) or libraries (cairo, pixman, freetype, fontconfig, pango etc) and there is very little left that has to happen in a central server process.
which bored me to tears, so I'm no longer interested, but for those who are....
Free the Quark 3 from asymptotic confinement! Bring your charm! Don't get down! All colours and flavours welcome!
I've used various Linux distros for 13+ years, and have always been disappointed in the horrible desktop graphics. Compared to a Windows machine, a comparable Linux rig is normally a miserable graphics experience. I was shocked the first time I got my hands on a Xoom tablet - the graphics are by FAR one of the best features of the Android platform. I can't for the life of me understand how there can be such an extreme difference between graphics in desktop linux distros compared to the gorgeous and snappy graphics under Android. And I'm not even running garbage graphic cards - one of my machines has a very modern nVidia card that plays all the latest games under Windows, but still handles poorly on Linux. From a technical perspective, I can't understand how there could be such an absurd difference, other than that the Android kernel is a fork, and clearly the Android kernel developers are far more concerned about creating a pleasant and useful graphical experience?
Imagine recreating xlib so it doesn't communicate with an X server but directly draws things on the local screen, maybe in a multithreaded fashion. In such a scenario, the ability to share a display between many programs would be lost or alternatively a badly behaviored program could disrupt the other's windows. What kind of increased performance would be obtained (if any) by replacing IPC, as used in X11 (and in wayland too?) for drawing and use in process fonctions instead?
Try never. Yes, I know that it should be possible to write a Wayland client that provides X11 server capability, but in that case, it is the Wayland client that is replacing X11, not Wayland.
Seriously, though, the Wayland effort appears to be throwing out every advantage the X11 display had over the Windows display for a replacement that will probably never be quite as good as a Windows. I just hope that developers of programs which currently support X11 continue to support X11, or my life will get much more difficult. In fact, for much of what I do, without X11 support (and only Wayland display supported), I would probably be better off with a Windows desktop instead of a Linux desktop.
The real "Libtards" are the Libertarians!
Yep, the issue with constantly pushing forwards and looking for the next new thing means that you can periodically make a bad choice. Shuttleworth, while some of his descisions haven't been the best, has been instrumental in pushing the Linux desktop to where it is today. Linux has never enjoyed so many desktop users. That brings good and bad, but its still an overall positive.
The important feature about X Windows was Network Transparency - You could run an application on one computer with its screen output and keyboard and mouse input on a different computer. Sure, there are other ways to do it - lots of ssh sessions, or web browsing (especially with AJAX etc.), or competing window systems like NeWS, or screen emulators like VNC and Windows Remote Desktop - but fundamentally it's a lot cleaner to have some kind of network-transparent window system than to have an application need to drive a "screen" on its own machine.
25 years later, do we still need this? Yes! Virtual machines are taking over the computer business, so you can't expect the application to be running on your desktop (even if it _is_ running in a VM on top of your desktop), screens are a wide range of different sizes and capabilities (laptops, tablets, big monitors, etc., which often don't resemble the machine the app is running on), web browsers are getting used in increasingly complex ways because Windows didn't have a convenient X interface, and there's more and more ugliness around, and more waste of resources trying to emulate things that X did adequately well.
There are lots of good reasons to replace X, but Network Transparency is still the core feature, even if you want the application to have more control over the screen and its associated hardware than we had back in the 1980s, or if you want to move processing functions to different points between the client and the server (e.g. NeWS and NeXT's Display Postscript did some things differently, and Plan 9 and its successors had their own opinions about how to implement everything), but if Wayland doesn't offer Network Transparency yet, it's not an adequate X replacement.
Bill Stewart
New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
Or, we could just keep X. Much better.
Unfortunately, this is not what people are objecting to. The problem is not that you cannot map X11 on-top of Wayland windows and run remote applications displaying on Wayland, the problem is that you cannot transparently display Wayland-windows on another machine.
On OS X and on Windows, it is not possible to display the native apps on a remote machine using X11.
The lack of network transparency will lead to every developer needing to ship two different applications, one linked to Wayland and the other to X11, then everyone need to download the correct app and install the one depending on their machine, i.e. on the machine that will be accessed remotely, install the X11 version on others install the Wayland version. Sure, we all know that you usually use GTK/Qt for applications, and while some of the issues could be solved by the GTK and Qt developers by cleaver dynamic linking to the display manager, often this works so-so and some apps will not be compatible with this, so you still need to run double testing for all your applications.
They should have started with defining the Wayland system in a way that was network-transparent, they could even have updated the protocols and made it more suitable for modern applications (i.e instead of sending delta-bitmaps, send the scenegraph updates for the window instead).