This forum has been archived. All content is frozen. Please use KDE Discuss instead.

External displays on dock not detected after login, Wayland

Tags: wayland, kwin, plasma, plasma-desktop wayland, kwin, plasma, plasma-desktop wayland, kwin, plasma, plasma-desktop
(comma "," separated)
hslabbert
Registered Member
Posts
1
Karma
0
I run a Thinkpad Carbon X1 with a "OneLink" dock. Two external displays are connected to the dock via DisplayPort.

On an X session everything works fine, with the external displays detected dynamically without issue if the notebook is plugged into the dock or removed. On a Wayland session, though, the displays are only detected if they are connected pre-login. In other words: If I connect the notebook to the dock while at the SDDM screen, before logging in, they're detected just fine and things just work. When I pack up for the day and disconnect the dock, this is detected fine as well and the display settings shift to just the builtin display. When I connect to the dock again, though, the external displays are not recognized. Other devices on the dock (power; LAN; keyboard and mouse) are detected just fine, but the displays are not present. If I close my session and go back to SDDM, the external displays are picked up again.

OS: Debian Testing

Code: Select all
$ uname -a
Linux cayvrhslabbert 4.19.0-2-amd64 #1 SMP Debian 4.19.16-1 (2019-01-17) x86_64 GNU/Linux
$ plasmashell --version
plasmashell 5.14.3
$ kf5-config --version
Qt: 5.11.3
KDE Frameworks: 5.54.0
kf5-config: 1.0


