KDrive, Xnest, Xvfb Called For Removal From X.Org

Posted by Michael Larabel on March 27, 2012

X.Org developers are currently discussing the possibility to remove the KDrive, Xnest, and Xvfb technologies from the X.Org Server, citing that their functionality has been superseded by better alternatives and this could lead to trimming the xorg-server by over 30,000 lines of code.

On Monday there was a "pull to discuss" request by Jeremy Huddleston of Apple to remove KDrive (the former tiny X Server implementation), Xnest (allows for a nested X Server to run within an existing X.Org Server window), and Xvfb (running an X Server on a virtual frame-buffer) to be removed from the X.Org Server.

As said in Huddleston's mailing list message ([PULL to discuss] Remove kdrive, Xnest, and Xvfb), "These need to die. This removes 30K lines of code from xorg-server. It must be good! Most functionality of these servers can be provide by Xorg with either the nested or dummy video driver. If someone really misses functionality, we should fix that deficiency in hw/xfree86, xf86-video-dummy, or xf86-video-nested. Also, there's nothing stopping anyone from using older server versions if they still need these DDXs. Ok, you may now commence with the flinging of FUD."

The X.Org developers responding to this pull request to kill KDrive, Xnest, and Xvfb have been largely in support of this code death sentence. There's been some concern raised that some functionality from Xvfb to allocate a frame-buffer in a memory mapped file or a shared memory segment can't yet be done within the fbdev DDX driver and there are a few options from Xnest that can't yet be handled by xf86-video-nested, but anyone so inclined could port the functionality to the DDX driver -- assuming anyone still uses this functionality.

There's also a potential blocker that in removing these features and relying upon their DDX driver alternatives, non-root users cannot use them since Xorg only reads configuration files from system directories when run as a root user.

It's not guaranteed right now that KDrive, Xnest, and Xvfb will be killed off in the very near future, but it looks likely at this point. If it's done within the next few months it will be a change for X.Org Server 1.13, which is expected for release in early September. Other X.Org Server 1.13 expected changes include better X Wayland support, killing off XAA, potential X.Org GPU hot-plugging, a 250k+ line patch, and potential bits of RandR 1.4.

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. KDE's KWin Made Lots Of Progress In 4.11
  2. Ubuntu Announces Carrier Advisory Group
  3. Qt 5.1 Release Candidate 1 Has Arrived
  4. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  5. Subversion 1.8 Presents New Features
  6. LLVM 3.3 Officially Released
  7. LLVM/Clang Now Uses Loop Vectorizer At New Levels
  8. Intel GPU Driver Tries To Rip Out FBDEV Support
  9. Coreboot Doing AMD USB 3.0, Q35 QEMU Emulation
  10. VP9 Codec Now Enabled By Default In Chrome
  11. openSUSE 13.1 M2 Plays On PulseAudio 4.0
Latest Forum Talk
  1. Planetary Annihilation Plans To Come To Linux
  2. The Wayland Situation: Facts About X vs. Wayland
  3. Benchmarks Of NVIDIA's New Linux GPU Driver
  4. Intel GPU Driver Tries To Rip Out FBDEV Support
  5. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  6. Commodity Tips
  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