Ubuntu 21.10 桌面,AMD Ryzen 5 3600 (3.6 GHz),64 GB RAM
我在使用 Wayland 和没有使用 Wayland 时都遇到了这个问题。
所有崩溃情况的共同点是 Firefox(默认 Snap 安装)。有时只是 Firefox 会崩溃,但有时会导致我的整个系统崩溃。有时我会看到 Firefox 崩溃报告屏幕,有时我会在 Ubuntu 登录屏幕上结束,有时系统会冻结到只有硬重置才能工作的程度。
我在 Firefox 中找到了“about:crashes”页面,发现最近两周左右的崩溃报告没有提交,所以我现在已经提交了所有这些。
当我查看 /var/log/syslog 时,我看到太多我不理解的内容,但如果有人能告诉我要查找的内容,我会很乐意发布。
提前致谢。
根据要求在下面进行编辑。CPU或RAM没有超频。
ls -al /var/crash
total 12
drwxrwsrwt 2 root whoopsie 4096 Dec 16 07:38 .
drwxr-xr-x 16 root root 4096 Dec 15 20:32 ..
-rw-r--r-- 1 robert whoopsie 0 Dec 14 06:46 _usr_lib_xorg_Xorg.1000.upload
-rw------- 1 whoopsie whoopsie 37 Dec 14 06:46 _usr_lib_xorg_Xorg.1000.uploaded
sudo lshw -C 内存
*-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: P1.70
date: 12/01/2020
size: 64KiB
capacity: 16MiB
capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
*-memory
description: System Memory
physical id: f
slot: System board or motherboard
size: 64GiB
*-bank:0
description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
product: F4-3200C16-16GVK
vendor: Unknown
physical id: 0
serial: 00000000
slot: DIMM 0
size: 16GiB
width: 64 bits
clock: 2133MHz (0.5ns)
*-bank:1
description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
product: F4-3200C16-16GVK
vendor: Unknown
physical id: 1
serial: 00000000
slot: DIMM 1
size: 16GiB
width: 64 bits
clock: 2133MHz (0.5ns)
*-bank:2
description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
product: F4-3200C16-16GVK
vendor: Unknown
physical id: 2
serial: 00000000
slot: DIMM 0
size: 16GiB
width: 64 bits
clock: 2133MHz (0.5ns)
*-bank:3
description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
product: F4-3200C16-16GVK
vendor: Unknown
physical id: 3
serial: 00000000
slot: DIMM 1
size: 16GiB
width: 64 bits
clock: 2133MHz (0.5ns)
*-cache:0
description: L1 cache
physical id: 12
slot: L1 - Cache
size: 384KiB
capacity: 384KiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=1
*-cache:1
description: L2 cache
physical id: 13
slot: L2 - Cache
size: 3MiB
capacity: 3MiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=2
*-cache:2
description: L3 cache
physical id: 14
slot: L3 - Cache
size: 32MiB
capacity: 32MiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=3
sysctl vm.swappiness
vm.swappiness = 60
免费-h
total used free shared buff/cache available
Mem: 62Gi 5.6Gi 1.2Gi 179Mi 55Gi 56Gi
Swap: 71Gi 17Mi 71Gi
交换-s
Filename Type Size Used Priority
/dev/sdb1 partition 75497468 17536 -2
2021 年 12 月 19 日更新
ls -al /var/crash
total 3204
drwxrwsrwt 2 root whoopsie 4096 Dec 19 12:41 .
drwxr-xr-x 16 root root 4096 Dec 19 12:38 ..
-rw-r--r-- 1 robert whoopsie 0 Dec 19 12:41 _opt_google_chrome_chrome.1000.upload
-rw------- 1 whoopsie whoopsie 37 Dec 19 12:41 _opt_google_chrome_chrome.1000.uploaded
-rw-r--r-- 1 robert whoopsie 0 Dec 19 12:41 _usr_bin_gnome-shell.1000.upload
-rw------- 1 whoopsie whoopsie 37 Dec 19 12:41 _usr_bin_gnome-shell.1000.uploaded
-rw-r----- 1 robert whoopsie 3254690 Dec 19 12:41 _usr_bin_Xwayland.1000.crash
-rw-r--r-- 1 robert whoopsie 0 Dec 19 12:41 _usr_bin_Xwayland.1000.upload
-rw------- 1 whoopsie whoopsie 37 Dec 19 12:41 _usr_bin_Xwayland.1000.uploaded
-rw-r--r-- 1 robert whoopsie 0 Dec 14 06:46 _usr_lib_xorg_Xorg.1000.upload
-rw------- 1 whoopsie whoopsie 37 Dec 14 06:46 _usr_lib_xorg_Xorg.1000.uploaded
ls -al ~/.local/share/gnome-shell/extensions
total 16
drwxrwxr-x 4 robert robert 4096 Dec 13 11:52 .
drwx------ 4 robert robert 4096 Dec 19 16:19 ..
drwxrwxr-x 4 robert robert 4096 Dec 14 06:47 [email protected]
drwxrwxr-x 5 robert robert 4096 Dec 3 08:19 [email protected]
ls -al /usr/share/gnome-shell/extensions
total 20
drwxr-xr-x 5 root root 4096 May 14 2021 .
drwxr-xr-x 7 root root 4096 Oct 16 19:13 ..
drwxr-xr-x 2 root root 4096 Oct 16 18:49 [email protected]
drwxr-xr-x 3 root root 4096 Oct 16 18:49 [email protected]
drwxr-xr-x 3 root root 4096 Oct 16 18:50 [email protected]
BIOS
华擎 B550M Pro4
从 2020 年 12 月 10 日开始,您有一个较旧的 BIOS 版本 1.70,并且从 21 年 8 月 5 日开始有一个更新的 BIOS 版本 2.20,可以在这里下载。
注意:请确认我拥有适合您的主板型号的正确网页。
注意:在更新 BIOS 之前做好备份。
vm.swappiness
使用 64G RAM,您可以通过调整 vm.swappiness 来减少交换并加快操作。
编辑 /etc/sysctl.conf
添加vm.swappiness=10(在文件末尾)
sudo sysctl -p (或重新启动)
Memtest(在 BIOS 更新后执行此操作)
转到https://www.memtest86.com/并免费下载/运行它们
memtest
以测试您的记忆力。至少完成所有 4/4 测试以确认良好的记忆力。这可能需要几个小时才能完成。更新#1:
火狐
Ubuntu Software
快照版本详细信息...
标准 .deb 版本详细信息...
Ubuntu Software
更新#2: