问题:
我在联想Lenovo Legion Y540笔记本上重新安装了Windows和Ubuntu,安装顺利,但从那时起,我注意到,即使只是简单的网络浏览,笔记本电脑也会变得非常烫,我安装了lm-sensors
来检查CPU的温度,在引导Ubuntu之后,温度如下:
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +66.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +66.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +64.0°C (high = +100.0°C, crit = +100.0°C)
Core 2: +66.0°C (high = +100.0°C, crit = +100.0°C)
Core 3: +63.0°C (high = +100.0°C, crit = +100.0°C)
Core 4: +63.0°C (high = +100.0°C, crit = +100.0°C)
Core 5: +62.0°C (high = +100.0°C, crit = +100.0°C)
在写这篇文章的时候,我启用了十二个左右的Firefox标签,温度如下:
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +85.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +85.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +79.0°C (high = +100.0°C, crit = +100.0°C)
Core 2: +85.0°C (high = +100.0°C, crit = +100.0°C)
Core 3: +81.0°C (high = +100.0°C, crit = +100.0°C)
Core 4: +85.0°C (high = +100.0°C, crit = +100.0°C)
Core 5: +81.0°C (high = +100.0°C, crit = +100.0°C)
根据朋友的建议,我切换到Intel GPU,sensors
的当前输出为:
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +84.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +76.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +75.0°C (high = +100.0°C, crit = +100.0°C)
Core 2: +85.0°C (high = +100.0°C, crit = +100.0°C)
Core 3: +76.0°C (high = +100.0°C, crit = +100.0°C)
Core 4: +80.0°C (high = +100.0°C, crit = +100.0°C)
Core 5: +77.0°C (high = +100.0°C, crit = +100.0°C)
ps auxc | grep -i therm.
root 210 0.0 0.0 0 0 ? I< cze07 0:00 acpi_thermal_pm
root 884 0.0 0.0 188224 9644 ? Ssl cze07 0:00 thermald
systemctl status thermald
输出为:
● thermald.service - Thermal Daemon Service
Loaded: loaded (/lib/systemd/system/thermald.service; enabled; vendor preset:
Active: active (running) since Mon 2020-07-20 08:29:43 CEST; 12h ago
Main PID: 995 (thermald)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/thermald.service
└─995 /usr/sbin/thermald --no-daemon --dbus-enable
lip 20 08:29:43 jakes systemd[1]: Starting Thermal Daemon Service...
lip 20 08:29:43 jakes systemd[1]: Started Thermal Daemon Service.
lip 20 08:29:43 jakes thermald[995]: 22 CPUID levels; family:model:stepping 0x6:9
lip 20 08:29:43 jakes thermald[995]: Polling mode is enabled: 4
lip 20 08:29:43 jakes thermald[995]: sysfs read failed constraint_0_max_power_uw
答案1:
尝试intel-undervolt
,在GitHub上。
sudo apt install git
git clone https://github.com/kitsunyan/intel-undervolt
sudo su
,然后输入密码./configure --enable-systemd --enable-openrc && make && make install
exit
模式sudo systemctl daemon-reload
sudo gedit /etc/intel-undervolt.conf
这将打开文本编辑器undervolt 0 'CPU' -130
(推荐的-125 )sudo intel-undervolt apply
,然后运行 sudo systemctl start intel-undervolt
sudo systemctl enable intel-undervolt
在选择偏移时,使用 undervolt 0 'CPU' -130
在/etc/intel-undervolt.conf
文件中,
找到正确的偏移量(每个CPU唯一),并将最终值设置为阈值-10,它在140时崩溃,所以我将它设置为130.
唯一的缺点(如果你不选择 sudo systemctl enable intel-undervolt
alias us='sudo intel-undervolt apply && sudo tlp start'
答案2:
在终端中运行以下命令来签出它:
systemctl status thermald
如果它没有运行或者没有安装,请安装它,并运行它。可以通过输入命令启动thermald
systemctl start thermald
一些Lenovo Legion笔记本电脑具有非标准的ACPI/固件设置。你的固件是最新的版本?thermald可能无法正确解释固件中的值,在这种情况下,你需要为它做自己的配置,尝试使用此手册:https://wiki.ubuntu.com/Kernel/PowerManagement/ThermalIssues