Ask questionssway crashes after connecting dock (displaylink driver)


$ sway -d 2>~/sway.log
$ systemctl start displaylink
connect displalink dock
sway crash

HDMI is connected do displaylink dock dock: i-tec USB 3.0 Dual Docking Station device


sway version 1.0 os: archlinux



Stack trace

(gdb) bt full
#0  0x00007fcd9e0f267b in  () at /usr/lib/dri/
#1  0x00007fcd9e0f2d14 in  () at /usr/lib/dri/
#2  0x00007fcd9e107a51 in  () at /usr/lib/dri/
#3  0x00007fcd9e1075bb in  () at /usr/lib/dri/
#4  0x00007fcd9e107c7d in  () at /usr/lib/dri/
#5  0x00007fcd9e107a88 in  () at /usr/lib/dri/
#6  0x00007fcda208e57f in start_thread () at /usr/lib/
#7  0x00007fcda28a20e3 in clone () at /usr/lib/

From log it looks like the wlroots handles everything right because it founds the display even the resolutions are correct but there is something with IPC so that's why I am submitting the issue here.


Answer questions ascent12

GPU hotplug (which includes displaylink) isn't really something that is expected to work at the moment. Displaylink-like devices are especially weird, and probably requires some extra kind of support.

I'm aware of some work that Pekka Paalanen was doing for Displaylink support for Gnome a little while ago. I'm going to wait and see what the results are from that, and apply it to wlroots.

Github User Rank List