Plasmashell freezes

Since august after some recent updates I got a issue that my desktop freezes randomly. I don’t know how to reproduce it but it’s really annoying. I am not able click on anything, all completly frozen. It’s really annoying when you realize your clock widget is frozen and you live in totally diffrent time.

Restarting plasmashell helps but sometimes it’s just frozen on the command and not able to restart itself.

systemctl --user restart plasma-plasmashell.service

Videod of that happening:
https://i.imgur.com/xPv8u3K.gif

2 Likes

Also when it happens plasmashell utilizes 100% of my CPU. I tried to reset all settings, remove configs, did not help. Is there any log or someting that I can debug why it happens?

Sadly, I have this exact problem since roughly the same time period as Ondra. I have just the same as shown in the video, but could not find such a CPU usage.

Distro: Fedora 40
Session: Wayland
kwin and plasmashell version: 6.1.4
GPU: Nvidia RTX 4070 with proprietary driver 560.35.03-1

I have this happening at least once every two hours just randomly and can only recover in about 50% of freezes.

This is journalctl -e --user -u plasma-plasmashell.service shortly after freeze:

Sep 03 16:50:50 nico-pc systemd[5632]: Starting plasma-plasmashell.service - KDE Plasma Workspace...
Sep 03 16:50:50 nico-pc systemd[5632]: Started plasma-plasmashell.service - KDE Plasma Workspace.
Sep 03 16:50:50 nico-pc plasmashell[6035]: 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"
Sep 03 16:50:50 nico-pc plasmashell[6035]: kde.plasmashell: Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
Sep 03 16:50:50 nico-pc plasmashell[6035]: kde.plasmashell: If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.
Sep 03 16:50:50 nico-pc plasmashell[6035]: kde.plasmashell: Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
Sep 03 16:50:50 nico-pc plasmashell[6035]: kde.plasmashell: If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.
Sep 03 16:50:50 nico-pc plasmashell[6035]: kf.plasma.quick: Applet preload policy set to 1
Sep 03 16:50:50 nico-pc plasmashell[6035]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:195:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
Sep 03 16:50:50 nico-pc plasmashell[6035]: Toolbox not loading, toolbox package is either invalid or disabled.
Sep 03 16:50:50 nico-pc plasmashell[6035]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:195:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
Sep 03 16:50:50 nico-pc plasmashell[6035]: Toolbox not loading, toolbox package is either invalid or disabled.
Sep 03 16:50:51 nico-pc plasmashell[6035]: qt.svg: <input>:303:256: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:51 nico-pc plasmashell[6035]: qt.svg: <input>:303:461: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:51 nico-pc plasmashell[6035]: qt.svg: <input>:303:657: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:51 nico-pc plasmashell[6035]: qt.svg: <input>:303:911: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:51 nico-pc plasmashell[6035]: qt.svg: <input>:303:1047: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:51 nico-pc plasmashell[6035]: qt.svg: <input>:303:1249: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:51 nico-pc plasmashell[6035]: qt.svg: <input>:303:1451: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:51 nico-pc plasmashell[6035]: qt.svg: <input>:303:1629: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:51 nico-pc plasmashell[6035]: qt.svg: <input>:303:1737: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:51 nico-pc plasmashell[6035]: qt.svg: <input>:303:1978: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:51 nico-pc plasmashell[6035]: qt.svg: <input>:303:2221: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:51 nico-pc plasmashell[6035]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:162:21: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
Sep 03 16:50:51 nico-pc plasmashell[6035]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:162:21: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
Sep 03 16:50:51 nico-pc plasmashell[6035]: qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairRequested(QString)
Sep 03 16:50:51 nico-pc plasmashell[6035]: qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairDone(Solid::ErrorType, QVariant, QString)
Sep 03 16:50:51 nico-pc plasmashell[6035]: qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairRequested(QString)
Sep 03 16:50:51 nico-pc plasmashell[6035]: qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairDone(Solid::ErrorType, QVariant, QString)
Sep 03 16:50:51 nico-pc plasmashell[6035]: qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairRequested(QString)
Sep 03 16:50:51 nico-pc plasmashell[6035]: qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairDone(Solid::ErrorType, QVariant, QString)
Sep 03 16:50:51 nico-pc plasmashell[6035]: qt.dbus.integration: Could not connect "org.cups.cupsd.Notifier" to PrinterFinishingsChanged(QString, QString, QString, uint, QString, bool) :
Sep 03 16:50:51 nico-pc plasmashell[6035]: qml: SystemTray ItemLoader: Invalid state, cannot determine source!
Sep 03 16:50:52 nico-pc plasmashell[6035]: kf5idletime_wayland: This plugin does not support polling idle time
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:256: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:461: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:657: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:911: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:1047: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:1249: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:1451: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:1629: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:1737: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:1978: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:2221: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: Could not create Plasma Calendar Plugin:  "/usr/lib/qt5/plugins/plasmacalendarplugins/holidaysevents.so"
Sep 03 16:50:52 nico-pc plasmashell[6035]: "The dynamic library could not be loaded."
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:256: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:461: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:657: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:911: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:1047: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:1249: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:1451: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:1629: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:1737: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:1978: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:52 nico-pc plasmashell[6035]: qt.svg: <input>:303:2221: Could not add child element to parent element because the types are incorrect.
Sep 03 16:50:56 nico-pc plasmashell[6035]: file:///usr/share/plasma/plasmoids/org.kde.plasma.keyboardindicator/contents/ui/main.qml:61:13: Unable to assign [undefined] to bool
Sep 03 16:50:59 nico-pc plasmashell[6035]: kf.networkmanagerqt: void NetworkManager::ConnectionPrivate::onPropertiesChanged(const QVariantMap&) Unhandled property "VersionId"
Sep 03 16:51:01 nico-pc plasmashell[6035]: kf.networkmanagerqt: void NetworkManager::ConnectionPrivate::onPropertiesChanged(const QVariantMap&) Unhandled property "VersionId"
Sep 03 16:51:01 nico-pc plasmashell[6035]: kf.networkmanagerqt: void NetworkManager::ConnectionPrivate::onPropertiesChanged(const QVariantMap&) Unhandled property "VersionId"
Sep 03 16:51:10 nico-pc plasmashell[6035]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/FullRepresentation.qml:53:13: QML PlasmoidHeading: Binding loop detected for property "leftInset"
Sep 03 16:51:51 nico-pc plasmashell[6035]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/JobItem.qml:106:17: Unable to assign null to QUrl
Sep 03 16:53:10 nico-pc plasmashell[6035]: org.kde.plasma.notifications: Failed to determine mime type for QUrl("file:///mnt/test.file") "The file or directory /mnt/test.file does not exist."

