https://bugs.kde.org/show_bug.cgi?id=488476
Bug ID: 488476 Summary: Lingering scene/workspacescene issue resulting in system freeze? Classification: Plasma Product: kwin Version: 6.0.5 Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: wannabethe...@gmail.com Target Milestone: --- Created attachment 170488 --> https://bugs.kde.org/attachment.cgi?id=170488&action=edit mangohud showing FPS 0/frametime inf on focus switch SUMMARY When a borderless windowed/fullscreen game (noticed with Proton, but a native Unity game shows the symptom) switches focus, kwin apparently has a chance to hard freeze the system when the window switches focus. Wayland session. Mangohud might matter? Not sure as the freeze is too inconsistent. STEPS TO REPRODUCE 1. Run game in borderless windowed/fullscreen. 2. Press meta key to open and close application launcher or alt+tab out and back repeatedly. OBSERVED RESULT If mangohud is enabled, FPS drops to 0 with inf frametime for a second as the window switches focus. An example is attached. The system may freeze during this. EXPECTED RESULT The system doesn't freeze, and mangohud doesn't do that. SOFTWARE/OS VERSIONS Linux/KDE Plasma: CachyOS KDE Plasma Version: 6.0.5 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.1 ADDITIONAL INFORMATION When kwin 6.0.4 released, this bug was introduced: https://bugs.kde.org/show_bug.cgi?id=485730 On that release borderless windowed/fullscreen games had a constant stutter and mangohud was flickering badly. Then would eventually have a system freeze. That was fixed in 6.0.4.1 with: https://invent.kde.org/plasma/kwin/-/merge_requests/5626 But that still left that hiccup visible with mangohud, which didn't exist on kwin 6.0.3.1. From kwin 6.0.4.1 to 6.0.5 I didn't have any system freezes when alt tabbing from borderless windowed/fullscreen games until today. After it happened through normal use, I tried to cause it on purpose by spamming the application menu with the meta key and the system froze after about 10 seconds. However one more try after that didn't freeze after about a minute. Mangohud on all three times. Like with the system freezes I had on kwin 6.0.4, the journal stops writing once it happens and I can't switch TTY. Also, mangohud doesn't drop when the window switches focus on an X11 session. If kwin is downgraded to 6.0.3.1, mangohud still doesn't drop when the window switches focus on Wayland. -- You are receiving this mail because: You are watching all bug changes.