Wayland Work Towards State Machine For Display Control

Posted by Michael Larabel on February 24, 2012

Tiago Vignatti on Friday published initial code seeking comments regarding a state machine for display control on the Wayland Display Server.

While Wayland is nearing version 1.0, there's many items left to be addressed with this next-generation display server architecture. One of the big open items is handling of changing mode-setting and other display control settings, i.e. what RandR (the Resize and Rotate extension) is to X.Org. Tiago published some initial "RFC" code for Wayland that implements a state machine for display control.

What his state machine handles right now is backlight control and DPMS. DPMS, or Display Power Management Signalling, is what can allow the monitor to be shut-off after a period of inactivity. DPMS has been part of the VESA specification for nearly two decades.

His set of patches add about 200 lines of code to Wayland. In the end for the Wayland compositor it implements the state machine to allow moving from display on to display dim to display screensaver and then finally display off (DPMS). The state changes are based upon the time of user idleness. Right now this is being backed by just a single timer in Wayland.

Kristian Høgsberg, the founder of Wayland and fellow Intel engineer to Tiago, already responded that they've already been working on DPMS and backlight support for the Weston reference implementation, so they want to do that first. The approach they are doing with that implementation is slightly different from Vignatti's work.

For those interested in the Wayland state machine patch-set can be found on the project's mailing list.

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. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
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. Mageia 3 Released, Still Using Legacy GRUB
  2. NetBSD 6.1 Brings In More Features
  3. Using Six Monitors With AMD's Open-Source Linux Driver
  4. Benchmarking The Intel P-State, CPUfreq Changes
  5. FreeBSD Still Working On Next-Gen Package Manager
  6. DNF Still Advancing As Experimental Yum For Fedora
  7. Logitech Begins Supporting Linux Users
  8. Modern Intel Gallium3D Driver Still Being Toyed With
  9. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  10. GCC 4.8.1 Compiler Due To Be Out Next Week
  11. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
Latest Forum Talk
  1. Logitech Begins Supporting Linux Users
  2. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  3. Mageia 3 Released, Still Using Legacy GRUB
  4. OpenSUSE Considers Replacing LXDE With E17
  5. Using Six Monitors With AMD's Open-Source Linux...
  6. Sumo Lounge Emperor
  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