Displaylink monitor doesn't get signal when connected through docking station on Nvidia + Wayland

More info here: Monitors connected through the dock are blank on Wayland but work fine on X11 (Ubuntu 24.04) · Issue #484 · DisplayLink/evdi · GitHub

To summarize, I’m trying to get monitors connected through my Dell D6000 docking station to work on my Lenovo Legion 5 Pro laptop. It has an AMD Ryzen 7 5800H + RTX 3070. The integrated AMD GPU is disabled with a MUX switch in my BIOS, so only the Nvidia card is used. I’m mainly using Hyprland on Arch Linux but also tested with KDE and Gnome on Ubuntu 24.04.
The problem is the monitor connected to the docking station does not get a signal, even though it is correctly detected by the wayland compositor.

Through testing on various configurations and desktop environments, I’ve narrowed it down to being an issue with the combination in Nvidia + Wayland:

  • It works fine on Windows
  • It works fine on Xorg + Nvidia, Xorg + AMD and Xorg + Intel (my work laptop has an Intel)
  • It works fine on Wayland + Intel.
  • The monitor gets no signal with Nvidia + Wayland
  • Strangely, with the nouveau driver the monitor does get a signal but only the mouse cursor was visible, with a completely black background. I could not move windows to this monitor (tested on Gnome + Wayland on Ubuntu 24.04)

dmesg logs with evdi verbosity and drm debugging enabled (grep on evdi): dmesg.log (6.6 MB)

In this logfile I disconnect and then reconnect the monitor.
I notice these lines seem to indicate some failing ioctl calls when connecting the monitor?

[15600.525827] evdi evdi.0: [drm:drm_ioctl] comm="DesktopManagerE" pid=842, dev=0xe201, auth=1, DRM_IOCTL_AUTH_MAGIC
[15600.525831] evdi evdi.0: [drm:drm_authmagic] 0
[15600.525834] evdi evdi.0: [drm:drm_ioctl] comm="DesktopManagerE", pid=842, ret=-22
[15600.525852] evdi evdi.0: [drm:drm_ioctl] comm="DesktopManagerE" pid=842, dev=0xe201, auth=1, DRM_IOCTL_DROP_MASTER
[15600.525855] evdi evdi.0: [drm:drm_ioctl] comm="DesktopManagerE" pid=842, dev=0xe201, auth=1, DRM_IOCTL_AUTH_MAGIC
[15600.525858] evdi evdi.0: [drm:drm_ioctl] comm="DesktopManagerE", pid=842, ret=-13
[15600.525871] evdi evdi.0: [drm:drm_ioctl] comm="DesktopManagerE" pid=842, dev=0xe201, auth=1, DRM_IOCTL_DROP_MASTER
[15600.525874] evdi evdi.0: [drm:drm_ioctl] comm="DesktopManagerE", pid=842, ret=-22

nvidia-bug-report.log.gz (990.0 KB)

Let me know if I can do more testing or provide more logs.