全新安裝 21.04 後,Ubuntu UI 螢幕圖像在使用過程中隨機凍結,懷疑是 Wayland 或 Nouveau

全新安裝 21.04 後,Ubuntu UI 螢幕圖像在使用過程中隨機凍結,懷疑是 Wayland 或 Nouveau

編輯:將此報告於: https://bugs.launchpad.net/ubuntu/+source/wayland/+bug/1931387以及,並且發現它是以下內容的重複項:https://bugs.launchpad.net/ubuntu/+source/libdrm/+bug/1497593

我之前使用 NVIDIA 驅動程式運行 20.10,

四天前,我從 ISO 進行了全新的 21.04 安裝,沒有安裝 NVIDIA 驅動程序,從那時起,UI 就凍結了 3 次。

我無法確定到底是什麼操作觸發了凍結,我基本上在大多數/所有情況下都正常使用 Chromium 瀏覽器。

第三次,我只是在看網頁,當時我甚至沒有碰到滑鼠,然後它就凍結了。

然後我看不到螢幕上有任何移動,包括在Ctrl+ Alt+之後Fn,最後一個圖像保持固定。

第三次也有點不同。

凍結幾秒鐘後,它實際上在啟動訊息期間變成黑色終端螢幕:

在此輸入影像描述

然後我被重定向到登入螢幕,就像我已經註銷一樣。

我能夠登錄,但我的程式已關閉,因此我實際上已登出。

然後出現兩個 Appport 窗口,其中一個包含對 Xwayland 的多個引用。在下面/var/crash/_usr_bin_Xwayland.1000.crash我看到其中之一:

  • ProcCmdline: /usr/bin/Xwayland :0 -rootless -noreset -accessx -core -auth /run/user/1000/.mutter-Xwaylandauth.48ZQ40 -listen 4 -listen 5 -displayfd 6 -initfd 7

  • StackTraceAddressSignature包含對 Xwayland 和 nouveau_dri.so 的提及:

    StacktraceAddressSignature: /usr/bin/Xwayland:6:/usr/lib/x86_64-linux-gnu/libc-2.33.so+864:/usr/bin/Xwayland+13cb40:/usr/bin/Xwayland+14866f:/usr/bin/Xwayland+13b1a7:/usr/lib/x86_64-linux-gnu/libc-2.33.so+864:/usr/lib/x86_64-linux-gnu/libc-2.33.so+749:/usr/lib/x86_64-linux-gnu/libc-2.33.so+123d6:/usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0+25d7:/usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0+2537:/usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0+265f:/usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0+2a77:/usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0+31aa:/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so+93b943:/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so+93bc61:/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so+17cc01
    

我還檢查過,我正在使用 Wayland(顯然是 21.04 以來的預設值):如何判斷我是否在跑 Wayland?

硬體:

  • 聯想ThinkPad P51
  • NVIDIA Quadro M1200 4GB GDDR5 GPU

崩潰發生後,dmesg 包含以下可能有趣的行:

[ 9556.450894] nouveau 0000:01:00.0: gr: TRAP ch 3 [00ff8cf000 Xwayland[3831]]
[ 9556.450907] nouveau 0000:01:00.0: gr: GPC0/TPC2/MP trap: global 00000004 [MULTIPLE_WARP_ERRORS] warp 3c000d [OOR_REG]
[ 9556.454264] nouveau 0000:01:00.0: gr: TRAP ch 3 [00ff8cf000 Xwayland[3831]]
[ 9556.454283] nouveau 0000:01:00.0: gr: GPC0/TPC0/MP trap: global 00000004 [MULTIPLE_WARP_ERRORS] warp 3e000d [OOR_REG]
[ 9556.466339] nouveau 0000:01:00.0: gr: TRAP ch 3 [00ff8cf000 Xwayland[3831]]
[ 9556.466351] nouveau 0000:01:00.0: gr: GPC0/TPC3/MP trap: global 00000004 [MULTIPLE_WARP_ERRORS] warp 3e000d [OOR_REG]
[ 9698.230726] nouveau 0000:01:00.0: Xwayland[3831]: failed to idle channel 5 [Xwayland[3831]]
[ 9713.230743] nouveau 0000:01:00.0: Xwayland[3831]: failed to idle channel 5 [Xwayland[3831]]
[ 9713.231918] nouveau 0000:01:00.0: fifo: fault 00 [READ] at 0000000000056000 engine 07 [HOST0] client 06 [HUB/HOST] reason 02 [PTE] on channel 5 [00ff0d9000 Xwayland[3831]]
[ 9713.231930] nouveau 0000:01:00.0: fifo: channel 5: killed
[ 9713.231932] nouveau 0000:01:00.0: fifo: runlist 0: scheduled for recovery
[ 9713.231939] nouveau 0000:01:00.0: fifo: engine 5: scheduled for recovery
[ 9713.231943] nouveau 0000:01:00.0: Xwayland[3831]: channel 5 killed!
[ 9717.642691] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
[ 9717.642702] nouveau 0000:01:00.0: fifo: runlist 0: scheduled for recovery
[ 9717.642709] nouveau 0000:01:00.0: fifo: channel 3: killed
[ 9717.642714] nouveau 0000:01:00.0: fifo: engine 0: scheduled for recovery
[ 9717.643113] nouveau 0000:01:00.0: Xwayland[3831]: channel 3 killed!
[ 9719.351714] apport-gtk[119654]: segfault at 18 ip 00007f337637d194 sp 00007ffd95094dc0 error 4 in libgtk-3.so.0.2404.21[7f3376274000+385000]
[ 9719.351721] Code: c4 08 5b 5d c3 90 f3 0f 1e fa 48 8b 7f 10 48 85 ff 74 0b e9 ce c6 ff ff 66 0f 1f 44 00 00 48 83 ec 08 48 89 d7 e8 0c 36 17 00 <48> 8b 40 18 48 8b 78 10 e8 ef 03 09 00 48 83 c4 08 48 89 c7 e9 a3
[ 9744.187533] rfkill: input handler enabled
[ 9745.940823] rfkill: input handler disabled
[ 9775.737572] rfkill: input handler enabled
[ 9777.953055] rfkill: input handler disabled

有關的:

富勒日誌位於:https://gist.github.com/cirosantilli/f679b17f5e18253036bf58fc3ff8690d

相關內容