Slashdot Mirror


Ubuntu 18.04 LTS Will Default To The X.Org Stack, Not Wayland (phoronix.com)

An anonymous reader writes: Five years after their original goal to ship Ubuntu with Wayland, Ubuntu 17.10 transitioned to using the Wayland display system by default as part of their transition to GNOME Shell as the default desktop. But with the upcoming Ubuntu 18.04 LTS release, Canonical has decided to transition back to the X.Org Server. Their reasoning for moving to an X.Org Server by default is better support for screen sharing, remote desktop, and better recovery from crashes. But for those interested the Wayland session will still be available as a log-in option.

13 of 194 comments (clear)

  1. But but .... by Viol8 · · Score: 5, Funny

    ... the Wayland devs kept telling us that no one cares about remoting with X which is why they hardly bothered to work on that side of it. Were they wrong?? Say it ain't so!

    1. Re:But but .... by jbernardo · · Score: 4, Informative

      Or like being incapable of running GUI apps as root - which breaks among others gparted, and won't ever be fixed for native Wayland apps, but you need to "think of the children" - https://bugzilla.redhat.com/sh...

  2. Re:See Saw Cycles of Adoption and Abandonment by Viol8 · · Score: 5, Insightful

    "Which is not really newsworthy."

    Well it is actually. Various vested interests have been plying the X Windows is dead, Wayland is the way forward line for a few years now. For Ubuntu - a distro not exactly known for its conservatism and aversion to releasing bleeding edge sofware - to return to X as the default graphics system is a pretty obvious statement that Wayland is a long way from being ready for prime time.

  3. Honestly... I'm sure why... by ckatko · · Score: 5, Insightful

    ...we even have Wayland/Mir.

    The X Server stack was fast enough back in the days of the FOUR-EIGHTY-SIX.

    And almost all the implementations of the new system lack features that we already expect to work on x server without thinking about it.

    1. Re:Honestly... I'm sure why... by jouassou · · Score: 5, Informative

      Most of the Wayland maintainers have also been working on X.org for a long time, and I trust the developers to know better than the users when a rewrite is due. From what I've read, in addition to the issue of maintainability, X.org is inherently insecure (any app is allowed to draw over / screencapture / keylog any other app), contains a lot of code that is never used anymore (e.g. the builtin font rendering and GUI toolkit in X), while modern developments such as DRI and compositing were bolted on as ugly extensions. So if the X.org maintainers say it's cleaner to rewrite it than to keep bolting on new features on top, then I believe them.

      If you're genuinely interested in why people are developing Wayland, I recommend looking at this talk :).

    2. Re:Honestly... I'm sure why... by serviscope_minor · · Score: 5, Informative

      Because back in the days of the "FOUR-EIGHTY-SIX" your cpu was generally faster than your graphics card. Nowadays your graphics card is so much faster than your cpu the X stack leaves your graphics rendering waiting on the CPU.

      No it isn't: X has supported hardware acceleration from the earliest days and continues to do so. See, for example GlamourGL, in which Xorg uses OpenGL shaders to do all the 2D drawing operations.

      So Wayland is an attempt (successful or not is an entirely different discussion) to get the cpu out of the way for your graphics card to work more efficiently.

      No, that's utter crap. Wayland doesn't do that AT ALL. Wayland is basically a system for sending bitmapts to a compositor and have the compositor send back input. Wayland provides very little else and certainly no rendering. Applications are expected to render to their own buffers using something like DRI, which is PRECISELY the same as they use under X11 too if running locally.

      --
      SJW n. One who posts facts.
  4. Common sense like this should be applauded. by blind+biker · · Score: 5, Insightful

    This is the first time in a long while that a company steps back from what looked like suicidal commitment to a bad idea, and actually went back to what works.

    I wish Lenovo did the same with the 7-row keyboardes on the ThinkPad. Also I wish Linux companies (except RedHat, of course) would ditch SystemD.

    --
    "The agriculture ministry is not in charge of Gundam" - Japanese ministry official.
  5. Re:See Saw Cycles of Adoption and Abandonment by Junta · · Score: 5, Insightful

    Well, it's a bit more than that. The statement has been in various circles 'wayland is good enough *today*, you don't need xorg anymore'

    This is acceptance that people do have things they can't do in Wayland, and it needs to be opt-in rather than opt-opt to avoid bad user experience.

    It's not 'wayland will *never* be better', but it is a statement that it has a ways to go, and some of the limitations are design choices that will require interesting conversations, particularly about security with regards to screen sharing.

    --
    XML is like violence. If it doesn't solve the problem, use more.
  6. Re:See Saw Cycles of Adoption and Abandonment by Fly+Swatter · · Score: 4, Interesting

    A vendor in it for money chooses to backtrack and default away from the new and shiny. I don't think that is about choice and a hell of a lot more about what they think of the current state of Wayland.

  7. Good job Canonical by Anonymous Coward · · Score: 4, Insightful

    I think they should be congratulated on responding to user sentiment. I wish more companies would admit they acted prematurely and roll back changes that didn't work out. I can think of one or two very large Linux features that I could live without, but which are foisted on all of us.

  8. Re:See Saw Cycles of Adoption and Abandonment by Anonymous Coward · · Score: 5, Insightful

    At some point that 40 year old code based designed around a 386 when the software had to draw even the primitives just isn't going to cut it anymore.

    You got the reality exactly backwards. A codebase designed around being efficient enough to run on a 386, and field-tested on every thing imaginable for 40 years.
    Anything that today's wonder boys can generate, is destined to be a steaming pile in comparison - just because they never saw a reason to learn what efficiency or portability even is.
    Barring a major miracle, X will stay with us for quite some time yet.

  9. Re:Why switch to Wayland in the first place? by serviscope_minor · · Score: 5, Informative

    Right indeedio I will bite!

    Forget the speed,

    Yes indeed, forget that because there's no evidence X is slow. Sure it was slow on a Sun 3/60 and people were maybe right to whine then. It's been a very VERY long time since I've run a 20MHz desktop CPU.

    the issues around hardware access

    Which are?

    the issues on on exclusive access that creates a huge security issue for lockscreens

    Oh you mean the issue that doesn't happen at all if you use a compositor like 99% of modern desktops. Note: if the desktpos don't implement that, it's their fault not an inherent limitation in X.

    the inability to use most of the buttons on a laptop while a locked session is in progress (but yes having to open up and login to a device just to hit the volume down key is totally what we expect from modern 2018 systems).

    Ah yes, the thing that isn't an issue with a modern compositor architecture. Note: bugs in gnome aren't bugs in X11.

    Look: the modern X architecture routes EVERYTHING through the compositor just like Wayland. So the security tradeoffs are identical. It's impossible for an actave grab to interpose.

    If gnome have done a shit job of actually using the features that X has had for the last decade or more, blame gnome, not X.

    I'm not going to repeat them all here (because who has the time), this horse has been beaten to death so often it is now a goo of red puree mushed into the carpets

    No it hasn't. It's been beaten by ill-informed people repeating poorly understood talking points.

    --
    SJW n. One who posts facts.
  10. Re:See Saw Cycles of Adoption and Abandonment by Cyberax · · Score: 4, Informative

    I worked on X codebase and I know it's shit. It's a patched-over shit, but still. Integer overflows, memory corruption, it has everything.

    But even setting this aside, X.org is insecure by design. Any application can just send any events to any other application, so there's no point in trying to make it secure. If you have access to an X connection then you already have full access to the user's data. For example, you simply can inject "ctrl-t" into the shell to launch a terminal and then inject any commands you want into it.

    And about "todays wonder boys" - Wayland is designed and written mostly by the same developers who are working on X.org