Slashdot Mirror


Ubuntu Dumps X For Unity On Wayland

An anonymous reader writes "Canonical and Ubuntu founder Mark Shuttleworth has announced that Ubuntu will move away from the traditional X.org display environment to Wayland — a more modern alternative. The move means there is now little reason for GNOME developers to recommend Ubuntu as an operating system. Shuttleworth said, 'We're confident we’ll be able to retain the ability to run X applications in a compatibility mode, so this is not a transition that needs to reset the world of desktop free software. Nor is it a transition everyone needs to make at the same time: for the same reason we'll keep investing in the 2D experience on Ubuntu despite also believing that Unity, with all its GL dependencies, is the best interface for the desktop. We'll help GNOME and KDE with the transition, there's no reason for them not to be there on day one either.'"

34 of 640 comments (clear)

  1. Wayland... by DaPhil · · Score: 5, Informative
    For anyone else wondering what Wayland is: "Wayland is a lightweight display server for the GNU/Linux desktop. Started by Kristian Høgsberg [...] the software's stated goal is "every frame is perfect, by which I mean that applications will be able to control the rendering enough that we'll never see tearing, lag, redrawing or flicker"" (Wikipedia)

    Here is the website and the wikipedia entry.

    1. Re:Wayland... by maugle · · Score: 3, Informative

      "Interesting", thinks Shuttleworth,
      "Will devote resources to the project, hopefully shift to using it in a year, but will focus on maintaining compatibility with X applications", says Shuttleworth on his blog,
      "OMG, UBUNTU DUMPS X!!!", reports Slashdot.

  2. Summary's BOGUS... by Anonymous Coward · · Score: 5, Informative

    Uh... Guys... Wayland doesn't preclude X11. Think of X11 as a two part system. One's the rendering and compositing layer and the other is the network transport layer that makes it network transparent. Wayland's the driver backend guts. They've shown MULTIPLE X11 desktops being ran on top of Wayland.

    This isn't the thing that many make it out to be. SERIOUSLY.

    1. Re:Summary's BOGUS... by Anonymous Coward · · Score: 1, Informative

      You may want to try ssh -Y these days.

  3. A bit sensationalist... by Scyth3 · · Score: 5, Informative

    They're slowing transitioning away from X to Wayland. They're not straight up "dumping" X. It'll be there for quite a few releases. http://arstechnica.com/open-source/news/2010/11/linux-beyond-x-shuttleworth-contemplates-wayland.ars

  4. Breathe Deep... by gti_guy · · Score: 5, Informative

    Calm down people. This isn't any different than Mac OS X using Cocoa for the desktop display and still having X11 available to run as another app. And yes (if you've never tried it), X tunneled through ssh works just fine on Mac OS X. It will be the same thing with the next release of Ubuntu. The sky is NOT falling.

  5. Re:Ok great for beginners by Anonymous Coward · · Score: 4, Informative
    1. Linux is not Unix

    2. X is neither part of Unix nor required for it.

    Anything else you'd like to add to this discussion?

  6. Correction by Enderandrew · · Score: 3, Informative

    Ubuntu will still ship X. Unity will run on X. No definitive decisions have been made. Shuttleworth is considering a transition to Wayland, which he estimates will be 4 years down the road. He assumes at that time that KDE and Gnome apps should be able to run natively on Wayland at that time, but you can run a rootless X server alongside Wayland either way.

    But it really is more fun to make non-sensical statements, such as suggesting that Gnome and X are intrinsically tied, and that wanting to replace X four years in the future is some massive insult to Gnome.

    --
    http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
  7. Re:No standards at all by Waffle+Iron · · Score: 5, Informative

    I'm getting sick of this crap "journalism". if you want to make a comment, add a comment. Don't add your opinion to the summary. Just report the facts. If you really have to, blog about your opinion and add a link to that blog, stating that it's your opinion.

    You must be new here. The summary of an article is nearly always the *opinion* of whoever submitted it. The "news" part is in the original source to which the link(s) in the summary point (assuming the original source isn't itself just an opinion or troll). The summary IS the "blog" part, and it acts as the root of the entire discussion thread. That's the way it has always worked on this site, and it's not very hard to figure out.

  8. Re:Ok great for beginners by Joehonkie · · Score: 2, Informative

    Linux is NOT Unix. That's been pretty important since day 1. And Unix doesn't need X, since OSX is Unix (real Unix, not Linux) and only runs X under it's main (non-X) window manager as needed (just as Shuttleworth is talking about doing with Wayland). As a matter of a fact, you can have a Unix or Linux box without any windowing system on it at all! It's amazing, I know, but totally possible.

  9. Like Mac OS X by Balthisar · · Score: 3, Informative

    So, it'll be kind of like running X on my Mac OS X machines. A modern display server, with the ability to run a non-root X on top of it.

    --
    --Jim (me)
  10. Re:No standards at all by Java+Pimp · · Score: 4, Informative

    That opinion WAS in TFA... if you had read it...

    --
    Ascalante: Your bride is over 3,000 years old.
    Kull: She told me she was 19!
  11. Wayland can host X by sd.fhasldff · · Score: 5, Informative

    Then it's a good thing Wayland can host X. It would require some (reportedly) minor adjustments to X, but it would be transparent to individual applications.

  12. Re:No standards at all by Tharsman · · Score: 5, Informative

    Although I generally agree with this feeling, if you read TFA, you would find this quote:

    There’s now little reason for these GNOME developers to recommend Ubuntu as an operating system.

    So as you can see, it's not something the summary writter made up, he just pasted something that was already in TFA, with just one word changed by a short phrace to better fit the short summary context: "There's" with "The move means there is"

    If you want to insult the article itself, go for it, but at least in this one case, your insult of the summary is horrendously out of place.

  13. Re:Ok great for beginners by dpilot · · Score: 5, Informative

    You mean like the fact that I need to use the same Cadence you're talking about as part of my day job, as well as a whole host of other X-based VLSI CAD applications. Every now and then I need to work from home, and X lets me do that. To be sure, sometimes I use VNC, but sometimes I run the X tools native on my home system, too. Different tasks call for different approaches.

    Leaving work out of it, sometimes I just like to run some GUI tools on my server, with the display exported back to my desktop. My server doesn't even have an X server installed.

    I strongly suspect that the people who pooh-pooh the networking capabilities of X never got used to using them.

    --
    The living have better things to do than to continue hating the dead.
  14. Re:No standards at all by jemtallon · · Score: 5, Informative

    From the article: "There’s now little reason for these GNOME developers to recommend Ubuntu as an operating system."

    So... slashdot did a good job?

  15. Please retain network transparency by Urban+Garlic · · Score: 3, Informative

    I am all in favor of a new and better graphical system, but for the love of God, PLEASE keep network transparency. I want to forward my graphical session to other hosts, and have windows from remote systems show up on (and be managed by) my local display. This is *essential* for some sysadmin tasks I have to do, on a remote system that *has* *no* *graphical* *console*, but for which some of the tools *require* a GUI. At the moment, the saving grace of this system is system is that I can ssh in, forward my X connection, and run GUI software remotely.

    On a related note, I wish to inform the community at large and Ubuntu in particular that not everyone is using a personally-administered workstation with a local file system. Some of us NFS-mount our home directories from a central server, and some of us install software on application servers which are also NFS-mounted. Please take care that "new improved" installers and desktop systems do not break in this environment.

    Thank you.

    --
    2*3*3*3*3*11*251
  16. The trademark owner defines it by tepples · · Score: 3, Informative

    OSX isn't Unix. "UNIX certified" is not UNIX.

    UNIX is a registered trademark, and under United States law, the owner of the trademark gets the first crack at establishing a definition. How were you defining UNIX? Derivative work of the Bell Labs source code?

  17. Re:Ok great for beginners by AaxelB · · Score: 5, Informative

    1. Linux is not Unix
    2. X is neither part of Unix nor required for it.

    Anything else you'd like to add to this discussion?

    Nice troll! You managed to choose a topic that is probably as complex and volatile as Kirk vs. Picard, but yet is not as familiar.

    Nah, it's pretty well known and accepted that Linux is not Unix. Linux is certainly and undeniably Unix-like, but it's not Unix.

    Not really complex. Not really volatile. Not a troll.

  18. Toolkits that wrap X by tepples · · Score: 4, Informative

    I see plenty of people who depend on X being X, and plenty of people who are being advised to depend on X being X. A move to Wayland will create all kind of confusion for those people

    Applications are typically not coded directly to X11; they're coded to toolkits that wrap X11. GTK+, Qt, and GNUstep could easily be ported to wrap Wayland, just as GTK+ and Qt have been ported to wrap GDI on Windows. In addition, X11 can run on top of Wayland, as one of the articles points out, much like X11 on Mac OS X runs on top of Quartz.

  19. Re:Ok great for beginners by somersault · · Score: 2, Informative

    Having had a look at the Wayland site, I'd say you could do the same thing with the Wayland architecture if you really wanted to. These days considering even mobile phones can run full featured web browsers, I don't think it's much of a selling point though. It is nice from a security standpoint, but soon enough it will probably be feasible to run browsers in a virtual machine on your phone if you really want that level of security! :p

    --
    which is totally what she said
  20. Re:X11 by 3.1415926535 · · Score: 3, Informative

    X.org *is* X11. I think you meant XFree86 (which is also X11, by the way). That issue was political squabbling and an argument over whether or not forks are bad for open source projects. This is something entirely different.

  21. Re:A bit big for their britches? by Zo0ok · · Score: 4, Informative

    Exactly... writing a simple application for X was arcane when I did it almost 10 years ago. Nobody really writes applications for X anymore - they write them for GTK, KDE.

  22. Re:No standards at all by Narishma · · Score: 4, Informative

    Not to mention that the title is incorrect. They are not replacing X with Unity but with Wayland. Unity is just another desktop like Gnome and KDE.

    --
    Mada mada dane.
  23. What He actually said: by Dcnjoe60 · · Score: 3, Informative

    For anyone who is interested, here is what Mark Shuttleworth actually said: http://www.markshuttleworth.com/archives/551 . In his post he gives his reasoning and alternatives they looked at. Seems pretty well thought out. Ubuntu always gets slapped about not giving back to the community. Well, here they are announcing they are giving back and they still get slapped. It seems as if they are damned if they do and damned if they don't.

  24. Re:Ok great for beginners by abigor · · Score: 4, Informative

    Sun shipped with NeWS. NeXT shipped with Display Postscript. SGI shipped with MEX and later 4Sight. I guess none of these were "proper" Unixes in your godlike eyes - someone better alert The Open Group.

    Wayland reuses X's drivers. It can also host X with a negligible performance loss.

    All in all, this is a great thing for desktop Linux, which needs all the help it can get. With commercial vendors rallying around Qt, which already has good Wayland support, the future looks hopeful.

    Are you some kind of junior sysadmin? A little knowledge is a dangerous thing.

  25. Re:gnome developers what? by Fnord666 · · Score: 3, Informative

    I don't know a single person, not one, who makes his OS choice based on what "gnome developers" recommend. Why was this bit even added to the summary?

    Because it was in the article and summaries have become nothing more than cut and paste jobs. There isn't any actual summarizing any more.

    --
    'The tyrant will always find pretext for his tyranny.' - Aesop's Fables
  26. Re:Ok great for beginners by jelle · · Score: 4, Informative

    It doesn't have to be limited to only local use. It's an api, which means somebody can make an implementation that forwards the api calls into some kind of rpc calls (or work on a higher level with all sorts of roundtrip and bandwidth optimization), allowing networked use. Even the drm api can be implemented as a virtual graphics device with a network backend, but that's probably not even necessary because from the architecture pictures I don't see a reason why the compositor wouldn't be able to support a network environment. It would need a local compositor and a remote compositor that know how to talk to each other (and with each some significant code to 'hide' the network), but it would be transparent to the local application. As long as the wayland protocol allows multiple wayland compositors to operate concurrently on a system (where the client apps run), and if it lets a wayland client choose the compositor to use (with some type of access protection in there), it should be possible to implement transparent networked displaying.

    Maybe it will make the networked displaying more complex than a tcp connection from the X client library to the X server, but it's certainly not impossible. The X protocol isn't ideal for all networked use (anymore) either, because it's so sensitive to network latency and it doesn't help in any significant way to be bandwidth efficient, especially with the increasing amount of client-side rendering and 3d stuff that is happening these days (and not all X protocol features work on a remote connection (for example (and afaik): xrandr, dri, etc). Perhaps a good networked remote display protocol that optimizes and compresses all that when/where necessary will work equally as well (with as much complexity) in the wayland framework as it will in the xorg framework.

    So perhaps in order to support modern displays and diverse networks, remote display has to get a little more complex than a simple remote X display anyway. I don't wayland is going to make that much different.

    http://wayland.freedesktop.org/architecture.html

    --
    --- Hindsight is 20/20, but walking backwards is not the answer.
  27. Re:No standards at all by Anonymous Coward · · Score: 4, Informative

    Hope they have a good time reinventing all the network transparency and other features

    They won't. Wayland is intimately tied to the Linux DRI model and makes no attempt at cross-platform compatibility or other X features.

    The idea behind Wayland, for as far as I have understood, is to offer a framebuffer-style (OpenGL) surface for applications to draw on. That's it. There are no intermediate layers, and no abstraction: the application (toolkit) must have an OpenGL backend or it won't work. I believe clutter and Cairo already have an OpenGL backend, not sure about GTK/Qt.

    Backwards compatibility is achieved by (optionally) running X(server) as a sub-process of Wayland. I'm actually quite positive about this development: it's not an X replacement, but an encapsulation. It will be interesting to see how it develops. Personally, I think this will remain limited to a handful of applications (WM, decorator, configuration), at least that's how I'd like it to be. As long as there's no inherent slowdown for X apps, I fail to see the downside.

  28. Re:gnome developers what? by epo001 · · Score: 2, Informative

    I don't know a single person, not one, who makes his OS choice based on what "gnome developers" recommend. Why was this bit even added to the summary?

    It wasn't "added" it is a direct quote from TFA, the correct question would be why was this quoted?

  29. Re:OSX, Windows 95, Vista, Windows 7 by Abcd1234 · · Score: 4, Informative

    Holistically speaking, Citrix et al completely eclipsed X in terms of network-retargetable display a long time ago and for those times when you want to run an app remotely but don't want to lose the app if your connection dies (which is pretty much all the time) you end up running X over VNC anyway.

    Well, smart people run X over NX, which provides wicked performance far eclipsing VNC, integrated encryption (it uses SSH, but it's part of the standard tool), detachable sessions, etc, etc. And that performance is specifically a consequence of NX proxying the X protocol. You'd never be able to achieve that kind of performance using a simple framebuffer-based remote display technology.

  30. Re:Ok great for beginners by shutdown+-p+now · · Score: 2, Informative

    Okay, so not a perfect analogy, but you get the point. VNC/RDP can't forward just a remote application, they have to bring the whole desktop.

    RDP can perfectly well forward individual windows, which, from user's perspective, is the same thing. That's how RemoteApp and XP Mode desktop integration work in Windows 7.

    They can't integrate cut and paste as seamlessly as forwarded X.

    Why not? Cut-n-paste works just fine for me in RDP in Windows. Heck, it actually lets me copy a file in a file manager in the guest, and paste it in the host - and it gets copied.

    They don't allow your local window manager to choose where things are placed, how they're moved, etc.

    That one is true, but is it really a major feature that can justify the flaws that come with X approach to remoting?

  31. Re:No standards at all by spitzak · · Score: 3, Informative

    GTK is using Cairo.

  32. Re:Translation Please? by Tetsujin · · Score: 3, Informative

    Is "Wayland" a replacement for X Windows?

    Basically, yes. The X Window System is a very old architecture by computing standards. It has served us well and I am not entirely comfortable with dismissing it... but the basic difference in approach here is that "Wayland" is strictly a local-display implementation, where X is built from the ground up to be network-transparent, with local-display enhancements added via extensions. The idea behind ditching network-transparency is to optimize graphics performance, making applications running on the local machine perform and behave better (i.e. giving video players the control they need to be able to synchronize video frames with the monitor's vertical blanking).

    If so, does that also make it a replacement for the KDE and GNOME or do those two things sit on top of X windows?

    The latter. Both KDE and GNOME can work directly on Wayland, I believe, if compiled for that.

    What is Unity and how does it relate to GNOME or the KDE?

    As I understand it, Unity is a window manager/desktop environment on which other applications can run. So it's like GNOME or KDE in that regard, but the GNOME and KDE projects themselves include a bunch of applications which could be run within the Unity environment... So they're not mutually exclusive things.

    Is Ubuntu moving to these technologies because they use less resources are faster and will allow Ubuntu to work better on devices other than PCs?

    Well, I think "less resources and faster" is basically what they're after with Wayland. A lot of what's included in X just isn't necessary or useful for modern applications. A lot of the things people are doing with slick GUI transitions and the like really aren't compatible with X's network transparency anyway.

    With Unity I guess they're just trying to build a better GUI. Among other things it's supposed to be good for use on touchscreens (meaning, for instance, items on-screen have to be big enough to tap accurately with a finger...)

    --
    Bow-ties are cool.