我在联想 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 的最新更新。
通过键入此命令检查您的内核版本
如果您有 5.13 或更高版本,您可以通过降级到较低版本(例如 5.11)来解决此问题。
这不是最终解决方案,但它可以帮助您,直到新补丁发布。
有一些教程可能有用:
正如Du Dy在他的回答中所建议的,我检查了内核版本,它确实是 5.13。
然后,我通过执行以下操作检查了在 5.13 安装之前还有哪些其他版本:
选择了一个旧版本 5.11.0-44 并再次安装
并启动到这个 5.11 内核。它解决了显示问题,但很多事情都不起作用。比如网络、外接显示器等...
尝试通过执行 a 来比较其他已安装内核的所有安装,
dpkg --list | grep linux-
并发现 5.11 缺少 modules-extra 包引导回新内核(工作但显示问题的内核)并安装丢失的软件包
启动到 5.11,一切正常