The Linux Kernel Console Is Being Killed Off

Posted by Michael Larabel on February 08, 2013

David Herrmann has provided an update on his ambitious initiative to kill of the Linux kernel console. Herrmann has long been working on making the Linux kernel CONFIG_VT option unnecessary for providing a Linux console by punting it off to user-space. The Linux kernel VT console hasn't been changed much in the past two decades and Herrmann is hoping to see it replaced with a user-space solution he's been developing that would allow for multi-seat support, a hardware-accelerated console, full internalization, and other features.

CONFIG_VT has been part of the Linux kernel going back to the early 90's but hasn't really advanced much in that time. David Herrmann, a developer that got going on this new initiative as a student part of Google Summer of Code, wants a new solution that's built with multi-seat and multiple monitors in mind, incorporates Unicode font rendering, XKB-like keyboard handling, graphics hardware acceleration, VT220-VT510 compatibility, and other features.

Among his principal complaints about the current terminal is that it's a user-interface in kernel-space, the code is poorly maintained, handles keyboards badly, produces bad font rendering, misses out on mode-setting and multi-head support, contains no multi-seat awareness, and only has limited hot-plugging handling, limited to VT102 compliance.

David Herrmann simply isn't ranting and doing nothing to show for it, but he's already written KMSCON, the key component that's a DRM-based terminal emulator, FBLOG as a frame-buffer driver for kernel longs, has played around with Wayland Virtual Terminals, wrote a native terminal emulator for Wayland, developed a VESA BIOS DRM kernel driver, and even better documented the DRM library. He's also planning to write a UEFI DRM driver.

With his user-space terminal solution he's planning for Pango font rendering, using XCB, and even OpenGL support for acceleration. He does acknowledge that some people like the VT being kept in kernel space for an oops / panic screen and as an emergency console that always works, but he's making sure his new implementation won't be limited and as a result wrote the frame-buffer kernel log driver and is making other intelligent design decisions. KMSCON is also highly modular with its only hard dependencies being libxkbcommon, libudev, libpixman, and glibc. The DRM library (libdrm) is optional.

KMSCON is already available in Arch Linux as a package while his work is being looked at as a feature for Fedora 20 in late 2013. There's no active progress on the Debian/Ubuntu front for integration.

For those wishing to find out more details about KMSCON and his related projects for trying to disable CONFIG_VT for the Linux kernel, David Herrmann's FOSDEM 2013 video is embedded below (though the recording is mostly useful just for audio as the camera was knocked during the presentation; hopefully he'll be publishing his slides soon).


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. X3: Albion Prelude Released For Linux Gamers
  3. KDE's Krita Ported To OpenGL 3.1, OpenGL ES 2.0
  4. Firefox 22 Beta Enables WebRTC Support
  5. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  6. Logitech supports 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