DisplayLink / evdi

Extensible Virtual Display Interface
MIT License
703 stars 184 forks source link

Monitors connected through the dock are blank on Wayland but work fine on X11 (Ubuntu 24.04) #484

Open zjeffer opened 1 month ago

zjeffer commented 1 month ago

I have a Dell D6000 docking station connected to my Lenovo Legion 5 Pro laptop. Everything works (keyboard & mouse through usb, ethernet), but my monitors do not display anything on Wayland. Connecting the cable turns on the monitor but then it goes to standby because it gets 'No signal'.

On X11, everything works fine. On Windows too.

I compared the logs and noticed that on Wayland, after the Edid property is set, it immediately logs evdi_user_framebuffer_destroy, evdi_painter_close, and evdi_driver_close. These logs don't occur on X when connecting the monitor.

On Wayland, the monitor (Acer, id=3, my second monitor is connected directly to my laptop and works fine) is connected properly, shows the correct size, resolution, name, etc:

image

But the monitor doesn't get a signal.


I also notice that when I use the nouveau drivers instead of the proprietary Nvidia drivers, the monitor does get a signal, but only shows the cursor, the background is black and I can't move windows to the monitor. Either way, using nouveau isn't an option, as I'm planning to use this dock on Hyprland, and play games: both of which aren't great with nouveau. But this info might be useful to determine the cause.

Let me know if you need any other logs.

zjeffer commented 1 month ago

On Hyprland, reconnecting a monitor has the same behaviour but different logs: evdi-hyprland.log

dmesg logs when reconnecting a monitor, with debug drm logs enabled (grep on evdi): dmesg.log

zjeffer commented 4 weeks ago

Seems it happens due to the combination Nvidia + Wayland: I see the same behaviour on KDE + Wayland and on Hyprland when using Nvidia, but when running them on my AMD Integrated GPU it works fine. My other laptop with Intel integrated GPU also works fine.

Is this the right place to report this? Or should I report it to the nvidia forums?

zjeffer commented 2 weeks ago

Still doesn't work with nvidia-560 drivers.

zjeffer commented 2 weeks ago

Created a thread in the nvidia forums here: https://forums.developer.nvidia.com/t/displaylink-monitor-doesnt-get-signal-when-connected-through-docking-station-on-nvidia-wayland/304676