Ubuntu 18.04.2 过热(风扇问题)。我该怎么办?

Ubuntu 18.04.2 过热(风扇问题)。我该怎么办?

我有一台预装 Windows 10 的 ASUS S510UA。我用 SSD 替换了 HDD,并添加了另外 8 GB 的 RAM 内存。

我并行安装了 Ubuntu 18.04.2,风扇运转不正常。

当我使用 Windows 时,它从来不会变热。然而,当我使用 Linux 时,它总是会变热。

我已经安装了 lm-sensors。当我运行 时sudo sensors-detect,我得到的是该消息末尾的这个块。

我尝试过这个: Ubuntu 中风扇转速缓慢 但是并没有解决问题,只是在ubuntu启动的时候开风扇,但是电脑还是很热。

然后我尝试安装 ACPI,因为另一篇我再也找不到的帖子中提到了它:sudo gedit acpi-call-dkms 但它也没有解决问题。

还有什么我还可以尝试吗?

提前致谢!

[sudo] password for note:
# sensors-detect revision 6284 (2015-05-31 14:00:33 +0200)
# System: ASUSTeK COMPUTER INC. X510UAR [1.0] (laptop)
# Kernel: 4.15.0-45-generic x86_64
# Processor: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (6/142/10)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): YES
Module cpuid loaded successfully.
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
AMD Family 12h and 14h thermal sensors...                   No
AMD Family 15h thermal sensors...                           No
AMD Family 16h thermal sensors...                           No
AMD Family 15h power sensors...                             No
AMD Family 16h power sensors...                             No
Intel digital thermal sensor...                             Success!
    (driver `coretemp')
Intel AMB FB-DIMM thermal sensor...                         No
Intel 5500/5520/X58 thermal sensor...                       No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): YES
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      No
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      No

Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (YES/no): YES
Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): YES
Found unknown SMBus adapter 8086:9d23 at 0000:00:1f.4.
Sorry, no supported PCI bus adapters found.

Next adapter: i915 gmbus dpc (i2c-0)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: i915 gmbus dpb (i2c-1)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: i915 gmbus dpd (i2c-2)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: DPDDC-A (i2c-3)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: Synopsys DesignWare I2C adapter (i2c-4)
Do you want to scan it? (YES/no/selectively): YES
Adapter doesn't support all probing functions.
Some addresses won't be probed.

Next adapter: Synopsys DesignWare I2C adapter (i2c-5)
Do you want to scan it? (YES/no/selectively): YES
Adapter doesn't support all probing functions.
Some addresses won't be probed.


Now follows a summary of the probes I have just done.
Just press ENTER to continue: 

Driver 'coretemp':
  * Chip `Intel digital thermal sensor' (confidence: 9)

To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
coretemp
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!

Do you want to add these lines automatically to /etc/modules? (yes/NO)

#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!

Do you want to add these lines automatically to /etc/modules? (yes/NO)

答案1

部分答案在于您如何处理 建议的模块修改sudo sensors-detect。该程序要求您安装coretemp模块,默认为“否”。后半部分是使用传感器输出来运行 Fancontrol 模块。

首先,让我们将模块添加到您的系统中

sudo cp /etc/modules /etc/modules.bak
sudo nano /etc/modules

滚动到底部,coretemp如果不存在则添加该行,然后按Ctrl+o输出文件并按Ctrl+x退出编辑器

现在您需要安装程序fancontrol,配置 pwm 风扇控制单元,并将它们绑定到传感器包中:

sudo apt install fancontrol
sudo pwmconfig

pwmconfig将逐步介绍测试风扇控制能力的过程,并允许您设置打开和关闭风扇的自定义温度级别。然后,您需要设置 Fancontrol 的传感器输出。

sudo sensors -s

最后,启用并启动 Fancontrol 服务

sudo systemctl enable fancontrol
sudo systemctl start fancontrol

最后,您可以使用命令在终端上监控温度传感器和风扇速度sensors。要连续watch sensors监控温度,您可以使用以下程序,如psensor

答案2

我在尝试运行 时遇到了同样的错误sudo pwmconfig。我发现问题的主要原因是 CPU 超频。从 BIOS 禁用 turbo boost 会在一定程度上减轻问题。但 CPU 频率仍将处于最大值。可以通过手动更改 CPU 频率调节器来临时解决这个问题。

禁用 CPU 调节器的按需功能。

sudo systemctl disable ondemand

安装 Linux 内核工具并将频率调节器更改为 Powersave。

sudo apt-get install -y linux-tools-$(uname -r)
sudo cpupower frequency-set --governor powersave

这应该可以解决您的问题,直到有官方更新来解决这个问题。您可以在这里找到更详细的解决方案说明:Ubuntu 18.04 过热问题。

答案3

我建议安装thermald(它适用于 Intel CPU)来解决这个问题。它使用风扇控制、CPU 的电源状态和空闲命令来控制温度,因此应该比仅使用风扇控制更有效。并删除其他冲突的解决方案。“按需”CPU 调速器应该没问题。

当然,你需要coretemp加载模块才能使其工作。没有传感器读数,它就毫无用处。

相关内容