Slashdot Mirror


Intel, Red Hat Working On Enabling Wayland Support In GNOME

sfcrazy writes "After shooting down Canonical's Mir, Intel and Red Hat teams have increased collaboration on the development of Wayland. Developers at Intel and Red Hat are working together to 'merge and stabilize the patches to enable Wayland support in GNOME,' as Christian Schaller writes on his blog. The teams are also looking into improving the stack further. Weston won't be used anymore, so GNOME Shell will become the Wayland compositor. It must be noted that Canonical earlier committed to supporting and embracing Wayland. Despite that promise, the company silently stopped contribution, and it was later learned that they were secretly working on their own display server, Mir. Intel's management recently rejected patches for Mir, leaving its maintainance to Canonical. Before Intel's rejection, GNOME and KDE also refused to adopt Mir. Intel's message is clear to Canonical: if you promise to contribute, then do so."

19 of 168 comments (clear)

  1. More petty bickering by MrEricSir · · Score: 4, Insightful

    It's exactly what the Linux desktop needed! Thanks, everyone!

    --
    There's no -1 for "I don't get it."
    1. Re:More petty bickering by bluefoxlucid · · Score: 3, Interesting

      Petty bickering is more of Ubuntu going, "Wayland isn't coming fast enough... let's create our own instead of helping!" Waste of resources, Ubuntu.

    2. Re:More petty bickering by spitzak · · Score: 5, Informative

      To be fair, Wayland really was not coming fast enough. I follow the Wayland developer mailing list, and it is apparent Mir seems to have kicked the Wayland developers in the butt and gotten them back to work. And they did fix some mistakes, in particular they realized that the server has to do event handling so that input methods work, rather than the previous idea that clients would have to interpret raw device events. I think they also fixed the other complaint Mir had which was the method to allocate window image buffers could not work with Android drivers, though this area is very confusing and it is not clear if it was a problem and/or whether it is fixed now.

    3. Re:More petty bickering by div_2n · · Score: 5, Interesting

      It's more like Canonical looking at the progress and direction of Wayland and saying, "we don't feel this product is going to be sufficient for our near term mobile goals and would rather roll our own to ensure product delivery"

      Whether or not they were correct in this thinking is possibly open for debate. There's certainly been some things they've said publicly that were debunked, but that doesn't mean the core of their premise is wrong. They are moving to a mobile strategy that AFAIK just isn't a prime directive of Wayland, but I'm not well versed in all that is Wayland so maybe someone that is can clear that up.

      The petty bickering is Wayland devs and fans getting butt hurt about some things Canonical has said publicly some of which has been proven wrong as I said above. Since then, it's been a cacophony of rants from the Wayland devs/fans with general Canonical/Ubuntu haters thrown in bashing on Canonical/Ubuntu/Mir/Unity at every opportunity.

      I've just started tuning it out waiting to see how it all turns out. If there's room for more than one IDE, I don't see why there can't be room for more than one compositor. May the best product win where "win" is defined as the most market share.

    4. Re:More petty bickering by tlhIngan · · Score: 3, Insightful

      Petty bickering is more of Ubuntu going, "Wayland isn't coming fast enough... let's create our own instead of helping!" Waste of resources, Ubuntu.

      How is this any different from the rest of Linux? Oh, KDE is blah, let's create GNOME! or "I hate distribution YYY, lets make ZZZ!"

      How is Wayland vs. Mir any different? "Oh Wayland isn't coming along, let's create Mir!". I thought variety within Linux was a good thing which is why we have a million Linux distributions and forks and other stuff.

      Whether or not they were correct in this thinking is possibly open for debate. There's certainly been some things they've said publicly that were debunked, but that doesn't mean the core of their premise is wrong. They are moving to a mobile strategy that AFAIK just isn't a prime directive of Wayland, but I'm not well versed in all that is Wayland so maybe someone that is can clear that up.

      The petty bickering is Wayland devs and fans getting butt hurt about some things Canonical has said publicly some of which has been proven wrong as I said above. Since then, it's been a cacophony of rants from the Wayland devs/fans with general Canonical/Ubuntu haters thrown in bashing on Canonical/Ubuntu/Mir/Unity at every opportunity.

      How is this any different from the other flamewars that happen? KDE vs. GNOME, vi vs. Emacs, Linux distro vs. Linux distro.

    5. Re:More petty bickering by DrXym · · Score: 4, Informative
      X is simultaneously bloated and full of arcane and obsolete junk that nobody uses any more. X hands most of its stuff off to extensions increasing context switching latency. Most apps are passing around massive pixmaps or complex rendering instructions meaning any supposed advantage X used to have from primitive lists has largely disappeared.

      It's obviously a bottleneck and this is why Linux devs (including many noted X developers) are keen to get rid of it.

      I'm sure it will take Wayland a while to find its feet and for dists to transition fully but when it does Linux will be better for it. Doesn't stop people running X either - it'll just be over Wayland and probably not noticeably different either.

  2. Re:Why? by kthreadd · · Score: 5, Informative

    The code base is old and hard to work with from what I've heard from the X hackers. It has reached a point where it might make sense to start over.

  3. Re:Why? by Microlith · · Score: 3, Informative

    Additionally, X11 does a lot of things that have been taken over by toolkits. GTK and Qt don't even use X11's drawing and font facilities anymore, they handle it themselves and then dump a buffer for Xorg to display.

  4. Re:The real agenda? by bluefoxlucid · · Score: 4, Interesting

    He means a total NIH mentality. Ubuntu won't use systemd because they wrote Upstart, which is functionally inferior to systemd. Ubuntu ships with Unity, which they wrote, and is functionally inferior to Gnome-Shell. Ubuntu decided Wayland is not here right now and for some reason they absolutely must move off X11 now, so rather than supplying code to Wayland they've decided to write Mir from scratch. Ubuntu uses Canonical-developed Bzr, not Git, with their own Launchpad management system developed in-house.

  5. Re:The real agenda? by dominux · · Score: 5, Informative
    lets see . . .
    • Upstart was written before systemd started.
    • Unity was released before gnome-shell was released.
    • Mir is being released before Wayland.
    • Bzr was written before Git started.
    • Launchpad was written before Github (and is open source).

    Canonical bashing might be all the rage at the moment, but I can see how they are feeling a bit hard done by with all these accusations that they should have used subsequent products instead of the ones they wrote first.

  6. Re:Redhat? by Microlith · · Score: 4, Insightful

    Care to supply actual evidence of these claims? Because anyone can make wild claims, what gets attention is evidence, which your post is lacking.

  7. Re:Is Canonical TRYING to piss everyone off? by jones_supa · · Score: 3, Insightful

    Shuttleworth is threatening Linux users' elite club by finally showing signs of actually making Linux work on the desktop and popularizing it. That's what pisses people.

  8. Re:The real agenda? by Microlith · · Score: 4, Interesting

    Actually it's telling, mostly about Canonical's outward attitude. They created all of these solutions, but none of them were widely adopted. Few people use Launchpad, bzr, Upstart, etc. Perhaps it's related to Canonical's seeming desire to develop internally and release when they see fit, rather than develop in the open and take community input?

    And Wayland is out there. It was already being tested on devices when Mir was announced. Of course, no one knew Mir was coming because Canonical likes to work behind closed doors, the larger Linux world be damned.

  9. Re:The real agenda? by bluefoxlucid · · Score: 4, Informative

    Upstart was written before systemd started; Fedora and RHEL used Upstart for a while. Newer, better has come along.

    Unity was a quick response to Gnome Shell, which was available as a functional pre-release in 2009 3 months before Unity. Gnome Shell was up-and-coming and Canonical headed it off. The big move to Unity was highly politicized as "Oh no! Gnome is changing! People hate that! They will be angry at the new Gnome interface! ... Unity!!!!" It was integrated into the distribution as the primary desktop environment one release prior to integration of Gnome Shell, when Gnome Shell was already released and stable.

    Mir came about well into the Wayland development cycle, citing "Wayland is coming too slowly. And we don't like it."

    Bzr is the third generation of a number of unrelated pieces of software. The original Bzr, now renamed Bazaar, was a slow bloated piece of shit that didn't work right at all. The current Bzr started pretty bad, and has been improved; it was easily surpassed by Git at one point, but had caught up. There was also Mercurial and darcs, but that's not really of much import. The reason Bzr isn't more popular isn't that it's not great; it's that Git was better way before Bzr was usable.

    Launchpad took forever to become open source, but that's not really a huge issue. It's sensible, but it is on their laundry list of stuff they've written that's not the same as everything that was already out there. To be fair, all other stuff out there sucks; I'd like to have Launchpad with Git integration (it'll import a Git repo by converting it to Bzr, rather than actually integrating with Git), or something like Gitlab but in Python instead of Ruby (running Ruby apps is really fucking hard; it's like the old days of wild wild Java west when nothing worked unless you were a Dark Invoker, and even then only one app per server... look up RVM and such to get an idea).

  10. Re:The real agenda? by chuckinator · · Score: 3, Interesting

    I have a vastly different criticism from what I typically hear about Canonical and Ubuntu. Circa Ubuntu 12.04, I started noticing severely degrading quality in the underlying platform scripts, default configurations, and over platform management in Ubuntu. Command line sysadmin conventions typically left alone by the sprawling masses of "gotta change for change's sake" developers suddenly came under fire. What was once a very stable system under the hood was suddenly forgotten and uncared for, so I left. I didn't care about Unity because I've been using Fluxbox for nearly 8-9 years prior, but I did care that it was suddenly ridiculously difficult to bring up a stable NFSv4 w/ krb5 auth, that they were by default using linux software raid partition versions that weren't compatible with CentOS, and that iptables wasn't integrated into the baseline OS in a very sane way. I found out that the default build configuration of ntp didn't support autokey. I found out that the default build configuration for OpenSSL and other crypto related packages had no support for FIPS 140-2.

    In other words, with the release of 12.04, ubuntu told me that they suddenly didn't care about enterprise users any more, so I moved on to what I have found to be a superior option for my needs. I understand that I could have rolled my own packages from scratch, but I didn't feel that was an efficient use of my time since switching to Fedora or RHEL/CentOS/SL gave me what I needed by default. I had already cast away the bottomless time sink that was managing gentoo machines, and I wasn't interested in dealing with another only a year later with Ubuntu.

  11. Re:Why? by interval1066 · · Score: 4, Insightful

    There's the thing. X was written when there were no other toolkits, at least not of note (Motif?) so X does everything. As newer toolkits were added (GTK, etc) it made sense for them to do certain things, and many of those have become redundant in X. X is many layers of old code, a refresh is in order. Sometimes you have to stop saying "why fix it if it ain't broken" and just fix it. You don't really want to drive a model A while everyone else is driving a Tesla, do you? Besides, rather than create a successor to Ruby on Rails, which is a solution in search of a problem, IMO, why not create a successor to X, which is actually useful?

    --
    Python: 'And then suddenly you have a language which says "we're all stuck with whatever the whiniest coder wants".'
  12. Re:Why? by Anonymous Coward · · Score: 3, Insightful

    Easier programming wise, maybe, but not easier on the network, or on admins'/users' sanity when using a remote connection. Transferring bitmaps around is bandwidth intensive and annoyingly slow, even on high speed connections.

    Maybe they're not used, but they should be.

    If you want your programs' icons to be rendered with new-in-1988 stippled lines rather than Cairo and your text rendered with blew-my-mind-in-1992 bitmapped fonts rather than OpenType, then yes toolkits could use the original X11 drawing conventions. However not many people actually want that.In any case, if you are happy with every toolkit implementing everything twice, why not be happy with one of those implementations being Wayland and the other being traditional-style X11?

    There's also the problem that X11 is far too 'chatty' a protocol. While network bandwidth available to a typical user has increased exponentially in the last twenty years, the latency has not reduced by nearly as much. This leaves a serious problem with all the excess round-trips that can't be fixed without making completely incompatible changes to the protocol.

  13. Re:Why? by markjhood2003 · · Score: 3, Interesting

    In the real world, the network transparency support features are not used, EVEN WHEN YOU ARE USING A REMOTE DISPLAY because it's easier and more effective to actually render on the remote machine and bang the interface, so that's exactly what every widget toolkit does.

    I have three headless Linux machines and the only display I have is on my laptop. My remote X11 clients run on these machines and present their UIs on my local X11 display server running on my laptop. While it is probably true that these clients are not transmitting XDrawLine and XFillArc protocol elements to render their UIs, they are still mostly assembling pre-rendered bitmaps, widgets, and font glyph assets to send down the wire for rendering on the local server. How is this going to work on Wayland?

    I keep reading that this will be supported through some backward-compatible protocol, but has anybody actually worked out the details of how existing X11 clients will migrate to this new protocol? My fear is that these clients will stop working with future versions of Linux and their replacements will not support network transparency.

    Wayland has a real use case for mobile devices, but why make the same mistake as Microsoft by gratuitously trying to unify mobile with desktop? On a desktop, the only advantage to Wayland is that it facilitates implementing a pretty compositing desktop. This is a fad that is already starting to fade from fashion.

  14. Re:Why? by JesseMcDonald · · Score: 5, Insightful

    My remote X11 clients run on these machines and present their UIs on my local X11 display server running on my laptop. While it is probably true that these clients are not transmitting XDrawLine and XFillArc protocol elements to render their UIs, they are still mostly assembling pre-rendered bitmaps, widgets, and font glyph assets to send down the wire for rendering on the local server. How is this going to work on Wayland?

    Actually, what the clients are doing right now is assembling bitmaps, widgets, and font glyph assets into a pixmap on the client side, most likely without the benefits of GPU acceleration, and sending the result as an uncompressed pixmap over the wire to the X server, which hands it off to a compositor, which combines the pixmap with images from other applications and hands the result back to the X server. If they're luck enough not to need any special transformations or compositing effects, the clients may be able to leave the rendering of the individual font glyphs to the server, but that's about it.

    With Wayland the clients are doing the same work to assemble the surfaces for their windows, but they get to use the local GPU to do it, and the result is compressed by a local off-screen Wayland proxy server using modern video codecs before being transmitted over the network for compositing.

    On a desktop, the only advantage to Wayland is that it facilitates implementing a pretty compositing desktop. This is a fad that is already starting to fade from fashion.

    Distracting toys like "wobbly windows" may be fading from fashion, but composited desktops are here to stay.

    --
    "The state is that great fiction by which everyone tries to live at the expense of everyone else." - Bastiat