SUMMARY Desktop effects are disabled with opengl after suspend, and cannot be re-enabled. Sometimes this workaround fixes it. Go to compositor. Click the "re-enable opengl detection" button. Switch rendering backend to opengl. This is what happens when the workaround doesn't work. After I switch rendering backend to opengl, kwin crashes again, and is reopened but desktop effects are still disabled. It seems to be an Nvida driver issue. I have the latest Nvidia driver installed. My laptop is an HP envy x360. STEPS TO REPRODUCE 1. Suspend laptop 2. Wake it up from suspend OBSERVED RESULT Desktop effects are disabled and cannot be re-enabled with opengl as the rendering backend. EXPECTED RESULT Desktop effects are enabled. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: KDE Neon 5.20 (available in About System) KDE Plasma Version: 5.20.1 KDE Frameworks Version: 5.75.0 Qt Version: 5.15.0 ADDITIONAL INFORMATION
> kwin crashes again Can you provide us the backtrace of the crash?
Thank you for the reply. There's a popup that I sometimes get that tries to collect the backtrace I think, but it fails. One thing that it fails to do is to install "debug symbols". How else can I collect the backtrace? Please tell me what I need to do and I'll follow the steps.
Created attachment 133345 [details] Trace (generated with the help of #kde-bugs on irc)
Backtrace was provided, changing status.
Created attachment 133696 [details] Better trace (after installing libepoxy0-dbgsym)
as root gvim /var/log/messages :v/kwin/d now you can inspect all kwin kernel messages
Created attachment 143082 [details] kwin.txt
With nvidia twinview, the KDE compositor is disabled now on startup much more often. Enable compositor again Logout and login Now all desktop effects work again as expected
Maybe duplicate of https://bugs.kde.org/show_bug.cgi?id=446779?
The KDE compositor disabled bug with Nvidia TwinView, openSuse Leap 15.3, happens more often than ever after normal boot. So I have to enable the compositor again, logout, enter Password, and than everything works as expected. This bug was present in Leap 15.2 more than 1.5 years now. To go to standby doesn't work as a workaround. If I have to do the above twice a day - desktop effects disabled and enabling the compositor.. - it's no tragedy. It seems to be very difficult to locate the bug, happens often but not always.
This bug was reported against an outdated version of KWin. We have made many changes since the. If the issue persists in newer versions can you reopen the bug report updating the version number.