A Day Later, Hybrid Graphics On Linux Does More

Posted by Michael Larabel on February 02, 2010

Just yesterday morning we reported on hybrid graphics coming to Linux in a crude form, which allowed dual-GPU notebook systems to switch between the onboard GPUs via a kernel patch but what made it crude was that it wasn't seamless switching within the running X.Org Server (it won't be this way for some time) and it didn't actually turn off the other GPU when the other one was in use. In the past 24 hours, however, David Airlie has published three new versions of this Linux kernel patch.

The second version of Airlie's "switcheroo" code as it's called brought support for powering up and powering down the GPUs. For Intel GPUs this means putting it in a D3 suspended state while for Mobility Radeon GPUs it actually cuts the power to the graphics processor so that it is completely off. The third version of switcheroo then brought reworked probing methods so that no DMI list is used but now looks for an ATPX method. The fourth (and final, for now) version of this patch delivers on compatibility with more systems. Turning on and off the unused GPU is as easy as writing "ON" or "OFF" to /sys/kernel/debug/vgaswitcheroo/switch.

The fourth version of David Airlie's switcheroo patch can be found in his FreeDesktop.org folder. Additionally, he has provided new comments on this work via his blog. Right now this code supports ATI/ATI and Intel/ATI GPU combos, but David mentions on his blog that the Nouveau driver should already be detecting the DSM method that it likely uses for the NVIDIA GPU switching, so it really shouldn't be too difficult to wire it up.

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. Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Linux Gaming
  9. Linux Distributions
  10. Operating Systems
  11. Event Coverage
  12. All Categories
  1. Phoronix Media
  2. RadeonHD.org
  3. Cekora.com
  4. Phoromatic
  5. Phoronix Test Suite
  1. Featured Links
  2. Data Recovery Software
  3. Hughes Net Internet
  4. Free Trial for Anonymous Surfing Service
  1. Affiliates
  2. Dedicated Server
  3. Web Hosting
  4. Dedicated Servers
  5. UK Web Hosting