snap 导致 Ubuntu 22.04 出现卡顿现象

snap 导致 Ubuntu 22.04 出现卡顿现象

自从上次 Ubuntu 22.04 更新(几天前)以来,我的机器就出现了卡顿(视频、鼠标、打字等)。似乎 snap 是导致这种情况的根本原因,因为每次出现卡顿时,我都会在输出中收到这些消息journalctl -f

Apr 23 20:41:42 samus systemd[2045]: Started Application launched by gsd-media-keys.
Apr 23 20:41:42 samus systemd[2045]: Started VTE child process 79461 launched by gnome-terminal-server process 36990.
Apr 23 20:42:28 samus NetworkManager[830]: <info>  [1713922948.4143] dhcp6 (enp3s0): state changed new lease, address=fdc4:97b3:fa34:10::56d 2803:9810:608e:f110::56d
Apr 23 20:43:32 samus systemd-udevd[79550]: card0: Process '/usr/lib/snapd/snap-device-helper snap_firefox_firefox' failed with exit code 1.
Apr 23 20:43:32 samus systemd-udevd[79550]: card0: Process '/usr/lib/snapd/snap-device-helper snap_firefox_geckodriver' failed with exit code 1.
Apr 23 20:43:32 samus systemd-udevd[79550]: card0: Process '/usr/lib/snapd/snap-device-helper snap_gimp_gimp' failed with exit code 1.
Apr 23 20:43:32 samus systemd-udevd[79550]: card0: Process '/usr/lib/snapd/snap-device-helper snap_snap-store_snap-store' failed with exit code 1.
Apr 23 20:43:32 samus systemd-udevd[79550]: card0: Process '/usr/lib/snapd/snap-device-helper snap_snap-store_ubuntu-software' failed with exit code 1.
Apr 23 20:43:32 samus systemd-udevd[79550]: card0: Process '/usr/lib/snapd/snap-device-helper snap_snap-store_ubuntu-software-local-file' failed with exit code 1.
Apr 23 20:43:32 samus systemd-udevd[79550]: card0: Process '/usr/lib/snapd/snap-device-helper snap_snapd-desktop-integration_snapd-desktop-integration' failed with exit code 1.
Apr 23 20:43:32 samus systemd-udevd[79550]: card0: Process '/usr/lib/snapd/snap-device-helper snap_spotify_spotify' failed with exit code 1.
Apr 23 20:43:32 samus systemd-udevd[79550]: card0: Process '/usr/lib/snapd/snap-device-helper snap_vlc_vlc' failed with exit code 1.
Apr 23 20:43:32 samus /usr/libexec/gdm-x-session[2160]: (--) NVIDIA(GPU-0): LG Electronics LG FULL HD (DFP-3): connected
Apr 23 20:43:32 samus /usr/libexec/gdm-x-session[2160]: (--) NVIDIA(GPU-0): LG Electronics LG FULL HD (DFP-3): Internal TMDS
Apr 23 20:43:32 samus /usr/libexec/gdm-x-session[2160]: (--) NVIDIA(GPU-0): LG Electronics LG FULL HD (DFP-3): 300.0 MHz maximum pixel clock
Apr 23 20:43:32 samus /usr/libexec/gdm-x-session[2160]: (--) NVIDIA(GPU-0):
Apr 23 20:43:32 samus /usr/libexec/gdm-x-session[2160]: (--) NVIDIA(GPU-0): LG Electronics LG FULL HD (DFP-3): connected
Apr 23 20:43:32 samus /usr/libexec/gdm-x-session[2160]: (--) NVIDIA(GPU-0): LG Electronics LG FULL HD (DFP-3): Internal TMDS
Apr 23 20:43:32 samus /usr/libexec/gdm-x-session[2160]: (--) NVIDIA(GPU-0): LG Electronics LG FULL HD (DFP-3): 300.0 MHz maximum pixel clock
Apr 23 20:43:32 samus /usr/libexec/gdm-x-session[2160]: (--) NVIDIA(GPU-0):
Apr 23 20:43:32 samus systemd-udevd[79550]: card0: Process '/usr/lib/snapd/snap-device-helper snap_firefox_firefox' failed with exit code 1.
Apr 23 20:43:32 samus systemd-udevd[79550]: card0: Process '/usr/lib/snapd/snap-device-helper snap_firefox_geckodriver' failed with exit code 1.
Apr 23 20:43:32 samus systemd-udevd[79550]: card0: Process '/usr/lib/snapd/snap-device-helper snap_gimp_gimp' failed with exit code 1.
Apr 23 20:43:32 samus systemd-udevd[79550]: card0: Process '/usr/lib/snapd/snap-device-helper snap_snap-store_snap-store' failed with exit code 1.
Apr 23 20:43:32 samus systemd-udevd[79550]: card0: Process '/usr/lib/snapd/snap-device-helper snap_snap-store_ubuntu-software' failed with exit code 1.
Apr 23 20:43:32 samus systemd-udevd[79550]: card0: Process '/usr/lib/snapd/snap-device-helper snap_snap-store_ubuntu-software-local-file' failed with exit code 1.
Apr 23 20:43:32 samus systemd-udevd[79550]: card0: Process '/usr/lib/snapd/snap-device-helper snap_snapd-desktop-integration_snapd-desktop-integration' failed with exit code 1.
Apr 23 20:43:32 samus systemd-udevd[79550]: card0: Process '/usr/lib/snapd/snap-device-helper snap_spotify_spotify' failed with exit code 1.
Apr 23 20:43:32 samus systemd-udevd[79550]: card0: Process '/usr/lib/snapd/snap-device-helper snap_vlc_vlc' failed with exit code 1.
Apr 23 20:43:38 samus NetworkManager[830]: <info>  [1713923018.4144] dhcp6 (enp3s0): state changed new lease, address=fdc4:97b3:fa34:10::56d 2803:9810:608e:f110::56d
Apr 23 20:44:13 samus systemd-udevd[79638]: card0: Process '/usr/lib/snapd/snap-device-helper snap_firefox_firefox' failed with exit code 1.
Apr 23 20:44:13 samus systemd-udevd[79638]: card0: Process '/usr/lib/snapd/snap-device-helper snap_firefox_geckodriver' failed with exit code 1.
Apr 23 20:44:13 samus systemd-udevd[79638]: card0: Process '/usr/lib/snapd/snap-device-helper snap_gimp_gimp' failed with exit code 1.
Apr 23 20:44:13 samus systemd-udevd[79638]: card0: Process '/usr/lib/snapd/snap-device-helper snap_snap-store_snap-store' failed with exit code 1.
Apr 23 20:44:13 samus systemd-udevd[79638]: card0: Process '/usr/lib/snapd/snap-device-helper snap_snap-store_ubuntu-software' failed with exit code 1.
Apr 23 20:44:13 samus systemd-udevd[79638]: card0: Process '/usr/lib/snapd/snap-device-helper snap_snap-store_ubuntu-software-local-file' failed with exit code 1.
Apr 23 20:44:13 samus systemd-udevd[79638]: card0: Process '/usr/lib/snapd/snap-device-helper snap_snapd-desktop-integration_snapd-desktop-integration' failed with exit code 1.
Apr 23 20:44:13 samus systemd-udevd[79638]: card0: Process '/usr/lib/snapd/snap-device-helper snap_spotify_spotify' failed with exit code 1.
Apr 23 20:44:13 samus systemd-udevd[79638]: card0: Process '/usr/lib/snapd/snap-device-helper snap_vlc_vlc' failed with exit code 1.
Apr 23 20:44:13 samus /usr/libexec/gdm-x-session[2160]: (--) NVIDIA(GPU-0): LG Electronics LG FULL HD (DFP-3): connected
Apr 23 20:44:13 samus /usr/libexec/gdm-x-session[2160]: (--) NVIDIA(GPU-0): LG Electronics LG FULL HD (DFP-3): Internal TMDS
Apr 23 20:44:13 samus /usr/libexec/gdm-x-session[2160]: (--) NVIDIA(GPU-0): LG Electronics LG FULL HD (DFP-3): 300.0 MHz maximum pixel clock
Apr 23 20:44:13 samus /usr/libexec/gdm-x-session[2160]: (--) NVIDIA(GPU-0):
Apr 23 20:44:13 samus /usr/libexec/gdm-x-session[2160]: (--) NVIDIA(GPU-0): LG Electronics LG FULL HD (DFP-3): connected
Apr 23 20:44:13 samus /usr/libexec/gdm-x-session[2160]: (--) NVIDIA(GPU-0): LG Electronics LG FULL HD (DFP-3): Internal TMDS
Apr 23 20:44:13 samus /usr/libexec/gdm-x-session[2160]: (--) NVIDIA(GPU-0): LG Electronics LG FULL HD (DFP-3): 300.0 MHz maximum pixel clock
Apr 23 20:44:13 samus /usr/libexec/gdm-x-session[2160]: (--) NVIDIA(GPU-0):
Apr 23 20:44:13 samus systemd-udevd[79638]: card0: Process '/usr/lib/snapd/snap-device-helper snap_firefox_firefox' failed with exit code 1.
Apr 23 20:44:13 samus systemd-udevd[79638]: card0: Process '/usr/lib/snapd/snap-device-helper snap_firefox_geckodriver' failed with exit code 1.
Apr 23 20:44:13 samus systemd-udevd[79638]: card0: Process '/usr/lib/snapd/snap-device-helper snap_gimp_gimp' failed with exit code 1.
Apr 23 20:44:13 samus systemd-udevd[79638]: card0: Process '/usr/lib/snapd/snap-device-helper snap_snap-store_snap-store' failed with exit code 1.
Apr 23 20:44:13 samus systemd-udevd[79638]: card0: Process '/usr/lib/snapd/snap-device-helper snap_snap-store_ubuntu-software' failed with exit code 1.
Apr 23 20:44:13 samus systemd-udevd[79638]: card0: Process '/usr/lib/snapd/snap-device-helper snap_snap-store_ubuntu-software-local-file' failed with exit code 1.
Apr 23 20:44:13 samus systemd-udevd[79638]: card0: Process '/usr/lib/snapd/snap-device-helper snap_snapd-desktop-integration_snapd-desktop-integration' failed with exit code 1.
Apr 23 20:44:13 samus systemd-udevd[79638]: card0: Process '/usr/lib/snapd/snap-device-helper snap_spotify_spotify' failed with exit code 1.
Apr 23 20:44:13 samus systemd-udevd[79638]: card0: Process '/usr/lib/snapd/snap-device-helper snap_vlc_vlc' failed with exit code 1.

你遇到过这种情况吗?我该如何继续调试这个问题以彻底解决它?

谢谢

相关内容