KDE Plans To Support Wayland In 2012
An anonymous reader writes "During the 2011 Desktop Summit plans were brought up by a KDE developer to support KDE on the Wayland Display Server, which is dubbed the successor to X11. The KDE Wayland support is expected to come in three phases, with the first two phases expected to be completed next year during the KDE SC 4.8 and 4.9 development cycles. Farewell X?"
This is a mistake! X is one of the most flexible and useful systems today. Granted dumb users won't ever realize what they have in front of them, but the utility of X should not be under-estimated. I DO use it on a regular basis. Eliminating X, or even making it a second class citizen, is a huge loss in the philosophy that has allowed UNIX to survive for decades.
What will happen is that X will be "supported" as an X emulation layer on top of the latest display layer. Unfortunately, apps will abandon X because it will no longer be vigorously supported. Then it will be lost.
Here's what X can do today that we will lose: Run applications on one virtual or physical machine and display on another. This is not the same as VNC or terminal services.
I hear all the dumbed down Linux users saying, that this isn't important, but like the people making these decisions, it is the point of view of ignorance. Computers are going in two directions..... Smaller devices and huge systems with many virtual machines. The huge systems with many virtual machines SCREAMS X for application display management. a 1:1 virtual desktop per virtual machine us unmanageable, but a window per app is. Eventually, there will only be a para-virtual manager and para-virtualized machines, each running apps. The VMs can be saved, restored, snap-shotted, backed-up, branched, etc. This will be the nature of how we run apps when we have a huge number of CPUs. X is a better fit now for the future, than any Windows/Mac inspired "improvement."
This is another Ill that is a direct result of people coming to Linux from a Mac or Windows background. They want to bring lesser ideas because they don't understand the capabilities of what they already have.
Comment removed based on user account deletion
Serious question. TFA mentions that Wayland has advantages on mobile devices but does that make "Farewell X" a foregone conclusion? Is it really necessary to run the same display server on your phone and your desktop?
We really need your help
http://www.gofundme.com/help-sherry
I have no problems with a modern interface, as long as this doesn't mean taking essential features away. And yes, I do consider network transparency essential.
The Tao of math: The numbers you can count are not the real numbers.
I'm an old fart, but as far as I'm concerned a computer is a tool to accomplish a goal not an end in itself. I use a computer to get work done, or for entertainment. In both activities I couldn't care less about the computer itself, as long as it is efficient and stays out of the way.
Now look at the trends today. Every major window manager seems thoroughly convinced that mo' shiny is mo' better. Transparant everything, all-singing all-dancing window animations. Very clever stuff, but does it help me get my work done faster?
I realize that preferences are very personal, but perhaps I'm not completely wrong when I say that, in general, Gnome 2 is a whole lot better for getting work done than Gnome 3/Shell or Unity. Also, every window manager seems to be targeting tablets and netbooks, but completely ruining the experience on actual real displays where there is plenty of screen real estate. Why?
Now X somehow just has to be replaced by Wayland, perhaps for the same reason PulseAudio just had to replace Alsa. Change for the sake of chance. Ticklist features.
Perhaps there is no glory in delivering a stable, mature platform anymore. Perhaps developers these days want to work on 'teh shiny' only.
As I said, I'm an old fart, but perhaps all these new-fangled thingamajigs should really vacate my lawn...
In our office, we use the ability to run programs remotely on a regular basis. It is particularly useful for running programs that have dependencies that are no longer included in modern linux distributions.
As an example, I am a big fan of Word Perfect. I have used it to write specifications in our architectural office since maybe 1986. As some of you may recall, Word Perfect was available as a native Linux application -not a port or WINE abortion- I love this program, and would reinstall it at each upgrade, moving the required libraries from the old 2.0 kernel as needed.
Starting about Fedora Core 3, It just couldn't be installed in a way that was useful.
I solved this by installing RH9 on an old box, installed the libraries from Kernel 2.0 installed WP and have been happily running WP on this box with the display appearing on whatever computer I happen to be using ever since.
This is just one example, and maybe seems like a cranky one, but we have many other examples, such as pushing intensive computational tasks off to another computer while having the display on the desktop.
We will miss X greatly. Why this push lately to screw up the Linux desktop, anyway?
Kurt
You won't gain anything from Wayland, but you'll lose the ability to run any apps that require Wayland without using window compositing anymore, including losing the ability to run on hardware that doesn't support OpenGL, as well as stuff like network transparency...
I would be the last to deny that X11 has served us loyally and well for decades, but if the user expects a more modern interface, there is little point in attempting to stop the tide.
When did you start using Linux? What was your previous computer OS?
There is NOTHING provided in Wayland that can't be done in X. Furthermore, Wayland is temporary. It will not scale to the many para-virtualized environment described. The "desktop" is dying, and this is only one last chance for idiots to make Linux irrelevant. With X, Linux will be ideally suited for the computers to come.
Stop the tide? Well, ignorance sure is corrosive, I'll give you that.
Typical slashdot: the article distorts the truth in order to get reactions.
It was pretty clear during that presentation that the goal was to make it possible to still run X applications -- using a rootless X server -- and that this would also allow X-over-the-network use cases.
X11 is not going away, the idea is to use Wayland -and- X.
X is far from perfect (and I say this as someone who's written a compositing WM). There is a huge amount of the X11 protocol that no one actually uses anymore. Font rendering, for example, has to be done on the client or you get different sets of fonts for remote X11 (yuck!). For fast text rendering, you use the XRENDER extension, and store glyphs in the server then composite them. That takes care of text, but what about line drawings? X has basic drawing primitives, but most apps use something like Cairo to give a PostScript / PDF style drawing API, and Cairo doesn't use any of the X drawing primitives. It just draws everything into a pixmap and then sends it to the X server. This means that most of what people are actually using X for is getting a window that they can composite pixmaps into. And X sucks at that. The input model is also pretty horrible (take a look at how click-to-focus is implemented some time, it will make your brain hurt).
The problem with Wayland is that it doesn't seem much better. It's thinner, which is nice, but that's about it. It's also Linux-only (while X.org runs on all *NIX systems, plus Windows), and it is released under a less permissive license than X.org.
I am TheRaven on Soylent News
Well, you can move things into the X server, but currently X doesn't support anything like the functionality that cairo needs. There is no X command for drawing a bezier path. There isn't even an X primitive for drawing an antialiased line. That's why people use things like Cairo.
Now, ideally, I'd like something a bit more like Apple's display server, where PDF-like commands are streamed directly to the display server, which can then do the 2D rendering and compositing. One of the first things I'd do if I were implementing X12 is ditch all of the existing X11 drawing commands and add most of the PDF 1.4 operators - in fact, the set that the HTML 5 canvas tag exposes to JavaScript would do very nicely.
I am TheRaven on Soylent News
The bug where KDE still is inferior to GNOME? :P
Oh, that one. I think that the Gnome 3 team is working on that bug!
It is dangerous to be right when the government is wrong.
NeWS and Display PostScript were very similar, but there were some differences. NeWS encouraged you to write entire view objects in PostScript. This was a bitch to maintain, but it was great for remote display. With NeWS, you clicked on a button and it ran a PostScript program showing the button in the pressed state and sent a message to the remote machine saying the button had been pressed. With DPS and X11, you click on a button, and it sends a 'mouse click at coordinates x, y' message to the remote server. The remote machine then sends back drawing commands to produce a pressed button. Over a slow link, this means that NeWS buttons respond immediately, while X11 / DPS buttons respond after 100+ms. The closest thing we have now is the web. The canvas tag and JavaScript basically provide a modern version of NeWS.
DPS was a bit different, and Apple ditched the programmability entirely when they moved to the PDF rendering model in Quartz. This means that the interface is simpler - you no longer need an interpreter in the display server - and the addition of all of the compositing stuff meant that you could do much better raster displays.
Given that PDF is actually quite a dense format already, I'd be tempted to simply define the wire protocol for drawing as encapsulated PDF objects. This would let you store any sequence of drawing commands (e.g. a button shape, a text glyph composed of bezier curves, or an image) on the display server trivially and then redraw it at the current position with just a single command. It would be really easy to implement this with the canvas tag, so you could have a simple display server implemented in a web browser using WebSocket for remote display anywhere, and a proper native version for local and remote display.
I am TheRaven on Soylent News
The other bug, of course, was putting the future of the Linux Community in the hands of Grand Admiral Thrawn, with the Emperor's storehouse on Wayland. Have we truly chosen to go with the Empire, in the hope of developing a new clone army and ruling the known galaxy?
I thought Linux was more about being the fastest hunk of junk in the Galaxy, about tearing the droid's arms out of their sockets if they win but being willing to put them back together (backwards) and carry them on your back, about shooting Greedo first and stepping on Jabba's tail?
-- IANAL, this isn't legal advice, and definitely isn't legal advice for you. Also, Squee!
Hi, Old Fart here again.
I know I don't have to follow in step with what the big distro's are doing. I assume most developers will follow with the new paradigms. So how long before applications start to rely on Wayland? How long before they just don't run on X or only via some emulation layer that breaks more things than it solves? It is just a matter of time.
Sure, I could stop updating my applications and use them as they are now. I still use xfig for diagrams so in a way that's not a new concept. It would mean that I have to sort-of maintain my own distro with a user base of one. Fine, I can do that, and I won't complain about that. There will come a time that I have to upgrade when hardware drivers refuse to support X (or the other way around, of course).
Still, I don't see why software that for the most part works just fine has to change into something new that is invariably less stable and, frankly, less usable. Don't fix what isn't broken.
Does this call for some enhancement to the X server, to support more modern operations (e.g. antialiased line, arc, etc.) so it _can_ draw those shiny shapes? Sure
That's something I'd definitely be in favour of. As a first step, I'd like to see XInput2 (or whatever today's extension for supporting complex input devices is) properly stabilised. Then I'd like to see an extension that added PDF-style vector drawing primitives. Finally, I'd like to see an X12 protocol that ditched all of the bits of X11 that no one uses and moved all of the useful extensions into the core protocol, a reimplementation of xlib / xcb generating X12 protocol commands, and a proxy that transformed X11 into X12 so that you could still use modern X11 applications directly on X12.
Replacing X with something better is a good idea, but every few years someone says 'X11 is not perfect, let's replace it with something worse'.
I am TheRaven on Soylent News
The LGPL doesn't stop it, but the general policy for X.org has always been not to allow code under anything more restrictive than the X11 license. The LGPL is more restrictive than the X11 license, so this is a problem. Wayland is under the same license, which could also be problematic on embedded devices, where the LGPL's requirement to be able to relink may not be possible to support.
That said, a quick and dirty implementation of the PDF rendering model wouldn't be too difficult, and Cairo could be an optional component for higher-quality rendering...
I am TheRaven on Soylent News