XWayland Updated Against X.Org Server 1.12

Posted by Michael Larabel on March 27, 2012

Kristian Høgsberg has pushed updated patches this morning for XWayland in the X.Org Server that re-base this work to the X.Org Server 1.12 series. He's also updated the XWayland support for the xf86-video-intel graphics driver. XWayland is the effort for allowing an X.Org Server to run as a Wayland client.

XWayland has been around since last June when before that it was known as X.Org "Hosted" as an abstracted means of running a xorg-server within another system. XWayland support hasn't been merged into the mainline "xserver" tree, but Kristian has updated against the current X.Org Server 1.12 series code-base.

This new work was all pushed this morning and can be found in his new xwayland-1.12 branch of his personal X.Org Server Git repository. The XWayland/hosted work amounts to a few thousand lines of code changes.

Kristian's also pushed an xwayland-1.12 branch of the xf86-video-intel driver for the XWayland support. The Intel DDX changes required for handling XWayland amount to just over 100 lines of code. For graphics hardware without an updated DDX driver to support XWayland, there's still available the xf86-video-wlshm DDX driver to serve as a "fake" X.Org graphics driver.

As far as Wayland support with X goes, back at FOSDEM 2012 it was discussed. Below are my comments from that event last month concerning X/Wayland.
Keith then took off his release management hat and began talking about X.Org and Wayland integration. The plans, which aren't new, is to allow for full integration between X and Wayland applications. There will be support for seamless multi-window mode, and full performance of X exposed through Wayland. X.Org-dependent applications will be able to run within a Wayland Display Server just as XQuartz does similarly for X applications on Mac OS X.

Keith expects that there will be no performance penalty of running X applications on Wayland versus running them as you have already for decades on bare metal. In fact, he says it's one of his goals to see there aren't any performance drops, but the performance of X applications on Wayland may actually yield a performance boost. The performance boost would come as a result of handling swap requests with Wayland being much simpler.

Among the X/Wayland items still to be solved is how to synchronize keyboard mapping changes, the acceleration architecture for X on Wayland, and how to handle RandR-like display configuration changes. In terms of the acceleration architecture discussion it came down to how to best accelerate X apps on Wayland and whether some DDX driver code from the various hardware drivers should be pulled out or what would be the best approach.

As far as what works now for X on Wayland is that basic X apps should be working, a primitive window manager, cut/paste, and drag-and-drop works. Keith acknowledges lots of people are excited about switching to Wayland.

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. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. NVIDIA Brings Their Linux Driver To ARM
  2. D Language Still Showing Promise, Advancements
  3. Planetary Annihilation Released For Linux Gamers
  4. Gentoo Starts Work On KDE-Wayland Support
  5. NVIDIA To License Its Kepler GPU Technology
  6. KDE's KWin Made Lots Of Progress In 4.11
  7. Ubuntu Announces Carrier Advisory Group
  8. Qt 5.1 Release Candidate 1 Has Arrived
  9. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  10. Subversion 1.8 Presents New Features
  11. LLVM 3.3 Officially Released
Latest Forum Talk
  1. NVIDIA To License Its Kepler GPU Technology
  2. NVIDIA Brings Their Linux Driver To ARM
  3. Intel GPU Driver Tries To Rip Out FBDEV Support
  4. D Language Still Showing Promise, Advancements
  5. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  6. Planetary Annihilation Plans To Come To Linux
  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