Kubuntu 18.04 偶尔会死机

Kubuntu 18.04 偶尔会死机

当我只能移动鼠标时,偶尔会出现冻结,但屏幕会持续几秒钟,鼠标正在播放(如果冻结前正在播放),但屏幕保持不变。这种冻结持续几秒钟(5-15 秒),然后一切正常。当我疯狂地使用 Alt-Tab 键时,也会发生这种冻结。

首先,我将其归咎于Nvidia (396.54.02)我使用的专有驱动程序。我认为这是一个禁用组合的错误。因为当我切换到 ttyX 并返回 tty1 时,弹出一条通知,指出Desktop effect were restarted due to graphics reset并且某些应用程序请求了disabling composition。但经过一番研究,我发现了来自 kwin 的提交这里我意识到通知并不是一些错误,但它说nvidia memory purge已经做了一些事情(根据这Tested, works fine. I get the "Desktop effects were restarted due to a graphic reset" notification every time I switch from any tty back to tty1.是接受修订的评论)。

问题是我无法检测出这些冻结的来源。我检查了,journalct -b但在发生冻结的时间范围内没有任何内容。/var/log/Xorg.0.log或中也存在相同的“无内容” ~/.xsession-errors

此外,如果发生冻结,则不会有任何通知,无法从中找出问题所在。我是否遗漏了某些信息,或者忘记了一些重要的日志?

你们中有人遇到过类似的问题吗?我看过很多网站上的其他问题和解决方案,但没有一个能解决我的问题,这种情况还是会时不时发生(在我写这篇文章的时候,我遇到了一次卡顿,持续了 16 秒,之后就没有任何通知,什么都没有了)。

我唯一想知道的罪魁祸首是这些错误发生后的第二秒,冻结就开始了。但这不是一致的错误,这些错误在冻结之前出现了两次。所以我不认为这是这些问题的根源。

zář 06 13:56:31 HonzysPC systemd[1]: dev-disk-by\x2duuid-79D6\x2dC74B.device: Job dev-disk-by\x2duuid-79D6\x2dC74B.device/start timed out.
zář 06 13:56:31 HonzysPC systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-79D6\x2dC74B.device.
zář 06 13:56:31 HonzysPC systemd[1]: Dependency failed for File System Check on /dev/disk/by-uuid/79D6-C74B.
zář 06 13:56:31 HonzysPC systemd[1]: Dependency failed for /mnt/mmc.
zář 06 13:56:31 HonzysPC systemd[1]: mnt-mmc.mount: Job mnt- mmc.mount/start failed with result 'dependency'.
zář 06 13:56:31 HonzysPC systemd[1]: systemd-fsck@dev-disk-by\x2duuid-79D6\x2dC74B.service: Job systemd-fsck@dev-disk-by\x2duuid-79D6\x2dC74B.service/start failed with result 'dependency'.
zář 06 13:56:31 HonzysPC systemd[1]: dev-disk-by\x2duuid-79D6\x2dC74B.device: Job dev-disk-by\x2duuid-79D6\x2dC74B.device/start failed with result 'timeout'.
zář 06 13:56:31 HonzysPC systemd[1]: dev-disk-by\x2duuid-5E9140C166340491.device: Job dev-disk-by\x2duuid-5E9140C166340491.device/start timed out.
zář 06 13:56:31 HonzysPC systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-5E9140C166340491.device.
zář 06 13:56:31 HonzysPC systemd[1]: Dependency failed for /mnt/wd.
zář 06 13:56:31 HonzysPC systemd[1]: mnt-wd.mount: Job mnt-wd.mount/start failed with result 'dependency'.
zář 06 13:56:31 HonzysPC systemd[1]: dev-disk-by\x2duuid-5E9140C166340491.device: Job dev-disk-by\x2duuid-5E9140C166340491.device/start failed with result 'timeout'.
zář 06 13:56:31 HonzysPC systemd[1]: dev-disk-by\x2duuid-3694DC6294DC25E1.device: Job dev-disk-by\x2duuid-3694DC6294DC25E1.device/start timed out.
zář 06 13:56:31 HonzysPC systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-3694DC6294DC25E1.device.
zář 06 13:56:31 HonzysPC systemd[1]: Dependency failed for /mnt/seagate.
zář 06 13:56:31 HonzysPC systemd[1]: mnt-seagate.mount: Job mnt-seagate.mount/start failed with result 'dependency'.
zář 06 13:56:31 HonzysPC systemd[1]: dev-disk-by\x2duuid-3694DC6294DC25E1.device: Job dev-disk-by\x2duuid-3694DC6294DC25E1.device/start failed with result 'timeout'.

/mnt/wd/mnt/seagate是外部驱动器,/mnt/mmc是存储卡插槽。我还发布了/etc/fstab

# <file system>                                 <mount point>   <type>      <options>                                                                                                                   <dump>  <pass>

# / was on /dev/sdb4 during installation
UUID=1af4f8eb-0d3b-4600-bada-48e7f1ebab6b       /               ext4        errors=remount-ro                                                                                                           0       1

# /boot/efi was on /dev/sdb1 during installation
UUID=6B52-1893                                  /boot/efi       vfat        umask=0077                                                                                                                  0       2

# swap was on /dev/sdb6 during installation
UUID=22bcffb0-9904-4410-afad-59751fe0abe5       none            swap        sw                                                                                                                          0       0

UUID=1484E2C1029652AC                           /mnt/data       ntfs-3g     defaults,nls=utf8,rw,uid=honzys,gid=users,umask=0002,permission,windows_names,auto,exec                                     0       0
#Entry for /dev/sdb4 :
UUID=474812477EFD7E65                           /mnt/ssd        ntfs-3g     defaults,nls=utf8,rw,uid=honzys,gid=users,umask=0002,permissions,windows_names,auto,exec                                    0       0
#Entry for /dev/sdb2 :
UUID=EC941C30941BFC30                           /mnt/win        ntfs-3g     defaults,nls=utf8,rw,uid=honzys,gid=users,umask=0002,permissions,windows_names,auto,exec                                    0       0

# External devices
UUID=5E9140C166340491                           /mnt/wd         ntfs-3g     auto,nofail,x-systemd.device-timeout=1,exec,nls=utf8,rw,uid=honzys,gid=users,umask=0002,permissions,windows_names,users     0       0
UUID=3694DC6294DC25E1                           /mnt/seagate    ntfs-3g     auto,nofail,x-systemd.device-timeout=1,exec,nls=utf8,rw,uid=honzys,gid=users,umask=0002,permissions,windows_names,users     0       0
UUID=79D6-C74B                                  /mnt/mmc        vfat        auto,nofail,x-systemd.device-timeout=1,exec,umask=007,gid=46     

如果有人能指出这个问题的核心,我会很高兴!提前谢谢!

//EDIT1:我刚刚安装了 bumblebee,这意味着我已将英特尔 GPU 设置为主 GPU,而 nvidia 仅用于某些应用程序。而且我没有注意到任何冻结。所以这意味着这可能是 nvidia/kwin 合作的问题。

相关内容