Changing radeon card power profile

How can I set my radeon graphics card to use low power?

This was my previous thread:
https://forums.opensuse.org/showthread.php/500799-Run-command-as-SU-on-startup

After distro hopping for a while I’m back again in OpenSuse and that method is no longer working for me. Something has changed since september last year!

55860e64:/home/user # systemctl status radeon-power_profile.service
radeon-power_profile.service - Radeon Power Profile
   Loaded: loaded (/usr/lib/systemd/system/radeon-power_profile.service; enabled)
   Active: inactive (dead) since Fri 2015-02-20 03:24:42 EET; 2s ago
  Process: 20370 ExecStart=/bin/sh -c /usr/sbin/radeon-power_profile ${POWER_PROFILE} (code=exited, status=0/SUCCESS)
 Main PID: 20370 (code=exited, status=0/SUCCESS)

Feb 20 03:24:42 55860e64 sh[20370]: /usr/sbin/radeon-power_profile: line 32: echo: write error: Invalid argument

So what can I do to quieten my radeon card fans this time? Thanks!

Hi
So does /sys/class/drm/card0/device/power_profile exist?


cat /sys/class/drm/card0/device/power_profile
ls /sys/class/drm

Just need to see where the target is…

Hi,

user@55860e64:~> cat /sys/class/drm/card0/device/power_profile 
default

and

user@55860e64:~> ls /sys/class/drm
card0       card0-DP-2     card0-DVI-I-1   controlD64  ttm
card0-DP-1  card0-DVI-D-1  card0-HDMI-A-1  renderD128  version

Hi
So open a terminal and switch to root user;


su -
echo "low" > /sys/class/drm/card0/device/power_profile
cat /sys/class/drm/card0/device/power_profile

Does this change it?

Also which display port is being used on the system?

Nope, doesn’t work.

55860e64:~ # echo "low" > /sys/class/drm/card0/device/power_profile
-bash: echo: write error: Invalid argument
55860e64:~ # cat /sys/class/drm/card0/device/power_profile
default

I’m sorry, how do I know ‘which display port’ it is?

On Fri 20 Feb 2015 04:46:01 PM CST, MikkoFinell wrote:

Nope, doesn’t work.

55860e64:~ # echo “low” > /sys/class/drm/card0/device/power_profile
-bash: echo: write error: Invalid argument
55860e64:~ # cat /sys/class/drm/card0/device/power_profile
default

Hi
Ok, if you fire up YaST → System → Bootloader and on the Kernel
parameters tab and in the ‘Optional Kernel Command Line Parameters’
between ‘quiet showopts’ add radeon.dpm=0 then reboot and try the echo
command again.


quiet radeon.dpm=0 showopts


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.36-38-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Hey

YEP!!! That worked! Okay, how to make it permanent?

Sorry, disregard that, it seems great now, thanks!

On Fri 20 Feb 2015 11:46:02 PM CST, MikkoFinell wrote:

Hey

malcolmlewis;2696035 Wrote:
> Hi
> Ok, if you fire up YaST -> System -> Bootloader and on the Kernel
> parameters tab and in the ‘Optional Kernel Command Line Parameters’
> between ‘quiet showopts’ add radeon.dpm=0 then reboot and try the echo
> command again.

YEP!!! That worked! Okay, how to make it permanent?

Hi
So the systemd service should now work fine?

It’s a change in the kernel from >= 3.13 this machine is on 3.12 (SLED
12) so didn’t pick that up, plus have switched to fglrx… need to add a
blacklist entry by the looks. Have a netbook with an ati card, will
stick openSUSE on it and test.


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.36-38-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!