SUMMARY Ever since I upgraded to Plasma 6.5.5, my graphical interface crashes right after login. Whenever I click anything on all my menu bars and everything disappears, then re-opens. After the initial crash it seems to work fine. This happens both on my desktop with an NVIDIA dGPU and a laptop with Intel iGPU and NVIDIA dGPU STEPS TO REPRODUCE 1. Wait for SDDM to start 2. Login to Plasma (Wayland) 3. Wait for the crash to occur (sometimes instantly, sometimes when you click on an icon in the taskbar) 4. The taskbar re-appears after a few seconds and then it works as normal. OBSERVED RESULT A plasma-shell session that crashes initially. EXPECTED RESULT A working plasma-shell session at initial login. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Gentoo Linux 2.18 / Kernel 6.17.13 KDE Plasma Version: 6.5.5 KDE Frameworks Version: 6.22.0 Qt Version: 6.10.2 (6.10.1 gives the same issue) ADDITIONAL INFORMATION b 09 21:06:08 pc03 org_kde_powerdevil[1370]: Handle button events action could not check for screen configuration Feb 09 21:06:08 pc03 kwin_wayland[1055]: "\"fsrestore1\" - conversion of \"0,0,0,0\" to QRect failed" Feb 09 21:06:08 pc03 systemd[982]: Started User folders update. Feb 09 21:06:08 pc03 systemd[982]: Reached target Startup of XDG autostart applications. Feb 09 21:06:08 pc03 polkit-kde-authentication-agent-1[1369]: Authentication agent result: true Feb 09 21:06:08 pc03 systemd[982]: Finished KDE Session Restoration. Feb 09 21:06:08 pc03 dbus-daemon[1041]: [session uid=1000 pid=1041 pidfd=5] Successfully activated service 'org.freedesktop.impl.portal.desktop.kde' Feb 09 21:06:08 pc03 systemd[982]: Started Xdg Desktop Portal For KDE. Feb 09 21:06:08 pc03 dbus-daemon[1041]: [session uid=1000 pid=1041 pidfd=5] Activating via systemd: service name='org.freedesktop.impl.portal.desktop.gtk' unit='xdg-desktop-portal-gtk.service' requested by ':1.6' (uid=1000 pid=1063 comm="/usr/libexec/xdg-desktop-portal") Feb 09 21:06:08 pc03 systemd[982]: Starting Portal service (GTK/GNOME implementation)... Feb 09 21:06:08 pc03 org_kde_powerdevil[1370]: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware" Feb 09 21:06:08 pc03 kwalletd6[1387]: g_dbus_proxy_get_object_path: assertion 'G_IS_DBUS_PROXY (proxy)' failed Feb 09 21:06:08 pc03 dbus-daemon[1041]: [session uid=1000 pid=1041 pidfd=5] Successfully activated service 'org.kde.kwalletd6' Feb 09 21:06:08 pc03 kclockd[1526]: Starting kclockd 25.08.3 Feb 09 21:06:08 pc03 kclockd[1526]: PowerDevil found, using it for time tracking. Feb 09 21:06:08 pc03 kclockd[1526]: Registered on DBus: true Feb 09 21:06:08 pc03 at-spi-bus-launcher[1165]: dbus-daemon[1165]: Activating service name='org.a11y.atspi.Registry' requested by ':1.1' (uid=1000 pid=1564 comm="/usr/libexec/xdg-desktop-portal-gtk") Feb 09 21:06:08 pc03 dbus-daemon[1041]: [session uid=1000 pid=1041 pidfd=5] Successfully activated service 'org.freedesktop.impl.portal.desktop.gtk' Feb 09 21:06:08 pc03 systemd[982]: Started Portal service (GTK/GNOME implementation). Feb 09 21:06:08 pc03 at-spi-bus-launcher[1165]: dbus-daemon[1165]: Successfully activated service 'org.a11y.atspi.Registry' Feb 09 21:06:08 pc03 at-spi-bus-launcher[1607]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry Feb 09 21:06:08 pc03 kwalletmanager5[1349]: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) Feb 09 21:06:08 pc03 dbus-daemon[1041]: [session uid=1000 pid=1041 pidfd=5] Successfully activated service 'org.freedesktop.portal.Desktop' Feb 09 21:06:08 pc03 systemd[982]: Started Portal service. Feb 09 21:06:08 pc03 kwin_wayland[1055]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Unable to open /proc/1055/root") Feb 09 21:06:08 pc03 kded6[1177]: Registering ":1.31/StatusNotifierItem" to system tray Feb 09 21:06:08 pc03 ksmserver[1175]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.ksmserver'") Feb 09 21:06:08 pc03 kactivitymanagerd[1364]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.ActivityManager'") Feb 09 21:06:08 pc03 gmenudbusmenuproxy[1367]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.gmenudbusmenuproxy'") Feb 09 21:06:08 pc03 xembedsniproxy[1372]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.xembedsniproxy'") Feb 09 21:06:08 pc03 kded6[1177]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.kded6'") Feb 09 21:06:08 pc03 org_kde_powerdevil[1370]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Unable to open /proc/1370/root") Feb 09 21:06:08 pc03 polkit-kde-authentication-agent-1[1369]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Unable to open /proc/1369/root") Feb 09 21:06:08 pc03 kwalletd6[1387]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.kwalletd'") Feb 09 21:06:08 pc03 kclockd[1526]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.kclockd'") Feb 09 21:06:08 pc03 xdg-desktop-portal-kde[1371]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID") Feb 09 21:06:08 pc03 org_kde_powerdevil[1370]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Unable to open /proc/1370/root") Feb 09 21:06:08 pc03 polkit-kde-authentication-agent-1[1369]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Unable to open /proc/1369/root") Feb 09 21:06:08 pc03 xembedsniproxy[1372]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.xembedsniproxy'") Feb 09 21:06:08 pc03 kaccess[1368]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID") Feb 09 21:06:08 pc03 kclockd[1526]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.kclockd'") Feb 09 21:06:08 pc03 kwalletd6[1387]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.kwalletd'") Feb 09 21:06:08 pc03 ksecretd[1021]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID") Feb 09 21:06:08 pc03 kded6[1177]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.kded6'") Feb 09 21:06:08 pc03 kactivitymanagerd[1364]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.ActivityManager'") Feb 09 21:06:08 pc03 kwin_wayland[1055]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Unable to open /proc/1055/root") Feb 09 21:06:08 pc03 gmenudbusmenuproxy[1367]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.gmenudbusmenuproxy'") Feb 09 21:06:08 pc03 ksmserver[1175]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.ksmserver'") Feb 09 21:06:08 pc03 kwalletmanager5[1349]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID") Feb 09 21:06:08 pc03 plasmashell[1259]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID") Feb 09 21:06:08 pc03 org_kde_powerdevil[1370]: [ 1471] (dw_recheck_displays_func) Recheck interval: Slept for 200 millisec Feb 09 21:06:08 pc03 systemd[982]: Finished Splash screen shown during boot. Feb 09 21:06:08 pc03 kstart[1588]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.kstart'") Feb 09 21:06:08 pc03 kstart[1588]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.kstart'") Feb 09 21:06:08 pc03 systemd[982]: Started KWalletManager - Password Manager. Feb 09 21:06:08 pc03 DiscoverNotifier[1544]: couldn't find any notifier backend QList("/usr/lib64/qt6/plugins", "/usr/libexec") Feb 09 21:06:08 pc03 DiscoverNotifier[1544]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID") Feb 09 21:06:08 pc03 xwaylandvideobridge[1530]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID") Feb 09 21:06:08 pc03 kwalletmanager5[1619]: QThreadStorage: entry 2 destroyed before end of thread 0x55fda616fba0 Feb 09 21:06:08 pc03 kwalletmanager5[1619]: QThreadStorage: entry 1 destroyed before end of thread 0x55fda616fba0 Feb 09 21:06:08 pc03 plasmashell[1259]: Entry is not valid "org.kde.kontact.desktop" 0x55dfe5e70da0 Feb 09 21:06:08 pc03 plasmashell[1259]: Entry is not valid "org.kde.kontact.desktop" 0x55dfe5e70da0 Feb 09 21:06:11 pc03 plasmashell[1259]: not a valid new object id (4278190097), message activation(n) Feb 09 21:06:11 pc03 plasmashell[1259]: The Wayland connection experienced a fatal error: Invalid argument Feb 09 21:06:11 pc03 systemd[982]: plasma-plasmashell.service: Main process exited, code=exited, status=255/EXCEPTION Feb 09 21:06:11 pc03 systemd[982]: plasma-plasmashell.service: Failed with result 'exit-code'. Feb 09 21:06:11 pc03 systemd[982]: plasma-plasmashell.service: Consumed 1.271s CPU time. Feb 09 21:06:11 pc03 baloo_file_extractor[1662]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.baloo'") Feb 09 21:06:12 pc03 systemd[982]: plasma-plasmashell.service: Scheduled restart job, restart counter is at 1. Feb 09 21:06:12 pc03 systemd[982]: Starting KDE Plasma Workspace... Feb 09 21:06:12 pc03 systemd[982]: Started KDE Plasma Workspace. Feb 09 21:06:12 pc03 plasmashell[1666]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kweather_1x4", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kweather_1x4/metadata.json") does not match requested format "Plasma/Applet" Feb 09 21:06:12 pc03 plasmashell[1666]: The plugin "/usr/lib64/qt6/plugins/plasma/applets/plasma_applet_kweather_1x4.so" explicitly states an Id in the embedded metadata, which is different from the one derived from the filename The Id field from the KPlugin object in the metadata should be removed Feb 09 21:06:12 pc03 plasmashell[1666]: The plugin "/usr/lib64/qt6/plugins/plasma/applets/plasma_applet_kweather_1x4.so" explicitly states an Id in the embedded metadata, which is different from the one derived from the filename The Id field from the KPlugin object in the metadata should be removed Feb 09 21:06:12 pc03 plasmashell[1666]: Applet preload policy set to 1 Feb 09 21:06:12 pc03 dbus-daemon[1041]: [session uid=1000 pid=1041 pidfd=5] Activating service name='org.kde.KSplash' requested by ':1.56' (uid=1000 pid=1666 comm="/usr/bin/plasmashell --no-respawn") Feb 09 21:06:12 pc03 plasmashell[1666]: Entry is not valid "org.kde.kontact.desktop" 0x5565463d0270 Feb 09 21:06:12 pc03 plasmashell[1666]: Entry is not valid "org.kde.kontact.desktop" 0x5565463d0270
This behavior did not occur in 6.4.5. If there's anything else you'd need then please don't hesitate to let me know. I initially made a bug report at: https://bugs.gentoo.org/969811 but it doesn't seem it was related to kwin (must've been a bug for a longer time already?) Things I've tried and that didn't work: - The NVIDIA drivers in the 570 and 580 series. - Downgrading libdrm and downgrading mesa - Changing from CSD to SSD: This made the "QWaylandGLContext: Failed to create the decorations EGLContext. Decorations will not be drawn" go away, but it gave eglSwapBuffers failed with 0x3000 instead and it still crashed with the exact same error: The Wayland connection experienced a fatal error: Invalid argument. I ended up reverting this. - Upgrading from Qt version 6.10.1 to 6.10.2 (This seem to have made the QWaylandGLContext: Failed to create the decorations EGLContext. Decorations will not be drawn go away) - Upgrading egl-gbm and egl-wayland to their latest version
Created attachment 189408 [details] The compressed version of the crash analysis with debugging enabled From what I can quickly gather is that xdg-activation and data_offer protocol errors with explicit sync ENABLED show an unresolved initialization race condition. The invalid object ID 0xFEED0011 during protocol initialization seem to be unique (couldn't find it anywhere so far).