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.

3 of 194 comments (clear)

  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.
  3. 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.