Plasma widgets, panels and wallpapers disappear after logging in

Got a problem I’m not sure how I even trace. I’m on KDE and after logging in the widgets, panels and wallpapers briefly appear, then the whole system hangs for about 10 seconds, after which those 3 all close and I’m left with a black screen.

But the Krunner search works, all applications I’ve tried so far launch fine from it, window decorations appear fine, window management shortcuts work fine and even window snapping still works.

I’ve seen DEs just completely break before, but just widgets, panels and wallpapers is a new one to me, not even sure which application’s logs I would have to look for.

2 Likes

I’d start by looking at the journal:

journalctl --since=today

1 Like

Thank you, I think I found the moment it all goes wrong with plasmashell when it uses the libQt6WebEngine. The 10-15 second hang is because it retries 3 times with the same error in each case. Here is one of these attempts (I’ve only included dump from one thread, there are 50+ each failing around the libc.so.6).

I tried a reboot and checked there are no more updates available for my system. If someone knows what I need to change or reinstall that would be helpful.

Dec 03 09:41:43 systemd[3335]: Starting KDE Plasma Workspace...
Dec 03 09:41:43 systemd[3335]: Started KDE Plasma Workspace.
Dec 03 09:41:43 plasmashell[10778]: KPackageStructure of KPluginMetaData(pluginId:"com.samirgaire10.Google-Gemini", fileName: "/home/kris/.local/share/plasma/plasmoids/com.samirgaire10.Google-Gemini/metadata.json") does not match requested format "Plasma/Applet"
Dec 03 09:41:43 plasmashell[10778]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.simplemenu", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.simplemenu/metadata.json") does not match requested format "Plasma/Applet"
Dec 03 09:41:43 plasmashell[10778]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.merkuro.contact", fileName: "/usr/share/plasma/plasmoids/org.kde.merkuro.contact/metadata.json") does not match requested format "Plasma/Applet"
Dec 03 09:41:43 systemd[3335]: Starting Track hardware statistics...
Dec 03 09:41:43 ksystemstats[10806]: Loaded plugin "ksystemstats_plugin_cpu" from file "/usr/lib/qt6/plugins/ksystemstats/ksystemstats_plugin_cpu.so"
Dec 03 09:41:43 plasmashell[10778]: kf.plasma.quick: Applet preload policy set to 1
Dec 03 09:41:43 ksystemstats[10806]: Loaded plugin "ksystemstats_plugin_disk" from file "/usr/lib/qt6/plugins/ksystemstats/ksystemstats_plugin_disk.so"
Dec 03 09:41:43 plasmashell[10778]: qml: false
Dec 03 09:41:43 plasmashell[10778]: qml: false
Dec 03 09:41:43 plasmashell[10778]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:178:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth":
                                    file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:201:9
Dec 03 09:41:43 plasmashell[10778]: Toolbox not loading, toolbox package is either invalid or disabled.
Dec 03 09:41:43 plasmashell[10778]: qml: false
Dec 03 09:41:43 plasmashell[10778]: qml: false
Dec 03 09:41:43 plasmashell[10778]: qml: false
Dec 03 09:41:43 plasmashell[10778]: qml: false
Dec 03 09:41:43 plasmashell[10778]: qml: false
Dec 03 09:41:43 plasmashell[10778]: qml: false
Dec 03 09:41:43 plasmashell[10778]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:178:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth":
                                    file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:201:9