When trying to restart plasmashell for example using plasmashell &, I get:

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"
kf.plasma.quick: Applet preload policy set to 1
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:195:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
Toolbox not loading, toolbox package is either invalid or disabled.
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:195:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
Toolbox not loading, toolbox package is either invalid or disabled.
file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:162:21: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:162:21: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairRequested(QString)
qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairDone(Solid::ErrorType, QVariant, QString)
qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairRequested(QString)
qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairDone(Solid::ErrorType, QVariant, QString)
qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairRequested(QString)
qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairDone(Solid::ErrorType, QVariant, QString)
qt.dbus.integration: Could not connect "org.cups.cupsd.Notifier" to PrinterFinishingsChanged(QString, QString, QString, uint, QString, bool) : 
file:///usr/share/plasma/plasmoids/org.kde.plasma.diskquota/contents/ui/main.qml:41: TypeError: Property 'removeAction' of object Plasma::Applet(0x55d2fd2de620) is not a function
qml: SystemTray ItemLoader: Invalid state, cannot determine source!

And nothing more. Frozen again. Here is a frozen taskbar:
image

Logging out and in again will always fix this for me.

I reaaally hope someone could look into this. I have tried resetting to the standard Breeze global theme and it still happens.

same issue for me. Kicker or Krunner are unresponsive, and cursor freezes briefly every second…
Plasma is unusable, even when I force a restart. Also the same on a fresh new create linux user…

KRunner just would not load today. First time issue ever encountered.

Then laptop frooze. Would not restart or shut down Lenovo Thinkpad.
Laptop has 32GB Ram and 1T SSD and is superfast all the time.

After many hours turned off.

Now Kde plasma will not load as befor.
Am taken to a completely new blue screen which is frozen, asking for password, and not the normal Plasma log in screen.

Am completely lost now as a new Linux user of 6 months.

Same here after some update but no cpu usage here’s the logs:

Sep 25 19:02:50 Sanctum-Sanctorum systemd[1154]: Started Strawberry - Strawberry Music Player.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 1135.
Sep 25 19:02:51 Sanctum-Sanctorum strawberry[14632]: 19:02:51.073 WARN  OSDDBus:184                      Error sending notification "org.freedesktop.DBus.Error.NoReply"
Sep 25 19:02:51 Sanctum-Sanctorum strawberry[14632]: 19:02:51.997 WARN  OSDDBus:184                      Error sending notification "org.freedesktop.DBus.Error.NoReply"
Sep 25 19:02:53 Sanctum-Sanctorum systemd[1154]: Started Konsole - Terminal.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 1157.
Sep 25 19:02:53 Sanctum-Sanctorum kded6[1337]: org.kde.plasma.appmenu: Got an error
Sep 25 19:02:53 Sanctum-Sanctorum kded6[1337]: org.kde.plasma.appmenu: Got an error
Sep 25 19:02:53 Sanctum-Sanctorum kded6[1337]: org.kde.plasma.appmenu: Got an error
Sep 25 19:02:53 Sanctum-Sanctorum kded6[1337]: org.kde.plasma.appmenu: Got an error
lines 1354-1398/1398 (END)

OS: Archlinux
Kde version: 6.1.5