It's not launching, and can't change CPU frequency on the terminal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cpufreqd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
cpufrequtils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
indicator-cpufreq (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
indicator-cpufreq
/usr/lib/
from gi.repository import Gtk
/usr/lib/
from gi.repository import AppIndicator3 as appindicator
Traceback (most recent call last):
File "/usr/bin/
ind = MyIndicator(
File "/usr/lib/
self.
File "/usr/lib/
fmin, fmax, governor = cpufreq.
File "/usr/lib/
policy = (p.contents.min, p.contents.max, p.contents.
ValueError: NULL pointer access
$ sudo cpufreq-set -g ondemand
[sudo] password for yamiyuki:
Error setting new values. Common errors:
- Do you have proper administration rights? (super-user?)
- Is the governor you requested available and modprobed?
- Trying to set an invalid policy?
- Trying to set a specific frequency, but userspace governor is not available,
for example because of hardware which cannot be set to a specific frequency
or because the userspace governor isn't loaded?
$ sudo cpufreq-set -g performance
Error setting new values. Common errors:
- Do you have proper administration rights? (super-user?)
- Is the governor you requested available and modprobed?
- Trying to set an invalid policy?
- Trying to set a specific frequency, but userspace governor is not available,
for example because of hardware which cannot be set to a specific frequency
or because the userspace governor isn't loaded?
$ sudo cpufreqd-get
No cpufreqd socket found
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: indicator-cpufreq 0.2.2-0ubuntu3
Uname: Linux 5.15.11-
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Wed Jan 26 14:58:20 2022
InstallationDate: Installed on 2022-01-14 (12 days ago)
InstallationMedia: Kubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
PackageArchitec
SourcePackage: indicator-cpufreq
UpgradeStatus: No upgrade log present (probably fresh install)
$ systemctl status cpufreqd d/cpufreqd; generated) sysv-generator( 8) /etc/init. d/cpufreqd start (code=exited, status=1/FAILURE)
× cpufreqd.service - LSB: start and stop cpufreqd
Loaded: loaded (/etc/init.
Active: failed (Result: exit-code) since Wed 2022-01-26 16:02:47 EST; 4min 1s ago
Docs: man:systemd-
Process: 1401 ExecStart=
CPU: 7ms
Jan 26 16:02:47 Y4M1-II systemd[1]: Starting LSB: start and stop cpufreqd...
Jan 26 16:02:47 Y4M1-II cpufreqd[1401]: * Starting CPU Frequency daemon cpufreqd
Jan 26 16:02:47 Y4M1-II cpufreqd[1401]: ...fail!
Jan 26 16:02:47 Y4M1-II systemd[1]: cpufreqd.service: Control process exited, code=exited, status=1/FAILURE
Jan 26 16:02:47 Y4M1-II systemd[1]: cpufreqd.service: Failed with result 'exit-code'.
Jan 26 16:02:47 Y4M1-II systemd[1]: Failed to start LSB: start and stop cpufreqd.