There is a new update, I am working on some bugs, please be patient :)
Note: I have found issues and am waiting for a fix from the dev.
Git Clone URL: | https://aur.archlinux.org/auto-cpufreq.git (read-only, click to copy) |
---|---|
Package Base: | auto-cpufreq |
Description: | Automatic CPU speed & power optimizer |
Upstream URL: | https://github.com/AdnanHodzic/auto-cpufreq |
Licenses: | LGPL-3.0-or-later |
Submitter: | liljaylj |
Maintainer: | parmjot (MusicalArtist12) |
Last Packager: | parmjot |
Votes: | 83 |
Popularity: | 1.37 |
First Submitted: | 2020-10-29 00:09 (UTC) |
Last Updated: | 2025-01-29 03:15 (UTC) |
There is a new update, I am working on some bugs, please be patient :)
Note: I have found issues and am waiting for a fix from the dev.
@donsmak sorry for late update, i was working. bumped version now, everything seems to be working. :)
hey new update is out v2.5.0
I have installed this package and lost power profile options. It shows power profile "not available" despite power-profile-daemon is enabled and running. Uninstalling this package or reinstalling power-profile-daemon did not help. Does anyone have any suggestion to fix?
Edit: It seems it is caused by powerprofilesctl command returning profiles as "placeholder". Any idea why auto-cpufreq caused this and how to fix?
@adachi flagging as out of date is enough.
Now it is version 2.4.0.
I get the following error:
Started auto-cpufreq - Automatic CPU speed & power optimizer for Linux.
Traceback (most recent call last):
File "/opt/auto-cpufreq/venv/bin/auto-cpufreq", line 4, in <module>
__import__('pkg_resources').run_script('auto-cpufreq==1.9.4+cde4cbeb', 'auto-cpufreq')
^^^^^^^^^^^^^^^^^^^^^^^^^^^
No module named 'pkg_resources'
Main process exited, code=exited, status=1/FAILURE
Failed with result 'exit-code'.
Scheduled restart job, restart counter is at 5.
Start request repeated too quickly.
Failed with result 'exit-code'.
Failed to start auto-cpufreq - Automatic CPU speed & power optimizer for Linux.
Installing setuptools with pacman -S python-setuptools
did not help
Think you need to add python-pyinotify as dependency.
+1
After the recent update I get this error:
Traceback (most recent call last):
File "/usr/bin/auto-cpufreq", line 5, in <module>
from auto_cpufreq.bin.auto_cpufreq import main
File "/usr/lib/python3.12/site-packages/auto_cpufreq/bin/auto_cpufreq.py", line 14, in <module>
from auto_cpufreq.core import *
File "/usr/lib/python3.12/site-packages/auto_cpufreq/core.py", line 29, in <module>
from auto_cpufreq.utils.config import config
File "/usr/lib/python3.12/site-packages/auto_cpufreq/utils/config.py", line 2, in <module>
from auto_cpufreq.utils.config_event_handler import ConfigEventHandler
File "/usr/lib/python3.12/site-packages/auto_cpufreq/utils/config_event_handler.py", line 1, in <module>
import pyinotify
ModuleNotFoundError: No module named 'pyinotify'
After installing python-pyinotify
, the issue is resolved.
Think you need to add python-pyinotify as dependency.
@lalaluke the dependencies should be pulled, as they themselves are depended on the dependencies of auto-cpufreq
, namely python-requests
. I believe that the build dependencies that you have listed should also be pulled. Please configure your AUR helper correctly, since makepkg
can pull them just fine within a clean chroot.
Pinned Comments
liljaylj commented on 2021-06-03 12:13 (UTC)
@coxe87b you don't need to --install daemon manually, this package contains systemd service already. instead, you need to start and enable service using:
systemctl enable --now auto-cpufreq.service