Bug 511988

Summary: Random GUI full freeze when using a KVM switch
Product: [Plasma] kwin Reporter: page13 <jeanluc.bonnafoux>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: meven
Priority: NOR    
Version First Reported In: 6.5.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: kwin wayland logs
backtrace of plasmashell crash

Description page13 2025-11-12 10:10:22 UTC
Created attachment 186721 [details]
kwin wayland logs

SUMMARY

Using Kubuntu 25.10 with Plasma 6.5, i am facing random GUI full freeze when using a KVM switch.
When the GUI is frozen, i have no access to keyboard or mouse, the only solution is to reboot the machine with the power button.
There is no core dump generated.

STEPS TO REPRODUCE
1. Run Kubuntu 25.10 and switch from one computer to another 
2.  Freeze is random, it works fine during hours or days but can also freeze several times per day

OBSERVED RESULT

System cannot be used and requires a hard reboot.

EXPECTED RESULT

System should handle the screen switch without any freeze.

kinfo

Operating System: Kubuntu 25.10
KDE Plasma Version: 6.5.2
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.17.0-6-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-8700 CPU @ 3.20GHz
Memory: 16 Gio of RAM (15.5 Gio usable)
Graphics Processor: Intel® UHD Graphics 630


kscreen-doctor -o

output: 1 HDMI-A-1 0febc606-85cf-44d2-813d-f4a121aa05f7
        enabled
        connected
        priority 1
        HDMI
        replication source:0
        Modes:  1:1680x1050@59.95*!  2:1920x1080@60.00  3:1920x1080@60.00  4:1920x1080@59.94  5:1920x1080@60.00  6:1920x1080@60.00  7:1920x1080@59.94  8:1920x1080@50.00  9:1920x1080@50.00  10:1280x1024@75.03  11:1280x1024@60.02  12:1152x864@75.00  13:1280x720@60.00  14:1280x720@60.00  15:1280x720@59.94  16:1280x720@50.00  17:1024x768@75.03  18:1024x768@60.00  19:800x600@75.00  20:800x600@60.32  21:720x576@50.00  22:720x576@50.00  23:720x480@60.00  24:720x480@60.00  25:720x480@59.94  26:720x480@59.94  27:720x480@59.94  28:720x480@60.00  29:720x480@59.94  30:640x480@75.00  31:640x480@60.00  32:640x480@59.94  33:640x480@59.94  34:720x400@70.08 
        Geometry: 0,0 1680x1050
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: Automatic
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: sRGB
        Color power preference: prefer efficiency and performance
        Brightness control: supported, set to 75% and dimming to 100%
        DDC/CI: allowed
        Color resolution: automatic (10), range: [8; 12] bits per color
        Allow EDR: unsupported
        Sharpness control: unsupported



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: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 page13 2025-12-01 15:44:25 UTC
My KVM is: SGEYR SGDK302D HDMI KVM Switch 2 Port which is quite a basic one.
I have also tried with a KVM from another manufacturer and got the same issue.
Comment 2 page13 2025-12-10 12:20:20 UTC
Created attachment 187490 [details]
backtrace of plasmashell crash

coredumpctl debug plasmashell -A "-ex bt -ex quit" |& tee backtrace.txt
Comment 3 page13 2025-12-10 12:20:47 UTC
Attaching back trace of plasma shell crash
Comment 4 Méven 2025-12-12 12:03:16 UTC
Might be a duplicate of https://bugs.kde.org/show_bug.cgi?id=512754