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. 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. Qt 5.1 Release Candidate 1 Has Arrived
  2. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  3. Subversion 1.8 Presents New Features
  4. LLVM 3.3 Officially Released
  5. LLVM/Clang Now Uses Loop Vectorizer At New Levels
  6. Intel GPU Driver Tries To Rip Out FBDEV Support
  7. Coreboot Doing AMD USB 3.0, Q35 QEMU Emulation
  8. VP9 Codec Now Enabled By Default In Chrome
  9. openSUSE 13.1 M2 Plays On PulseAudio 4.0
  10. Debian 7.1 Rounds In Some Bug-Fixes
  11. Min / Max FPS Comes To Test Results
Latest Forum Talk
  1. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  2. Intel GPU Driver Tries To Rip Out FBDEV Support
  3. Vote for GOG to add Linux versions of games they...
  4. Mir Still Causing Concerns By Ubuntu Derivatives
  5. The Wayland Situation: Facts About X vs. Wayland
  6. LLVM 3.3 Officially Released
  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