Recently, many people have expressed concern over Ubuntu's desire to migrate from the X Window System to the Mir display server, which the Ubuntu team will manage themselves. The bulk of the concern seems to be confusion over why Ubuntu developers wouldn't use Wayland instead.
In this article, I'll explore the official reasoning for the decision, while also exploring some additional considerations that most people aren't talking about.
Mobile Is Ubuntu's Focus.
Hate it or love it, Ubuntu has a clear vision regarding their switch to Mir for a display server. And it's fairly clear that many people who have expressed frustration over Ubuntu's desire to switch to Mir haven't bothered to read through the official MirSpec page. It's on this page that the Ubuntu team explains why they're going with their own solution and not with an alternative like Wayland. Remember, despite Ubuntu's gift of a great desktop environment, their growth focus will be on the mobile/tablet front. In the eyes of the Ubuntu developers, ignoring mobile isn't an option any longer.
I don't think that anyone can argue that sticking with X is a valid option these days. With Ubuntu's push into the mobile and desktop environments, X isn't very attractive any longer. It uses thirty-year-old code that has seen a lot of patchwork along the way. It's served us well, but I am ready to look to alternatives.
The Community Isn't Happy.
Being immersed within the Linux community both in work and in play, I've noticed that many in the community are concerned about what might happen to Wayland if Ubuntu—and potentially others—make Mir their exclusive focus. I think this is a frighteningly limited and backwards mindset. Why in the world would we be rooting for the underdog, when it may not necessarily be the best option available?
I honestly don't care who comes up with the next X server replacement so long as it meets these criteria:
- It's open source in nature. This means that if another project wants to tweak it or build onto the next-gen display server, they can without any hassles.
- The desktop remains a primary focus for the next-gen display server. As things stand now, Wayland is being designed with the desktop Linux distro in mind. Mir on the other hand, is trying to be the universal solution for mobile, desktop and tablet development. And if they drop the desktop, I'm sure that other projects will step up to take its place.
Wayland vs. Mir
Some people within the Linux community have made this rivalry among display servers into a sort of angry "zero-sum game." But I don't see any losers coming out of the match-up competition between Wayland and Mir. If Mir ends up becoming the go-to display server for Ubuntu and eventually other distros, then Wayland has a choice—step up their game and catch up, or give up.
I should note that this is all hypothetical at this point, but it does give us something to consider. While Wayland exists and is likely to begin appearing in new distributions any time now, its development isn't moving fast enough.
Now, here's where things really become interesting. Wayland has been in development since 2008. And, to be honest, it's still trying to iron out basic functionality such as minimizing and maximizing windows. Mir, on the other hand, was announced in 2013 and is already showing up in rough pre-release video through XMir, since the Unity desktop is waiting to be re-written for Mir specifically. Now step back for a second and really think about this. Wayland has had years to get its code together so it can actually replace X. Mir, which is brand new, looks to be closing in on Wayland and doing so in vastly less time overall. Yet, we're still cheering Wayland as our savior to X server? Give me a break!
At this point, I think two things are going to happen. The first is that Mir will beat Wayland to the desktop in a truly usable state. Despite Wayland having 1.x already available, it's hardly usable. The second point is that it's entirely possible that Wayland could overtake Mir in the long run for desktop users. And to be honest, I'd love to see Wayland do this. After all, both projects hold tremendous promise, and both projects will free us from X!