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 New Patch For Radeon DRM Power Savings

AMD

Published on 21 November 2009 09:35 AM EST
Written by Michael Larabel in AMD
35 Comments

While OpenGL acceleration and GPU-assisted video playback are often most viewed as the areas that are severely lacking for the open-source Linux graphics drivers in comparison to what the binary-only ATI/NVIDIA drivers offer, another area that has not yet caught up to speed with the binary competition is power management. For years (going back to 2005) AMD has implemented PowerPlay support in their fglrx driver for dynamically clocking the GPU and memory clocks along with adjusting the voltages accordingly, based upon the user's input and then later generations of PowerPlay are more dynamic in nature. NVIDIA also supports their PowerMizer technology on Linux for dynamically clocking their GPUs/memory and voltages based upon the graphics processor's load.

When it comes to the open-source ATI power management efforts, Red Hat's Matthew Garrett has been working on dynamic down-clocking through AtomBIOS, dynamic clocks support was added to the ATI driver for R500+ GPUs to support dynamic clock-gating and static power management, force low power mode options, and various other techniques are being worked on to conserve power like frame-buffer compression, shutting down PLLs, LVDS re-clocking, and more.

In September of this year there was then a set of patches that were published to introduce reading clock values, storing power management states, setting new power states, and reading min/max clock values for the ATI kernel mode-setting driver. This work was done by Rafał Miłecki. This initial work didn't do too much beyond laying the foundation for KMS power management support in the ATI stack, but it would automatically down-clock the GPU if the connected display was signaled off via DPMS. This morning though Rafał has published a new ATI power management patch for its DRM.

This newest patch adds dynamic engine re-clocking based upon the GPU's work load. His patch calculates the number of commands not yet processed by the GPU and uses that to judge the GPU's load. If all commands are processed, the GPU is then down-clocked with a 200ms delay, but if there are unprocessed commands, the GPU will re-up its clocks. Rafał's initial tests have yielded that this works for keeping the GPUs clocked lower (and thus conserving power) when just within KDE or glxgears, but when firing up a game like OpenArena the engine will re-clock itself to its performance state. No major performance drops were noted with this dynamic clocking patch.

This patch, however, is not 100% ideal yet as it does not deal with changing the frequency of the memory (waiting for IRQ support on that as it's important to not re-clock the memory when it's busy), voltages aren't being changed between states (it's on his TODO list for "later"), and there are also a few horizontal black lines that appear on the screen when the GPU engine is being re-clocked. This patch could also be more aggressive in determining its load and other factors.

However, for those interested in playing with this preliminary patch, it can be found on the dri-devel mailing list.

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. MSI X99S SLI PLUS On Linux
  2. NVIDIA GeForce GTX 970 Offers Great Linux Performance
  3. CompuLab Intense-PC2: An Excellent, Fanless, Mini PC Powered By Intel's i7 Haswell
  4. From The Atom 330 To Haswell ULT: Intel Linux Performance Benchmarks
Latest Linux Articles
  1. Open-Source Radeon 2D Performance Is Better With Ubuntu 14.10
  2. RunAbove: A POWER8 Compute Cloud With Offerings Up To 176 Threads
  3. 6-Way Ubuntu 14.10 Linux Desktop Benchmarks
  4. Ubuntu 14.10 XMir System Compositor Benchmarks
Latest Linux News
  1. KDE With Theoretical Client-Side Decorations, Windows 10 Influence
  2. Sandusky Lee: Great Cabinets For Storing All Your Computer Gear
  3. Fedora 21 Beta & Final Release Slip Further
  4. Mesa 10.3.2 Has A Couple Bug-Fixes
  5. RadeonSI/R600g HyperZ Support Gets Turned Back On
  6. openSUSE Factory & Tumbleweed Are Merging
  7. More Fedora Delays: Fedora 21 Beta Slips
  8. Mono Brings C# To The Unreal Engine 4
  9. Coreboot Now Has Support For Intel Broadwell Hardware
  10. Enlightenment's EFL 1.12 Alpha Has Evas GL-DRM Engine, OpenGL ES 1.1 Support
Latest Forum Discussions
  1. HOPE: The Ease Of Python With The Speed Of C++
  2. Users/Developers Threatening Fork Of Debian GNU/Linux
  3. Debian Is Back To Discussing Init Systems, Freedom of Choice
  4. AMD Radeon VDPAU Video Performance With Gallium3D
  5. Updated and Optimized Ubuntu Free Graphics Drivers
  6. Ubuntu 16.04 Might Be The Distribution's Last 32-Bit Release
  7. Linux hacker compares Solaris kernel code:
  8. Advertisements On Phoronix