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. The MSI X99S SLI PLUS Is Working & Running Well On Linux
  2. NVIDIA GeForce GTX 980: The Best GPU For Linux Gamers
  3. ROCCAT LUA: A Linux-Friendly Gaming Mouse
  4. Cheetah Mounts: The Affordable Way To Put Your TV On The Wall
Latest Linux Articles
  1. Preview: Radeon Gallium3D Performance For CS:GO On Linux
  2. XWayland Linux Gaming Performance With GNOME Wayland On Fedora 21
  3. EXT4/Btrfs/XFS/F2FS Benchmarks On Linux 3.17
  4. Fedora 21 Alpha First Impressions: It's Great
Latest Linux News
  1. VA-API Gallium3D State Tracker Added Back To Mesa
  2. Radeon DRM Gets New Information Ioctl Queries
  3. Mir 0.8 Works On Less ABI Breakage, Touchspots, Responsiveness
  4. CS:GO For Linux Gains Better Stability, Community Server Support
  5. NVIDIA Issues Updated 340.46 Long-Lived Driver Release
  6. KDE Plasma 5.1 Now In Beta
  7. Systemd & Debian Were Most Popular In September
  8. Microsoft Announces... Windows 10 With A Start Menu
  9. Borderlands 2 Launches On Steam For Linux
  10. Debian Jessie Might Get Rid Of The kFreeBSD Port
Latest Forum Discussions
  1. Take the Steam Survey results with a grain of salt. It is flawed.
  2. X.Org Is Looking For Some Female Help
  3. Hacking Express gate (Asus Splashtop)
  4. Microsoft Announces... Windows 10 With A Start Menu
  5. NVIDIA Alerts Nouveau: They're Starting To Sign/Validate GPU Firmware Images
  6. Updated and Optimized Ubuntu Free Graphics Drivers
  7. Nero CD/DVD Burning Software On Linux Is Dead
  8. New Group Calls For Boycotting Systemd