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. 13-Way Low-End GPU Comparison With AMD's AM1 Athlon
  2. ASUS AM1I-A: A Mini-ITX Board For Socketed Kabini APUs
  3. Mini-Box M350: A Simple, Affordable Mini-ITX Case
  4. Overclocking The AMD AM1 Athlon & Sempron APUs
Latest Linux Articles
  1. Ubuntu 12.04.4 vs. 13.10 vs. 14.04 LTS Desktop Benchmarks
  2. AMD OpenCL Performance With AM1 Kabini APUs
  3. A Quick Look At GCC 4.9 vs. LLVM Clang 3.5
  4. Are AMD Athlon/Sempron APUs Fast Enough For Steam On Linux?
Latest Linux News
  1. Mesa 10.0 & 10.1 Stable Get Updated
  2. Getting Hit By The Variable Performance Of The Public Cloud
  3. Git 2.0 Test Releases Begin With Many Changes
  4. Wine 1.7.17 Works On Its Task Scheduler, C Run-Time
  5. The Improv ARM Board Still Isn't Shipping; Riding A Dead Horse?
  6. Debian To Maintain 6.0 Squeeze As An LTS Release
  7. Wasteland 2 Is Finally Released For Linux Gamers
  8. FreeBSD Advances For ARM, Bhyve, Clang
  9. Ubuntu 14.04 LTS "Trusty Tahr" Officially Released
  10. Ubuntu 12.04 LTS vs. 14.04 LTS Server Benchmarks
  11. QEMU 2.0 Released With ARM, x86 Enhancements
  12. Running The Unity 8 Preview Session On Ubuntu 14.04 LTS
Latest Forum Discussions
  1. Suggestions about how to make a Radeon HD 7790 work decently?
  2. The GNOME Foundation Is Running Short On Money
  3. Updated and Optimized Ubuntu Free Graphics Drivers
  4. Radeon 8000M problematic on Linux?
  5. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  6. After Jack Keane, RuseSoft will briing Ankh 3 to Linux through Desura
  7. Suspected PHP Proxy Issue
  8. Change installation destination from home directory