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

            Bug ID: 493778
           Summary: kwin deadlock on disconnect/reconnect external monitor
    Classification: Plasma
           Product: kwin
           Version: 6.1.90
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: critical
          Priority: NOR
         Component: multi-screen
          Assignee: kwin-bugs-n...@kde.org
          Reporter: ike.devol...@archlinux.org
  Target Milestone: ---

SUMMARY

It is not 100% on reconnect, but usually disconnecting an external diplay works
fine and reconnecting sends kwin_wayland to ~100% cpu on a laptop with
intel/nvidia (iris/nouveau). This is visible in a way that you can see the
interface, but no mouse input works, no keyboard input works, you can't even
seem to switch to VT as well.

STEPS TO REPRODUCE

1. log in, have laptop internal monitor as secondary and external display as
primary, all open windows are on external display
2. disconnect external display (usually in my case this works) (what I have
noticed is that evolution is not showing up on my laptop display and that that
window if you click in the task manager looks like it is still on another
display, while that is not there)
3. reconnect external display -> nothing shows up there, get a "no signal" and
if I ssh into the machine kwin_wayland is doing ~100% cpu

OBSERVED RESULT

You think the system hangs, no input is possible, no mouse, nothing

I have observed this with kwin 6.1.5-1, so I installed KDE-Unstable to see if
it was also the case there

With kwin 6.1.90 I have installed what I think the relevant -debug packages and
attached gdb which resulted in these stacks: https://pastebin.com/5YiaBj6Y

EXPECTED RESULT

keep working and move all my open windows to the correct display

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 6.1.90
KDE Frameworks Version: 6.6.0
Qt Version: 6.8.0rc1

ADDITIONAL INFORMATION

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

Reply via email to