dmesg output from plugging in, while on X ( I don't have the wayland output available atm but will try to get that added in the next bit when I log out/in and not kill my workday ;)

Code: Select all
[ 6381.709082] usb 1-4: new high-speed USB device number 27 using xhci_hcd
[ 6381.858898] usb 1-4: New USB device found, idVendor=17ef, idProduct=1018, bcdDevice=52.84
[ 6381.858901] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6381.858902] usb 1-4: Product: USB2.0 Hub             
[ 6381.858903] usb 1-4: Manufacturer: VIA Labs, Inc.         
[ 6381.859890] hub 1-4:1.0: USB hub found
[ 6381.860105] hub 1-4:1.0: 4 ports detected
[ 6382.026019] usb 2-4: new SuperSpeed Gen 1 USB device number 11 using xhci_hcd
[ 6382.131037] usb 2-4: New USB device found, idVendor=17ef, idProduct=1018, bcdDevice=52.85
[ 6382.131041] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6382.131043] usb 2-4: Product: USB3.0 Hub             
[ 6382.131044] usb 2-4: Manufacturer: VIA Labs, Inc.         
[ 6382.133661] hub 2-4:1.0: USB hub found
[ 6382.133882] hub 2-4:1.0: 4 ports detected
[ 6382.217044] usb 1-4.2: new high-speed USB device number 28 using xhci_hcd
[ 6382.330400] usb 1-4.2: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.37
[ 6382.330418] usb 1-4.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 6382.330426] usb 1-4.2: Product: USB2.0 Hub
[ 6382.337898] hub 1-4.2:1.0: USB hub found
[ 6382.338190] hub 1-4.2:1.0: 2 ports detected
[ 6382.561969] usb 2-4.1: new SuperSpeed Gen 1 USB device number 12 using xhci_hcd
[ 6382.666936] usb 2-4.1: New USB device found, idVendor=17ef, idProduct=1019, bcdDevice=52.81
[ 6382.666946] usb 2-4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6382.666951] usb 2-4.1: Product: USB3.0 Hub             
[ 6382.666956] usb 2-4.1: Manufacturer: VIA Labs, Inc.         
[ 6382.670368] hub 2-4.1:1.0: USB hub found
[ 6382.670631] hub 2-4.1:1.0: 4 ports detected
[ 6382.745009] usb 1-4.2.1: new high-speed USB device number 29 using xhci_hcd
[ 6382.745250] thinkpad_acpi: docked into hotplug port replicator
[ 6382.846556] usb 1-4.2.1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[ 6382.846559] usb 1-4.2.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 6382.846561] usb 1-4.2.1: Product: USB2.0 Hub
[ 6382.847851] hub 1-4.2.1:1.0: USB hub found
[ 6382.848099] hub 1-4.2.1:1.0: 4 ports detected
[ 6382.945362] usb 1-4.1: new high-speed USB device number 30 using xhci_hcd
[ 6383.064557] usb 1-4.1: New USB device found, idVendor=17ef, idProduct=1019, bcdDevice=52.81
[ 6383.064567] usb 1-4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6383.064574] usb 1-4.1: Product: USB2.0 Hub             
[ 6383.064580] usb 1-4.1: Manufacturer: VIA Labs, Inc.         
[ 6383.069481] hub 1-4.1:1.0: USB hub found
[ 6383.070159] hub 1-4.1:1.0: 4 ports detected
[ 6383.137056] usb 1-4.2.2: new low-speed USB device number 31 using xhci_hcd
[ 6383.255732] usb 1-4.2.2: New USB device found, idVendor=04d9, idProduct=2013, bcdDevice= 3.90
[ 6383.255735] usb 1-4.2.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 6383.255736] usb 1-4.2.2: Product: daskeyboard
[ 6383.272986] input: daskeyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.2/1-4.2.2/1-4.2.2:1.0/0003:04D9:2013.000F/input/input64
[ 6383.317021] usb 2-4.1.3: new SuperSpeed Gen 1 USB device number 13 using xhci_hcd
[ 6383.333164] hid-generic 0003:04D9:2013.000F: input,hidraw0: USB HID v1.10 Keyboard [daskeyboard] on usb-0000:00:14.0-4.2.2/input0
[ 6383.337867] usb 2-4.1.3: New USB device found, idVendor=17ef, idProduct=3054, bcdDevice=30.01
[ 6383.337870] usb 2-4.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[ 6383.337871] usb 2-4.1.3: Product: OneLink+ Giga
[ 6383.337873] usb 2-4.1.3: Manufacturer: Lenovo
[ 6383.337874] usb 2-4.1.3: SerialNumber: 0000CE000000
[ 6383.342104] cdc_ether 2-4.1.3:2.0 eth1: register 'cdc_ether' at usb-0000:00:14.0-4.1.3, CDC Ethernet Device, 00:50:b6:d6:88:9f
[ 6383.355880] input: daskeyboard Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.2/1-4.2.2/1-4.2.2:1.1/0003:04D9:2013.0010/input/input65
[ 6383.394930] cdc_ether 2-4.1.3:2.0 enx0050b6d6889f: renamed from eth1
[ 6383.413173] input: daskeyboard System Control as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.2/1-4.2.2/1-4.2.2:1.1/0003:04D9:2013.0010/input/input66
[ 6383.413284] hid-generic 0003:04D9:2013.0010: input,hidraw1: USB HID v1.10 Device [daskeyboard] on usb-0000:00:14.0-4.2.2/input1
[ 6383.468964] usb 1-4.1.2: new low-speed USB device number 32 using xhci_hcd
[ 6383.625113] usb 1-4.1.2: New USB device found, idVendor=046d, idProduct=c05a, bcdDevice=63.00
[ 6383.625116] usb 1-4.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6383.625117] usb 1-4.1.2: Product: USB Optical Mouse
[ 6383.625119] usb 1-4.1.2: Manufacturer: Logitech
[ 6383.630208] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1.2/1-4.1.2:1.0/0003:046D:C05A.0011/input/input67
[ 6383.630327] hid-generic 0003:046D:C05A.0011: input,hidraw2: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:14.0-4.1.2/input0
[ 6383.650160] IPv6: ADDRCONF(NETDEV_UP): enx0050b6d6889f: link is not ready
[ 6383.721029] usb 1-4.1.4: new full-speed USB device number 33 using xhci_hcd
[ 6383.777108] thinkpad_acpi: docked into hotplug port replicator
[ 6383.789075] thinkpad_acpi: docked into hotplug port replicator
[ 6383.846668] usb 1-4.1.4: New USB device found, idVendor=17ef, idProduct=3055, bcdDevice= 1.09
[ 6383.846671] usb 1-4.1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6383.846673] usb 1-4.1.4: Product: ThinkPad OneLink Plus Dock Audio
[ 6383.846675] usb 1-4.1.4: Manufacturer: C-Media Electronics Inc.
[ 6383.879523] input: C-Media Electronics Inc. ThinkPad OneLink Plus Dock Audio as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1.4/1-4.1.4:1.3/0003:17EF:3055.0012/input/input68
[ 6383.937126] hid-generic 0003:17EF:3055.0012: input,hidraw3: USB HID v1.00 Device [C-Media Electronics Inc. ThinkPad OneLink Plus Dock Audio] on usb-0000:00:14.0-4.1.4/input3
johndoesnmp
Registered Member
Posts
1
Karma
0
Hi.. did you manage to figure out how to get the secondary display working on Wayland if connected after login/boot?
ugursogukpinar
Registered Member
Posts
1
Karma
0
Hey, I'm having the same problem, do you guys have any solution?


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]