Ubuntu
螢幕鎖定後顯示崩潰
我在聯想 Ideapad 上使用的是 Ubuntu 20.04 版本
每當我鎖定我的筆記型電腦(或者它被鎖定在不活動狀態)並嘗試解鎖時,我的顯示器就會崩潰。我看到如下螢幕
我有另一台外接顯示器連接到這台筆記型電腦,顯示器看起來不錯。
這種情況僅在幾天后才開始發生。我還嘗試查看是否有任何最近的更新導致了這種情況。但我看不到任何相關的東西。這是日誌。
Start-Date: 2022-01-09 11:22:08 Commandline: /usr/bin/unattended-upgrade Remove: linux-headers-5.11.0-41-generic:amd64 (5.11.0-41.45~20.04.1), linux-hwe-5.11-headers-5.11.0-41:amd64 (5.11.0-41.45~20.04.1) End-Date: 2022-01-09 11:22:10 Start-Date: 2022-01-17 06:57:33 Commandline: /usr/bin/unattended-upgrade Upgrade: libsystemd0:amd64 (245.4-4ubuntu3.13, 245.4-4ubuntu3.15), systemd-timesyncd:amd64 (245.4-4ubuntu3.13, 245.4-4ubuntu3.15), systemd-sysv:amd64 (245.4-4ubuntu3.13, 245.4-4ubuntu3.15), libpam-systemd:amd64 (245.4-4ubuntu3.13, 245.4-4ubuntu3.15), systemd:amd64 (245.4-4ubuntu3.13, 245.4-4ubuntu3.15), libnss-systemd:amd64 (245.4-4ubuntu3.13, 245.4-4ubuntu3.15) End-Date: 2022-01-17 06:57:40 Start-Date: 2022-01-17 06:57:44 Commandline: /usr/bin/unattended-upgrade Upgrade: libgs9:amd64 (9.50~dfsg-5ubuntu4.4, 9.50~dfsg-5ubuntu4.5), ghostscript:amd64 (9.50~dfsg-5ubuntu4.4, 9.50~dfsg-5ubuntu4.5), ghostscript-x:amd64 (9.50~dfsg-5ubuntu4.4, 9.50~dfsg-5ubuntu4.5), libgs9-common:amd64 (9.50~dfsg-5ubuntu4.4, 9.50~dfsg-5ubuntu4.5) End-Date: 2022-01-17 06:57:46 Start-Date: 2022-01-17 06:57:50 Commandline: /usr/bin/unattended-upgrade Upgrade: linux-libc-dev:amd64 (5.4.0-92.103, 5.4.0-94.106) End-Date: 2022-01-17 06:57:50 Start-Date: 2022-01-17 06:57:54 Commandline: /usr/bin/unattended-upgrade Install: linux-image-5.11.0-46-generic:amd64 (5.11.0-46.51~20.04.1, automatic), linux-modules-5.11.0-46-generic:amd64 (5.11.0-46.51~20.04.1, automatic), linux-headers-5.11.0-46-generic:amd64 (5.11.0-46.51~20.04.1, automatic), linux-modules-extra-5.11.0-46-generic:amd64 (5.11.0-46.51~20.04.1, automatic), linux-hwe-5.11-headers-5.11.0-46:amd64 (5.11.0-46.51~20.04.1, automatic) Upgrade: linux-headers-generic-hwe-20.04:amd64 (5.11.0.44.48~20.04.22, 5.11.0.46.51~20.04.23), linux-image-generic-hwe-20.04:amd64 (5.11.0.44.48~20.04.22, 5.11.0.46.51~20.04.23), linux-generic-hwe-20.04:amd64 (5.11.0.44.48~20.04.22, 5.11.0.46.51~20.04.23) End-Date: 2022-01-17 06:58:33 Start-Date: 2022-01-17 06:58:36 Commandline: /usr/bin/unattended-upgrade Upgrade: python3-pil:amd64 (7.0.0-4ubuntu0.4, 7.0.0-4ubuntu0.5) End-Date: 2022-01-17 06:58:37 Start-Date: 2022-01-17 06:58:41 Commandline: /usr/bin/unattended-upgrade Upgrade: udev:amd64 (245.4-4ubuntu3.13, 245.4-4ubuntu3.15), libudev1:amd64 (245.4-4ubuntu3.13, 245.4-4ubuntu3.15) End-Date: 2022-01-17 06:58:57 Start-Date: 2022-01-17 06:59:00 Commandline: /usr/bin/unattended-upgrade Upgrade: firefox:amd64 (95.0.1+build2-0ubuntu0.20.04.1, 96.0+build2-0ubuntu0.20.04.1) End-Date: 2022-01-17 06:59:05 Start-Date: 2022-01-17 06:59:09 Commandline: /usr/bin/unattended-upgrade Upgrade: firefox-locale-en:amd64 (95.0.1+build2-0ubuntu0.20.04.1, 96.0+build2-0ubuntu0.20.04.1) End-Date: 2022-01-17 06:59:09 Start-Date: 2022-01-17 06:59:13 Commandline: /usr/bin/unattended-upgrade Upgrade: libexiv2-27:amd64 (0.27.2-8ubuntu2.6, 0.27.2-8ubuntu2.7) End-Date: 2022-01-17 06:59:13 Start-Date: 2022-01-18 06:46:44 Commandline: /usr/bin/unattended-upgrade Remove: linux-image-5.11.0-43-generic:amd64 (5.11.0-43.47~20.04.2), linux-modules-extra-5.11.0-43-generic:amd64 (5.11.0-43.47~20.04.2), linux-modules-5.11.0-43-generic:amd64 (5.11.0-43.47~20.04.2) End-Date: 2022-01-18 06:46:50 Start-Date: 2022-01-18 06:46:53 Commandline: /usr/bin/unattended-upgrade Remove: linux-headers-5.11.0-43-generic:amd64 (5.11.0-43.47~20.04.2) End-Date: 2022-01-18 06:46:54 Start-Date: 2022-01-18 06:46:58 Commandline: /usr/bin/unattended-upgrade Remove: linux-hwe-5.11-headers-5.11.0-43:amd64 (5.11.0-43.47~20.04.2) End-Date: 2022-01-18 06:46:58 Start-Date: 2022-01-19 06:44:47 Commandline: /usr/bin/unattended-upgrade Install: linux-modules-5.13.0-25-generic:amd64 (5.13.0-25.26~20.04.1, automatic), linux-headers-5.13.0-25-generic:amd64 (5.13.0-25.26~20.04.1, automatic), linux-modules-extra-5.13.0-25-generic:amd64 (5.13.0-25.26~20.04.1, automatic), linux-image-5.13.0-25-generic:amd64 (5.13.0-25.26~20.04.1, automatic), linux-hwe-5.13-headers-5.13.0-25:amd64 (5.13.0-25.26~20.04.1, automatic) Upgrade: linux-headers-generic-hwe-20.04:amd64 (5.11.0.46.51~20.04.23, 5.13.0.25.26~20.04.12), linux-image-generic-hwe-20.04:amd64 (5.11.0.46.51~20.04.23, 5.13.0.25.26~20.04.12), linux-generic-hwe-20.04:amd64 (5.11.0.46.51~20.04.23, 5.13.0.25.26~20.04.12) End-Date: 2022-01-19 06:45:27 Start-Date: 2022-01-20 10:25:32 Commandline: /usr/bin/unattended-upgrade Remove: linux-headers-5.11.0-44-generic:amd64 (5.11.0-44.48~20.04.2), linux-hwe-5.11-headers-5.11.0-44:amd64 (5.11.0-44.48~20.04.2) End-Date: 2022-01-20 10:25:34 Start-Date: 2022-01-20 10:25:37 Commandline: /usr/bin/unattended-upgrade Remove: linux-modules-extra-5.11.0-44-generic:amd64 (5.11.0-44.48~20.04.2) End-Date: 2022-01-20 10:25:38 Start-Date: 2022-01-20 10:25:42 Commandline: /usr/bin/unattended-upgrade Remove: linux-modules-5.11.0-44-generic:amd64 (5.11.0-44.48~20.04.2), linux-image-5.11.0-44-generic:amd64 (5.11.0-44.48~20.04.2) End-Date: 2022-01-20 10:25:46 Start-Date: 2022-01-20 10:25:51 Commandline: /usr/bin/unattended-upgrade Upgrade: linux-libc-dev:amd64 (5.4.0-94.106, 5.4.0-96.109) End-Date: 2022-01-20 10:25:51 Start-Date: 2022-01-20 10:25:55 Commandline: /usr/bin/unattended-upgrade Install: linux-modules-extra-5.13.0-27-generic:amd64 (5.13.0-27.29~20.04.1, automatic), linux-modules-5.13.0-27-generic:amd64 (5.13.0-27.29~20.04.1, automatic), linux-headers-5.13.0-27-generic:amd64 (5.13.0-27.29~20.04.1, automatic), linux-image-5.13.0-27-generic:amd64 (5.13.0-27.29~20.04.1, automatic), linux-hwe-5.13-headers-5.13.0-27:amd64 (5.13.0-27.29~20.04.1, automatic) Upgrade: linux-headers-generic-hwe-20.04:amd64 (5.13.0.25.26~20.04.12, 5.13.0.27.29~20.04.13), linux-image-generic-hwe-20.04:amd64 (5.13.0.25.26~20.04.12, 5.13.0.27.29~20.04.13), linux-generic-hwe-20.04:amd64 (5.13.0.25.26~20.04.12, 5.13.0.27.29~20.04.13) End-Date: 2022-01-20 10:26:34 Start-Date: 2022-01-21 09:54:26 Commandline: /usr/bin/unattended-upgrade Remove: linux-headers-5.11.0-46-generic:amd64 (5.11.0-46.51~20.04.1), linux-hwe-5.11-headers-5.11.0-46:amd64 (5.11.0-46.51~20.04.1) End-Date: 2022-01-21 09:54:28 Start-Date: 2022-01-21 09:54:32 Commandline: /usr/bin/unattended-upgrade Remove: linux-image-5.11.0-46-generic:amd64 (5.11.0-46.51~20.04.1), linux-modules-5.11.0-46-generic:amd64 (5.11.0-46.51~20.04.1), linux-modules-extra-5.11.0-46-generic:amd64 (5.11.0-46.51~20.04.1) End-Date: 2022-01-21 09:54:37
我有一個雙啟動。所以在 Windows 上嘗試了同樣的方法,即使在鎖定螢幕後它也能正常工作。我不知道 Ubuntu 中是否有任何影片驅動程序受到干擾。任何幫助請!
我有一個同樣問題的聯想筆記型電腦(AMD 架構)。問題在於核心 5.13 的最新更新。
通過鍵入此命令檢查您的核心版本
uname -r
如果您有 5.13 或更高版本,您可以通過降級到較低版本(例如 5.11)來解決此問題。
這不是最終解決方案,但它可以幫助您,直到新更新檔發布。
有一些教程可能有用:
正如Du Dy在他的回答中所建議的,我檢查了核心版本,它確實是 5.13。
然後,我通過執行以下操作檢查了在 5.13 安裝之前還有哪些其他版本:
dpkg --list | grep linux-image
選擇了一個舊版本 5.11.0-44 並再次安裝
sudo apt install linux-image-5.11.0-44-generic
並啟動到這個 5.11 核心。它解決了顯示問題,但很多事情都不起作用。比如網路、外接顯示器等…
嘗試通過執行 a 來比較其他已安裝核心的所有安裝,
dpkg --list | grep linux-
並發現 5.11 缺少 modules-extra 包引導回新核心(工作但顯示問題的核心)並安裝失去的軟體包
sudo apt install linux-modules-extra-5.11.0-44-generic
啟動到 5.11,一切正常