https://bugs.kde.org/show_bug.cgi?id=407784
Bug ID: 407784 Summary: 3D Accelerated windows stop refreshing. Product: kwin Version: 5.15.90 Platform: Kubuntu Packages OS: Linux Status: REPORTED Severity: major Priority: NOR Component: general Assignee: kwin-bugs-n...@kde.org Reporter: razangriff-ra...@tutanota.com Target Milestone: --- SUMMARY When updating to kwin 5.15.90, certain windows like Chromium, Atom, Godot Engine and other windows that are 3D accelerated stop refreshing entirely. The window needs to force a refresh by doing something like switching desktops, resizing or minimizing-then-maximizing the window. Shutting kwin_x11 down also makes the window refresh again, normally. Going back to 5.15.5 makes everything work as normal as well. Whenever it happens is not entirely clear but it seems to have something to do with windows taking focus, for example Atom asking for github credentials, or Godot starting a project. Switching windows can also trigger it but not always, it's not entirely reliable, what makes it more disruptive because it seems it's fixed but then it strikes. STEPS TO REPRODUCE 1. Open a 3D accelerated window (Chromium, Godot, Discord, possibly others) 2. Switch focus away or spawn other windows. 3. Eventually display will stop refreshing. OBSERVED RESULT Window will stop updating. It's still working (trying to scroll will scroll, sound is emitted, popups appear, but image is completely frozen for that window. EXPECTED RESULT Window should just update normally. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Ubuntu 19.04 amd64 (available in About System) KDE Plasma Version: 5.15.90 KDE Frameworks Version: 5.15.90 Qt Version: 5.12.2 ADDITIONAL INFORMATION Video card: GeForce GT 710. OpenGL version: 4.6.0 NVIDIA 430.14 GL kernel module: nvidia Running non-composited kwin-x11. Reverting to 5.15.5 stops the issue, this is ONLY on 5.15.90. This only seems to happen in 3D accelerated windows. Doing something like disabling 3D acceleration on Chromium or Discord makes it not be affected by this bug anymore. Other applications like konsole, krusader, quiteRSS and such seem to never freeze. If enabling info display in nvidia-settings, only the windows that have a display are affected, so I'm fairly sure it only affects 3D windows. I run my desktop with compositing disabled, but enabling it didn't seem to make a difference, it still freezes windows at random. Note that enabling or disabling compositing will force a redraw, but doesn't prevent windows from freezing randomly again. I tried OpenGL 2.0, 3.0 and XRender backends, none of them fix the issue. I also tried messing with vsync in both compositing and nvidia settings. Nothing I tried seemed to stop the issue from happening at inconvenient times. Because of this, it's extremely disruptive of any workflow. Specially when something might have changed the state of the window and resulting in clicking into wherever the mouse pointer happens to land in a window that seems fine but is actually not refreshing. Please help. -- You are receiving this mail because: You are watching all bug changes.