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 Benchmarking Platform
Phoromatic Test Orchestration

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 Articles & Reviews
  1. AMD Radeon R9 290 OpenGL On Ubuntu 15.04: Catalyst vs. RadeonSI Gallium3D
  2. Ubuntu 15.04 Offers Faster OpenGL For AMD Radeon GPUs On Open-Source
  3. Ubuntu 15.04 Brings Some Graphics Performance Improvements For Intel Haswell
  4. Sub-$20 802.11n USB WiFi Adapter That's Linux Friendly
  5. The Lenovo T450s Is Working Beautifully With Linux
  6. Linux 4.0 SSD EXT4 / Btrfs / XFS / F2FS Benchmarks
Latest Linux News
  1. GTX 750 Maxwell Acceleration Starts Working On Nouveau With Linux 4.1
  2. Reasons To Make A PTS/OB Test Profile For Your Software
  3. Vivaldi TP3 Browser Adds Native Window Support On Linux
  4. A Brief Update On Fwupd For Linux Firmware Updating Of Devices
  5. Upgrading To KDE Plasma 5.3 On Kubuntu 15.04
  6. Ubuntu 15.10 Plans Being Discussed Next Week
  7. KDE Plasma 5.3 Released: Expands On Widgets, Bluetooth, PM
  8. Making It Easier To Deploy CUDA On Fedora
  9. GCC 4.9.2 vs. GCC 5 Benchmarks On An Intel Xeon Haswell
  10. Intel Haswell/Broadwell Power Use On Linux Still Moving Lower
Most Viewed News This Week
  1. Ubuntu's Desktop-Next Switching From .DEBs To Snappy
  2. Systemd Kills Off Shutdownd
  3. KDBUS Still Hasn't Been Pulled, Might Not Land For Linux 4.1
  4. My Favorite Computer Desk Of The Past Decade For Less Than $100
  5. The Many Features Of The Linux 4.1 Kernel
  6. AMD Open-Sources "Addrlib" From Catalyst
  7. Qt Creator 3.4 Brings C++ Programming Improvements & More
  8. Debian 8.0 Jessie Is Ready For Release This Weekend