1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

A Day Later, Hybrid Graphics On Linux Does More

Linux Kernel

Published on 02 February 2010 09:14 AM EST
Written by Michael Larabel in Linux Kernel
11 Comments

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.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. Trying The Configurable 45 Watt TDP With AMD's A10-7800 / A6-7400K
  2. Sumo's Omni Gets Reloaded
  3. AMD A10-7800 & A6-7400K APUs Run Great On Linux
  4. Radeon Gallium3D Is Running Increasingly Well Against AMD's Catalyst Driver
Latest Linux Articles
  1. Intel Sandy Bridge Gets A Surprise Boost From Linux 3.17
  2. Open-Source Radeon Graphics Have Some Improvements On Linux 3.17
  3. CPUFreq Scaling Tests With AMD's Kaveri On Linux 3.16
  4. Enabling HyperZ Is Still An Easy Way For Faster RadeonSI Performance
Latest Linux News
  1. Userptr Support Set For AMD Radeon GPUs In Linux 3.18
  2. NVIDIA Releases CUDA 6.5 As A Huge Update
  3. GNOME 3.14 Beta Makes GLSL Optional, Supports Wayland Gesture/Touch Events
  4. KDE Software Compilation 4.14 Released
  5. The Many Things You Can Build With A Raspberry Pi
  6. AMD's Catalyst Linux Driver Preparing For A World Without An X Server?
  7. Khronos Publishes Its Slides About OpenGL-Next
  8. Proposed: A Tainted Performance State For The Linux Kernel
  9. Systemd 216 Piles On More Features, Aims For New User-Space VT
  10. LXQt 0.8 Is Being Released Soon
Latest Forum Discussions
  1. Systemd 216 Piles On More Features, Aims For New User-Space VT
  2. The dangers of Linux kernel development
  3. Remote gui not accessible in Phoronix Test Suite 5.2
  4. Dead Island for Linux (?)
  5. Updated and Optimized Ubuntu Free Graphics Drivers
  6. AMD Offers Mantle For OpenGL-Next, Pushes Mantle To Workstations
  7. Next-Gen OpenGL To Be Announced Next Month
  8. OpenGL 4.5 Released With New Features