我已经将运行 Ubuntu 22.04.1 的联想 Thinkbook 14(AMD Renoir)与外接显示器(戴尔 U2720Q,27 英寸)通过 USB-C 显示端口 1.4 结合使用一年了,没有任何问题,直到昨天。
今天,外接显示器上的所有内容都很慢/滞后(鼠标指针、拖动窗口等),而笔记本电脑的内部显示器则正常。
使用 Windows 10,外接显示器也能正常工作。我还重置了所有通过调整所做的更改(例如字体大小),并且关闭了分数缩放。一旦我拿到 HDMI 电缆,我就会尝试使用。还尝试过:多次重启笔记本电脑,关闭(并拔掉几分钟)外接显示器。
降低外接显示器的分辨率(默认为 3840x2160)可以减少延迟,但不能消除延迟。
除了多次启动 Windows 10(双启动)之外,我没有做任何不寻常的事情(也就是说,我没有摆弄屏幕分辨率或分数缩放或与屏幕相关的任何其他东西)。但是,Ubuntu 发出了几个“检测到系统问题”消息。我不确定它们是否相关。以下是 /var/crash 中日志的一部分
JournalErrors:
Jan 09 14:58:54 user-TB14 systemd[2346]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 09 14:58:54 user-TB14 systemd[2346]: org.gnome.SettingsDaemon.MediaKeys.service: Failed with result 'exit-code'.
Jan 09 14:58:54 user-TB14 systemd[2346]: org.gnome.SettingsDaemon.Wacom.service: Failed with result 'exit-code'.
Jan 09 14:58:54 user-TB14 systemd[2346]: xdg-desktop-portal-gnome.service: Failed with result 'exit-code'.
Jan 09 14:58:54 user-TB14 systemd[2346]: org.gnome.SettingsDaemon.Power.service: Failed with result 'exit-code'.
Jan 09 14:58:54 user-TB14 systemd[2346]: org.gnome.SettingsDaemon.Keyboard.service: Failed with result 'exit-code'.
Jan 09 14:58:54 user-TB14 systemd[2346]: org.gnome.SettingsDaemon.Color.service: Failed with result 'exit-code'.
Jan 09 14:58:54 user-TB14 systemd[2346]: [email protected]: Main process exited, code=dumped, status=11/SEGV
Jan 09 14:58:54 user-TB14 pulseaudio[2355]: X11 I/O error handler called
Jan 09 14:58:54 user-TB14 pulseaudio[2355]: X11 I/O error exit handler called, preparing to tear down X11 modules
Jan 09 14:58:54 user-TB14 systemd[2346]: [email protected]: Failed with result 'core-dump'.
Jan 09 14:58:54 user-TB14 systemd[2346]: update-notifier-crash.service: Main process exited, code=killed, status=15/TERM
Jan 09 14:58:54 user-TB14 systemd[2346]: update-notifier-crash.service: Failed with result 'signal'.
Jan 09 14:58:54 user-TB14 systemd[2346]: org.gnome.SettingsDaemon.XSettings.service: Failed with result 'exit-code'.
Jan 09 14:58:54 user-TB14 systemd[2346]: xdg-permission-store.service: Failed with result 'exit-code'.
Jan 09 14:58:54 user-TB14 evolution-addre[2688]: Error setting property 'ConnectionStatus' on interface org.gnome.evolution.dataserver.Source: The connection is closed (g-io-error-quark, 18)
Jan 09 14:58:54 user-TB14 systemd[2346]: xdg-document-portal.service: Failed with result 'exit-code'.
Jan 09 14:58:54 user-TB14 apport-gtk[4916]: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed
Jan 09 14:58:54 user-TB14 apport-gtk[4916]: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed
Jan 09 14:58:54 user-TB14 apport-gtk[4916]: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed
Jan 09 14:58:55 user-TB14 pulseaudio[2355]: After module unload, module 'module-null-sink' was still loaded!
Jan 09 14:58:55 user-TB14 kernel: usb 1-1.2: Failed to query (GET_DEF) UVC control 6 on unit 2: -32 (exp. 2).
Jan 09 14:58:55 user-TB14 pipewire[4976]: spa.v4l2: '/dev/video2' VIDIOC_QUERYCTRL: Input/output error
Jan 09 14:58:55 user-TB14 pipewire-media-session[4977]: ms.core: error id:69 seq:306 res:-5 (Input/output error): enum params id:1 (Spa:Enum:ParamId:PropInfo) failed
Jan 09 14:58:55 user-TB14 gnome-session-binary[5004]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
Jan 09 14:58:55 user-TB14 gnome-session-binary[5004]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
Jan 09 14:58:55 user-TB14 systemd[4969]: snap.snapd-desktop-integration.snapd-desktop-integration.service: Failed with result 'exit-code'.
Jan 09 14:58:55 user-TB14 tracker-miner-f[5058]: Unable to get XDG user directory path for special directory &DOCUMENTS. Ignoring this location.
Jan 09 14:58:55 user-TB14 tracker-miner-f[5058]: Unable to get XDG user directory path for special directory &MUSIC. Ignoring this location.
Jan 09 14:58:55 user-TB14 tracker-miner-f[5058]: Unable to get XDG user directory path for special directory &PICTURES. Ignoring this location.
Jan 09 14:58:55 user-TB14 tracker-miner-f[5058]: Unable to get XDG user directory path for special directory &VIDEOS. Ignoring this location.
Jan 09 14:58:55 user-TB14 tracker-miner-f[5058]: Unable to get XDG user directory path for special directory &DOWNLOAD. Ignoring this location.
Jan 09 14:58:55 user-TB14 tracker-miner-f[5058]: Unable to get XDG user directory path for special directory &DOCUMENTS. Ignoring this location.
Jan 09 14:58:55 user-TB14 tracker-miner-f[5058]: Unable to get XDG user directory path for special directory &MUSIC. Ignoring this location.
Jan 09 14:58:55 user-TB14 tracker-miner-f[5058]: Unable to get XDG user directory path for special directory &PICTURES. Ignoring this location.
Jan 09 14:58:55 user-TB14 tracker-miner-f[5058]: Unable to get XDG user directory path for special directory &VIDEOS. Ignoring this location.
Jan 09 14:58:56 user-TB14 /usr/libexec/gdm-wayland-session[5000]: dbus-daemon[5000]: [session uid=125 pid=5000] Activating service name='org.a11y.Bus' requested by ':1.4' (uid=125 pid=5051 comm="/usr/bin/gnome-shell " label="unconfined")
Jan 09 14:58:56 user-TB14 /usr/libexec/gdm-wayland-session[5000]: dbus-daemon[5000]: [session uid=125 pid=5000] Successfully activated service 'org.a11y.Bus'
Jan 09 14:58:56 user-TB14 org.gnome.Shell.desktop[5140]: (WW) Option "-listen" for file descriptors is deprecated
Jan 09 14:58:56 user-TB14 org.gnome.Shell.desktop[5140]: Please use "-listenfd" instead.
Jan 09 14:58:56 user-TB14 org.gnome.Shell.desktop[5140]: (WW) Option "-listen" for file descriptors is deprecated
Jan 09 14:58:56 user-TB14 org.gnome.Shell.desktop[5140]: Please use "-listenfd" instead.
Jan 09 14:58:56 user-TB14 /usr/libexec/gdm-wayland-session[5000]: dbus-daemon[5000]: [session uid=125 pid=5000] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.3' (uid=125 pid=5051 comm="/usr/bin/gnome-shell " label="unconfined")
Jan 09 14:58:56 user-TB14 /usr/libexec/gdm-wayland-session[5000]: dbus-daemon[5000]: [session uid=125 pid=5000] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
Jan 09 14:58:56 user-TB14 /usr/libexec/gdm-wayland-session[5000]: dbus-daemon[5000]: [session uid=125 pid=5000] Activating service name='org.gnome.Shell.Notifications' requested by ':1.3' (uid=125 pid=5051 comm="/usr/bin/gnome-shell " label="unconfined")
Jan 09 14:58:56 user-TB14 /usr/libexec/gdm-wayland-session[5130]: dbus-daemon[5130]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=125 pid=5051 comm="/usr/bin/gnome-shell " label="unconfined")
Jan 09 14:58:56 user-TB14 /usr/libexec/gdm-wayland-session[5130]: dbus-daemon[5130]: Successfully activated service 'org.a11y.atspi.Registry'
Jan 09 14:58:56 user-TB14 org.gnome.Shell.desktop[5051]: Window manager warning: Failed to parse saved session file: Failed to open file “/var/lib/gdm3/.config/mutter/sessions/10cecfa228c0c045d2167327273577826200000050040000.ms”: No such file or directory
Jan 09 14:58:56 user-TB14 /usr/libexec/gdm-wayland-session[5000]: dbus-daemon[5000]: [session uid=125 pid=5000] Successfully activated service 'org.gnome.Shell.Notifications'
Jan 09 14:58:56 user-TB14 /usr/libexec/gdm-wayland-session[5000]: dbus-daemon[5000]: [session uid=125 pid=5000] Activating service name='org.freedesktop.systemd1' requested by ':1.9' (uid=125 pid=5269 comm="/usr/libexec/gsd-sharing " label="unconfined")
Jan 09 14:58:56 user-TB14 /usr/libexec/gdm-wayland-session[5000]: dbus-daemon[5000]: [session uid=125 pid=5000] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Jan 09 14:58:56 user-TB14 gsd-sharing[5269]: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
Jan 09 14:58:56 user-TB14 gsd-sharing[5269]: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
Jan 09 14:58:56 user-TB14 /usr/libexec/gdm-wayland-session[5000]: dbus-daemon[5000]: [session uid=125 pid=5000] Activating service name='org.gtk.vfs.Daemon' requested by ':1.24' (uid=125 pid=5335 comm="ibus-daemon --panel disable " label="unconfined")
Jan 09 14:58:56 user-TB14 /usr/libexec/gdm-wayland-session[5000]: dbus-daemon[5000]: [session uid=125 pid=5000] Successfully activated service 'org.gtk.vfs.Daemon'
Jan 09 14:58:56 user-TB14 /usr/libexec/gdm-wayland-session[5000]: dbus-daemon[5000]: [session uid=125 pid=5000] Activating service name='org.freedesktop.portal.IBus' requested by ':1.24' (uid=125 pid=5335 comm="ibus-daemon --panel disable " label="unconfined")
Jan 09 14:58:56 user-TB14 /usr/libexec/gdm-wayland-session[5000]: dbus-daemon[5000]: [session uid=125 pid=5000] Successfully activated service 'org.freedesktop.portal.IBus'
Jan 09 14:58:56 user-TB14 xbrlapi.desktop[5417]: openConnection: connect: No such file or directory
Jan 09 14:58:56 user-TB14 xbrlapi.desktop[5417]: cannot connect to braille devices daemon brltty at :0
Jan 09 14:58:56 user-TB14 gnome-shell[5051]: JS ERROR: Failed to initialize fprintd service: Gio.IOErrorEnum: GDBus.Error:net.reactivated.Fprint.Error.NoSuchDevice: No devices available
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:114:23
Jan 09 14:58:56 user-TB14 gsd-media-keys[5287]: Failed to grab accelerator for keybinding settings:hibernate
Jan 09 14:58:56 user-TB14 gsd-media-keys[5287]: Failed to grab accelerator for keybinding settings:playback-repeat
Jan 09 14:58:56 user-TB14 /usr/libexec/gdm-wayland-session[5000]: dbus-daemon[5000]: [session uid=125 pid=5000] Activating service name='org.gnome.ScreenSaver' requested by ':1.23' (uid=125 pid=5309 comm="/usr/libexec/gsd-power " label="unconfined")
Jan 09 14:58:56 user-TB14 gnome-shell[5051]: ATK Bridge is disabled but a11y has already been enabled.
Jan 09 14:58:56 user-TB14 /usr/libexec/gdm-wayland-session[5000]: dbus-daemon[5000]: [session uid=125 pid=5000] Successfully activated service 'org.gnome.ScreenSaver'
Jan 09 14:58:56 user-TB14 org.gnome.Shell.desktop[5436]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Jan 09 14:58:56 user-TB14 org.gnome.Shell.desktop[5436]: > Warning: Unsupported maximum keycode 708, clipping.
Jan 09 14:58:56 user-TB14 org.gnome.Shell.desktop[5436]: > X11 cannot support keycodes above 255.
Jan 09 14:58:56 user-TB14 org.gnome.Shell.desktop[5436]: > Error: Key <LFSH> added to map for multiple modifiers
Jan 09 14:58:56 user-TB14 org.gnome.Shell.desktop[5436]: > Using Lock, ignoring Shift.
Jan 09 14:58:56 user-TB14 org.gnome.Shell.desktop[5436]: Errors from xkbcomp are not fatal to the X server
Jan 09 14:58:56 user-TB14 /usr/libexec/gdm-wayland-session[5000]: dbus-daemon[5000]: [session uid=125 pid=5000] Activating service name='org.freedesktop.portal.IBus' requested by ':1.36' (uid=125 pid=5432 comm="ibus-daemon --panel disable -r --xim " label="unconfined")
Jan 09 14:58:57 user-TB14 /usr/libexec/gdm-wayland-session[5000]: dbus-daemon[5000]: [session uid=125 pid=5000] Successfully activated service 'org.freedesktop.portal.IBus'
Jan 09 14:59:03 user-TB14 gdm-password][5547]: gkr-pam: unable to locate daemon control file
Jan 09 14:59:03 user-TB14 systemd[2346]: app-gnome-gnome\x2dkeyring\x2dssh-5764.scope: Failed to add PIDs to scope's control group: No such process
Jan 09 14:59:03 user-TB14 systemd[2346]: app-gnome-gnome\x2dkeyring\x2dssh-5764.scope: Failed with result 'resources'.
Jan 09 14:59:03 user-TB14 systemd[2346]: Failed to start Application launched by gnome-session-binary.
Jan 09 14:59:03 user-TB14 gnome-session-binary[5752]: GnomeDesktop-WARNING: Could not create transient scope for PID 5771: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 5771 does not exist.
Jan 09 14:59:03 user-TB14 kernel: usb 1-1.2: Failed to query (GET_DEF) UVC control 6 on unit 2: -32 (exp. 2).
Jan 09 14:59:03 user-TB14 systemd[2346]: [email protected]: Start request repeated too quickly.
Jan 09 14:59:03 user-TB14 pipewire[2353]: spa.v4l2: '/dev/video2' VIDIOC_QUERYCTRL: Input/output error
Jan 09 14:59:03 user-TB14 pipewire-media-session[2354]: ms.core: error id:26 seq:427 res:-5 (Input/output error): enum params id:1 (Spa:Enum:ParamId:PropInfo) failed
我的下一个想法是重新安装 AMD 图形驱动程序,同时尝试专有驱动程序,并检查 USB/显示端口控制器是否正常工作。
任何想法,将不胜感激!
编辑2023 年 1 月 26 日:在进行 BIOS 升级后(请参阅下面的答案),问题似乎已解决。然而,几天后,问题又出现了,而且相当不稳定:有时重启后它可以工作,有时则不行,仅在外接显示器上显示与以前相同的滞后行为。我尝试使用同一台显示器的 HDMI,一切正常。因此,我怀疑 USB-C 显示端口是导致问题的原因。
进一步检查发现,显示器仅以 30 Hz 24 位(链接速率 HBR)运行,如显示器信息所示。此外,USB 显示“2.0”。
答案1
这为我解决了同样的问题:
在终端中使用以下命令打开 Nvidia 设置:nvidia-settings
在“PRIME 配置文件”中选择 NVIDIA(性能模式)。
答案2
2023 年 3 月 9 日更新:我最终通过在笔记本电脑上使用另一个 USB-C/Displayport 连接器解决了这个问题。它们应该是相同的,但是,使用其中一个会导致行为滞后,而使用另一个则按预期工作。
编辑:请参阅问题的最新描述。BIOS 更新只能暂时修复此问题。
找到解决方案:BIOS 更新。
我之前运行的是 GQCN20WW (V1.06)。更新到 GQCN35WW (V1.21) 后,外接显示器上一切都运行顺畅。