安装 gnome 扩展后 CPU 频率停留在低值

安装 gnome 扩展后 CPU 频率停留在低值

我尝试使用不同的 gnome 扩展来控制笔记本电脑的性能和电池寿命。值得注意的是,我安装和卸载了这两个扩展:

我同时运行了部分程序,然后卸载并重新安装。现在我的 CPU 卡在最低频率,更改调速器不再有效。

user@XPS:~$ cat /proc/cpuinfo | grep MHz
cpu MHz     : 800.039
cpu MHz     : 800.035
cpu MHz     : 800.037
cpu MHz     : 800.026
cpu MHz     : 800.008
cpu MHz     : 800.036
cpu MHz     : 800.040
cpu MHz     : 800.028

user@XPS:~$ for governor in $(ls /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor); do cat $governor; done
performance
performance
performance
performance
performance
performance
performance
performance

我该如何解决这个问题?


这里还有一些信息:

即使在负载下,CPU 仍能保持在 800 Mhz。(我在一张大地图上用六个机器人运行 0.AD 进行了测试。)

user@XPS:~$ grep . /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver
/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver:intel_pstate
/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver:intel_pstate
/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver:intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver:intel_pstate
/sys/devices/system/cpu/cpu4/cpufreq/scaling_driver:intel_pstate
/sys/devices/system/cpu/cpu5/cpufreq/scaling_driver:intel_pstate
/sys/devices/system/cpu/cpu6/cpufreq/scaling_driver:intel_pstate
/sys/devices/system/cpu/cpu7/cpufreq/scaling_driver:intel_pstate

user@XPS:~$ grep . /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq:3800000
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq:3800000
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq:3800000
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq:3800000
/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq:3800000
/sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq:3800000
/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq:3800000
/sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq:3800000

user@XPS:~$ grep . /sys/devices/system/cpu/cpu*/cpufreq/scaling_min_freq
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq:800000

user@XPS:~$ grep . /sys/devices/system/cpu/intel_pstate/*perf_pct
/sys/devices/system/cpu/intel_pstate/max_perf_pct:100
/sys/devices/system/cpu/intel_pstate/min_perf_pct:25

答案1

在 grub 中检查了各种选项却没有结果后,我从 USB 启动了一个干净的 ubuntu 映像。CPU 频率仍然为 800 Mhz,表明它与操作系统无关。快速搜索发现,这是戴尔保护笔记本电脑的安全机制,由热事件、电池故障或充电器故障触发。就我而言,这可能是我在尝试上述扩展时发生的热事件。上周某个时候,我的笔记本电脑无法进入睡眠状态,在我的背包里全速运转。

解决方案是拧开后盖并断开电池 15 秒以上。这会重置保护机制。重启后,CPU 再次遵循 intel_pstate 设置。

相关内容