You are not logged in.
Hi there! I can change CPU governor with cpupower-gui. But how do I change it permanently?
Last edited by DuckerMan (2020-08-01 15:03:18)
Offline
https://wiki.archlinux.org/index.php/CP … g#cpupower read the second sentence...
Offline
https://wiki.archlinux.org/index.php/CP … g#cpupower read the second sentence...
[duckerman@duck ~]$ sudo systemctl start cpupower.service
Job for cpupower.service failed because the control process exited with error code.
See "systemctl status cpupower.service" and "journalctl -xe" for details.
Offline
And the output of the commands you are told to look at? And did you actually read the sentence? Did you adjust the config file? It won't do anything if you don't specify your wanted configuration.
Last edited by V1del (2020-06-18 08:37:15)
Offline
And the output of the commands you are told to look at? And did you actually read the sentence? Did you adjust the config file? It won't do anything if you don't specify your wanted configuration.
Yep, I've changed governor in config file.
● cpupower.service - Apply cpupower configuration
Loaded: loaded (/usr/lib/systemd/system/cpupower.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2020-06-18 11:19:27 MSK; 26min ago
Main PID: 8678 (code=exited, status=1/FAILURE)
июн 18 11:19:25 duck systemd[1]: Starting Apply cpupower configuration...
июн 18 11:19:27 duck systemd[1]: cpupower.service: Main process exited, code=exited, status=1/FAILURE
июн 18 11:19:27 duck systemd[1]: cpupower.service: Failed with result 'exit-code'.
июн 18 11:19:27 duck systemd[1]: Failed to start Apply cpupower configuration.
Offline
Did you enable the service in systemd? Did you set the governor...powersave, performance, whatever?
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn
Offline
Did you enable the service in systemd? Did you set the governor...powersave, performance, whatever?
When I'm tryinn to enable cpupower.service, I get error:
● cpupower.service - Apply cpupower configuration
Loaded: loaded (/usr/lib/systemd/system/cpupower.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2020-06-18 11:19:27 MSK; 26min ago
Main PID: 8678 (code=exited, status=1/FAILURE)
июн 18 11:19:25 duck systemd[1]: Starting Apply cpupower configuration...
июн 18 11:19:27 duck systemd[1]: cpupower.service: Main process exited, code=exited, status=1/FAILURE
июн 18 11:19:27 duck systemd[1]: cpupower.service: Failed with result 'exit-code'.
июн 18 11:19:27 duck systemd[1]: Failed to start Apply cpupower configuration.
And yes, I've set perfomance governor.
Offline
Post the config file. Did you try running the command normally on your terminal and it does work?
Offline
Post the config file. Did you try running the command normally on your terminal and it does work?
I don't know how to run command.
Offline
I don't know how to run command.
systemctl cat some.service
will show you an Exec= line. There's the command you want to test manually.
Offline
Just wondering if commenting out both min_freq and max_freq lines in /etc/default/cpupower and letting the system handle min/max (which is generally the best idea) will make the service start OK?
For instance, you haven't posted your CPU model, so we don't know what your min/max values are and if you are entering an incorrect value, or there could be a bug.
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
will show you which governors you can use on your system, which depend on which kernel modules are in use and doesn't always match the larger possible list of governors that are shown in /etc/default/cpupower
Offline
I'm also thinking that explicit mention of the frequencies is the issue, not many drivers will allow manual control here.
Offline
There seems to be a typo in your config file. You wrote:
governor='perfomance'
So you are missing an 'r' in performance. Maybe that's the cause of your problems?
Offline
There seems to be a typo in your config file. You wrote:
governor='perfomance'
So you are missing an 'r' in performance. Maybe that's the cause of your problems?
Huh, it was so silly mistake, thank you
Offline
Hi there! I can change CPU governor with cpupower-gui. But how do I change it permanently?
You need a program called CoreCtrl. That will change your governor at boot time. Though, instead of performance I would suggest ondemand.
Offline
DuckerMan wrote:Hi there! I can change CPU governor with cpupower-gui. But how do I change it permanently?
You need a program called CoreCtrl. That will change your governor at boot time. Though, instead of performance I would suggest ondemand.
So, why do you suggest to use ondemand?
Offline