我的 Ubuntu 19.04 电脑(Ubuntu 18 也发生过这种情况)意外冻结,键盘和鼠标停止工作,如果我重新启动显示器,它们不会记录任何输入。我唯一能做的就是按住电源按钮 5 秒钟,直到它关闭,然后重新启动。我与 Windows 有双启动,如果这有某种相关性的话,它可以正常工作。
上次发生这种情况时,每秒都会记录一次,持续 2 分钟,直到冻结。
May 24 15:39:54 janpromainubuntu org.gnome.Shell.desktop[1819]: [18682:18753:0524/153954.992768:ERROR:latency_info.cc(147)] Surface::TakeLatencyInfoFromFrame, LatencyInfo vector size 102 is too big.
May 24 15:39:55 janpromainubuntu org.gnome.Shell.desktop[1819]: [18682:18753:0524/153955.843148:ERROR:latency_info.cc(147)] Surface::TakeLatencyInfoFromFrame, LatencyInfo vector size 102 is too big.
May 24 15:39:56 janpromainubuntu org.gnome.Shell.desktop[1819]: [18682:18753:0524/153956.693156:ERROR:latency_info.cc(147)] Surface::TakeLatencyInfoFromFrame, LatencyInfo vector size 102 is too big.
May 24 15:39:57 janpromainubuntu org.gnome.Shell.desktop[1819]: [18682:18753:0524/153957.542491:ERROR:latency_info.cc(147)] Surface::TakeLatencyInfoFromFrame, LatencyInfo vector size 102 is too big.
May 24 15:39:58 janpromainubuntu org.gnome.Shell.desktop[1819]: [18682:18753:0524/153958.393026:ERROR:latency_info.cc(147)] Surface::TakeLatencyInfoFromFrame, LatencyInfo vector size 102 is too big.
May 24 15:39:59 janpromainubuntu org.gnome.Shell.desktop[1819]: [18682:18753:0524/153959.242858:ERROR:latency_info.cc(147)] Surface::TakeLatencyInfoFromFrame, LatencyInfo vector size 102 is too big.
所以我想问一下,可能是什么问题以及如何解决?
janpro@janpromainubuntu:~$ free -h
total used free shared buff/cache available
Mem: 15Gi 4,0Gi 6,1Gi 86Mi 5,6Gi 11Gi
Swap: 2,0Gi 0B 2,0Gi
janpro@janpromainubuntu:~$ ls -al ~/.local/share/gnome-shell/extensions
ls: cannot access '/home/janpro/.local/share/gnome-shell/extensions': No such file or directory
janpro@janpromainubuntu:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 8140996 0 8140996 0% /dev
tmpfs 1642044 2168 1639876 1% /run
/dev/sda6 76681304 14963504 57779536 21% /
tmpfs 8210216 72900 8137316 1% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 8210216 0 8210216 0% /sys/fs/cgroup
/dev/loop2 1024 1024 0 100% /snap/gnome-logs/61
/dev/loop1 3840 3840 0 100% /snap/gnome-system-monitor/77
/dev/loop3 82176 82176 0 100% /snap/audacity/288
/dev/loop4 4224 4224 0 100% /snap/gnome-calculator/406
/dev/loop5 55040 55040 0 100% /snap/core18/970
/dev/loop6 15104 15104 0 100% /snap/gnome-characters/254
/dev/loop0 91392 91392 0 100% /snap/core/6673
/dev/loop8 154752 154752 0 100% /snap/gnome-3-28-1804/31
/dev/loop9 207232 207232 0 100% /snap/vlc/770
/dev/loop7 3840 3840 0 100% /snap/gnome-system-monitor/81
/dev/loop10 82048 82048 0 100% /snap/audacity/211
/dev/loop11 36224 36224 0 100% /snap/gtk-common-themes/1198
/dev/nvme0n1p3 98304 35012 63292 36% /boot/efi
/dev/loop12 82176 82176 0 100% /snap/audacity/303
/dev/loop14 130048 130048 0 100% /snap/code/6
/dev/loop13 55040 55040 0 100% /snap/core18/941
/dev/loop15 90624 90624 0 100% /snap/core/6964
/dev/loop17 256 256 0 100% /snap/gtk2-common-themes/4
/dev/loop16 15104 15104 0 100% /snap/gnome-characters/258
/dev/loop18 130048 130048 0 100% /snap/code/7
/dev/loop19 91648 91648 0 100% /snap/core/6818
/dev/loop20 154752 154752 0 100% /snap/gnome-3-28-1804/40
/dev/loop21 224256 224256 0 100% /snap/gimp/165
tmpfs 1642040 60 1641980 1% /run/user/1000
/dev/nvme0n1p4 468220924 144910160 323310764 31% /media/janpro/M2SSD
答案1
可能不只是 19.04,我的 18.04 也变得不稳定,我的多显示屏变黑,主屏幕保持打开状态,但所有内容都被锁定了
这个系统通常一次运行数月都没有问题,今天我不得不强制重启它十几次,自从我让它重启以来,因为几个月来已经应用了相当多的更新..它运行内核 5.1 有一段时间了,所以我不认为是那样..
i7-4790K 处理器
系统日志中出现随机错误,这可能是重启前的最后一个错误
cma_alloc:分配失败