Random issues with usb-c connected display(s)

Hi,

my work Laptop (Dell Vostro with Fedora 40) is connected via usb-c to either a Dell docking station (3 monitor setup incl. laptop display) or at home to an Eizo EV2795 monitor with usb-c docking support.

This setup works fairly well - except some occasional hiccups where the system looses the display connection and reconnects moments later. Sometimes gnome crashes at the same time, but mostly not. Looking at the journal indicates issues with usb connectivity as it logs the detection of usb-devices shortly after/during the disconnect/reconnect cycle. Using new high quality usb-c cables changed nothing.

System details (inxi -Fxpmrz):

System:
  Kernel: 6.10.6-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Desktop: GNOME v: 46.4 Distro: Fedora Linux 40 (Workstation Edition)
Machine:
  Type: Laptop System: Dell product: Vostro 5515 v: 1.9.0
    serial: <superuser required>
  Mobo: Dell model: 0P3R55 v: A00 serial: <superuser required> UEFI: Dell
    v: 1.9.0 date: 03/18/2022
Battery:
  ID-1: BAT0 charge: 31.5 Wh (100.0%) condition: 31.5/54.0 Wh (58.3%)
    volts: 15.8 min: 15.0 model: SWD-COS3.661 DELL VKYJX15 status: full
Memory:
  System RAM: total: 16 GiB available: 14.97 GiB used: 6.3 GiB (42.1%)
  Array-1: capacity: 64 GiB slots: 2 modules: 1 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: Channel-B DIMM 0 type: no module installed
  Device-2: Channel-A DIMM 0 type: DDR4 size: 16 GiB speed: 3200 MT/s
CPU:
  Info: 8-core model: AMD Ryzen 7 5700U with Radeon Graphics bits: 64
    type: MT MCP arch: Zen 2 rev: 1 cache: L1: 512 KiB L2: 4 MiB L3: 8 MiB
  Speed (MHz): avg: 1192 high: 2958 min/max: 400/4372 cores: 1: 2284 2: 2351
    3: 400 4: 1840 5: 400 6: 400 7: 400 8: 2958 9: 400 10: 400 11: 1776 12: 400
    13: 2496 14: 400 15: 1776 16: 400 bogomips: 57487
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Lucienne vendor: Dell driver: amdgpu v: kernel arch: GCN-5
    bus-ID: 04:00.0 temp: 50.0 C
  Device-2: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo
    type: USB bus-ID: 1-4.2.3.1.1:10
  Device-3: Microdia Integrated_Webcam_HD driver: uvcvideo type: USB
    bus-ID: 3-1:2
  Display: wayland server: X.Org v: 24.1.2 with: Xwayland v: 24.1.2
    compositor: gnome-shell driver: dri: radeonsi gpu: amdgpu resolution:
    1: 2560x1440~60Hz 2: 1920x1080~60Hz
  API: OpenGL v: 4.6 vendor: amd mesa v: 24.1.6 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon Graphics (radeonsi renoir LLVM
    18.1.6 DRM 3.57 6.10.6-200.fc40.x86_64)
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Dell
    driver: snd_hda_intel v: kernel bus-ID: 04:00.1
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Dell
    driver: snd_rn_pci_acp3x v: kernel bus-ID: 04:00.5
  Device-3: AMD Family 17h/19h HD Audio vendor: Dell driver: snd_hda_intel
    v: kernel bus-ID: 04:00.6
  Device-4: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo
    type: USB bus-ID: 1-4.2.3.1.1:10
  API: ALSA v: k6.10.6-200.fc40.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.7 status: active
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Dell driver: r8169 v: kernel port: 2000 bus-ID: 02:00.0
  IF: enp2s0 state: down mac: <filter>
  Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
    vendor: Dell driver: ath10k_pci v: kernel bus-ID: 03:00.0 temp: 58.0 C
  IF: wlan0 state: up mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
Bluetooth:
  Device-1: Qualcomm Atheros driver: btusb v: 0.8 type: USB bus-ID: 3-3:3
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.2
    lmp-v: 8
