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

How To Setup Radeon DPM On Ubuntu Linux

AMD

Published on 30 July 2013 12:25 PM EDT
Written by Michael Larabel in AMD
88 Comments

With the belief that the Radeon dynamic power management (DPM) support is in good shape, it's a great time to try out this feature of the open-source AMD Linux graphics driver. DPM has the capability of increasing the performance for some Radeon GPUs while for other GPUs it will lead to lower power consumption, extended battery life, and lower operating temperatures.

I have already delivered Radeon DPM preview benchmarks that show some of the impact of dynamic power management finally coming to the open-source Linux GPU driver. More benchmarks are now on the way from the latest Linux 3.11 Git code now that AMD's Alex Deucher has declared the DPM support in pretty good shape after several rounds of bug-fixes.

It's not too tricky to enable Radeon Dynamic Power Management support for the Linux driver at this point, but if you haven't been keeping up with all the Phoronix articles, here's the quick steps if you're an Ubuntu (or Ubuntu-based) Linux desktop user:

First of all, the Radeon DPM support is only for Radeon HD 2000 (R600) series graphics cards and newer. If you're using a really old ATI Radeon graphics card, the power management support is already tapped out on the open-source driver. The biggest areas where DPM will be of performance benefit is either using an AMD APU or a modern high-end graphics cards. For APUs and the latest high-end GPUs, their boot clock speeds can be rather low compared to their top-rated core/memory frequencies. Up to now the Radeon driver by default didn't set the hardware to run at these higher frequencies.

For other modern Radeon GPU users, dynamic power management will allow the GPU core and video memory (and their supplied voltages) to drop when the GPU is under minimal load, thereby conserving power and reducing heat output. This is especially good for Radeon laptop users or those simply aiming to reduce their PC's power consumption.

To use Radeon DPM you need the Linux 3.11 kernel or newer. For Ubuntu Linux users this requirement can be satisfied by simply using the Ubuntu mainline kernel PPA and fetching the latest daily Linux kernel image from this kernel.ubuntu.com directory for the very latest kernel to obtain all of the latest Radeon DRM fixes. When the Linux 3.11 kernel is stable, you can use that too.

Utilizing Radeon dynamic power management support requires updated firmware for the graphics card. The latest Radeon microcode/firmware can be downloaded from this directory. The new DPM firmware files needed are the *_smc.bin files from June. If you're unsure of your specific graphics card codename, you can generally find it from looking at the OpenGL renderer string with glxinfo or look at your dmesg for the missing firmware filename. You could also just download all of the firmware files too. The file(s) need to be placed within /lib/firmware/radeon. If you try to use Radeon DPM without the firmware, acceleration will end up being disabled for the GPU and there's a notice of the missing firmware in dmesg.

The Radeon DPM support is not enabled by default with Linux 3.11, so you must add radeon.dpm=1 to your Linux kernel configuration. For the steps to do so on Ubuntu, see the Ubuntu Wiki about the different ways.

With the Linux 3.11+ kernel, updated AMD microcode files, and the radeon.dpm kernel module parameter, you should be good to go. You can check on the Radeon DPM states via the new debugfs/sysfs entries.

While not required for Radeon DPM, at the same time you can also upgrade your Mesa stack for better Radeon Gallium3D performance. Easy ways to do that on Ubuntu-based distributions are through Oibaf's updated driver PPA.

Any question about the open-source Radeon Linux driver can be directed to our forums. Stay tuned for our extensive Radeon DPM open-source Linux graphics benchmarks.

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. Dead Island GOTY Now Available On Linux/SteamOS
  2. Ubuntu 14.04 In The Power8 Cloud From RunAbove
  3. KDE With Theoretical Client-Side Decorations, Windows 10 Influence
  4. Sandusky Lee: Great Cabinets For Storing All Your Computer Gear
  5. Fedora 21 Beta & Final Release Slip Further
  6. Mesa 10.3.2 Has A Couple Bug-Fixes
  7. RadeonSI/R600g HyperZ Support Gets Turned Back On
  8. openSUSE Factory & Tumbleweed Are Merging
  9. More Fedora Delays: Fedora 21 Beta Slips
  10. Mono Brings C# To The Unreal Engine 4
Latest Forum Discussions
  1. Users/Developers Threatening Fork Of Debian GNU/Linux
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. HOPE: The Ease Of Python With The Speed Of C++
  4. Use Ubuntu MATE 14.10 Make it an official distro.
  5. Debian Is Back To Discussing Init Systems, Freedom of Choice
  6. AMD Radeon VDPAU Video Performance With Gallium3D
  7. Ubuntu 16.04 Might Be The Distribution's Last 32-Bit Release
  8. Linux hacker compares Solaris kernel code: