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?"
Why don't the KDE developers first fix the bugs that already exist in KDE 4.x before trashing it with Wayland?
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
If you don't use any window compositing, my understanding is (correct me if I'm wrong) that you won't gain much from Wayland. I understand that Wayland offers a direct interface for window compositing, rather than having the compositing bolted on top of X11. The performance gain should be obvious, so it seems a Good Thing(TM) to me.
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.
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 asking who is Wayland, or where is it - it sounds like an English name, but I see there are some towns in the US also.
Kim Jong Il? Trolling for food again??
Obama will beat Wayland in 2012, no contest.
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
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.
It sounds like Wayland WILL support this behavior. It's all based on messages passed through sockets; what makes you think you couldn't pass the same messages to another terminal/computer?
Drop KDE
So Wayland is more like X12, then.
instead of talking out of your ass?
except without remote capability. It's a huge step backwards. Do you _really_ think toolkits/apps will be compiled to support both wayland and X simulataneously? No, of course not. X11 will be relegated to cygwin or osx-x11 status if the wayland guys get their way.
It's stupid. It's basically throwing away _the_ biggest advantage of the linux desktop, just when home local area networks / wifi are becoming ubiquitous. A properly extended X11 *should* allow guis to just follow me from room to room as appropriate. Will wayland allow that? Will it fuck. Might as well be windoze.
I get fed up with these sorry attempts to convince everyone that their opinion is not worth considering by implying that everyone else already disagrees with them.
Crooks, politicians and PR. I hate the lot of 'em.
That's the understatement of the year. X11 is a dead end and it's time to face up to that fact.
(Just ask Keith Packard.)
HAND.
I hope that support to X will stay for much longer.
It'd be nice not to repeat the notorious story with KDE v.4.
And, yes, all this bashing with "the old v4.0" is here because our scares done by KDE board still bleed.
Maybe Computers will never be as intelligent as Humans.
For sure they won't ever become so stupid. [VR-1988]
Wayland does not support network transparency. Stop being daft.
Wayland is not the successor of X11 until Patrick Volkerding says it is.
I use X over ssh daily for thunderbird, but I'll be first to point out that it is overrated. We have today a vastly superior protocol for GUI over the net: HTTPS. And in my mind, it is up to application developers to give us remote access, the way transmission does it. I am glad that X and Wayland cooperate so smoothly, but I am also glad that we are finally leaving X behind.
Can you also run Wayland clients on a remote X desktop?
The Tao of math: The numbers you can count are not the real numbers.
If you don't believe me, check out the damn X11 site about the Wayland Project. It's purpose is to clean up the damn X11 code base to something easier to maintain and improve, which is why everyone is beginning to work with it. Find what needs improvement and get it's performance/stability up/over what the latest version of x11 offers.
Mod me up/Mod me down: I wont frown as I've no crown
This is the real problem.
The perceived inefficiencies of X are less relevant on gigahertz machines where you've got much more idle CPU horsepower laying around than idle GPU power. Meanwhile, the most interesting GPU features (like vdpau/vaapi) will likely be tossed out in the bargain. Those are things not easily replicated with idle CPU cycles when compared to the main focus of Wayland.
A Pirate and a Puritan look the same on a balance sheet.
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!
Yeah, in the sense you're not losing anything in this conversion. Wayland+X11 won't look (or perform) much different from modern composited system, but over time the toolkits & DEs will migrate out of needing X11 and to Wayland. Finally, there may be no need to run X11 (for you), and it will exist as a dependency for a few programs that haven't switched.
They're doing the work because it is an upgrade. XOrg isn't even fully X11 compatible since the spec is crazy. We need a new, easy, extensible spec, libs instead of processes for most display tasks, and something that better uses GPUs. Wayland is this effort. This simpler, modular system should make it easier to add anything missing while doing things the right way vs being stuck in "the old way" that cannot be changed in X11 without breaking something anyway.
Yes but as newer, shinier applications such as KDE apps bypass X and use Wayland directly for speed, does that mean we'll see the end of network-transparent apps? I hope not (and the other posts indicate that network transparency is being worked on).
What you are describing, however is exactly how OS X supports X11. Using a rootless X server that relegates X11 apps to very much second-class status. This is okay if the new wayland API and system offers everything that X11 did as far as network transparency and features.
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.
I agree, the "time to kill X" was in the mid 1990's when a Pentium could run OS/2 or Windows 95 with no problems but just loading an X desktop would suck all your ram and take an hour
Comment removed based on user account deletion
Who needs KDE to use Linux?
Desktops are like browsers. When their developers are overcome by hubris one can always jump ship to something else.
Use a couple-three different desktops and you'll always be ready as well as more flexible.
"This post is an artistic work of fiction and falsehood. Only a fool would take anything posted here as fact."
Used to work well years ago, but now has turned into a fiasco between Xrandr and Xinerama. Before Xrandr showed up, I had a working triple-monitor setup with Xinerama. There was some overhead due to Xinerama, but it was a perfectly usable setup with KDE3.5.
Now it is such a slow mess that I've given up on it and now just run KDE from inside a VM on a Win7 host.
GPU object support is rumored to fix Xrandr, but it never materializes.
No, that is plainly not what the poster said at all. Wayland is an attempt to change the whole display paradigm, rendering X obsolete as it is envisioned that no one will program to X's interface any more. X would still be supported as a stepchild, but if there are a diminishing number of programs that support it, it would before long become essentially useless.
Why can't Wayland run applications on one virtual or physical machine and display it on another? Why can't that functionality be added? I understand it's part of the fundamental architecture of a display server, but since Wayland isn't in use in the real world, there should still be time to make those changes. I agree that this functionality is important, and it would be a great oversight if Wayland didn't support it.
Comment removed based on user account deletion
GTK 3.2+ has remote capibility, by translating to HTML interfaces.
Also the X sever has already been gutted quite a bit, Especially since it was modularized. For instance compositing managers have taken over windows management. Mode setting has being added to the kernel, memory management by separate things like G.E.M. Eventually X may just be used for legacy toolkits and remote windowing. If Wayland can properly support input mapping and swapping to/from X, I don't see why the remote capability through X could not be kept or even improved, A variation of X that only needed to know how to interpret the final Wayland outputs rather than having hundreds of device input drivers could make it pretty lean.
An interest presentation http://blip.tv/linuxconfau/x-and-the-future-of-linux-graphics-4711540
Strange I had a Sparcstation 1 in the late 80's which had much less horsepower than a mid-90's pentium and not only did X11 start fast, I could compile X11, run X11, read netnews all at the same time no problems. Me thinks you're memory has more than just bit rot
The problem is that desktop environments are more like browsers of the time of the browser wars. A KDE app is "best viewed with KDE" and a Gnome app is "best viewed with Gnome".
The Tao of math: The numbers you can count are not the real numbers.
Cool, new, Ubuntu will use it and the users will hate it.
I can't "still run X applications" over the network now. I'd like a successor project fix the situation and make it possible to run X applications over the network.
Even modest VPN latencies of 30 ms slow down X applications so they are all but unusable. XTerm still works but emacs, eclipse and firefox take an eternity to load and respond to input. (Workaround for emacs: -nw. Workaround for firefox: squid. No workaround for eclipse???)
Some of these problems might be avoided with application and toolkit design fixes, but I believe many of them are inherent in the policy-less architecture of X11. That means a client will have to exchange pixmaps with the X11 server (themes, widget shapes, pictures, animated ads etc), and make endless strings of queries to the server ("How big would 'Hello' be pixelwise? I'd like to frame it with my fancy theme.")
I see two ways out: fix the policy or make it dynamic. Then, the X11 server would be responsible of the right looks of the widgets and would lay out the application just right. Or the application would upload a piece of executable code to implement the bells and whistles it requires and would like the server to administer for it.
This is about KDE supporting Wayland.
Not Wayland being superior/inferior.
Just KDE stepping it up and supporting more environments.
This is a good thing, no matter which side of the X11/Wayland fence you are on.
Strange. All I see is the correlation between linux market share and X being good enough for most uses.
Wayland not having a network transport is like a new cadillac model not being sold in Texas. You know, it won't take a miracle to make it happen.
I've used X since the dark ages myself, but that doesn't mean something new can't be better, and I do know X has its limitations.
--- Hindsight is 20/20, but walking backwards is not the answer.
>>>
The "problem" with replacing X is that it's good enough for most uses.
>>>
Gnome, KDE, OpenOffice, LibreOffice, Firefox, Thunderbird, Opera do not use X. Problem solved.
hm I happen to be writing an article about linux on old machines, one target is my old 90Mhz pentium 90 with 8 megs of ram, with linux 2.4 kernel and a fairly (but not tweaked out I will give you that) spartan setup, before I even hit the login prompt most of that ram is gone, start X and your working almost totally on swap, and it takes about 30 minuets to get to a usable point, it never really stops thrashing the swap manager and god help you if your dumb enough to toss on a light window manager.
So OK you remember a SPARCstation 1, and it was the shit, I can buy that as it was running a proper unix, it was designed for that reason and it had some corporate support behind it. Thats a bit different than getting some distro, and slapping it on a random machine.
Comment removed based on user account deletion
Do you mean resolution can change on the fly? What ever shall we do?
</snark>
Indeed. Now it is time to upgrade X, not ditch it. That extra functionality that "just 1 or 2% of the users ever see"* doesn't put any big load on machines anymore, why work into not having it?
Now would be a nearly perfect time to make the X protocol more friendly to WANs, by including more modern hight level primitives on it.
* Translation: Our developers think people should work on their machines, not remotely. That is a funny line of tougth comming from Red Hat, but it explains why they don't care at all that GUI software is overwritting standard configuration files, while not giving you any hint for CLI based configuration. They really expect you to be physicaly present at your server, or are they trying to do desktops now?
Rethinking email
That, and I'd like to point that my impression is (but I'm hardly an specialist) that the toolkit is the best point to implement network transparence. The only layer where it would make better use of the network would be the actual application, but then it would be too expensive.
Rethinking email
Since the transfer to xorg a lot has been improved! Kudos to K Packard and friends!
My question is why we should replace one layer cake with another? X definitely adds some nice modularity to the desktop, but at what price? Most users don't want to send their windows across the network. They are happy surfing the net, playing some games or writing a document. Simple stuff, nothing more. To put it to the extreme: look at ChromeOS.
So why don't we make the compositor work without all the layers (X or Wayland) in between???
I heard that Apple was quite successful with that concept. At least they are dominating the *nix desktop.
BTW who would want to run a ssh server to get a local shell?
Wasn't Wayland that company in the Alien films?
Strange I had a Sparcstation 1 in the late 80's which had much less horsepower than a mid-90's pentium and not only did X11 start fast, I could compile X11, run X11, read netnews all at the same time no problems. Me thinks you're memory has more than just bit rot
I think you might be suffering from the "megahertz myth". As and old SPARCstation user myself, I know you're quite right that my old IPC could run X11 just fine. That didn't alter the fact that a modern Pentium a few years later groaned under the stress of trying to do what my old SPARC did. The IPC was a much lower megahertz machine, I'll grant, but it didn't seem to have "much less horsepower" than the Pentium I picked up half a decade later.
We might be comparing apples and oranges, though. Part of the problem might have been a mature and well implemented X server running under SunOS vs. a fresh open-source X running under Linux back in the day when Slackware was king. It's not exactly the same software, as well as not the same computers being compared. All I know for sure is X11 and many graphical apps ran much faster on my IPC than on mid-90's Pentium.
"Convictions are more dangerous enemies of truth than lies."
With "Wayland and X", your Wayland native apps don't get network transparency. This is fail.
Fail is your comment.
You will get network transparency if you want if you run Wayland with RDP/SPICE/whatever-network-transparency-protocol you want.
Also GTK3 already has a HTML5 backend that allows you to send GTK to a browser, and more backends for network transparency could be added to toolkits like Qt/GTK.
It's about damn time, I can't wait to run KDE on Wayland, and most apps for that matter (mplayer, vlc, etc). Without any X at all.
"It's stupid. It's basically throwing away _the_ biggest advantage of the linux desktop"
Yeah right, like if the Linux desktop is used by most of the world population, and like if the people who want to have a nice desktop and browse the web are interested to run their applications remotely. Get off of your mother basement and face the reality. Linux will never succeed with that abomination called Xorg. A change is needed and welcome, and that is Wayland.
X is a series of APIs which for the most part manages rectangular regions within a display context and provides a series of accelerated functions such as line drawing and text drawing. With the support of things like XVideo, it even supports exposure of a video card frame buffer for rendering directly to a graphics context. Nearly all the features of X which you're explaining are related to X's ability to serialize data for transport over a bidirectional character device allowing the graphics context to exist on another screen.
Wayland does not necessarily lack support for these features. They just haven't reached the point of maturity which is found in X. In order to compensate for that, an application designed to function using Wayland can make use of a Wayland X11 backend to render similarly to what you're describing. In the context of remoting, where all data is serialized and deserialized (though in local instances, shared memory might be used), the functionality as far as you see it should be unchanged. You should still be able to pipe through SSH tunnels using X11 for example. The expected performance hit should be negligible if at all measurable depending on the X11 back end. If the Full context has to be rendered using wayland and then rerendered to X11, performance may take a tiny hit, though for operations like font management, font switching etc... it could actually be faster. On the other hand, if the Wayland X11 back end is written well (and I'll imagine that it is), then there should be no performance loss relating to how the data is serialized. If anything, it may be faster as Wayland could perform operations similar to how NCQ works on serial ATA to optimize the connect as it provides a small buffer between application and serialization.
So... the only short comings I see in Wayland at this point is that people don't quite understand it yet. I personally see Wayland as a welcome improvement. It finally will allow the majority of hacks in the form of X extensions to be managed and consolidated into a cleaner set of APIs. X11 was one of the easlier windowing APIs created and it was great for the most part as in modern terms it could be seen as a user mode API to the graphics adapter driver. But on the other hand, it is really very complex to accomplish even basic tasks on. Try setting the mini-icon for an application and you'll see what I mean. Wayland builds on what has been learned from a gazillion years of X development. Some people might suggest that it's too early to make the change, but no one is forcing anyone to upgrade from X11 to Wayland. Most people simply will because for most people it is definitely ready.
Oh... btw... no one actually codes for X11 directly anymore. We use Qt, GTK+ and a multitude of other windowing APIs. X11 itself doesn't actually offer APIs suitable for writing applications. That's why we had Xt and Motif. Theses days, we use more modern alternatives that simplify the development of custom widgets. But X itself is really just a transport layer.
I wasn't replying to Keith Packard but instead to somebody that doesn't know what they were talking about and then had the audacity to pretend that the words came from Keith Packard.
When I replied to your ignorant post before I was sitting at my home computer which has a different X server for each monitor (which lets me handle windows very differently on each screen) - and the left screen had a full screen game on it!.
So there you go - I was using X in a way you pretend it can't be used when I replied to your post.
I also remember running openoffice fullscreen when it first came out under that name. In fact it looks like it's been possible to run applications fullscreen in X back before linux was released.
I don't know where you got this incorrect idea but anyone you name drop is going to know better.
I'm sure Keith Packard knows a lot of things the above idiot does not and can't help it if the above idiot doesn't understand him and makes up shit like "X is unable to support full-screen games".
Pule & X: There was some efforts trying to get application "hot moveable" between X servers. (Xnest being among them) sadly none of the universal solution is currently popular or very maintained. Meanwhile some tool-kits like GTK give the possibility to move their application between X server.
Now to get back to Wayland: The reasons for wayland is that the way X Server works doesn't map to the way modern applications are drawn nor composited on screen.
Wayland is designed to expose the lower-level functions in a way that makes sense for a modern desktop.
Now it *is true* that currently Wayland has no remote display capabilites.
BUT there's a Google Summer of Code project to bring network support to wayland in a transparent way :
The current idea is that on one machine, there will be a mini wayland-like server which consumes graphic buffers generated by local applications, but instead of compositing them with OpenGL ES on screen (like a normal server) it will stream them over the network to the target machine where a local wayland-like client will send the graphics to the real local Wayland server, to be composited on-screen.
So, by the time KDE 5.0 offers wayland support, you'll probably have support for Wayland forwarding. Probably even in openssh by then.
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]