Kubuntu 18.04 — 使用 LibreWriter 时 X 服务器发生致命错误 — GPU 挂起

Kubuntu 18.04 — 使用 LibreWriter 时 X 服务器发生致命错误 — GPU 挂起

我无法使用 LibreWriter 超过几分钟。X Server 似乎时不时会因为 gpu 挂起而冻结(请参阅下面的 syslog 和 kernel los)?据我所知,该问题仅在使用 LibreWriter 时发生。到目前为止,我使用任何其他应用程序(如 LibreCalc 或其他应用程序)都没有问题。

系统突然卡住了——大概一分钟后我就被带到了 Kubuntu 的登录界面。登录后,应用程序关闭了,我需要恢复 LibreWriter 文件(它并不总是正常工作)。

我对这些日志不太熟悉,但我读到 GPU 可能会挂起?因此 X 服务器崩溃了还是怎么的?我使用 i5 6600k 的内置 gpu、华硕 Strix Z270 Gaming 主板。

我将非常感激每一个能解决这个问题的提示和帮助。

系统死机时,时钟为 10:32。系统日志:

Nov 30 10:29:37 ruphus-desk org.kde.ActivityManager[1891]: Creating the cache for:  "applications:libreoffice-writer.desktop"
Nov 30 10:29:37 ruphus-desk org.kde.ActivityManager[1891]: Already in database?  true
Nov 30 10:29:37 ruphus-desk org.kde.ActivityManager[1891]:       First update :  QDateTime(2018-06-26 20:02:17.000 CEST Qt::TimeSpec(LocalTime))
Nov 30 10:29:37 ruphus-desk org.kde.ActivityManager[1891]:        Last update :  QDateTime(2018-11-30 09:52:48.000 CET Qt::TimeSpec(LocalTime))
Nov 30 10:29:37 ruphus-desk org.kde.ActivityManager[1891]: After the adjustment
Nov 30 10:29:37 ruphus-desk org.kde.ActivityManager[1891]:      Current score :  8.8479
Nov 30 10:29:37 ruphus-desk org.kde.ActivityManager[1891]:       First update :  QDateTime(2018-06-26 20:02:17.000 CEST Qt::TimeSpec(LocalTime))
Nov 30 10:29:37 ruphus-desk org.kde.ActivityManager[1891]:        Last update :  QDateTime(2018-11-30 09:52:48.000 CET Qt::TimeSpec(LocalTime))
Nov 30 10:29:37 ruphus-desk org.kde.ActivityManager[1891]: Interval length is  0
Nov 30 10:29:37 ruphus-desk org.kde.ActivityManager[1891]:          New score :  9.8479
Nov 30 10:29:37 ruphus-desk org.kde.ActivityManager[1891]: ResourceScoreUpdated: "2d4e9c94-b175-4f6d-8c7d-a293643d8881" "org.kde.krunner" "applications:libreoffice-writer.desktop"
Nov 30 10:32:50 ruphus-desk kernel: [ 4632.093628] i915 0000:00:02.0: Resetting rcs0 after gpu hang
Nov 30 10:32:54 ruphus-desk kernel: [ 4636.125607] asynchronous wait on fence i915:kwin_x11[6744]/1:299e timed out
Nov 30 10:32:54 ruphus-desk kernel: [ 4636.125620] asynchronous wait on fence i915:kwin_x11[6744]/1:299e timed out
Nov 30 10:32:58 ruphus-desk kernel: [ 4640.061736] i915 0000:00:02.0: Resetting rcs0 after gpu hang
Nov 30 10:33:06 ruphus-desk kernel: [ 4648.093799] i915 0000:00:02.0: Resetting rcs0 after gpu hang
Nov 30 10:33:14 ruphus-desk kernel: [ 4656.061905] i915 0000:00:02.0: Resetting rcs0 after gpu hang
Nov 30 10:33:22 ruphus-desk kernel: [ 4664.061988] i915 0000:00:02.0: Resetting rcs0 after gpu hang
Nov 30 10:33:23 ruphus-desk org.kde.runners.baloo[1891]: The X11 connection broke (error 1). Did the X11 server die?
Nov 30 10:33:23 ruphus-desk at-spi-bus-launcher[2056]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Nov 30 10:33:23 ruphus-desk at-spi-bus-launcher[2056]:       after 1483 requests (1483 known processed) with 0 events remaining.

内核日志:

Nov 30 10:32:50 ruphus-desk kernel: [ 4632.093628] i915 0000:00:02.0: Resetting rcs0 after gpu hang
Nov 30 10:32:54 ruphus-desk kernel: [ 4636.125607] asynchronous wait on fence i915:kwin_x11[6744]/1:299e timed out
Nov 30 10:32:54 ruphus-desk kernel: [ 4636.125620] asynchronous wait on fence i915:kwin_x11[6744]/1:299e timed out
Nov 30 10:32:58 ruphus-desk kernel: [ 4640.061736] i915 0000:00:02.0: Resetting rcs0 after gpu hang
Nov 30 10:33:06 ruphus-desk kernel: [ 4648.093799] i915 0000:00:02.0: Resetting rcs0 after gpu hang
Nov 30 10:33:14 ruphus-desk kernel: [ 4656.061905] i915 0000:00:02.0: Resetting rcs0 after gpu hang
Nov 30 10:33:22 ruphus-desk kernel: [ 4664.061988] i915 0000:00:02.0: Resetting rcs0 after gpu hang
Nov 30 10:33:42 ruphus-desk kernel: [ 4683.863464] kauditd_printk_skb: 87 callbacks suppressed
Nov 30 10:33:42 ruphus-desk kernel: [ 4683.863465] audit: type=1400 audit(1543570422.229:3969): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld-akonadi///usr/sbin/mysqld" name="/sys/devices/system/node/" pid=9720 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Nov 30 10:33:42 ruphus-desk kernel: [ 4683.863788] audit: type=1400 audit(1543570422.229:3970): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld-akonadi///usr/sbin/mysqld" name="/etc/mysql/my.cnf.fallback" pid=9720 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Nov 30 10:33:42 ruphus-desk kernel: [ 4683.866277] audit: type=1400 audit(1543570422.233:3971): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld-akonadi///usr/sbin/mysqld" name="/sys/devices/system/node/" pid=9721 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

答案1

我见过类似的崩溃(基于 dmesg 输出),并在某处找到一篇帖子,其中提到将“i915.enable_rc6=0”添加到 /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT。

从此以后我就没再见过任何撞车事故。

相关内容