Ubuntu embraces Unity and Wayland. Or, GNU/Linux is exciting again

Ubuntu embraces Unity and Wayland. Or, GNU/Linux is exciting again


After installing Ubuntu 10.10, I had a strange feeling I was seeing something that was already old. Yes, Ubuntu is a fantastic desktop system, and yes it's better than Windows. But today, in 2010, that's almost a given. And that's not enough. The IT world is changing, and PCs themselves as a whole are getting old. The mass is moving towards tablets, mobiles machines, and netbooks. Ubuntu, the way it is today, might be the best choice in a dinosaur world. I can't read Mark Shuttleworth's mind, but I can only guess this is exactly what he felt when he decided to switch to Unity (for the UI) and Wayland (for the graphics architecture). Let me explain what all of this means.

Unity and Wayland

When Ubuntu seemed to have reached a placid stability (which is not a good thing, if you ask me, when applied to software), Mark Shuttleworth came out with two incredible steps: the first one, was to switch to Unity. The second one was to abandon xorg and move to Wayland.

The switch to Unity is major. In fact, I would go as far as saying that it's the bravest thing a GNU/Linux distribution has ever done. Basically, with Unity you throw away the desktop analogy with your computer, and you embrace the "computer as a tool" analogy. The general feel you get is the same you have when you use your Android device, or your iPhone. A video is worth a million words: see The unity ad to get a better idea. I finally see Unity as something that anybody can use, which includes my grandfather. This move is going to be immensely controversial, but I think it will win in the long run.

Switching away from X (and xorg) and onto Wayland to manage video output is also an incredibly big step, which is probably going to be as controversial as the switch to Unity. Right now, when you see your graphical interface, you are actually running a server on your computer. Anybody with the right permissions can run a program in Africa, and display their output on your screen in Australia. In simple words, in order to display anything, programs "connect" to a X server and tell it what to draw, where, and how. 99.9% of the time, the program runs locally, and it connects to a local X server (xorg) which then draw things onto the local monitor (so much for Africa and Australia!). There are two problems with this: 1) There is a marked overhead for a feature, remote displaying, that is very rarely used 2) More advanced programs, like the ones that use 3D, will often have glitches with colours, effects, etc. Wayland is a software layer that sits right on top of the graphic card. An X server can then be run on top of it (unlike what happens today, where xorg also contains video drivers). With such a configuration, you will have some programs that display their output by talking directly to Wayland, and some other programs that will display their output connecting to the X server (which will then use Wayland to display things onto the local monitor). The whole idea of abandoning the X architecture is a scary thought for any Unix user. The main issue is that you miss out on "network transparency" -- with X, you can have a server without a monitor, and 30 clients displaying (thanks to their X servers) the output of the programs running on the server. Or, as I said, you could be in Australia and use a program that is running in Africa. But, I have to say that in my 15 years of using Unix, I only needed network transparency probably four times -- and I could have lived without it. However, big Edubuntu deployments are based on X's network transparency. If Wayland becomes very strong, and programs in 5, 10 years start talking to Wayland instead of X to draw their stuff, then the magic behind Edubuntu will become impossible. But, this is a big "if" -- programs are more likely to have the option to either display things by talking to X, or by using Wayland.

The reasons behind the switch

The switch to Unity came from the acknowledgement that the way people experience computing has changed. It is not "changing"... it has changed. Millions of people are getting more and more accustomed to using their Apple and Android tablets, and their phones. Computers are no longer boxes with programs, but tools to communicate. In an enlightening interview with Arstechnica, Mark explained why they switched to Unity. The reasons, in short, are:

  • Dissatisfaction with GNOME's Mutter window manager (in terms of performance)
  • Rejection of Zeitgeist by GNOME. from Wikipedia: "Zeitgeist is a service which logs the users's activities and events, anywhere from files opened to websites visited and conversations. It makes this information readily available for other applications to use in form of timelines and statistics. It is able to establish relationships between items based on similarity and usage patterns by applying data association algorithms such as "Winepi" and "A Priori". Zeitgeist was a high priority for Ubuntu, but the GNOME project rejected it for GNOME 3.0
  • Differences in what the Ubuntu team thought the UI should look like, for example by GNOME's rejection of the global menubar.

