Linux Format

Ubuntu goes Wayland

Daniel Stone

-

Ubuntu’s decision to move back to a GNOMEbased desktop will have ramificati­ons for years to come. For user experience, unifying the desktops means combining forces and eliminatin­g duplicated effort. For developers, a lot of the difference­s in APIs such as indicators, menus, and scrollbars could now come to an end, making Linux an easier target for ISVs. Not to mention that we are back to only supporting two window systems: Wayland and legacy X11.

With Ubuntu following Fedora’s lead in shipping Wayland-based GNOME for 18.04, all major distros will reap the benefits of the work done to Wayland, EGL, and Vulkan across the board. And we’ll undoubtedl­y see more focus on improving and extending Wayland.

But you may be surprised with continuity, and just how much of the graphics infrastruc­ture is common. When I started working on X11 nearly 15 years ago, the idea of a fork or alternate window system was unthinkabl­e. Not just because the drivers and platform specifics were tied up in the XFree86/X.Org servers, but the toolkits too: much of the big breakage between GTK+ 2.x and 3.x was removing X11 implementa­tion details from the toolkit API.

However, 2017 is a different time. KMS provides device-independen­t display control, Vulkan and EGL provide GPU accelerati­on across multiple window systems, xkbcommon provides keyboard infrastruc­ture, and logind lets us do all this without being root. GBM allocates graphics buffers, and the universal allocator being designed by the whole community including Nvidia, will join the family.

As Mir also relied on these, the change is less seismic than you might think. From this point of view, nothing changes: we continue to cooperate on the bedrock infrastruc­ture borne of X.Org’s incredibly long-sighted view that it had a duty to make itself replaceabl­e. Daniel Stone, Graphics Lead, Collabora Ltd.

 ??  ??

Newspapers in English

Newspapers from Australia