Skip to content

powersave is on, but governer locked on performance - logs: NotImplementedError: can't find current frequency file #891

@ElijahLynn

Description

@ElijahLynn

Summary

powersave is on, but governer locked on performance - logs: NotImplementedError: can't find current frequency file

Image

Clicking "about" in auto cpufreq menu, results in nothing happening.

Error output:

systemctl status auto-cpufreq.service
● auto-cpufreq.service - auto-cpufreq - Automatic CPU speed & power optimizer for Linux
     Loaded: loaded (/usr/lib/systemd/system/auto-cpufreq.service; enabled; preset: disabled)
     Active: active (running) since Thu 2025-10-23 20:55:42 PDT; 13h ago
 Invocation: edd183be68214c91a6fca5f31108f0a9
   Main PID: 796 (auto-cpufreq)
      Tasks: 2 (limit: 37925)
     Memory: 82.6M (peak: 88M)
        CPU: 1min 11.999s
     CGroup: /system.slice/auto-cpufreq.service
             └─796 /usr/bin/python /usr/bin/auto-cpufreq --daemon

Oct 23 21:29:20 gaia-two auto-cpufreq[796]:   File "/usr/lib/python3.13/site-packages/auto_cpufreq/modules/system_info.py", line 179, in avg_temp
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:     temps: List[float] = [i.temperature for i in SystemInfo.get_cpu_info()]
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:                                                  ~~~~~~~~~~~~~~~~~~~~~~~^^
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:   File "/usr/lib/python3.13/site-packages/auto_cpufreq/modules/system_info.py", line 104, in get_cpu_info
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:     cpu_freqs = psutil.cpu_freq(percpu=True)
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:   File "/usr/lib/python3.13/site-packages/psutil/__init__.py", line 1913, in cpu_freq
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:     ret = _psplatform.cpu_freq()
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:   File "/usr/lib/python3.13/site-packages/psutil/_pslinux.py", line 721, in cpu_freq
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:     raise NotImplementedError(msg)
Oct 23 21:29:20 gaia-two auto-cpufreq[796]: NotImplementedError: can't find current frequency file


journalctl -u auto-cpufreq.service --no-pager -b
Oct 23 20:55:42 gaia-two systemd[1]: Started auto-cpufreq - Automatic CPU speed & power optimizer for Linux.
Oct 23 21:29:20 gaia-two auto-cpufreq[796]: Traceback (most recent call last):
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:   File "/usr/bin/auto-cpufreq", line 8, in <module>
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:     sys.exit(main())
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:              ~~~~^^
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:   File "/usr/lib/python3.13/site-packages/click/core.py", line 1442, in __call__
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:     return self.main(*args, **kwargs)
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:            ~~~~~~~~~^^^^^^^^^^^^^^^^^
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:   File "/usr/lib/python3.13/site-packages/click/core.py", line 1363, in main
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:     rv = self.invoke(ctx)
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:   File "/usr/lib/python3.13/site-packages/click/core.py", line 1226, in invoke
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:     return ctx.invoke(self.callback, **ctx.params)
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:            ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:   File "/usr/lib/python3.13/site-packages/click/core.py", line 794, in invoke
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:     return callback(*args, **kwargs)
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:   File "/usr/lib/python3.13/site-packages/auto_cpufreq/bin/auto_cpufreq.py", line 147, in main
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:     set_autofreq()
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:     ~~~~~~~~~~~~^^
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:   File "/usr/lib/python3.13/site-packages/auto_cpufreq/core.py", line 767, in set_autofreq
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:     elif override == "performance": set_performance()
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:                                     ~~~~~~~~~~~~~~~^^
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:   File "/usr/lib/python3.13/site-packages/auto_cpufreq/core.py", line 690, in set_performance
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:     elif SystemInfo.avg_temp() >= 70: # set turbo state based on average of all core temperatures
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:          ~~~~~~~~~~~~~~~~~~~^^
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:   File "/usr/lib/python3.13/site-packages/auto_cpufreq/modules/system_info.py", line 179, in avg_temp
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:     temps: List[float] = [i.temperature for i in SystemInfo.get_cpu_info()]
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:                                                  ~~~~~~~~~~~~~~~~~~~~~~~^^
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:   File "/usr/lib/python3.13/site-packages/auto_cpufreq/modules/system_info.py", line 104, in get_cpu_info
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:     cpu_freqs = psutil.cpu_freq(percpu=True)
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:   File "/usr/lib/python3.13/site-packages/psutil/__init__.py", line 1913, in cpu_freq
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:     ret = _psplatform.cpu_freq()
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:   File "/usr/lib/python3.13/site-packages/psutil/_pslinux.py", line 721, in cpu_freq
Oct 23 21:29:20 gaia-two auto-cpufreq[796]:     raise NotImplementedError(msg)
Oct 23 21:29:20 gaia-two auto-cpufreq[796]: NotImplementedError: can't find current frequency file

System information:

Add/paste output of:

sudo auto-cpufreq --debug

-------------------------------- Battery Info ---------------------------------

battery count = 1
BAT0 start threshold = b'0\n'
BAT0 stop threshold = b'100\n'

-------------------------------------------------------------------------------

Linux distro: Arch Linux rolling n/a
Linux kernel: 6.15.9-arch1-1
Processor: 12th Gen Intel(R) Core(TM) i7-1270P
Cores: 16
Architecture: x86_64
Driver: intel_pstate

------------------------------ Current CPU stats ------------------------------

CPU max frequency: 4800 MHz
CPU min frequency: 400 MHz

Core	Usage	Temperature	Frequency
CPU0      2.0%        54 °C      4322 MHz
CPU1      0.0%        54 °C      1024 MHz
CPU2      0.0%        47 °C      2945 MHz
CPU3      0.0%        47 °C      1914 MHz
CPU4      1.0%        51 °C       400 MHz
CPU5      0.0%        51 °C       400 MHz
CPU6      0.0%        42 °C      4042 MHz
CPU7      0.0%        42 °C      1897 MHz
CPU8      1.0%        46 °C      2140 MHz
CPU9      0.0%        46 °C       400 MHz
CPU10      1.0%        46 °C       728 MHz
CPU11      0.0%        46 °C       400 MHz
CPU12      0.0%        45 °C      2275 MHz
CPU13      0.0%        45 °C       400 MHz
CPU14      0.0%        45 °C       400 MHz
CPU15      0.0%        45 °C       400 MHz

CPU fan speed: 0 RPM

CPU fan speed: 4974 RPM

auto-cpufreq version: Version         : 2.6.0-2

Python: 3.13.5
psutil package: 7.0.0
platform package: 1.0.8
click package: 8.2.1
distro package: 1.9.0

Computer type: Convertible
Battery is: discharging

auto-cpufreq system resource consumption:
cpu usage: 0.0 %
memory use: 0.14 %

Total CPU usage: 0.7 %
Total system load: 0.66
Average temp. of all cores: 46.00 °C 

Currently using: performance governor
Currently turbo boost is: on

-------------------------------------------------------------------------------

Also please be descriptive about the issue you're reporting, i.e: what you tried & what's the expected behaviour.


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions