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. AMD Radeon R9 290: Gallium3D vs. Catalyst Drivers
  2. AMD Radeon R9 290 Open-Source Driver Works, But Has A Ways To Go
  3. Trying The Configurable 45 Watt TDP With AMD's A10-7800 / A6-7400K
  4. Sumo's Omni Gets Reloaded
Latest Linux Articles
  1. Preview: OS X 10.10 Yosemite vs. Ubuntu Linux GPU Performance
  2. Radeon Graphics Yield Mixed Results With Linux 3.17 Kernel
  3. AMD's RadeonSI Driver Sped Up A Lot This Summer
  4. Intel's Latest Linux Graphics Code Competes Against OS X 10.9
Latest Linux News
  1. Google Chrome 37 Brings Many Security Fixes
  2. MenuetOS Updated With SMP Threads & Onscreen Keyboard
  3. Mesa Has A New Release Manager
  4. Enlightenment E19 Lands Its New Wayland Compositor Code
  5. Nouveau Turns Into A Mess In Latest Linux 3.17 + Mesa 10.3-dev Tests
  6. New GCC 5.0 Changes, Command-Line Options That Landed So Far
  7. SteamOS Update 133 Has Better Intel Performance, VA-API
  8. DRM Graphics Changes For Linux 3.18 Might End Up Being Smaller
  9. Ioquake3 Works On Finally Switching Over To SDL2
  10. Linux 3.17-rc2 Release Celebrates 23 Years Of Linux
Latest Forum Discussions
  1. Updated and Optimized Ubuntu Free Graphics Drivers
  2. AMD Releases UVD Video Decode Support For R600 GPUs
  3. Announcing radeontop, a tool for viewing the GPU usage
  4. Users defect to Linux as OpenBSD removes Lynx from base system
  5. Chinese People Try To Patent Wine On ARM
  6. American Citizens running AMOK for food stamps
  7. "The World's Most Highly-Assured OS" Kernel Open-Sourced
  8. What Linux Distribution Should Be Benchmarked The Most?