Dec 03 09:41:43 plasmashell[10778]: Toolbox not loading, toolbox package is either invalid or disabled.
Dec 03 09:41:43 ksystemstats[10806]: Found unsupported GPU: /sys/devices/pci0000:00/0000:00:02.0/drm/card1
Dec 03 09:41:43 ksystemstats[10806]: Loaded plugin "ksystemstats_plugin_gpu" from file "/usr/lib/qt6/plugins/ksystemstats/ksystemstats_plugin_gpu.so"
Dec 03 09:41:43 ksystemstats[10806]: Loaded plugin "ksystemstats_plugin_lmsensors" from file "/usr/lib/qt6/plugins/ksystemstats/ksystemstats_plugin_lmsensors.so"
Dec 03 09:41:43 ksystemstats[10806]: Loaded plugin "ksystemstats_plugin_memory" from file "/usr/lib/qt6/plugins/ksystemstats/ksystemstats_plugin_memory.so"
Dec 03 09:41:43 NetworkManager[1416]: <info>  [1733218903.9548] audit: op="statistics" interface="wlp0s20f3" ifindex=2 args="500" pid=10806 uid=1000 result="success"
Dec 03 09:41:43 NetworkManager[1416]: <info>  [1733218903.9582] audit: op="statistics" interface="C8:2A:DD:B6:95:DA" args="500" pid=10806 uid=1000 result="success"
Dec 03 09:41:43 ksystemstats[10806]: Loaded plugin "ksystemstats_plugin_network" from file "/usr/lib/qt6/plugins/ksystemstats/ksystemstats_plugin_network.so"
Dec 03 09:41:43 ksystemstats[10806]: Loaded plugin "ksystemstats_plugin_osinfo" from file "/usr/lib/qt6/plugins/ksystemstats/ksystemstats_plugin_osinfo.so"
Dec 03 09:41:43 NetworkManager[1416]: <info>  [1733218903.9614] audit: op="statistics" interface="0C:C4:13:1A:F0:68" args="500" pid=10806 uid=1000 result="success"
Dec 03 09:41:43 ksystemstats[10806]: Loaded plugin "ksystemstats_plugin_power" from file "/usr/lib/qt6/plugins/ksystemstats/ksystemstats_plugin_power.so"
Dec 03 09:41:43 ksystemstats[10806]: Loaded plugin "ksystemstats_plugin_pressure" from file "/usr/lib/qt6/plugins/ksystemstats/ksystemstats_plugin_pressure.so"
Dec 03 09:41:43 systemd[3335]: Started Track hardware statistics.
Dec 03 09:41:43 NetworkManager[1416]: <info>  [1733218903.9647] audit: op="statistics" interface="enp60s0u2u4" ifindex=3 args="500" pid=10806 uid=1000 result="success"
Dec 03 09:41:43 NetworkManager[1416]: <info>  [1733218903.9921] audit: op="statistics" interface="C8:2A:DD:B6:95:DA" args="500" pid=10806 uid=1000 result="success"
Dec 03 09:41:43 NetworkManager[1416]: <info>  [1733218903.9954] audit: op="statistics" interface="enp60s0u2u4" ifindex=3 args="500" pid=10806 uid=1000 result="success"
Dec 03 09:41:43 NetworkManager[1416]: <info>  [1733218903.9990] audit: op="statistics" interface="enp60s0u2u4" ifindex=3 args="500" pid=10806 uid=1000 result="success"
Dec 03 09:41:44 plasmashell[10778]: qml: false
Dec 03 09:41:44 plasmashell[10778]: qml: false
Dec 03 09:41:44 plasmashell[10778]: qml: false
Dec 03 09:41:44 plasmashell[10778]: qml: false
Dec 03 09:41:44 plasmashell[10778]: qml: false
Dec 03 09:41:44 plasmashell[10778]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:178:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth":
                                    file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:201:9