Basically, Mark wants Ubuntu to have smooth and spotless effects; have applications that are aware of what the user is doing, and (more importantly) what he or she often does; have an innovative and simple UI that breaks away from the normal "desktop computing" interface.

The switch from X to Wayland is explained in Mark's blog entry about Wayland:

But we don’t believe X is setup to deliver the user experience we want, with super-smooth graphics and effects. I understand that it’s possible to get amazing results with X, but it’s extremely hard, and isn’t going to get easier. Some of the core goals of X make it harder to achieve these user experiences on X than on native GL, we’re choosing to prioritize the quality of experience over those original values, like network transparency.

The future

The future is interesting. Before seeing Ubuntu's moves, I honestly thought that Ubuntu, along with the whole desktop computing world, was heading for extinction. This saddened me, but I thought that the steps needed to "save" Ubuntu would have been way too daring for anybody to make. I was wrong. It looks like in the future, as far as Linux is concerned, we might have Android tablets, along with Ubuntu ones. They will have different markets: the Ubuntu ones will target all those people who are moving away from desktop computing, but aren't willing to lose all of their existing GNU/Linux programs by moving to Android. One thing is certain: GNU/Linux is exciting again.

Category: 

Comments

DYanev's picture
Submitted by DYanev on

I don't believe X will somehow become defunct and die because of Wayland. X.org improved upon XFree86, but as a natural evolution then a competitor. And many OSS Projects and forks have proven in my mind the benefits of competition. A disturbed X.org will improve it in the long run IMHO.

Gary Richmond's picture

Tony,

I don't think that the switch to Wayland will be as controversial as the decision to go with the Unity desktop instead of Gnome 3.

The case for Wayland is technical and it's not exactly unique. Who speaks now of X86? Technology evolves. However, the real problems will arise with Unity.

I'm not so sure that the desktop paradigm is dead in the water. Yes, it's true that people are increasingly using mobile phones and tablets to access the web but I'm not entirely convinced that if they still also use laptops too, they will want to replicate the GUI of smaller mobile devices. Eye candy is always fun of course but the more of it we use the more it obscures the underlying nature of file systems.

When Unity comes out it will be the Ubuntu default but this is GNU/Linux and it will still be possible to boot into a different desktop environment. We do this already. At boot time I have a choice of desktops to run: Gnome, KDE, Lubuntu and LXDE. I could add more. Hopefully Unity will be just another option.

Futurology is an uncertain business but I can predict one thing. Sooner or later people are going to fork the project and Gnome Shell 3 will be available.

It's clear that Shuttleworth's decision to go with Unity has been, as your article understands, a "commercial" one with an eye on the mobile/tablet market and Android. Fair enough but as he himself said, Debian is the rock on which Ubuntu has been built and that means that those users and developers who are happy with existing desktops can go their own way. It's happened with X86 and OpenOffice, get_iplayer and Songbird, to mention a few.

Things are about to get very interesting.

jonsmirl's picture
Submitted by jonsmirl on

Network transparency is changing. The web is a giant network transparent app. HTML5 allow much better UIs to be built.

Maybe the question should be, why are you using gtk/qt instead of HTML5 to build your GUI?

IvarTJ's picture
Submitted by IvarTJ on

Switching from X.org to Wayland is hardly the same as switching from XFree86 to X.org. Both X.org and XFree86 are implementations of the X Window System, while Wayland introduces an entirely new window system that almost every graphical applications ought to be rewritten for.

Several projects have attempted to replace the X Window System, but failed in part because the proprietary Netscape browser for GNU/Linux wouldn’t migrate. Proprietary graphical applications may be an issue for Wayland as well.

It would be possible to run a rootless X server as a Wayland client, allowing applications written for X be used inside a Wayland display. This owes in part to the fact that X is designed to be highly versatile, which arguably is one of the causes for its longevity.

IvarTJ's picture
Submitted by IvarTJ on

I wish to correct myself. Because the GTK+ and Qt toolkits are being ported to Wayland a simple recompile of many graphical programs will suffice.

Author information

Tony Mobily's picture

Biography

Tony is the founder and the Editor In Chief of Free Software Magazine

Most forwarded

Interview with Dave Mohyla, of DTIDATA

