Ubuntu 20.04 偶尔会突然重启

Vin*_*ges 5 reboot power-management 20.04

我在台式电脑 Intel i9 Core 16Gb RAM ASUS 主板上使用 Ubuntu 20.04。有时,当我运行 OBS Studio、Skype、Chrome 等应用程序时,我的计算机会突然重新启动。我不知道其原因,也找不到可以帮助解决此问题的合适文章。接下来我将解释我的尝试,试图找出我的硬件可能存在的问题。

\n

输入后的结果last reboot显示,我之前的 Ubuntu 运行在意外重启后显示为“仍在运行”:

\n
reboot   system boot  5.4.0-42-generic Wed Aug 26 11:00   still running\nreboot   system boot  5.4.0-42-generic Tue Aug 25 06:20   still running\nreboot   system boot  5.4.0-42-generic Mon Aug 24 06:38 - 00:06  (17:28)\nreboot   system boot  5.4.0-42-generic Sun Aug 23 18:52 - 23:36  (04:44)\nreboot   system boot  5.4.0-42-generic Sun Aug 23 06:32 - 23:36  (17:04)\nreboot   system boot  5.4.0-42-generic Thu Aug 20 09:42 - 18:17 (2+08:35)\nreboot   system boot  5.4.0-42-generic Mon Aug 17 21:55 - 22:22  (00:26)\nreboot   system boot  5.4.0-42-generic Mon Aug 17 09:22 - 21:55  (12:33)\nreboot   system boot  5.4.0-42-generic Mon Aug 17 09:00 - 21:55  (12:54)\nreboot   system boot  5.4.0-42-generic Mon Aug 17 08:55 - 21:55  (12:59)\nreboot   system boot  5.4.0-42-generic Mon Aug 17 05:56 - 07:37  (01:40)\nreboot   system boot  5.4.0-42-generic Mon Aug 17 05:34 - 07:37  (02:02)\nreboot   system boot  5.4.0-42-generic Sun Aug 16 21:09 - 00:07  (02:58)\nreboot   system boot  5.4.0-42-generic Sun Aug 16 20:52 - 21:09  (00:17)\nreboot   system boot  5.4.0-42-generic Sun Aug 16 20:38 - 20:51  (00:12)\nreboot   system boot  5.4.0-42-generic Sun Aug 16 20:14 - 20:38  (00:23)\nreboot   system boot  5.4.0-42-generic Sun Aug 16 20:05 - 20:38  (00:33)\nreboot   system boot  5.4.0-42-generic Sun Aug 16 19:31 - 20:38  (01:07)\nreboot   system boot  5.4.0-42-generic Sun Aug 16 18:39 - 19:30  (00:51)\nreboot   system boot  5.4.0-42-generic Sun Aug 16 18:27 - 18:38  (00:11)\nreboot   system boot  5.4.0-42-generic Sun Aug 16 18:22 - 18:27  (00:04)\nreboot   system boot  5.4.0-42-generic Sun Aug 16 18:18 - 18:27  (00:08)\nreboot   system boot  5.4.0-42-generic Sun Aug 16 18:16 - 18:27  (00:10)\nreboot   system boot  5.4.0-42-generic Sun Aug 16 18:11 - 18:27  (00:15)\nreboot   system boot  5.4.0-42-generic Sun Aug 16 16:42 - 18:11  (01:28)\nreboot   system boot  5.4.0-42-generic Sun Aug 16 16:30 - 16:42  (00:11)\nreboot   system boot  5.4.0-42-generic Sun Aug 16 16:22 - 16:30  (00:08)\nreboot   system boot  5.4.0-42-generic Sun Aug 16 16:13 - 16:22  (00:08)\nreboot   system boot  5.4.0-42-generic Sun Aug 16 15:50 - 16:13  (00:23)\nreboot   system boot  5.4.0-42-generic Sun Aug 16 15:46 - 16:13  (00:27)\nreboot   system boot  5.4.0-42-generic Sun Aug 16 14:01 - 15:42  (01:41)\nreboot   system boot  5.4.0-42-generic Sun Aug 16 13:50 - 14:00  (00:09)\n
Run Code Online (Sandbox Code Playgroud)\n

计算机硬件配置如下:

\n
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 0d)\n00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Desktop 9 Series) (rev 02)\n00:14.0 USB controller: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller\n00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1\n00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode]\n00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #5 (rev f0)\n00:1c.7 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #8 (rev f0)\n00:1d.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #11 (rev f0)\n00:1f.0 ISA bridge: Intel Corporation Device a2ca\n00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller\n00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio\n00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller\n01:00.0 VGA compatible controller: NVIDIA Corporation GK208 [GeForce GT 710] (rev a1)\n01:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)\n03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)\n
Run Code Online (Sandbox Code Playgroud)\n

当我第一次安装 Ubuntu 时,我多次尝试让 Nvidia 驱动程序正常工作,但任何官方 nvidia 驱动程序都成功识别我的 nvidia 卡。因此,我目前正在运行 Noveau 驱动程序。

\n

我使用该工具对我的 CPU 进行了压力测试stress-ng,并安装了powertop该工具来检查我的硬件设备的功耗。我的电脑连接到不间断(600 Va),压力测试期间我的硬件最大功耗为104W。根据sensors,压力测试时我的cpu核心温度为:

\n
coretemp-isa-0000\nAdapter: ISA adapter\nPackage id 0:  +92.0\xc2\xb0C  (high = +86.0\xc2\xb0C, crit = +100.0\xc2\xb0C)\nCore 0:        +91.0\xc2\xb0C  (high = +86.0\xc2\xb0C, crit = +100.0\xc2\xb0C)\nCore 1:        +87.0\xc2\xb0C  (high = +86.0\xc2\xb0C, crit = +100.0\xc2\xb0C)\nCore 2:        +92.0\xc2\xb0C  (high = +86.0\xc2\xb0C, crit = +100.0\xc2\xb0C)\nCore 3:        +91.0\xc2\xb0C  (high = +86.0\xc2\xb0C, crit = +100.0\xc2\xb0C)\nCore 4:        +92.0\xc2\xb0C  (high = +86.0\xc2\xb0C, crit = +100.0\xc2\xb0C)\nCore 5:        +91.0\xc2\xb0C  (high = +86.0\xc2\xb0C, crit = +100.0\xc2\xb0C)\nCore 6:        +89.0\xc2\xb0C  (high = +86.0\xc2\xb0C, crit = +100.0\xc2\xb0C)\nCore 7:        +89.0\xc2\xb0C  (high = +86.0\xc2\xb0C, crit = +100.0\xc2\xb0C)\n\nacpitz-acpi-0\nAdapter: ACPI interface\ntemp1:        +27.8\xc2\xb0C  (crit = +119.0\xc2\xb0C)\ntemp2:        +29.8\xc2\xb0C  (crit = +119.0\xc2\xb0C)\n
Run Code Online (Sandbox Code Playgroud)\n

powertop相同压力测试期间的输出:

\n
System baseline power is estimated at 104 W\n\nPower est.    Usage     Device name\n  85.4 W     1065%        CPU core\n  9.68 W     1065%        CPU misc\n  1.01 W     1065%        DRAM\n            100,0%        PCI Device: NVIDIA Corporation GK208 [GeForce GT 710]\n            100,0%        USB device: xHCI Host Controller\n            100,0%        USB device: USB Optical Mouse (Logitech)\n            100,0%        USB device: USB Keyboard (USB)\n            100,0%        PCI Device: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller\n            100,0%        PCI Device: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller\n            100,0%        PCI Device: Intel Corporation 200 Series PCH SATA controller [AHCI mode]\n            100,0%        PCI Device: Intel Corporation 200 Series PCH PCI Express Root Port #5\n            100,0%        PCI Device: Intel Corporation Device a2ca\n            100,0%        PCI Device: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16)\n            100,0%        PCI Device: Intel Corporation 200 Series PCH PCI Express Root Port #8\n            100,0%        PCI Device: Intel Corporation 200 Series PCH HD Audio\n            100,0%        PCI Device: Intel Corporation 8th Gen Core 8-core Desktop Processor Host Bridge/DRAM Registers [Coffee\n            100,0%        PCI Device: Intel Corporation 200 Series PCH PCI Express Root Port #11\n            100,0%        PCI Device: Intel Corporation UHD Graphics 630 (Desktop 9 Series)\n            100,0%        PCI Device: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller\n            100,0%        Audio codec hwC0D0: Realtek\n             18,6 pkts/s  Network interface: enp3s0 (r8169)\n
Run Code Online (Sandbox Code Playgroud)\n

谁能告诉我我的电脑出了什么问题?我很欣赏这些建议!

\n

谢谢!

\n

hey*_*ema 3

CPU温度

\n

stress-ng工具显示所有 8 个 CPU 的 CPU 温度均为 87.0\xc2\xb0C 至 92.0\xc2\xb0C(几乎为 200\xc2\xb0F)。这些温度会毁掉你的机器。

\n

检查您的风扇是否正确接线、连接和运行。

\n

检查您的 BIOS 中的自定义风扇设置。

\n

尽快降低温度!

\n

超频

\n

如果您的 CPU 或 RAM 已超频,请将其恢复为默认值。

\n

BIOS

\n

华硕 PRIME H310M-E R2.0/BR

\n

您的 BIOS 版本为 1402,日期为 2020 年 5 月 21 日。

\n

有更新的 BIOS 可用,版本 1605,日期为 2020 年 8 月 14 日,可以在此处下载。

\n

注意:验证我是否拥有适合您主板的正确网页。

\n

注意:更新 BIOS 之前请做好备份。

\n

英伟达

\n

NVIDIA 公司 GK208 [GeForce GT 710]

\n

关于Nvidia的问题...当前的驱动程序版本是450.66,可以在这里下载。

\n

确认 BIOS 中已禁用安全启动。

\n

清除所有当前的 Nvidia 驱动程序,然后安装新驱动程序。

\n

在此输入图像描述

\n

在此输入图像描述

\n

更新#1:

\n

您从 Nvidia 驱动程序返回的消息表明 450.66 不支持您的显卡,因此它们不适用于您的配置。您需要联系 Nvidia 支持以询问要使用哪个驱动程序。在此之前,选择 Nouveau 视频驱动程序,然后再次清除所有 Nvidia 内容。

\n