Dec 03 09:41:44 plasmashell[10778]: Toolbox not loading, toolbox package is either invalid or disabled.
Dec 03 09:41:44 plasmashell[10778]: qrc:/qt/qml/org/kde/ksysguard/faces/ExtendedLegend.qml:58: TypeError: Cannot read property 'sensors' of null
Dec 03 09:41:44 appimagelauncherd[3353]: Directories to watch disappeared, unintegrating AppImages formerly found in there
Dec 03 09:41:45 plasmashell[10778]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:50:9: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
Dec 03 09:41:45 plasmashell[10778]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:50:9: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
Dec 03 09:41:45 plasmashell[10778]: qt.dbus.integration: Could not connect "org.cups.cupsd.Notifier" to PrinterFinishingsChanged(QString, QString, QString, uint, QString, bool) :
Dec 03 09:41:45 plasmashell[10778]: qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
Dec 03 09:41:51 plasmashell[10778]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
Dec 03 09:41:51 plasmashell[10778]: qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
Dec 03 09:41:51 plasmashell[10778]: qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
Dec 03 09:41:51 plasmashell[10778]: qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
Dec 03 09:41:51 plasmashell[10907]: LaunchProcess: failed to execvp:
Dec 03 09:41:51 plasmashell[10907]: /usr/lib/qt6/QtWebEngineProcess
Dec 03 09:41:51 kernel: audit: type=1400 audit(1733218911.700:203): apparmor="DENIED" operation="exec" class="file" info="no new privs" error=-1 profile="plasmashell" name="/usr/lib/qt6/QtWebEngineProcess" pid=10907 comm="plasmashell" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0 target="unc>
Dec 03 09:41:51 plasmashell[10908]: LaunchProcess: failed to execvp:
Dec 03 09:41:51 plasmashell[10908]: /usr/lib/qt6/QtWebEngineProcess
Dec 03 09:41:51 kernel: audit: type=1400 audit(1733218911.707:204): apparmor="DENIED" operation="exec" class="file" info="no new privs" error=-1 profile="plasmashell" name="/usr/lib/qt6/QtWebEngineProcess" pid=10908 comm="plasmashell" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0 target="unc>
Dec 03 09:41:51 plasmashell[10778]: [10778:10778:1203/094151.716232:FATAL:zygote_host_impl_linux.cc(201)] Check failed: . : No such file or directory (2)
Dec 03 09:41:51 kernel: traps: plasmashell[10778] trap int3 ip:7b1ecddba904 sp:7fff2536f4a0 error:0 in libQt6WebEngineCore.so.6.8.0[45ba904,7b1ec98b7000+958b000]
Dec 03 09:41:51 systemd-coredump[10909]: Process 10778 (plasmashell) of user 1000 terminated abnormally with signal 5/TRAP, processing...
Dec 03 09:41:51 systemd[1]: Started Process Core Dump (PID 10909/UID 0).
Dec 03 09:41:54 systemd-coredump[10910]: [🡕] Process 10778 (plasmashell) of user 1000 dumped core.
                                         
                                         Stack trace of thread 10778:
                                         #0  0x00007b1ecddba904 n/a (libQt6WebEngineCore.so.6 + 0x45ba904)
                                         #1  0x00007b1ecddbb5b4 n/a (libQt6WebEngineCore.so.6 + 0x45bb5b4)
                                         #2  0x00007b1ecddbcd06 n/a (libQt6WebEngineCore.so.6 + 0x45bcd06)
                                         #3  0x00007b1ecddbce23 n/a (libQt6WebEngineCore.so.6 + 0x45bce23)
                                         #4  0x00007b1ecddbf54a n/a (libQt6WebEngineCore.so.6 + 0x45bf54a)
                                         #5  0x00007b1ecce89347 n/a (libQt6WebEngineCore.so.6 + 0x3689347)
                                         #6  0x00007b1ecd655f0a n/a (libQt6WebEngineCore.so.6 + 0x3e55f0a)
                                         #7  0x00007b1ecc2ad97a n/a (libQt6WebEngineCore.so.6 + 0x2aad97a)
                                         #8  0x00007b1ecc2556e5 n/a (libQt6WebEngineCore.so.6 + 0x2a556e5)
                                         #9  0x00007b1ecd6586d8 n/a (libQt6WebEngineCore.so.6 + 0x3e586d8)
                                         #10 0x00007b1ec9a39c58 n/a (libQt6WebEngineCore.so.6 + 0x239c58)
                                         #11 0x00007b1ec9a3ba44 n/a (libQt6WebEngineCore.so.6 + 0x23ba44)
                                         #12 0x00007b1f4aa0ada4 _ZN26QQuickWebEngineViewPrivateC1Ev (libQt6WebEngineQuick.so.6 + 0x46da4)
                                         #13 0x00007b1f4aa0ebf0 _ZN19QQuickWebEngineViewC1EP10QQuickItem (libQt6WebEngineQuick.so.6 + 0x4abf0)
                                         #14 0x00007b1f4aa35ca7 n/a (libQt6WebEngineQuick.so.6 + 0x71ca7)
                                         #15 0x00007b1fd414ab24 _ZNK8QQmlType6createEPPvm (libQt6Qml.so.6 + 0x34ab24)
                                         #16 0x00007b1fd414abd4 _ZNK8QQmlType18createWithQQmlDataEv (libQt6Qml.so.6 + 0x34abd4)
                                         #17 0x00007b1fd410a54f _ZN17QQmlObjectCreator14createInstanceEiP7QObjectb (libQt6Qml.so.6 + 0x30a54f)
                                         #18 0x00007b1fd410b855 _ZN17QQmlObjectCreator18setPropertyBindingEPK16QQmlPropertyDataPKN3QV412CompiledData7BindingE (libQt6Qml.so.6 + 0x30b855)
                                         #19 0x00007b1fd410e4ae _ZN17QQmlObjectCreator13setupBindingsE6QFlagsINS_11BindingModeEE (libQt6Qml.so.6 + 0x30e4ae)
                                         #20 0x00007b1fd411549f _ZN17QQmlObjectCreator16populateInstanceEiP7QObjectS1_PK16QQmlPropertyDataPKN3QV412CompiledData7BindingE (libQt6Qml.so.6 + 0x31549f)
                                         #21 0x00007b1fd410a08c _ZN17QQmlObjectCreator14createInstanceEiP7QObjectb (libQt6Qml.so.6 + 0x30a08c)
                                         #22 0x00007b1fd410b855 _ZN17QQmlObjectCreator18setPropertyBindingEPK16QQmlPropertyDataPKN3QV412CompiledData7BindingE (libQt6Qml.so.6 + 0x30b855)
                                         #23 0x00007b1fd410e4ae _ZN17QQmlObjectCreator13setupBindingsE6QFlagsINS_11BindingModeEE (libQt6Qml.so.6 + 0x30e4ae)
                                         #24 0x00007b1fd411549f _ZN17QQmlObjectCreator16populateInstanceEiP7QObjectS1_PK16QQmlPropertyDataPKN3QV412CompiledData7BindingE (libQt6Qml.so.6 + 0x31549f)
                                         #25 0x00007b1fd410a08c _ZN17QQmlObjectCreator14createInstanceEiP7QObjectb (libQt6Qml.so.6 + 0x30a08c)
                                         #26 0x00007b1fd4117e74 n/a (libQt6Qml.so.6 + 0x317e74)
                                         #27 0x00007b1fd409c737 _ZN20QQmlComponentPrivate11beginCreateE14QQmlRefPointerI15QQmlContextDataE (libQt6Qml.so.6 + 0x29c737)
                                         #28 0x00007b1fd409ccae _ZN13QQmlComponent11beginCreateEP11QQmlContext (libQt6Qml.so.6 + 0x29ccae)
                                         #29 0x00007b1fd5831876 _ZN11PlasmaQuick15SharedQmlEngine25createObjectFromComponentEP13QQmlComponentP11QQmlContextRK5QHashI7QString8QVariantE (libPlasmaQuick.so.6 + 0x4c876)
                                         #30 0x00007b1fd580f3ef n/a (libPlasmaQuick.so.6 + 0x2a3ef)
                                         #31 0x00007b1fd580f4d1 n/a (libPlasmaQuick.so.6 + 0x2a4d1)
                                         #32 0x00007b1fd2da348a _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x1a348a)
                                         #33 0x00007b1fd4efe31a _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0xfe31a)
                                         #34 0x00007b1fd2d585a8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x1585a8)
                                         #35 0x00007b1fd2d59035 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt6Core.so.6 + 0x159035)
                                         #36 0x00007b1fd2fc23fc n/a (libQt6Core.so.6 + 0x3c23fc)
                                         #37 0x00007b1fd18b2559 n/a (libglib-2.0.so.0 + 0x5d559)
                                         #38 0x00007b1fd1915157 n/a (libglib-2.0.so.0 + 0xc0157)
                                         #39 0x00007b1fd18b1a55 g_main_context_iteration (libglib-2.0.so.0 + 0x5ca55)
                                         #40 0x00007b1fd2fbf71d _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3bf71d)
                                         #41 0x00007b1fd2d64566 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x164566)
                                         #42 0x00007b1fd2d59a2f _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x159a2f)
                                         #43 0x00005b7396b2b17f n/a (plasmashell + 0x2817f)
                                         #44 0x00007b1fd2634e08 n/a (libc.so.6 + 0x25e08)
                                         #45 0x00007b1fd2634ecc __libc_start_main (libc.so.6 + 0x25ecc)
                                         #46 0x00005b7396b2b695 n/a (plasmashell + 0x28695)
                                         
                                         Stack trace of thread 10794:
                                         #0  0x00007b1fd271abb0 ppoll (libc.so.6 + 0x10bbb0)
                                         #1  0x00007b1fd1915227 n/a (libglib-2.0.so.0 + 0xc0227)
                                         #2  0x00007b1fd18b1a55 g_main_context_iteration (libglib-2.0.so.0 + 0x5ca55)
                                         #3  0x00007b1fd2fbf71d _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3bf71d)
                                         #4  0x00007b1fd2d64566 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x164566)
                                         #5  0x00007b1fd2e571d2 _ZN7QThread3runEv (libQt6Core.so.6 + 0x2571d2)
                                         #6  0x00007b1fd2ed840f n/a (libQt6Core.so.6 + 0x2d840f)
                                         #7  0x00007b1fd26a339d n/a (libc.so.6 + 0x9439d)
                                         #8  0x00007b1fd272849c n/a (libc.so.6 + 0x11949c)
                                         