Drives:
  Local Storage: total: 476.94 GiB used: 207.82 GiB (43.6%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: BC711 NVMe 512GB
    size: 476.94 GiB temp: 30.9 C
Partition:
  ID-1: / size: 475.34 GiB used: 207.44 GiB (43.6%) fs: btrfs dev: /dev/dm-0
    mapped: luks-1cade2e0-601d-40c6-9d79-8d89b56a111c
  ID-2: /boot size: 973.4 MiB used: 330.9 MiB (34.0%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 53.8 MiB (9.0%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 475.34 GiB used: 207.44 GiB (43.6%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-1cade2e0-601d-40c6-9d79-8d89b56a111c
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 44.0 C mobo: 36.0 C gpu: amdgpu temp: 50.0 C
  Fan Speeds (rpm): cpu: 2951
Repos:
  Packages: No packages detected. Unsupported package manager?
  No active dnf repos in: /etc/dnf/dnf.conf
  Active yum repos in: /etc/yum.repos.d/docker-ce.repo
    1: docker-ce-stable ~ https://download.docker.com/linux/fedora/$releasever/$basearch/stable
  Active yum repos in: /etc/yum.repos.d/fedora-cisco-openh264.repo
    1: fedora-cisco-openh264 ~ https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-$releasever&arch=$basearch
  No active yum repos in: /etc/yum.repos.d/fedora-updates-testing.repo
  Active yum repos in: /etc/yum.repos.d/fedora-updates.repo
    1: updates ~ https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/fedora.repo
    1: fedora ~ https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/google-chrome.repo
    1: google-chrome ~ https://dl.google.com/linux/chrome/rpm/stable/x86_64
  No active yum repos in: /etc/yum.repos.d/hardware:razer.repo
  No active yum repos in: /etc/yum.repos.d/jenkins.repo
  No active yum repos in: /etc/yum.repos.d/rpmfusion-free-updates-testing.repo
  Active yum repos in: /etc/yum.repos.d/rpmfusion-free-updates.repo
    1: rpmfusion-free-updates ~ https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/rpmfusion-free.repo
    1: rpmfusion-free ~ https://mirrors.rpmfusion.org/metalink?repo=free-fedora-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-nvidia-driver.repo
    1: rpmfusion-nonfree-nvidia-driver ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-nvidia-driver-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-steam.repo
    1: rpmfusion-nonfree-steam ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-steam-$releasever&arch=$basearch
  No active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo
  Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-updates.repo
    1: rpmfusion-nonfree-updates ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-released-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree.repo
    1: rpmfusion-nonfree ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/vscode.repo
    1: code ~ https://packages.microsoft.com/yumrepos/vscode
  No active yum repos in: /etc/yum.repos.d/vscodium.repo
Info:
  Processes: 478 Uptime: 49m Init: systemd target: graphical (5)
  Compilers: gcc: 14.2.1 Shell: fish v: 3.7.0 inxi: 3.3.34

Any hints on this appreciated.

multiple-displays, usb-c hinzugefügt und audio, bluetooth, nvidia, pipewire, server entfernt

docking-station, f40 hinzugefügt

DisplayLink is often needed with “docking stations, USB monitors, and USB adapters.” For 6.10 kernels I needed to get an update from upstream github-evdi:

Installed Packages
Name         : displaylink
Version      : 1.14.6
Release      : 1.github_evdi
Architecture : x86_64
Size         : 15 M
Source       : displaylink-1.14.6-1.github_evdi.src.rpm
Repository   : @System
From repo    : @commandline
Summary      : DisplayLink VGA/HDMI driver for DL-6xxx, DL-5xxx, DL-41xx and DL-3xxx adapters
License      : GPLv2 and LGPLv2 and MIT and ASL 2.0 and Proprietary
Description  : This adds support for HDMI/VGA adapters built upon the DisplayLink DL-7xxx,
             : DL-6xxx, DL-5xxx, DL-41xx and DL-3xxx series of chipsets. This includes
             : numerous docking stations, USB monitors, and USB adapters.

Some 3rd party repos have also provide displaylink packages.

Since it works most of the time, I guess it’s not per definition a missing driver problem. I also would rather not clutter my system with a 3rd party driver that’s somewhat complicated to integrate: GitHub - displaylink-rpm/displaylink-rpm: RPM sources for the DisplayLink USB display adapters

This is not a DisplayLink driver issue. My Dell U3423WE monitor has native type-C support, and exhibits the exact same behavior as Falk has mentioned. The common denominators appear to be AMD as I’m running a ThinkPad P14s G5 with Ryzen 7 8840HS… other specs as follows:

> inxi -Fxpmrz
System:
  Kernel: 6.11.11-300.fc41.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.43.1-4.fc41
  Desktop: KDE Plasma v: 6.2.4 Distro: Fedora Linux 41 (KDE Plasma)
Machine:
  Type: Laptop System: LENOVO product: 21ME001MUS v: ThinkPad P14s Gen 5 AMD
    serial: <superuser required>
  Mobo: LENOVO model: 21ME001MUS v: SDK0T76530 WIN
    serial: <superuser required> UEFI: LENOVO v: R2LET29W (1.10 )
    date: 09/25/2024
Battery:
  ID-1: BAT0 charge: 44.9 Wh (84.9%) condition: 52.9/52.6 Wh (100.6%)
    volts: 16.7 min: 15.5 model: SMP 5B11H56415 status: not charging
Memory:
  System RAM: total: 64 GiB available: 58.5 GiB used: 4.87 GiB (8.3%)
  Array-1: capacity: 64 GiB slots: 2 modules: 2 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: Channel-A DIMM 0 type: DDR5 size: 32 GiB speed: 5600 MT/s
  Device-2: Channel-B DIMM 0 type: DDR5 size: 32 GiB speed: 5600 MT/s
CPU:
  Info: 8-core model: AMD Ryzen 7 PRO 8840HS w/ Radeon 780M Graphics bits: 64
    type: MT MCP arch: Zen 4 rev: 2 cache: L1: 512 KiB L2: 8 MiB L3: 16 MiB
  Speed (MHz): avg: 400 min/max: 400/5132 boost: enabled cores: 1: 400
    2: 400 3: 400 4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400
    12: 400 13: 400 14: 400 15: 400 16: 400 bogomips: 105413
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Phoenix3 vendor: Lenovo
    driver: amdgpu v: kernel arch: RDNA-3 bus-ID: c4:00.0 temp: 45.0 C
  Device-2: Chicony Integrated Camera driver: uvcvideo type: USB
    bus-ID: 3-1:2
  Display: wayland server: Xwayland v: 24.1.4 compositor: kwin_wayland
    driver: N/A resolution: 1: 2560x1440 2: 1440x900
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast platforms:
    active: gbm,wayland,x11,surfaceless,device inactive: N/A
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.8 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon Graphics (radeonsi gfx1103_r1 LLVM
    19.1.0 DRM 3.59 6.11.11-300.fc41.x86_64)
  API: Vulkan v: 1.3.296 drivers: N/A surfaces: xcb,xlib,wayland devices: 2
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High Definition
    Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: c4:00.1
  Device-2: Advanced Micro Devices [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
    vendor: Lenovo driver: snd_pci_ps v: kernel bus-ID: c4:00.5
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: c4:00.6
  API: ALSA v: k6.11.11-300.fc41.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.2.7 status: active
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel port: a000 bus-ID: 01:00.0
  IF: enp1s0f0 state: down mac: <filter>
  Device-2: Qualcomm QCNFA765 Wireless Network Adapter vendor: Lenovo
    driver: ath11k_pci v: kernel bus-ID: 02:00.0
  IF: wlp2s0 state: up mac: <filter>
  Device-3: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 type: USB
    bus-ID: 8-1.4.3:23
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: USI driver: btusb v: 0.8 type: USB bus-ID: 1-3.1:4
  Report: btmgmt ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 5.3
    lmp-v: 12
Drives:
  Local Storage: total: 525.52 GiB used: 15.63 GiB (3.0%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 PRO 500GB
    size: 465.76 GiB temp: 39.9 C
  ID-2: /dev/sdb vendor: Samsung model: Type-C size: 59.75 GiB type: USB
Partition:
  ID-1: / size: 464.17 GiB used: 15.28 GiB (3.3%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 342.8 MiB (35.2%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19.3 MiB (3.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 464.17 GiB used: 15.28 GiB (3.3%) fs: btrfs
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 49.0 C mobo: N/A gpu: amdgpu temp: 48.0 C
  Fan Speeds (rpm): fan-1: 0 fan-2: 0
Repos:
  Packages: N/A note: see --rpm
  No active dnf repos in: /etc/dnf/dnf.conf
  No active yum repos in: /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:phracek:PyCharm.repo
  Active yum repos in: /etc/yum.repos.d/fedora-cisco-openh264.repo
    1: fedora-cisco-openh264 ~ https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-$releasever&arch=$basearch
  No active yum repos in: /etc/yum.repos.d/fedora-updates-testing.repo
  Active yum repos in: /etc/yum.repos.d/fedora-updates.repo
    1: updates ~ https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/fedora.repo
    1: fedora ~ https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/gh-cli.repo
    1: gh-cli ~ https://cli.github.com/packages/rpm
  No active yum repos in: /etc/yum.repos.d/google-chrome.repo
  No active yum repos in: /etc/yum.repos.d/rpmfusion-free-updates-testing.repo
  Active yum repos in: /etc/yum.repos.d/rpmfusion-free-updates.repo
    1: rpmfusion-free-updates ~ https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/rpmfusion-free.repo
    1: rpmfusion-free ~ https://mirrors.rpmfusion.org/metalink?repo=free-fedora-$releasever&arch=$basearch
  No active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-nvidia-driver.repo
  No active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-steam.repo
  No active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo
  Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-updates.repo
    1: rpmfusion-nonfree-updates ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-released-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree.repo
    1: rpmfusion-nonfree ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-$releasever&arch=$basearch
Info:
  Processes: 439 Uptime: 1h 32m Init: systemd target: graphical (5)
  Compilers: gcc: 14.2.1 Shell: Zsh v: 5.9 inxi: 3.3.36

~mrt