Displaylink.service failed - kernel: 6.2.1-zen1-1-zen (x86_64)

Hello Garuda users.

I've just updated my system and my ThinkPad docking station stopped working (do not detect the screens)...any suggestions?

I tried to remove and install those packages:

Packages (2) evdi-git-1.12.0.r7.g6455921-1  displaylink-5.6.1-3.1

I am getting this:

. . .
==> dkms install --no-depmod evdi/1.12.0 -k 6.2.1-zen1-1-zen
Error! Bad return status for module build on kernel: 6.2.1-zen1-1-zen (x86_64)
Consult /var/lib/dkms/evdi/1.12.0/build/make.log for more information.
==> WARNING: `dkms install --no-depmod evdi/1.12.0 -k 6.2.1-zen1-1-zen' exited 10

some troubleshooting:

journalctl -xeu displaylink.service
Defined-By: systemd
β–‘β–‘ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
β–‘β–‘ 
β–‘β–‘ A start job for unit displaylink.service has begun execution.
β–‘β–‘ 
β–‘β–‘ The job identifier is 4450.
Mar 03 11:19:36 LIMC-5490 modprobe[10433]: modprobe: FATAL: Module evdi not found in directory /lib/modules/6>
Mar 03 11:19:36 LIMC-5490 systemd[1]: displaylink.service: Control process exited, code=exited, status=1/FAIL>
β–‘β–‘ Subject: Unit process exited
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
β–‘β–‘ 
β–‘β–‘ An ExecStartPre= process belonging to unit displaylink.service has exited.
β–‘β–‘ 
β–‘β–‘ The process' exit code is 'exited' and its exit status is 1.
Mar 03 11:19:36 LIMC-5490 systemd[1]: displaylink.service: Failed with result 'exit-code'.
β–‘β–‘ Subject: Unit failed
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
β–‘β–‘ 
β–‘β–‘ The unit displaylink.service has entered the 'failed' state with result 'exit-code'.
Mar 03 11:19:36 LIMC-5490 systemd[1]: Failed to start DisplayLink Manager Service.
β–‘β–‘ Subject: A start job for unit displaylink.service has failed
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
β–‘β–‘ 
β–‘β–‘ A start job for unit displaylink.service has finished with a failure.
β–‘β–‘ 
β–‘β–‘ The job identifier is 4450 and the job result is failed.

Thanks.

AUR (en) - evdi seems to have some relevant comments:

adrolter commented on 2023-03-01 00:11 (UTC)
Broken on 6.2, see: Linux kernel version 6 not supported - patch available Β· Issue #384 Β· DisplayLink/evdi Β· GitHub

The last comment includes the patch to evdi for kernel 6.2, which is going to be merged.
That’s all I know though.


edit: :point_right: I think the easiest thing to do is to run the -lts kernel (still 6.1) until the issue is resolved.


DisplayLink - ArchWiki (long story short, expect it to break again on kernel updates).


while searching, I also found this (old) comment

I have my Thinkpad Laptop (No nvidia GPU) and a Thinkpad USB3.0 Dock that connects to dual monitors via two HDMI cables without any issue.
I do not need to use displaylink driver.

No idea if using HDMI is an option with your hardware.


last but not least, in general garuda-inxi is useful (and required) for troubleshooting, especially for issues that may be hardware related.

2 Likes

Thanks for having a look at it.

I will try either to build the evdi package with that fix or downgrade to the latest build (linux-zen-6.1.12.zen1-1-x86_64) that was working for me...

Regarding the Thinkpad USB3.0 Dock, this one has got an HDMI and DVi Port .. I have two Lenovo laptops, a p15 which requires the displaylink driver whereas the t470 does not...

╰─λ garuda-inxi 
System:
  Kernel: 6.2.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=04XXXXXXX rw rootflags=subvol=@
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3 ibt=off
  Desktop: GNOME v: 43.3 tk: GTK v: 3.24.36 wm: gnome-shell dm: GDM v: 43.0
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20YXXXXXX v: ThinkPad P15 Gen 2i
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20YQ002VAU v: SDK0J40697 WIN
    serial: <superuser required> UEFI: LENOVO v: N37ET36W (1.17 )
    date: 11/22/2021
Battery:
  ID-1: BAT0 charge: 94.8 Wh (99.5%) condition: 95.3/94.0 Wh (101.4%)
    volts: 12.9 min: 11.6 model: LGC 5B10W13958 type: Li-poly serial: <filter>
    status: full cycles: 53
CPU:
  Info: model: 11th Gen Intel Core i7-11850H bits: 64 type: MT MCP
    arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
    process: Intel 10nm family: 6 model-id: 0x8D (141) stepping: 1
    microcode: 0x42
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 640 KiB desc: d-8x48 KiB; i-8x32 KiB L2: 10 MiB desc: 8x1.2 MiB
    L3: 24 MiB desc: 1x24 MiB
  Speed (MHz): avg: 1461 high: 2500 min/max: 800/4800 scaling:
    driver: intel_pstate governor: powersave cores: 1: 1000 2: 1078 3: 2500
    4: 2500 5: 995 6: 1065 7: 1005 8: 1000 9: 2500 10: 2500 11: 2500 12: 991
    13: 1086 14: 789 15: 1079 16: 801 bogomips: 79872
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Lenovo driver: i915
    v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21 ports:
    active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, DP-5, HDMI-A-1
    bus-ID: 00:02.0 chip-ID: 8086:9a60 class-ID: 0300
  Device-2: NVIDIA GA104GLM [RTX A3000 Mobile] vendor: Lenovo driver: nvidia
    v: 525.89.02 alternate: nouveau,nvidia_drm non-free: 525.xx+
    status: current (as of 2023-02) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 ports: active: none empty: DP-6, DP-7, DP-8, HDMI-A-2
    bus-ID: 01:00.0 chip-ID: 10de:24b8 class-ID: 0300
  Device-3: Chicony Integrated Camera type: USB driver: uvcvideo
    bus-ID: 2-4:5 chip-ID: 04f2:b6be class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 22.1.8
    compositor: gnome-shell driver: X: loaded: modesetting,nvidia dri: iris
    gpu: i915 display-ID: :1 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x571mm (40.00x22.48")
    s-diag: 1165mm (45.88")
  Monitor-1: eDP-1 model-id: CSO 0x1500 built: 2019 res: 3840x2160 hz: 60
    dpi: 284 gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
    ratio: 16:9 modes: 3840x2160
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel UHD Graphics (TGL GT1)
    direct-render: Yes
Audio:
  Device-1: Intel Tiger Lake-H HD Audio vendor: Lenovo
    driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 2-1.4.1:6
    chip-ID: 08bb:2902 bus-ID: 00:1f.3 chip-ID: 8086:43c8 class-ID: 0300
    class-ID: 0401
  Device-2: NVIDIA GA104 High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:228b class-ID: 0403
  Device-3: Texas Instruments PCM2902 Audio Codec type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Device-4: DisplayLink ThinkPad USB 3.0 Pro Dock type: USB
    driver: cdc_ncm,snd-usb-audio bus-ID: 4-1.1:3 chip-ID: 17e9:433f
    class-ID: 0a00 serial: <filter>
  Sound API: ALSA v: k6.2.1-zen1-1-zen running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.66 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 09:00.0 chip-ID: 8086:2725
    class-ID: 0280
  IF: wlp9s0 state: up mac: <filter>
  Device-2: Intel Ethernet I225-LM vendor: Lenovo driver: igc v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 0b:00.0
    chip-ID: 8086:15f2 class-ID: 0200
  IF: enp11s0 state: down mac: <filter>
  IF-ID-1: docker0 state: up speed: 10000 Mbps duplex: unknown mac: <filter>
  IF-ID-2: enp0s20f0u1u1i5 state: up speed: 1000 Mbps duplex: half
    mac: <filter>
  IF-ID-3: vethab4ee76 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-4: virbr0 state: down mac: <filter>
  IF-ID-5: virbr1 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX210 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 2-14:11 chip-ID: 8087:0032 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 2 state: up address: <filter>
Drives:
  Local Storage: total: 953.87 GiB used: 535.38 GiB (56.1%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZVL21T0HCLR-00BL7 size: 953.87 GiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: CL2QGXA7 temp: 44.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 97.66 GiB size: 97.66 GiB (100.00%)
    used: 58.65 GiB (60.1%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 29.6 MiB (11.6%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 97.66 GiB size: 97.66 GiB (100.00%)
    used: 58.65 GiB (60.1%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
  ID-4: /var/log raw-size: 97.66 GiB size: 97.66 GiB (100.00%)
    used: 58.65 GiB (60.1%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
  ID-5: /var/tmp raw-size: 97.66 GiB size: 97.66 GiB (100.00%)
    used: 58.65 GiB (60.1%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 31.05 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 52.0 C mobo: N/A
  Fan Speeds (RPM): fan-1: 1966 fan-2: 1819
Info:
  Processes: 490 Uptime: 1h 20m wakeups: 5 Memory: 31.05 GiB
  used: 9.71 GiB (31.3%) Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: pm: pacman
  pkgs: 1544 libs: 407 tools: pamac,paru Shell: fish v: 3.6.0 default: Bash
  v: 5.1.16 running-in: gnome-terminal inxi: 3.3.25
Garuda (2.6.15-1):
  System install date:     2022-08-19
  Last full system update: 2023-03-03 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager mkinitcpio nvidia-dkms
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:            displaylink.service systemd-vconsole-setup.service 

I could fix the problem by following those steps:

Remove packages:

sudo pacman -R evdi
sudo pacman -R displaylink

Reinstall evdi

git clone https://github.com/listout/evdi.git
cd /evdi/module/
cp * /usr/src/evdi-1.12.0/
sudo dkms build -m evdi -v 1.12.0 --force
sudo dkms install -m evdi -v 1.12.0
sudo reboot

Reinstall displaylink

sudo pacman -S displaylink
2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.