Canonical Makes Rare X.Org/Wayland Contribution

Posted by Michael Larabel on May 23, 2012

While Canonical is known -- and commonly criticized -- for not investing in making heavy, low-level upstream Linux contributions, today a set of patches intended for upstream were published by a Canonical engineer concerning XWayland support.

The patches that surfaced today were from Christopher James Halse Rogers, one of the X.Org package maintainers for Ubuntu at Canonical. One of the patches is just for the X.Org Server to just load xwayland module automatically if the Wayland support is requested a second commit just changes around the init process to better handle the DRM driver, and then the patch work that's worth mentioning is the XWayland support for the Nouveau driver. The set of patches begin here on the Wayland project's development mailing list.

Introducing XWayland support to the xf86-video-nouveau DDX driver amounts to just under 200 lines of code. This patch is mainly just for testing purposes, but the Canonical employee suggests that it's fine to merge to master. "This is mostly just for testing, although it should be safe to apply to nouveau trunk." The patch is just small changes to the open-source NVIDIA driver so it can work with XWayland.

XWayland is for running X.Org as a Wayland client such that X11 applications can then run on top of Wayland should they not have native support. There's small changes needed to the DDX drivers for running in this "hosted" model atop Wayland, which up to this point there's been the xf86-video-intel support.

Aside from Canonical not being a huge upstream contributor to the Linux kernel, they're also not particularly known for their X.Org / Mesa / Wayland upstream contributions as it concerns new features and other big-ticket items. Seeing the XWayland support for Nouveau is nice even though it's not the largest contribution possible; from last month you can see the top contributors to Wayland.

To date, the only contributions to Wayland/Weston from Canonical (at least in an official capacity with Canonical.com; the Git data) were a few minor patches from Bryce Harrington in 2010 to just fix a few small Wayland problems. These previous patches for their combined upstream Wayland code contribution amounted to 15 lines of new code, 17 lines removed.

This Nouveau XWayland support comes as Canonical begins work on developing Ubuntu 12.10. For this next Ubuntu Linux release they have very ambitious Wayland plans as a system compositor, which would require good XWayland support, but already their initial plans have drawn some concerns from other developers.

Let's hope that this is just the beginning of more Wayland contributions by Canonical developers.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  2. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  3. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
  4. AMD Radeon Gallium3D More Competitive With Catalyst On Linux
Latest Software Articles
  1. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  2. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  3. F2FS File-System Shows Regressions On Linux 3.10
  4. Previewing The Radeon Gallium3D Shader Optimizations
Latest Linux News
  1. Modern Intel Gallium3D Driver Still Being Toyed With
  2. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  3. GCC 4.8.1 Compiler Due To Be Out Next Week
  4. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
  5. Linux's "Ondemand" Governor Is No Longer Fit
  6. Firefox 22 Beta Enables WebRTC Support
  7. OpenSUSE 13.1 Milestone 1 Released
  8. DRM Graphics Driver Comes For Dove/Cubox
  9. JADE: An LLVM-Based Video Decoder For MPEG RVC
  10. Ubuntu 13.10 Likely Switching To Chromium Browser
  11. Unity 7, Compiz To Be Polished For Ubuntu 13.10
Latest Forum Talk
  1. Modern Intel Gallium3D Driver Still Being Toyed...
  2. Linux's "Ondemand" Governor Is No...
  3. Ubuntu 13.10 Likely Switching To Chromium Browser
  4. KDE's Krita Ported To OpenGL 3.1, OpenGL ES 2.0
  5. Ubuntu Looks Towards MySQL Alternatives
  6. Firefox 22 Beta Enables WebRTC Support
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite