https://bugs.kde.org/show_bug.cgi?id=475922

            Bug ID: 475922
           Summary: kwin_wayland freeze loop on DisplayLink connection
    Classification: Plasma
           Product: kwin
           Version: 5.27.8
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: sandw...@archworks.co
  Target Milestone: ---

SUMMARY
Kwin_wayland freezes if Monitors are plugged in over a DisplayLink connection.
It sometimes works for a second then freezes and sometimes reinitialize the
monitors in loop.

The laptop in Use is a Lenovo ThinkBook 14 G3 with an AMD GPU, the Monitors are
connected to a Lenovo Docking station, that connects over USB-C and the
DisplayLink protocol to the laptop.

The following kernel drivers were needed on X11 "evdi" and "displaylink"

This matter is important since Plasma 6 is coming and many Users utilize
DisplayLink docks in a Work environment.

I have two monitors:
1. 1920x1080 75hz Scaling 100% (Main)
2. 1920x1080 75hz Scaling 100%

STEPS TO REPRODUCE
1. Start Plasma Wayland Session
2. Connect Monitors with the Docking Station
3. Plug in the Docking station to the laptop using DisplayLink

OBSERVED RESULT
Display turn on, and sometimes work for 1-2 seconds, then the image gets
static.
Laptop Screen still responsive, but most of the time the session freezes.
Sometime 

SOFTWARE/OS VERSIONS
Kernel: 6.5.8 or 6.1.59
Linux/KDE Plasma:  ArchLinux (21.10.2023)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
Some time ago, it worked with this Bug that was fixed in this issue:
https://bugs.kde.org/show_bug.cgi?id=414626

I was not able to produce a crash, so there is no traceback or dump

