1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

It's Becoming Very Easy To Run Wayland

Michael Larabel

Published on 25 November 2010
Written by Michael Larabel
Page 1 of 1 - 14 Comments

When Wayland started out in 2008 it was very difficult to build and run this lightweight, next-generation display server. Wayland leverages the very latest Linux graphics technologies and at that time all of Wayland's dependencies had to be patched or built from branched sources and Wayland even had its own EGL implementation at the time (Eagle) rather than Mesa and overall it was just a high barrier to entry. Wayland at that time also worked with only the open-source Intel driver, while now it can work with most any KMS / GEM / Mesa driver. It was not until recently that it became possible to build Wayland from mainline components beginning to ship in new Linux distributions, thereby making it much easier to experiment with the open-source display server. Now it's to a point where you can just run a simple script and be up and running with a Wayland Display Server in just minutes.

The past few weeks have been very exciting for the Wayland project since it was announced Ubuntu would adopt the Wayland Display Server, eventually. There's been a flow of patches coming in from new developers, many new users trying it out (even John Carmack is interested in Wayland), discussions about new features, and new capabilities have come about (such as the ability to run it off a Linux frame-buffer). There is also now a Launchpad PPA (Personal Package Archive) containing Wayland packages for testing and a user has constructed a Wayland build script.

This build script installs the needed Ubuntu 10.10 packages dependencies, builds the latest libdrm and Mesa code from Git, builds the Git versions of xproto / kbproto / X11 macros / libX11 / libxkbcommon from Git, pulls in the latest Cairo Git code, and last but not least then builds Wayland from Git source. Following that, it then launches the Wayland compositor within the existing X.Org Server and proceeds to launch a few of the Wayland demo clients.

This script is also designed to work with the Nouveau driver when the DRI support is enabled on Ubuntu Maverick. We tested out this script, which can be found on the Wayland mailing list on a clean Ubuntu 10.10 install. After the clean Maverick Meerkat installation, we just had to install the libgl1-mesa-dri-experimental package and then modify the wayland_build.sh script to use apt-get rather than aptitude since it is no longer installed by default on Ubuntu. A few minutes later, Wayland was running locally on the system without messing up any system-wide packages.

Above is a video of Wayland running within X on Ubuntu 10.10 that we recorded with the latest Git code as of 22 November. This was done on a Lenovo ThinkPad T61 notebook with a NVIDIA Quadro NVS 140M graphics processor controlled by the Nouveau open-source driver. Once the Wayland compositor was running, the demo clients (flower, gears, smoke, and terminal) were launched. The script made it very easy to get Wayland running under Linux and this was our first time running Wayland with the Nouveau driver, which worked out quite well.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. Intel Xeon E5-1680 v3 & E5-2687W v3 Compared To The Core i7 5960X On Linux
  2. Intel 120GB 530 Series SSD Linux Performance
  3. Btrfs/EXT4/XFS/F2FS RAID 0/1/5/6/10 Linux Benchmarks On Four SSDs
  4. AMD's Windows Catalyst Driver Remains Largely Faster Than Linux Drivers
Latest Linux Articles
  1. NVIDIA vs. Nouveau Drivers With Linux 3.18 + Mesa 10.4-devel
  2. Is The Open-Source NVIDIA Driver Fast Enough For Steam On Linux Gaming?
  3. Linux 3.18 File-System Performance Minimally Changed But Possible Regressions
  4. AMD Radeon Gallium3D Is Catching Up & Sometimes Beating Catalyst On Linux
Latest Linux News
  1. Linux 3.18-rc6 Released, A Worrisome Regression Remains
  2. HandBrake 0.10 Brings H.265 & VP8 Encoders
  3. Gngr: A New Web Browser Focused On Privacy
  4. Linux 3.18 Kernel: Not Much Change With Intel Haswell Performance
  5. More File-System Tests Of The Linux 3.18 Kernel
  6. Using NVIDIA's NVENC On Linux With FFmpeg
  7. There's Talk Again About An "Open To The Core" Ubuntu Laptop
  8. PowerVR SGX Driver Code Gets Leaked
  9. V2 Of KDBUS Published For Linux Kernel Review
  10. VirtualBox 4.3.20 Arrives, Still No Sign Of VirtualBox 4.4
Latest Forum Discussions
  1. PulseAudio 6.0 Is Coming & Other Linux Audio Plans For The Future
  2. Debian Developer Resigns From The Systemd Maintainership Team
  3. Roadmap to Catalyst 14.10 ?
  4. Updated and Optimized Ubuntu Free Graphics Drivers
  5. Cant get working Kaveri APU - A10-7850k
  6. Script for Fan Speed Control
  7. Debian Init System Coupling Vote Results
  8. The Slides Announcing The New "AMDGPU" Kernel Driver