-   Linux - Hardware (
-   -   Editing my GPU's power profile (AMD 5870) (

VoodooDali 04-22-2013 12:01 PM

Editing my GPU's power profile (AMD 5870)

My GPU (AMD Radeon Mobility HD 5870) runs very hot (about 187 degrees F) while using the open-source "radeon" driver. I could switch to the AMD Catalyst Driver but that no longer works properly in Netflix, YouTube, ESPN3 and a bunch of other video applications.

I can cool down my GPU by running the following command as root:


echo low > /sys/class/drm/card0/device/power_profile
However, this is a temporary fix. Exiting su/root mode causes my sound to cut out. And, next time I reboot, my power profile will be set back to "default" which runs very hot.

Anyone know how I can *permanently* alter my power profile? (There really needs to be a GUI-based tool for this tweak :lol: ) Thanks!

TobiSGD 04-22-2013 01:24 PM

Just add the above code to your rc.local file, this way it will be run automatically at boot.

VoodooDali 04-22-2013 05:01 PM

Unfortunately Mageia uses systemd, which (IIRC) doesn't allow rc.local to work.

To test this I created an rc.local file in /etc/rc.d/, added the command, attempted to enable the rc-local.service in systemctl, and got a lengthy error message instead. :(

Stumped. :/

TobiSGD 04-22-2013 05:31 PM

I don't know much about systemd, but it may help if you post the error-message you got.

VoodooDali 04-22-2013 05:41 PM

Here it is:


The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
  .wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
  a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
  D-Bus, udev, scripted systemctl call, ...).

TobiSGD 04-22-2013 05:52 PM

This may help to create a correct unit file for your purpose:

VoodooDali 04-22-2013 06:01 PM

I'll give that a try as soon as I get a second wind. :) thanks

EDIT: The procedure from the Fedora link seems to have worked. Although there were some error messages in response to both the "enable" and "start" commands, upon reboot the required string was indeed passed to my power profile. Thanks! :D

All times are GMT -5. The time now is 11:17 PM.