With KMS, Now Run Two X Servers Off One GPU

Posted by Michael Larabel on March 17, 2010

Over the past several weeks there have been a number of new Linux graphics features introduced by David Airlie, a Red Hat employee and long-time X.Org contributer. Last month David began on a project rampage by bringing hybrid graphics to Linux via code he called "vga_switcheroo" to switch between ATI/NVIDIA/Intel GPUs without rebooting the system (though restarting the X.Org Server is needed at this time) that that code has now made its way into the mainline Linux kernel. Last week another David Airlie project was multi-GPU rendering support for Linux that was written as a proof of concept to show a second GPU could render 3D applications onto the screen of the first GPU, regardless of the hardware vendor. This week we now have the ability to run two X.Org Servers for a multi-head setup off a single graphics card.

This code that allows two X.Org Servers to run off one graphics card is still very much a prototype like the multi-GPU rendering support, but it's working for David and patches are available. The patches go against libdrm and the Linux kernel and depend upon the graphics hardware driver using kernel mode-setting (KMS) for all of this to work out. In essence you can now easily have a two seat setup off one graphics card thanks to these DRM mapping changes and the introduction of render device nodes.

There's still a few items left on Airlie's to-do list for this feature and he's hoping someone else will pickup the work so he can move onto prototyping his next feature, but those interested can read about it on his blog.

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. DNF Still Advancing As Experimental Yum For Fedora
  2. Logitech Begins Supporting Linux Users
  3. Modern Intel Gallium3D Driver Still Being Toyed With
  4. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  5. GCC 4.8.1 Compiler Due To Be Out Next Week
  6. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
  7. Linux's "Ondemand" Governor Is No Longer Fit
  8. Firefox 22 Beta Enables WebRTC Support
  9. OpenSUSE 13.1 Milestone 1 Released
  10. DRM Graphics Driver Comes For Dove/Cubox
  11. JADE: An LLVM-Based Video Decoder For MPEG RVC
Latest Forum Talk
  1. DNF Still Advancing As Experimental Yum For Fedora
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. DRM Moves Ahead With HTML5 Specification
  4. Linux's "Ondemand" Governor Is No...
  5. New Linux Kernel Vulnerability Exploited
  6. KDE's Krita Ported To OpenGL 3.1, OpenGL ES 2.0
  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