Dave Mohyla is the president and founder of dtidata.com, a hard drive recovery facility based in Tampa, Florida.

TM: Where are you based? What does your company do?
DTI Data recovery is based in South Pasadena, Florida which is a suburb of Tampa. We have been here for over 10 years. We operate a bio-metrically secured class 100 clean room where we perform hard drive recovery on all types of hard disks, from laptop hard drives to multi drive RAID systems.

Anybody up to writing good directory software?

Since the very beginning, directories (of any kind) have had a very central role in the internet. (I have recently grown fond of Free Web Directory. Even Slashdot can be considered a directory: a collection of great news and invaluable user-generated comments. As far as software is concerned, doing a quick search on Google about software directories will return the free (as in freedom) software directories like Savannah, SourceForge, Freshmeat and so on, followed by shareware and freeware sites such as FileBuzz, PCWin Download Center and All Freeware (great if you're looking for shareware and freeware, but definitely less comprehensive than their free-as-in-freedom counterparts).

Interview with Mark Shuttleworth

Mark Shuttleworth is the founder of Thawte, the first Certification Authority to sell public SSL certificates. After selling Thawte to Verisign, Mark moved on to training as an astronaut in Russia and visiting space. Once he got back he founded Ubuntu, the leading GNU/Linux distribution. He agreed on releasing a quick interview to Free Software Magazine.

Is better education the key to finding better software?

I read David Jonathon's article Anybody Up To Writing Good Directory Software? the other day, which got me thinking about software directories in general. As David mentioned, many of the software directories one finds when doing a quick google search are free as in beer, not as in freedom. But what interests me is the software directories that already exist, providing a combination of both free as in beer software, and open source software. Sites such as Freeware Downloads and Shareware Download don't advertise themselves as providing free as in liberty software, but each of them have a good selection of open source software available... if you know where to look.

Most emailed

Free Open Document label templates

If you’ve ever spent hours at work doing mailings, cursed your printer for printing outside the lines on your labels, or moaned “There has got to be a better way to do this,” here’s the solution you’ve been looking for. Working smarter, not harder! Worldlabel.com, a manufacture of labels offers Open Office / Libre Office labels templates for downloading in ODF format which will save you time, effort, and (if you want) make really cool-looking labels

Creating a user-centric site in Drupal

A little while ago, while talking in the #drupal mailing list, I showed my latest creation to one of the core developers there. His reaction was "Wow, I am always surprised what people use Drupal for". His surprise is somehow justified: I did create a site for a bunch of entertainers in Perth, a company set to use Drupal to take over the world with Entertainers.Biz.

Update: since writing this article, I have updated the system so that the whole booking process happens online. I will update the article accordingly!

So, why, why do people and companies develop free software?

More and more people are discovering free software. Many people only do so after weeks, or even months, of using it. I wonder, for example, how many Firefox users actually know how free Firefox really is—many of them realise that you can get it for free, but find it hard to believe that anybody can modify it and even redistribute it legally.

When the discovery is made, the first instinct is to ask: why do they do it? Programming is hard work. Even though most (if not all) programmers are driven by their higher-than-normal IQs and their amazing passion for solving problems, it’s still hard to understand why so many of them would donate so much of their time to creating something that they can’t really show off to anybody but their colleagues or geek friends.

Sure, anybody can buy laptops, and just program. No need to get a full-on lab or spend thousands of dollars in equipment. But... is that the full story?

Fun articles

Santa Claus - the most successful open source project

It dawned on me the other day, as I was shopping for the dozens of gifts it seems I have to buy every December, that Santa Claus is the most successful open source project in history. (Bridget @ Illiterarty would agree with that). Santa Claus is essentially a marketing development that is embodied by everyone who stuffs a sock, gives a gift, hosts a dinner or wishes Merry Christmas over the holiday season.

Most emailed

Editorial

When I first started thinking about Free Software Magazine, I was feeling enthusiastic about the dream. I had Dave, Gianluca, and Alan willing to help me, I had established members of the free software community willing to help me out, I had writers volunteering their time and energy for free, and I had a generous offer from OpenHosting for servers, all before I'd proved myself. There was a sense of excitement in the air, and I thought maybe, just maybe, I could make this work.

Free Software Magazine uses Apollo project management software and CRM for its everyday activities!