Another Benefit To Wayland: Its Screensaver

Posted by Michael Larabel on April 05, 2011

When Mark Shuttleworth announced last year that Ubuntu will eventually deploy Wayland instead of an X.Org Server with their new Unity Desktop, there were many mixed reactions. There were many Phoronix enthusiasts excited since this means replacing ancient X11 code with a brand new code-base designed around modern graphics technologies that takes advantage of KMS, OpenGL, etc. Others, however, were less excited since Wayland is still a work-in-progress. While Wayland has come a long way in recent months, it's still not as full-featured as an X.Org Server, but the features coming are beginning to trump the current capabilities of the X stack.

While the code has yet to be written for many of the items, the design of Wayland is allowing for a number of features not supported or cleanly possible with X. Back in November I mentioned two of the features, which was GPU switching and better full-screen support. Since then it's also gained support for a nested compositor and in February I mentioned the multi-monitor plans for Wayland that are superior to what an X.Org Server can offer. There's also been talk of it on the network and various other features.

In related accomplishments in recent months, there's now the Wayland back-end to Clutter and greater GTK+ support for Wayland. GNOME, KDE, or any other desktop environment cannot yet run natively on Wayland (without just running a nested X Server within there for compatibility), but progress in this direction is being made.

The latest feature of Wayland to be talked about where Kristian Høgsberg, the founder of the Wayland Display Server project, has commented is in regards to Wayland's screensaver capabilities. Right now with screensavers under X it's basically capturing the input and continually redrawing over the display.

With Wayland, Kristian plans for the lock-screen to be part of the Wayland compositor. In having the compositor handle the screensaver role, it can ensure that no window can appear atop the screensaver surface, it can properly detect idling and grabs already, and has complete control over the screen. Unlike the X design, there wouldn't even need to be a screensaver "window" that's on top but the compositor could just keep painting a black screen. For those interested in a "fancy screensaver", a plug-in could be used or an out-of-process Wayland client for drawing whatever you desire.

He made these comments on the Wayland mailing list.

In terms of Ubuntu's adoption of Wayland, the last I talked to Mark about it was back in March at which point he believed Wayland would only be used in special cases for Ubuntu 11.10 or 12.04 LTS.

My belief is they won't pick it up seriously until at least Ubuntu 12.10 when it should be in better shape, past the next Long-Term Support release, and the Wayland clients are ready. By Ubuntu 11.10 though (this October) we will hopefully see the upstream components playing with Wayland in some form that this next-generation display server can be at least experimented with by enthusiasts.

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. DNF Still Advancing As Experimental Yum For Fedora
  2. Logitech Begins Supporting Linux Users
  3. Modern Intel Gallium3D Driver Still Being Toyed With
  4. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  5. GCC 4.8.1 Compiler Due To Be Out Next Week
  6. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
  7. Linux's "Ondemand" Governor Is No Longer Fit
  8. Firefox 22 Beta Enables WebRTC Support
  9. OpenSUSE 13.1 Milestone 1 Released
  10. DRM Graphics Driver Comes For Dove/Cubox
  11. JADE: An LLVM-Based Video Decoder For MPEG RVC
Latest Forum Talk
  1. DNF Still Advancing As Experimental Yum For Fedora
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. DRM Moves Ahead With HTML5 Specification
  4. Linux's "Ondemand" Governor Is No...
  5. New Linux Kernel Vulnerability Exploited
  6. KDE's Krita Ported To OpenGL 3.1, OpenGL ES 2.0
  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