New, Generic X.Org KMS Driver Work

Posted by Michael Larabel on September 30, 2011

David Airlie has announced new work on the xf86-video-modesetting driver, which aims to be a generic X.Org (DDX) driver that will take advantage of the generic parts of the Linux KMS (kernel mode-setting) APIs so that any GPU should be supported.

While most hardware with kernel mode-setting support already has a matching X.Org driver that is KMS compliant or even still provides user-space mode-setting, this driver would be a simple, un-accelerated fall-back driver. It's similar to the VESA driver, but uses Linux KMS.

The features of the xf86-video-modesetting "restart" driver branch include ARGB cursor support, RandR 1.2 support, and dirty tracking ioctl support. What's changed from the original -modesetting work is that it drops all DRI2/EXA knowledge, uses the kernel dumb interface directly for buffer object creation and mapping, the mode-setting logic is derived from the Radeon driver, and probing is based upon the fbdev driver.

You can see David's email to dri-devel about this recent driver work.

While this driver is meant to be universal for hardware that has proper KMS support, there isn't any hardware acceleration. If you're looking for a universal X.Org driver with acceleration, and don't want to use the driver specifically targeted for your hardware, there is the Xorg state tracker (and now the XA state tracker too) for Gallium3D that relies upon KMS and then offers shader-based EXA/X-Video acceleration. There's also the recently announced Glamor work, which does have a generic driver for KMS environments while depending upon Mesa/EGL.

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. The Cost Of Ubuntu Disk Encryption
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. F2FS File-System Shows Regressions On Linux 3.10
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. The Cost Of Ubuntu Disk Encryption
  2. Logitech Begins Supporting Linux Users
  3. Mageia 3 Released, Still Using Legacy GRUB
  4. Logitech supports linux!
  5. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  6. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  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