Wayland

Revision 3 as of 2010-11-05 21:06:30

Clear message

Wayland and Ubuntu

What is the official word on Ubuntu moving to Wayland?

See Mark Shuttleworth's blog post, Unity on Wayland.

When will Wayland become the default on Ubuntu?

This has not been decided. This decision will be made at a future Ubuntu Developer Summit (UDS).

It's possible we'll roll it out for some limited scope initially, since it may take time before it's adequately supported across a broad enough range of hardware.

Are Wayland package available in the Ubuntu archive?

No, not at this time.

Will video drivers need to be rewritten for Wayland?

No. Most drivers have been undergoing rewrites in recent years to support KMS, GEM, and other modern graphics technologies which move more of the graphical functionality into the Linux kernel. Wayland leverages (and requires) these technologies; indeed the whole reason Wayland can exist is because of these changes. But those changes were underway for X in general. In the future Wayland and X will both be using the same graphics drivers.

What about the video drivers still in X?

-ati, -nouveau, and -intel drivers include both kernel drivers and an X driver. Wayland only needs the kernel drivers. That's where most of the real functionality is, such as modesetting, memory management, and graphics rendering. The remaining bits on the X side of things is used just to interface with the X server and aren't needed by Wayland.

What about network transparency?

The X11 protocol was designed around running graphical apps across the network. While some people use this feature, it's far from common. Wayland drops this requirement as a way to greatly simplify its architecture.

There are other ways to share graphical sessions and applications across a network. Wayland also permits running an X11 server inside itself, so you also always have the option of just running X.

Will toolkits (Qt, Gtk, etc.) need to be ported to work on Wayland?

Yes. This is an area of heavy development currently. The toolkits must be ported as one of the pre-requisites to getting existing applications running on Wayland.

Will window managers need to be rewritten for Wayland?

Yes. Canonical is investing in making Unity work on Wayland. It is expected that other window managers will be written for Wayland, and perhaps existing WMs will be ported to it in time, as well.

Will applications need to be rewritten or modified to work on Wayland?

Yes, due to the technical design differences of Wayland compared with X11, changes need to be made to client applications. In some cases, a simple recompilation using Wayland-enabled Gtk/Qt will be enough; in other cases minor changes are needed; in a few cases where extensive X11 functionality is used directly in the app, it will necessitate more extensive porting work.