Compositing crashing KWin on Login
Hi all, For a while now I have this weird issue where, when logging into KDE after system boot, KDE is in a weirdly broken state: compositing is disabled (no wobbly windows, only half my windows are restored (curiously, Firefox always is, Konsole is always missing), and the desktop itself is not being drawn, resulting in remnants of moved windows staying on it. This happens when using the official NVIDIA driver from the openSUSE-NVIDIA repository on a GTX 1060. I have been using this same set-up for years but the issue only popped up a couple months ago without me knowingly changing anything. It also survived the move from Leap 15.2 to Leap 15.3 Beta / RC. Only my main user seems to be affected by this. Two test users I use irregularly don't seem to show the same behaviour. When going to the compositing settings in that state, I get a message that compositing crashed KWin and OpenGL detection has thus been disabled, see the German-language screenshot attached. Reactivating the detection and either doing a logout / login or running "kwin_x11 --replace" will result in compositing working again. I also have a slight impression that this is more likely to happen when there is disk activity while initiating the login. But this might also be a red herring. Does anybody have any hints what log files might help to home in on the issue causing this? I have a suspicion that I have some non-default configuration, that I am not aware of, that either directly causes this or exposes some underlying bug that is otherwise not triggered. Kind Regards, Matthias -- Dr. Matthias Bach www.marix.org „Der einzige Weg, die Grenzen des Möglichen zu finden, ist ein klein wenig über diese hinaus in das Unmögliche vorzustoßen.“ - Arthur C. Clarke
Hi all, Am Mittwoch, 19. Mai 2021, 10:40:06 CEST schrieb Matthias Bach:
For a while now I have this weird issue where, when logging into KDE after system boot, KDE is in a weirdly broken state: compositing is disabled (no wobbly windows, only half my windows are restored (curiously, Firefox always is, Konsole is always missing), and the desktop itself is not being drawn, resulting in remnants of moved windows staying on it.
It seems I managed to resolve my issue. It was caused by a borked tmpfiles.d configuration. I had custom configurations for /tmp and /var/tmp in /etc/ tmpfiles.d/tmp.conf. The reason being that I frequently utilise pytest and osc, resulting in my /tmp quickly growing in size. At some point, I suspect moving towards 15.2, it seems the standard configuration was changed to specify /tmp and /var/tmp in /usr/lib/tmpfiles.d/ fs-tmp.conf and /usr/lib/tmpfiles.d/fs-var-tmp.conf. This seems to have somehow caused weird things with systemd-tmpfiles --clean complaining about a duplicate configuration in its debug output and consequently ignoring it. I have now moved my custom config for /tmp and /var/tmp to /etc/tmpfiles.d/fs- tmp.conf and /etc/tmpfiles.d/fs-var-tmp.conf respectivly and everything works fine again. Kind Regards, Matthias -- Dr. Matthias Bach www.marix.org „Der einzige Weg, die Grenzen des Möglichen zu finden, ist ein klein wenig über diese hinaus in das Unmögliche vorzustoßen.“ - Arthur C. Clarke
participants (1)
-
Matthias Bach