https://bugs.kde.org/show_bug.cgi?id=470329
Bug ID: 470329 Summary: Monitor power on / off results in stolen input and broken xwayland clients Classification: Plasma Product: kwin Version: 5.27.2 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: multi-screen Assignee: kwin-bugs-n...@kde.org Reporter: and...@posteo.net Target Milestone: --- SUMMARY *** CPU: AMD 5950x GPU: 0a:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX] [1002:744c] (rev c8) Sapphire Nitro+ System Memory: 32GB DDR4 Display(s): DELL 27" 2560x1440@144 DisplayPort and SAMSUNG 75" 3840x2160@120 HDMI Debian 12 Bookworm Kernel: 6.3.3-x64v3-xanmod1 #0~20230517.05b3a98 *** STEPS TO REPRODUCE 1. Have the HDMI display screen powered off while Displayport screen is Primary and active, powered on 2. Start Steam, start a game from library via Proton (Wine) 3. Play the game normally 4. Turn on the HDMI display from remote, the whole desktop flickers, the game client window moves and freezes (depending on game) and loses input. 5. Need to stop (terminate) the frozen game window client and restart OBSERVED RESULT First, desktop flickers and all windows (that maybe are on powered off screen) move to primary screen and then back to screen that was powered on. It seems some xwayland clients are broken, getting freezed and losing focus. Focus is lost from active window (screen). EXPECTED RESULT Screen powers on and displays the configured desktop for it No flickering or minimal flickering, no Window moving from active screen to the other and back. No changing focus from screen to screen. SOFTWARE/OS VERSIONS Operating System: Debian GNU/Linux 12 KDE Plasma Version: 5.27.2 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.3.3-x64v3-xanmod1 (64-bit) Graphics Platform: Wayland Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor Memory: 31,3 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: ASUS ADDITIONAL INFORMATION Testing on Windows I see a short flicker when trying the same operation of turning a screen on / off but the windows do not move. Testing on Linux, this happens, have observed this desktop flicker when turning a display on and the current windows getting moved from screen to screen also while trying Fedora 38 KDE Live 1.6.iso. Not sure if this strictly a KDE Kwin/Plasma issue, I think it's maybe amd/drm something, will raise another issue there. -- You are receiving this mail because: You are watching all bug changes.