自最新更新以来,笔记本电脑屏幕变为静态(所有屏幕像素随机闪烁),并且当 Ubuntu 屏幕保护程序启动时 PC 会冻结

自最新更新以来,笔记本电脑屏幕变为静态(所有屏幕像素随机闪烁),并且当 Ubuntu 屏幕保护程序启动时 PC 会冻结

我在配备 AMD CPU 和 AMD 显卡的华硕笔记本电脑上安装了 Ubuntu 20.04.3 LTS,自从 2022 年 1 月 21 日收到最新自动更新以来,每次启动 Ubuntu 屏幕保存功能时,我的笔记本电脑基本上都会崩溃(屏幕变成静态,像闪烁的雪花一样,除了关闭/打开笔记本电脑外,我还没有找到恢复正常的方法)。

以下是收到的 3 条更新:

Start-Date: 2022-01-21  06:07:14
Commandline: /usr/bin/unattended-upgrade
Upgrade: vim-common:amd64 (2:8.1.2269-1ubuntu5.4, 2:8.1.2269-1ubuntu5.6), vim-tiny:amd64 (2:8.1.2269-1ubuntu5.4, 2:8.1.2269-1ubuntu5.6)
End-Date: 2022-01-21  06:07:17

Start-Date: 2022-01-21  06:07:19
Commandline: /usr/bin/unattended-upgrade
Upgrade: xxd:amd64 (2:8.1.2269-1ubuntu5.4, 2:8.1.2269-1ubuntu5.6)
End-Date: 2022-01-21  06:07:21

Start-Date: 2022-01-21  06:49:15
Commandline: aptdaemon role='role-commit-packages' sender=':1.1919'
Upgrade: ubuntu-advantage-tools:amd64 (27.4.2~20.04.1, 27.5~20.04.1), gdb:amd64 (9.2-0ubuntu1~20.04, 9.2-0ubuntu1~20.04.1), gdbserver:amd64 (9.2-0ubuntu1~20.04, 9.2-0ubuntu1~20.04.1), linux-firmware:amd64 (1.187.24, 1.187.25)
End-Date: 2022-01-21  06:50:48

作为一种解决方法,我已经禁用它(在询问黑屏开始多长时间的设置上将其设置为“从不”),但我更希望有一个真正的解决方案,以避免必须一直保持屏幕开启。

以下是几分钟前我重现该问题时日志的最后几行:

系统

05:04:55 kernel: audit: type=1326 audit(1642824295.891:75): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.snap-store.ubuntu-software pid=2324 comm="pool-org.gnome." exe="/snap/snap-store/558/usr/bin/snap-store" sig=0 arch=c000003e syscall=93 compat=0 ip=0x7f0104b444fb code=0x50000
05:04:53 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
05:04:53 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
05:04:53 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
05:04:50 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
05:04:48 kernel: audit: type=1400 audit(1642824288.175:72): apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/etc/PackageKit/Vendor.conf" pid=2324 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
05:04:46 kernel: wlp1s0: associated
05:04:46 kernel: audit: type=1326 audit(1642824286.231:67): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.snap-store.ubuntu-software pid=2324 comm="snap-store" exe="/snap/snap-store/558/usr/bin/snap-store" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7f0104b4d89d code=0x50000
05:04:44 kernel: kauditd_printk_skb: 54 callbacks suppressed
05:04:44 kernel: rfkill: input handler disabled
05:04:43 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
05:04:41 kernel: rfkill: input handler enabled

应用

