Proposal For Wayland With Virtual Terminals

Posted by Michael Larabel on July 05, 2012

The developer responsible for KMSCON and FBLOG is seeking comments on a proposed design for virtual terminals and multiple seats that relies upon Wayland as a system-wide compositor.

David Herrmann, the developer responsible for this work, has for months been on a quest to kill CONFIG_VT for virtual terminals from the Linux kernel. Having written KMSCON, a DRM-based terminal emulator, he's planning to write some user-space VT logic similar to what's in the kernel. He wants to support multiple virtual terminals for each seat. At present, systemd doesn't differentiate or allow assigning different VTs to different seats nor is there a way of making the kernel VTs multi-seat capable.

With Herrmann communicating with Lennart, they came up with some ideas, including the use of Wayland as a system-wide compositor for handling all video input. One of his ideas is having a global deaemon on a DBus like system to register/deregister clients and clients can request changing the currently active VT. This design would be similar to what's currently done by the Linux kernel. There's also a more limited option of just having common Dbus names for each seat and when a VT claims the particular name any other client requesting access will be placed in a waiting queue. It would also be possible to extend the Linux kernel VT API to be seat-capable, but David beleives already this is the worst idea.

Lastly, David Herrmann is also looking for Wayland to help here. He is exploring the idea of using Wayland as a central VT-master that runs a central compositor on each seat that acquires the video and input devices for each seat. The compositor would run all clients in full-screen mode and the VT application would then run on top of Wayland. It's not guaranteed they will end up going with this approach as it's the most complex and there's some other engineering hurdles to overcome, but it's what currently is being discussed.

For those wanting more information or to jump in on the discussion, see the Wayland development 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. NetBSD 6.1 Brings In More Features
  2. FreeBSD Still Working On Next-Gen Package Manager
  3. Benchmarking The Intel P-State, CPUfreq Changes
  4. Mageia 3 Released, Still Using Legacy GRUB
  5. Radeon HDMI Linux Audio Might Be Restored Soon
  6. Using Six Monitors With AMD's Open-Source 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