OUTPUT of systemctl --user status plasma-kwin_wayland.service
```
● plasma-kwin_wayland.service - KDE Window Manager
     Loaded: loaded (/usr/lib/systemd/user/plasma-kwin_wayland.service; static)
     Active: active (running) since Tue 2023-10-17 11:06:13 CEST; 4min 0s ago
   Main PID: 1094 (kwin_wayland_wr)
      Tasks: 24 (limit: 4217)
     Memory: 69.1M
        CPU: 11.231s
     CGroup:
/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-kwin_wayland.service
             ├─1094 /usr/bin/kwin_wayland_wrapper --xwayland
             ├─1098 /usr/bin/kwin_wayland --wayland-fd 7 --socket wayland-0
--xwayland-fd 8 --xwayland-fd 9 --xwayland-display :1 --xwayland-xauthority
/run/user/1000/xauth_vhLxZV --xwayland
             └─1147 /usr/bin/Xwayland :1 -auth /run/user/1000/xauth_vhLxZV
-listen 50 -listen 51 -displayfd 42 -rootless -wm 45

Oct 17 11:10:04 NMO-14G3 kwin_wayland_wrapper[1098]: MESA-LOADER: failed to
retrieve device information
Oct 17 11:10:04 NMO-14G3 kwin_wayland_wrapper[1098]: MESA-LOADER: failed to
retrieve device information
Oct 17 11:10:04 NMO-14G3 kwin_wayland_wrapper[1098]: kmsro: driver missing
Oct 17 11:10:07 NMO-14G3 kwin_wayland[1098]: QMetaProperty::read: Unable to
handle unregistered datatype 'KWin::Output*' for property
'KWin::XdgToplevelWindow::output'
Oct 17 11:10:07 NMO-14G3 kwin_wayland[1098]: QMetaProperty::read: Unable to
handle unregistered datatype 'QVector<KWin::VirtualDesktop*>' for property
'KWin::XdgToplevelWindow::desktops'
Oct 17 11:10:07 NMO-14G3 kwin_wayland[1098]: js: alwaysopenonactivescreen:
window {
                                               "objectName": "",
                                               "bufferGeometry": {
                                                 "x": 96,
                                                 "y": 0,
                                                 "width": 1728,
                                                 "height": 815,
                                                 "left": 96,
                                                 "right": 1824,
                                                 "top": 0,
                                                 "bottom": 815
                                               },
                                               "pos": {
                                                 "x": 96,
                                                 "y": 0
                                               },
                                               "size": {
                                                 "width": 1728,
                                                 "height": 815
                                               },
                                               "x": 96,
                                               "y": 0,
                                               "width": 1728,
                                               "height": 815,
                                               "opacity": 1,
                                               "screen": 0,
                                               "rect": {
                                                 "x": 0,
                                                 "y": 0,
                                                 "width": 1728,
                                                 "height": 815,
                                                 "left": 0,
                                                 "right": 1728,
                                                 "top": 0,
                                                 "bottom": 815
                                               },
                                               "resourceName": "yakuake",
                                               "resourceClass":
"org.kde.yakuake",
                                               "windowRole": "",
                                               "desktopWindow": false,
                                               "dock": false,
                                               "toolbar": false,
                                               "menu": false,
                                               "normalWindow": true,
                                               "dialog": false,
                                               "splash": false,
                                               "utility": false,
                                               "dropdownMenu": false,
                                               "popupMenu": false,
                                               "tooltip": false,
                                               "notification": false,
                                               "criticalNotification": false,
                                               "appletPopup": false,
                                               "onScreenDisplay": false,
                                               "comboBox": false,
                                               "dndIcon": false,
                                               "windowType": 0,
                                               "managed": true,
                                               "deleted": false,
                                               "shaped": false,
                                               "skipsCloseAnimation": false,
                                               "popupWindow": false,
                                               "outline": false,
                                               "internalId":
"{4ed73103-0453-4b3b-a5e3-af5b74719d39}",
                                               "pid": 1441,
                                               "stackingOrder": 6,
                                               "fullScreen": false,
                                               "fullScreenable": true,
                                               "active": true,
                                               "desktop": 1,
                                               "onAllDesktops": false,
                                               "activities": [
                                                
"535a359f-438d-4fc1-9834-b3c2137c4a1a"
                                               ],
                                               "x11DesktopIds": [
                                                 1
                                               ],
                                               "skipTaskbar": true,
                                               "skipPager": false,
                                               "skipSwitcher": true,
                                               "closeable": true,
                                               "icon": "",
                                               "keepAbove": false,
                                               "keepBelow": false,
                                               "shadeable": false,
                                               "shade": false,
                                               "minimizable": true,
                                               "minimized": false,
                                               "iconGeometry": {
                                                 "x": 0,
                                                 "y": 0,
                                                 "width": 0,
                                                 "height": 0,
                                                 "left": 0,
                                                 "right": 0,
                                                 "top": 0,
                                                 "bottom": 0
                                               },
                                               "specialWindow": false,
                                               "demandsAttention": false,
                                               "caption": "~ : fish — Yakuake",
                                               "minSize": {
                                                 "width": 0,
                                                 "height": 0
                                               },
                                               "maxSize": {
                                                 "width": 2147483647,
                                                 "height": 2147483647
                                               },
                                               "wantsInput": true,
                                               "transient": false,
                                               "transientFor": null,
                                               "modal": false,
                                               "geometry": {
                                                 "x": 96,
                                                 "y": 0,
                                                 "width": 1728,
                                                 "height": 815,
                                                 "left": 96,
                                                 "right": 1824,
                                                 "top": 0,
                                                 "bottom": 815
                                               },
                                               "frameGeometry": {
                                                 "x": 96,
                                                 "y": 0,
                                                 "width": 1728,
                                                 "height": 815,
                                                 "left": 96,
                                                 "right": 1824,
                                                 "top": 0,
                                                 "bottom": 815
                                               },
                                               "move": false,
                                               "resize": false,
                                               "decorationHasAlpha": false,
                                               "noBorder": false,
                                               "providesContextHelp": false,
                                               "maximizable": true,
                                               "moveable": true,
                                               "moveableAcrossScreens": true,
                                               "resizeable": true,
                                               "desktopFileName":
"org.kde.yakuake",
                                               "hasApplicationMenu": false,
                                               "applicationMenuActive": false,
                                               "unresponsive": false,
                                               "colorScheme": "kdeglobals",
                                               "layer": 2,
                                               "hidden": false,
                                               "tile": null
                                             }
Oct 17 11:10:07 NMO-14G3 kwin_wayland[1098]: QMetaProperty::read: Unable to
handle unregistered datatype 'XwaylandCrashPolicy' for property
'KWin::Options::xwaylandCrashPolicy'
Oct 17 11:10:07 NMO-14G3 kwin_wayland[1098]: QMetaProperty::read: Unable to
handle unregistered datatype 'PlacementPolicy' for property
'KWin::Options::placement'
Oct 17 11:10:07 NMO-14G3 kwin_wayland[1098]: QMetaProperty::read: Unable to
handle unregistered datatype 'LatencyPolicy' for property
'KWin::Options::latencyPolicy'
Oct 17 11:10:07 NMO-14G3 kwin_wayland[1098]: QMetaProperty::read: Unable to
handle unregistered datatype 'RenderTimeEstimator' for property
'KWin::Options::renderTimeEstimator'
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to