Dec 03 09:41:54 systemd[1]: systemd-coredump@2-10909-0.service: Deactivated successfully.
Dec 03 09:41:54 systemd[1]: systemd-coredump@2-10909-0.service: Consumed 2.319s CPU time, 1.1G memory peak.
Dec 03 09:41:54 systemd[3335]: plasma-plasmashell.service: Main process exited, code=dumped, status=5/TRAP
Dec 03 09:41:54 systemd[3335]: plasma-plasmashell.service: Failed with result 'core-dump'.
Dec 03 09:41:54 systemd[3335]: plasma-plasmashell.service: Consumed 5.254s CPU time, 911.7M memory peak.
Dec 03 09:41:54 systemd[3335]: plasma-plasmashell.service: Scheduled restart job, restart counter is at 3.
Dec 03 09:41:54 systemd[3335]: plasma-plasmashell.service: Start request repeated too quickly.
Dec 03 09:41:54 systemd[3335]: plasma-plasmashell.service: Failed with result 'core-dump'.
Dec 03 09:41:54 systemd[3335]: Failed to start KDE Plasma Workspace.
Dec 03 09:41:55 systemd[1]: systemd-localed.service: Deactivated successfully.
Dec 03 09:42:06 systemd[3335]: Starting KRunner...
Dec 03 09:42:06 systemd[3335]: Started KRunner.

2 Updates:

  • reverting to a previous system snapshot worked, but then re-installing the updates made the problem come back
  • disabling AppArmor “fixes” the issue and plasmashell starts successfully.

However, I’m not a fan of disabling security features permanently, if anyone reads this and has a better idea I’d love to hear it!

I’m not sure, but I think Apparmour is disabled at install:

 -Dapparmor=disabled

As I understand it, it also only really has an effect on AppImages, Snaps and FlatPaks. The main operating system doesn’t use it.

2 Likes

I suspect you’re correct. I don’t have any Snaps or Flatpals, but I do have 2/3 AppImages. And they work flawlessly and I don’t even have apparmor installed:

$ pamac search --installed apparmmor

1 Like

Did you figure an answer? is this the same as me Plasma is crashing after suspend since last big update ?

1 Like

Not sure if it is related, but none of my apps/scripts, anything launched in a panel no longer launched. The problem was the
.locale/share/mime folder got totally corrupted. Fortunately I had recently backed up my home folder and was replaced and solved that problem.

A post was split to a new topic: Cannot start Plasma