https://bugs.kde.org/show_bug.cgi?id=442980
Bug ID: 442980 Summary: Plasma wayland session does not re-detect external monitor Product: plasmashell Version: 5.22.90 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Multi-screen support Assignee: aleix...@kde.org Reporter: hamilton....@gmail.com CC: plasma-b...@kde.org Target Milestone: 1.0 SUMMARY I use a laptop with an external monitor. The monitor's input is HDMI via a USB-C dongle. When the system is started with the monitor/dongle plugged in, or the dongle is plugged in after a clean boot the monitor is detected correctly. When the dongle is unplugged KDE detects this and rearranges panels and windows correctly. However, after the dongle is unplugged, the monitor is not be detected when the dongle is replugged. Logging out or rebooting resolves the issue and the monitor is again detected correctly. The same issue is not present under X11. STEPS TO REPRODUCE 1. Log in to KDE wayland session. 2. Unplug external monitor. 3. Replug external monitor. OBSERVED RESULT External monitor is not detected, shows message that no HDMI output is detected. EXPECTED RESULT KDE detects external monitor, outputs video and rearranges panels and windows. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Garuda Linux (Arch) / KDE Plasma (available in About System) KDE Plasma Version: 5.22.90 KDE Frameworks Version: 5.86.0 Qt Version: 5.15.2 Graphics Platform: Wayland Kernel: 5.14.7-arch1-1 ADDITIONAL INFORMATION -- dmesg - plugging in after reboot [Sep26 22:13] usb 2-3: new SuperSpeed USB device number 32 using xhci_hcd [ +0.019649] usb 2-3: New USB device found, idVendor=05e3, idProduct=0626, bcdDevice= 6.54 [ +0.000019] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ +0.000002] usb 2-3: Product: USB3.1 Hub [ +0.000001] usb 2-3: Manufacturer: GenesysLogic [ +0.001588] hub 2-3:1.0: USB hub found [ +0.000275] hub 2-3:1.0: 4 ports detected [ +0.014923] usb 3-4: new high-speed USB device number 10 using xhci_hcd [ +0.143297] usb 3-4: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice= 6.54 [ +0.000006] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ +0.000002] usb 3-4: Product: USB2.1 Hub [ +0.000001] usb 3-4: Manufacturer: GenesysLogic [ +0.001145] hub 3-4:1.0: USB hub found [ +0.000269] hub 3-4:1.0: 4 ports detected [ +0.119346] usb 2-3.1: new SuperSpeed USB device number 33 using xhci_hcd [ +0.021892] usb 2-3.1: New USB device found, idVendor=05e3, idProduct=0749, bcdDevice=15.39 [ +0.000005] usb 2-3.1: New USB device strings: Mfr=3, Product=4, SerialNumber=2 [ +0.000002] usb 2-3.1: Product: USB3.0 Card Reader [ +0.000001] usb 2-3.1: Manufacturer: Generic [ +0.000001] usb 2-3.1: SerialNumber: 000000001539 [ +0.005515] usb-storage 2-3.1:1.0: USB Mass Storage device detected [ +0.000191] scsi host0: usb-storage 2-3.1:1.0 [ +0.071773] usb 2-3.3: new SuperSpeed USB device number 34 using xhci_hcd [ +0.024530] usb 2-3: USB disconnect, device number 32 [ +0.012901] usb 2-3.3: device descriptor read/8, error -71 [ +0.105856] usb 2-3.3: new SuperSpeed USB device number 34 using xhci_hcd [ +0.038044] usb 2-3.3: device descriptor read/8, error -71 [ +0.105492] usb 2-3-port3: attempt power cycle [ +0.313338] usb 2-3.1: USB disconnect, device number 33 [ +0.051557] Registered IR keymap rc-cec [ +0.000032] rc rc0: DP-3 as /devices/pci0000:00/0000:00:02.0/rc/rc0 [ +0.000034] input: DP-3 as /devices/pci0000:00/0000:00:02.0/rc/rc0/input37 [ +0.228150] usb 2-3: new SuperSpeed USB device number 38 using xhci_hcd [ +0.019261] usb 2-3: New USB device found, idVendor=05e3, idProduct=0626, bcdDevice= 6.54 [ +0.000005] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ +0.000002] usb 2-3: Product: USB3.1 Hub [ +0.000006] usb 2-3: Manufacturer: GenesysLogic [ +0.001337] hub 2-3:1.0: USB hub found [ +0.000276] hub 2-3:1.0: 4 ports detected [ +0.234101] audit: type=1130 audit(1632658390.060:271): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=autorandr comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ +0.000007] audit: type=1131 audit(1632658390.060:272): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=autorandr comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ +0.045520] usb 2-3.1: new SuperSpeed USB device number 39 using xhci_hcd [ +0.022041] usb 2-3.1: New USB device found, idVendor=05e3, idProduct=0749, bcdDevice=15.39 [ +0.000006] usb 2-3.1: New USB device strings: Mfr=3, Product=4, SerialNumber=2 [ +0.000002] usb 2-3.1: Product: USB3.0 Card Reader [ +0.000001] usb 2-3.1: Manufacturer: Generic [ +0.000001] usb 2-3.1: SerialNumber: 000000001539 [ +0.005334] usb-storage 2-3.1:1.0: USB Mass Storage device detected [ +0.000460] scsi host0: usb-storage 2-3.1:1.0 [ +0.071740] usb 2-3.3: new SuperSpeed USB device number 40 using xhci_hcd [ +0.017539] usb 2-3.3: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=31.00 [ +0.000006] usb 2-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=6 [ +0.000002] usb 2-3.3: Product: USB 10/100/1000 LAN [ +0.000001] usb 2-3.3: Manufacturer: Realtek [ +0.000001] usb 2-3.3: SerialNumber: 001000001 [ +0.075919] usb 2-3.3: reset SuperSpeed USB device number 40 using xhci_hcd [ +0.033815] r8152 2-3.3:1.0: load rtl8153b-2 v1 10/23/19 successfully [ +0.029745] r8152 2-3.3:1.0 eth0: v1.12.11 [ +0.577923] audit: type=1131 audit(1632658390.940:273): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-localed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ +0.003581] r8152 2-3.3:1.0 enp0s13f0u3u3: renamed from eth0 [ +0.094892] audit: type=1334 audit(1632658391.040:274): prog-id=46 op=UNLOAD [ +0.000008] audit: type=1334 audit(1632658391.040:275): prog-id=45 op=UNLOAD [ +0.000002] audit: type=1334 audit(1632658391.040:276): prog-id=44 op=UNLOAD [ +0.110961] scsi 0:0:0:0: Direct-Access Generic MassStorageClass 1539 PQ: 0 ANSI: 6 [ +0.026762] sd 0:0:0:0: [sda] Attached SCSI removable disk [ +0.771748] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s13f0u3u3: link becomes ready [ +0.000186] r8152 2-3.3:1.0 enp0s13f0u3u3: carrier on [ +0.035628] audit: type=1130 audit(1632658391.983:277): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ +11.952794] audit: type=1131 audit(1632658403.937:278): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' -- dmesg - plugging in after unplugged +7.153484] usb 2-3: new SuperSpeed USB device number 51 using xhci_hcd [ +0.019730] usb 2-3: New USB device found, idVendor=05e3, idProduct=0626, bcdDevice= 6.54 [ +0.000005] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ +0.000001] usb 2-3: Product: USB3.1 Hub [ +0.000002] usb 2-3: Manufacturer: GenesysLogic [ +0.001395] hub 2-3:1.0: USB hub found [ +0.000281] hub 2-3:1.0: 4 ports detected [ +0.279042] usb 2-3.1: new SuperSpeed USB device number 52 using xhci_hcd [ +0.022728] usb 2-3.1: New USB device found, idVendor=05e3, idProduct=0749, bcdDevice=15.39 [ +0.000004] usb 2-3.1: New USB device strings: Mfr=3, Product=4, SerialNumber=2 [ +0.000002] usb 2-3.1: Product: USB3.0 Card Reader [ +0.000001] usb 2-3.1: Manufacturer: Generic [ +0.000001] usb 2-3.1: SerialNumber: 000000001539 [ +0.006614] usb-storage 2-3.1:1.0: USB Mass Storage device detected [ +0.000418] scsi host0: usb-storage 2-3.1:1.0 [ +1.142439] usb 2-3.1: Failed to set U1 timeout to 0x0,error code -19 [ +0.006975] usb 2-3.1: Set SEL for device-initiated U1 failed. [ +0.007053] usb 2-3.1: Set SEL for device-initiated U2 failed. [ +0.000005] usb 2-3.1: usb_reset_and_verify_device Failed to disable LPM [ +0.246458] usb 2-3: USB disconnect, device number 51 [ +0.000005] usb 2-3.1: USB disconnect, device number 52 [ +0.306846] usb 2-3: new SuperSpeed USB device number 53 using xhci_hcd [ +0.019613] usb 2-3: New USB device found, idVendor=05e3, idProduct=0626, bcdDevice= 6.54 [ +0.000017] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ +0.000008] usb 2-3: Product: USB3.1 Hub [ +0.000002] usb 2-3: Manufacturer: GenesysLogic [ +0.001487] hub 2-3:1.0: USB hub found [ +0.000274] hub 2-3:1.0: 4 ports detected [ +0.279093] usb 2-3.1: new SuperSpeed USB device number 54 using xhci_hcd [ +0.021775] usb 2-3.1: New USB device found, idVendor=05e3, idProduct=0749, bcdDevice=15.39 [ +0.000018] usb 2-3.1: New USB device strings: Mfr=3, Product=4, SerialNumber=2 [ +0.000002] usb 2-3.1: Product: USB3.0 Card Reader [ +0.000001] usb 2-3.1: Manufacturer: Generic [ +0.000001] usb 2-3.1: SerialNumber: 000000001539 [ +0.006120] usb-storage 2-3.1:1.0: USB Mass Storage device detected [ +0.000290] scsi host0: usb-storage 2-3.1:1.0 [ +1.016583] scsi 0:0:0:0: Direct-Access Generic MassStorageClass 1539 PQ: 0 ANSI: 6 [ +0.026476] sd 0:0:0:0: [sda] Attached SCSI removable disk -- You are receiving this mail because: You are watching all bug changes.