@Takei, I’ve tried the suggested changes to tlp.conf
, but to no avail.
@woistmeinauto, sorry for misunderstanding. In the meanwhile. I’ve tried (1) unplugging and plugging back in during boot menu (speed is fine in the beginning), and (2) unplugging during boot menu and booting on battery (speed is lower).
I’ve also tried the 5.4.57-1 kernel, but the issue remains.
Here’s the output of cpupower frequency-info
:
AC:
analyzing CPU 0:
driver: intel_pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: Cannot determine or is not supported.
hardware limits: 800 MHz - 4.10 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 2.20 GHz and 4.10 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 4.10 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
Battery:
analyzing CPU 0:
driver: intel_pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: Cannot determine or is not supported.
hardware limits: 800 MHz - 4.10 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 1.50 GHz and 1.50 GHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 1.50 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
AC again, after battery:
analyzing CPU 0:
driver: intel_pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: Cannot determine or is not supported.
hardware limits: 800 MHz - 4.10 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 1.50 GHz and 1.50 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 1.50 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
Also, here’s the journalctl -f
during AC -> batter -> AC:
kol 23 11:06:35 machinename dbus-daemon[1345]: [session uid=1000 pid=1345] Successfully activated service 'org.gnome.Terminal'
kol 23 11:06:35 machinename systemd[1323]: Started GNOME Terminal Server.
kol 23 11:06:35 machinename systemd[1323]: Started VTE child process 2630 launched by gnome-terminal-server process 2623.
kol 23 11:06:39 machinename systemd[1323]: Started VTE child process 2644 launched by gnome-terminal-server process 2623.
kol 23 11:07:11 machinename systemd[1323]: Started VTE child process 2669 launched by gnome-terminal-server process 2623.
kol 23 11:07:57 machinename kernel: asus_wmi: Unknown key cf pressed
kol 23 11:07:58 machinename kernel: r8169 0000:03:00.0 eno2: Link is Down
The asus_wmi
line appeared after plugging back in. No entry was made on initial unplug.
EDIT:
acpi --ac-adapter
detects changes in AC state: Adapter 0: on-line
when plugged in, and Adapter 0: off-line
when on battery. Don’t know if this helps in any way.
EDIT 2:
So, I’ve noticed that cpupower
has a frequency-set
command. So, I tried doing sudo cpupower frequency-set -f 4.0GHz
, and got the following error:
Setting cpu: 0
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?
I should have the proper admin rights, so the first bullet shouldn’t be an issue. I’m not sure how to go about addressing the other ones.
EDIT 3:
Doing a bit of additional digging, trying to wrap my head around all these things.
So, I’ve noticed that I don’t have thermald
installed. I’m leaving it that way for now, but will install later, since the Arch Wiki is making it sound useful.
That being said, systemctl status cpupower.service
reports that the service is not running:
● cpupower.service - Apply cpupower configuration
Loaded: loaded (/usr/lib/systemd/system/cpupower.service; disabled; vendor preset: disabled)
Active: inactive (dead)
Running sudo cpupower frequency-set -g performance
succeeds, but cpupower frequency-info
reports same low current CPU frequency (1.5GHz).
As per the Arch Wiki, the available CPU frequency drivers are obtained by ls /usr/lib/modules/$(uname -r)/kernel/drivers/cpufreq
, which in my case gives:
acpi-cpufreq.ko.xz
amd_freq_sensitivity.ko.xz
cpufreq_conservative.ko.xz
cpufreq-dt.ko.xz
cpufreq_ondemand.ko.xz
cpufreq_powersave.ko.xz
cpufreq_userspace.ko.xz
p4-clockmod.ko.xz
pcc-cpufreq.ko.xz
powernow-k8.ko.xz
speedstep-lib.ko.xz
I’m noticing that there’s a powersave module, but no performance module, just judging by the names. Don’t know if that’s important.
Not sure what to look for in lsmod
.
Maybe the issue lies somewhere with cpupower
? Will try activating cpupower.service
.
EDIT 4:
Also, what’s up with cpupower frequency-info
stating current CPU frequency: Unable to call hardware
?