05:05:53 gnome-software: automatically prevented from changing kind on system/snap/*/desktop/io.snapcraft.snapd-PMrrV4ml8uWuEUDBT8dSGnKUYbevVhc4/latest/stable from desktop to unknown!
05:05:53 gnome-software: automatically prevented from changing kind on system/snap/*/desktop/io.snapcraft.snapd-PMrrV4ml8uWuEUDBT8dSGnKUYbevVhc4/latest/stable from desktop to unknown!
05:05:53 gnome-software: automatically prevented from changing kind on system/snap/*/runtime/io.snapcraft.core20-DLqre5XGLbDqg9jPtiAhRRjDuPVa5X1q/latest/stable from runtime to unknown!
05:05:52 gnome-software: automatically prevented from changing kind on system/snap/*/runtime/io.snapcraft.bare-EISPgh06mRh1vordZY9OZ34QHdd7OrdR/latest/stable from runtime to unknown!
05:05:51 gnome-software: automatically prevented from changing kind on system/snap/*/runtime/io.snapcraft.core18-CSO04Jhav2yK0uz97cr0ipQRyqg0qQL6/latest/stable from runtime to unknown!
05:05:47 gnome-software: lost session service
05:05:47 gnome-software: disabled plugins: dpkg, dummy, repos
05:05:47 gnome-software: enabled plugins: desktop-categories, fwupd, os-release, packagekit, packagekit-local, packagekit-offline, packagekit-proxy, packagekit-refine-repos, packagekit-refresh, packagekit-upgrade, packagekit-url-to-app, appstream, desktop-menu-path, flatpak, hardcoded-blacklist, modalias, packagekit-refine, rewrite-resource, snap, odrs, packagekit-history, provenance, systemd-updates, generic-updates, provenance-license, icons, key-colors, key-colors-metadata
05:05:47 gnome-software: plugin appstream took 2,1 seconds to do setup
05:05:47 pkexec: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
05:05:46 gnome-software: xb_builder_node_unlink: assertion 'XB_IS_BUILDER_NODE (self)' failed
05:05:43 systemd: Started Virtual filesystem metadata service.
05:05:43 dbus-daemon: [session uid=1000 pid=1770] Successfully activated service 'org.gtk.vfs.Metadata'
05:05:43 systemd: Starting Virtual filesystem metadata service...
05:05:43 dbus-daemon: [session uid=1000 pid=1770] Activating via systemd: service name='org.gtk.vfs.Metadata' unit='gvfs-metadata.service' requested by ':1.37' (uid=1000 pid=2047 comm="/usr/bin/gnome-shell " label="unconfined")

安全

05:05:53 gnome-software: automatically prevented from changing kind on system/snap/*/desktop/io.snapcraft.snapd-PMrrV4ml8uWuEUDBT8dSGnKUYbevVhc4/latest/stable from desktop to unknown!
05:05:53 gnome-software: automatically prevented from changing kind on system/snap/*/desktop/io.snapcraft.snapd-PMrrV4ml8uWuEUDBT8dSGnKUYbevVhc4/latest/stable from desktop to unknown!
05:05:53 gnome-software: automatically prevented from changing kind on system/snap/*/runtime/io.snapcraft.core20-DLqre5XGLbDqg9jPtiAhRRjDuPVa5X1q/latest/stable from runtime to unknown!
05:05:52 gnome-software: automatically prevented from changing kind on system/snap/*/runtime/io.snapcraft.bare-EISPgh06mRh1vordZY9OZ34QHdd7OrdR/latest/stable from runtime to unknown!
05:05:51 gnome-software: automatically prevented from changing kind on system/snap/*/runtime/io.snapcraft.core18-CSO04Jhav2yK0uz97cr0ipQRyqg0qQL6/latest/stable from runtime to unknown!
05:05:47 gnome-software: lost session service
05:05:47 gnome-software: disabled plugins: dpkg, dummy, repos
05:05:47 gnome-software: enabled plugins: desktop-categories, fwupd, os-release, packagekit, packagekit-local, packagekit-offline, packagekit-proxy, packagekit-refine-repos, packagekit-refresh, packagekit-upgrade, packagekit-url-to-app, appstream, desktop-menu-path, flatpak, hardcoded-blacklist, modalias, packagekit-refine, rewrite-resource, snap, odrs, packagekit-history, provenance, systemd-updates, generic-updates, provenance-license, icons, key-colors, key-colors-metadata
05:05:47 gnome-software: plugin appstream took 2,1 seconds to do setup
05:05:47 pkexec: nolife4ever: Executing command [USER=root] [TTY=unknown] [CWD=/home/nolife4ever] [COMMAND=/usr/lib/update-notifier/package-system-locked]
05:05:46 gnome-software: xb_builder_node_unlink: assertion 'XB_IS_BUILDER_NODE (self)' failed
05:05:43 systemd: Started Virtual filesystem metadata service.
05:05:43 dbus-daemon: [session uid=1000 pid=1770] Successfully activated service 'org.gtk.vfs.Metadata'
05:05:43 systemd: Starting Virtual filesystem metadata service...
05:05:43 dbus-daemon: [session uid=1000 pid=1770] Activating via systemd: service name='org.gtk.vfs.Metadata' unit='gvfs-metadata.service' requested by ':1.37' (uid=1000 pid=2047 comm="/usr/bin/gnome-shell " label="unconfined")

硬件:没有。


问题“解决”:我刚刚得知 Ubuntu 22 可以测试,所以我决定尝试一下……这次升级解决了我的问题!所以,我猜这是我收到的最新 Ubuntu 更新中的一个错误。当我在这里时:升级效果很好,不仅解决了我的问题,而且似乎一切都运行良好,除了我用来在桌面上显示 cpu / mem / hd 信息的小实用程序,但这很可能只是一个自定义问题。

相关内容