SUMMARY On the nvidia binary driver, some events cause the GL context to become invalid. KWin already handles this case when the context loss happens while compositing is enabled. However, if compositing is paused for some reason (full-screen media player, games, etc.) it won't recover from the GL error. STEPS TO REPRODUCE 1. Stop compositing 2. Switch VTs and back 3. Start compositing OBSERVED RESULT KWin crashes and compositing has to be manually re-enabled in settings. EXPECTED RESULT Compositing starts as usual. SOFTWARE/OS VERSIONS KDE Plasma Version: 5.20.4 / git master KDE Frameworks Version: 5.76 Qt Version: 5.15.2
This is now outdated and kwin and the nvidia driver have both changed meantime. Please reopen if there is still an issue.