I need to run this command after starting my computer:
sudo echo low > /sys/class/drm/card0/device/power_profile
Or else my graphics cards sounds like I’m playing Skyrim on ultra (fan speed is max).
How can I make it execute automatically?
I need to run this command after starting my computer:
sudo echo low > /sys/class/drm/card0/device/power_profile
Or else my graphics cards sounds like I’m playing Skyrim on ultra (fan speed is max).
How can I make it execute automatically?
Add it to /etc/boot.local or /etc/after.local maybe (without the sudo).
Thanks but it didn’t work. What else can I try?
Hi
Install my systemd-radeon-power_profile package, all will be good
http://software.opensuse.org/package/systemd-radeon-power_profile
https://build.opensuse.org/package/show/home:malcolmlewis:Miscellanous/systemd-radeon-power_profile
Thats interesting, how do I use it?
Hi
Install the rpm, it will add the systemd service which runs the scripts on startup to add the ‘low’ option. You can also run the script (radeon-power_profile) manually as root user to change the setting. You can also use YaST /etc/sysconfig editor to change the option set at boot.
Yes setting it to low works, but it’s not saved between reboots. /etc/sysconfig shows it to be low by default now, but it’s not:
radeon-power_profile
usage: radeon-power_profile
Valid profiles:
low
high
default (current)
auto
^ After rebooting.
/etc/sysconfig:
Default Value: low
Service to Restart: systemctl restart radeon-power_profile.service
Description:
Parameters for radeon-power_profile, default low.
What am I doing wrong?
On 2014-09-09 00:06, MikkoFinell wrote:
> ^ After rebooting.
>
> /etc/sysconfig:
>
> Code:
> --------------------
> Default Value: low
> Service to Restart: systemctl restart radeon-power_profile.service
> Description:
>
> Parameters for radeon-power_profile, default low.
> --------------------
>
>
> What am I doing wrong?
I assume that, after you change the setting, you have to restart the
service, with the command that is printed in that paragraph above.
And for it to activate on every boot, just make sure that it is “enabled”:
systemctl status radeon-power_profile.service
systemctl enable radeon-power_profile.service
systemctl restart radeon-power_profile.service
This is the same for any systemd service, I know nothing about this
particular one.
The “status” line above should print the current status of the service.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
Okay there we go now everything is working perfectly.
Thanks for the baby spoonfeed, I learnt a lot.
On 2014-09-09 00:56, MikkoFinell wrote:
>
> Okay there we go now everything is working perfectly.
>
> Thanks for the baby spoonfeed, I learnt a lot.
Welcome - we all were babies some time
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)