Package Details: auto-cpufreq 1.9.7-1

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: LGPL3
Submitter: liljaylj
Maintainer: liljaylj
Last Packager: liljaylj
Votes: 52
Popularity: 3.17
First Submitted: 2020-10-29 00:09 (UTC)
Last Updated: 2022-12-05 07:37 (UTC)

Dependencies (10)

Required by (0)

Sources (2)

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

Latest Comments

1 2 3 Next › Last »

ssnailz commented on 2023-01-27 17:29 (UTC) (edited on 2023-01-27 17:34 (UTC) by ssnailz)

hello auto-cpufreq isnt installing please help


> yay -S auto-cpufreq
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  auto-cpufreq-1.9.7-1

  1 auto-cpufreq                             (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> a
:: Deleting (1/1): /home/ssnailz/.cache/yay/auto-cpufreq
:: (1/1) Downloaded PKGBUILD: auto-cpufreq
  1 auto-cpufreq                             (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> a
diff --git /home/ssnailz/.cache/yay/auto-cpufreq/.gitignore /home/ssnailz/.cache/yay/auto-cpufreq/.gitignore
new file mode 100644
index 0000000..8b64e8b
--- /dev/null
+++ /home/ssnailz/.cache/yay/auto-cpufreq/.gitignore
@@ -0,0 +1,36 @@
+*.tar
+*.tar.*
+*.jar
+*.exe
+*.msi
+*.zip
+*.tgz
+*.log
+*.log.*
+*.sig
+
+pkg/
+src/
+
+*.crt
+
+### Vim ###
+# Swap
+[._]*.s[a-v][a-z]
+!*.svg  # comment out if you don't need vector files
+[._]*.sw[a-p]
+[._]s[a-rt-v][a-z]
+[._]ss[a-gi-z]
+[._]sw[a-p]
+
+# Session
+Session.vim
+Sessionx.vim
+
+# Temporary
+.netrwhist
+*~
+# Auto-generated tag files
+tags

:: Proceed with install? [Y/n] y
:: (1/1) Parsing SRCINFO: auto-cpufreq
==> Making package: auto-cpufreq 1.9.7-1 (Friday 27 January 2023 11:01:28 PM)
==> Retrieving sources...
  -> Downloading auto-cpufreq-1.9.7.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
100 29349    0 29349    0     0   5707      0 --:--:--  0:00:05 --:--:-- 11210
  -> Found auto-cpufreq.service
==> Validating source files with b2sums...
    auto-cpufreq-1.9.7.tar.gz ... Passed
    auto-cpufreq.service ... Passed
==> Making package: auto-cpufreq 1.9.7-1 (Friday 27 January 2023 11:01:34 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found auto-cpufreq-1.9.7.tar.gz
  -> Found auto-cpufreq.service
==> Validating source files with b2sums...
    auto-cpufreq-1.9.7.tar.gz ... Passed
    auto-cpufreq.service ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting auto-cpufreq-1.9.7.tar.gz with bsdtar
==> Starting prepare()...
==> Sources are ready.
==> Making package: auto-cpufreq 1.9.7-1 (Friday 27 January 2023 11:01:35 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
/home/ssnailz/.local/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
  warnings.warn(
running build
running build_py
creating build
creating build/lib
creating build/lib/auto_cpufreq
copying auto_cpufreq/tlp_stat_parser.py -> build/lib/auto_cpufreq
copying auto_cpufreq/core.py -> build/lib/auto_cpufreq
copying auto_cpufreq/__init__.py -> build/lib/auto_cpufreq
copying auto_cpufreq/power_helper.py -> build/lib/auto_cpufreq
running egg_info
creating auto_cpufreq.egg-info
writing auto_cpufreq.egg-info/PKG-INFO
writing dependency_links to auto_cpufreq.egg-info/dependency_links.txt
writing requirements to auto_cpufreq.egg-info/requires.txt
writing top-level names to auto_cpufreq.egg-info/top_level.txt
writing manifest file 'auto_cpufreq.egg-info/SOURCES.txt'
reading manifest file 'auto_cpufreq.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'auto_cpufreq.egg-info/SOURCES.txt'
running build_scripts
creating build/scripts-3.10
copying and adjusting bin/auto-cpufreq -> build/scripts-3.10
changing mode of build/scripts-3.10/auto-cpufreq from 644 to 755
==> Entering fakeroot environment...
==> Starting package()...
/home/ssnailz/.local/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
  warnings.warn(
running install
/home/ssnailz/.local/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running install_lib
creating /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr
creating /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib
creating /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10
creating /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages
creating /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages/auto_cpufreq
copying build/lib/auto_cpufreq/tlp_stat_parser.py -> /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages/auto_cpufreq
copying build/lib/auto_cpufreq/core.py -> /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages/auto_cpufreq
copying build/lib/auto_cpufreq/__init__.py -> /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages/auto_cpufreq
copying build/lib/auto_cpufreq/power_helper.py -> /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages/auto_cpufreq
byte-compiling /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages/auto_cpufreq/tlp_stat_parser.py to tlp_stat_parser.cpython-310.pyc
byte-compiling /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages/auto_cpufreq/core.py to core.cpython-310.pyc
byte-compiling /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages/auto_cpufreq/__init__.py to __init__.cpython-310.pyc
byte-compiling /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages/auto_cpufreq/power_helper.py to power_helper.cpython-310.pyc
writing byte-compilation script '/tmp/tmpj9c_pq9o.py'
/usr/bin/python /tmp/tmpj9c_pq9o.py
removing /tmp/tmpj9c_pq9o.py
running install_egg_info
running egg_info
writing auto_cpufreq.egg-info/PKG-INFO
writing dependency_links to auto_cpufreq.egg-info/dependency_links.txt
writing requirements to auto_cpufreq.egg-info/requires.txt
writing top-level names to auto_cpufreq.egg-info/top_level.txt
reading manifest file 'auto_cpufreq.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'auto_cpufreq.egg-info/SOURCES.txt'
Copying auto_cpufreq.egg-info to /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages/auto_cpufreq-1.9.7-py3.10.egg-info
running install_scripts
creating /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/bin
copying build/scripts-3.10/auto-cpufreq -> /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/bin
changing mode of /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/bin/auto-cpufreq to 755
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "auto-cpufreq"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: auto-cpufreq 1.9.7-1 (Friday 27 January 2023 11:01:45 PM)
==> Cleaning up...
[sudo] password for ssnailz: 
loading packages...
warning: auto-cpufreq-1.9.7-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) auto-cpufreq-1.9.7-1

Total Installed Size:  0.18 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                     [####################################] 100%
(1/1) checking package integrity                                   [####################################] 100%
(1/1) loading package files                                        [####################################] 100%
(1/1) checking for file conflicts                                  [####################################] 100%
(1/1) checking available disk space                                [####################################] 100%
:: Processing package changes...
(1/1) reinstalling auto-cpufreq                                    [####################################] 100%

Reload systemd manager configuration:
systemctl daemon-reload

Restart auto-cpufreq daemon service:
systemctl restart auto-cpufreq

:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
(2/2) Arming ConditionNeedsUpdate...
[I] [23:01:52] ssnailz@ssnailz /home/ssnailz  
> sudo auto-cpufreq --install

--------------------- Deploying auto-cpufreq as a daemon ----------------------

* Turn off bluetooth on boot [skipping] (package providing bluetooth access is not present)

* Deploy auto-cpufreq install script
Traceback (most recent call last):
  File "/usr/bin/auto-cpufreq", line 226, in <module>
    main()
  File "/usr/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/usr/bin/auto-cpufreq", line 203, in main
    deploy_daemon()
  File "/usr/lib/python3.10/site-packages/auto_cpufreq/core.py", line 357, in deploy_daemon
    shutil.copy(SCRIPTS_DIR / "auto-cpufreq-install.sh", "/usr/bin/auto-cpufreq-install")
  File "/usr/lib/python3.10/shutil.py", line 417, in copy
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/lib/python3.10/shutil.py", line 254, in copyfile
    with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/auto-cpufreq/scripts/auto-cpufreq-install.sh'

PROBUBBLE01 commented on 2023-01-05 13:19 (UTC) (edited on 2023-01-05 13:23 (UTC) by PROBUBBLE01)

python-setuptools doesn't seem to an optional dependency, or depedency of python setuptools is a required dependency of this package.Running sudo pacman -Rns python-setuptools makes auto-cpufreq stop working. Initially observed when remove make dependencies after install option was used.

akislovag commented on 2022-12-06 08:06 (UTC) (edited on 2022-12-06 08:13 (UTC) by akislovag)

it stopped working for me correctly since the last update. if i manually set the governor to powersave and set my frequency to low, it changes back to performance after a second or two. i'm not sure the cause yet. did the default config file change?

edit: okay the config file did not change however if i uncomment those lines and set the governor there, it will change to powersave but now i cant manually switch back to performance. basically i can't override what is in the config file.

pc00per commented on 2022-10-31 10:51 (UTC) (edited on 2022-10-31 10:52 (UTC) by pc00per)

Having AttributeError: 'NoneType' object has no attribute 'percent' issue. You gotta grab the following python packages.
pip, click, psputil & distro.

rayshabh commented on 2022-04-17 19:13 (UTC)

@liljaylj Thank you!

liljaylj commented on 2022-04-17 19:02 (UTC)

@rayshabh, updated. haven't been able to update the package lately.

actually, i'm subscribed to release updates on project's github page and i've got notification on email. but, after reading changelog (the update only affects snap packages) i've lowered priority of this.

so, if there will be any meaningful release (for arch users) i will update this package asap

rayshabh commented on 2022-04-17 14:29 (UTC)

@liljaylj Please update the package to v1.9.3 https://github.com/AdnanHodzic/auto-cpufreq/releases/tag/v1.9.3

Thank you.

liljaylj commented on 2022-03-16 15:24 (UTC)

@Golum, cannot reproduce. please, try to ask/search upstream https://github.com/AdnanHodzic/auto-cpufreq/issues .

let me know if it is packaging issue (missing dependency, etc). thanks

Golum commented on 2022-03-16 09:28 (UTC) (edited on 2022-04-24 09:45 (UTC) by Golum)

This program is great, but after update to 1.9.2-1 the command "auto-cpufreq --stats" is not working, showing an empty terminal.How can I fix it? Working perfect now after v1.9.3 Thx.

liljaylj commented on 2022-01-12 22:49 (UTC)

@harry, @MithicSpirit, done thank you