Plasma appears to crash/freezes commonly

I’m not entirely sure why this happens nor do I know exactly how to find out, best I’ve found is it appears to be the plasma service itself crashes/freezes for a period of time. Vest related logging i could find on my system as of the time of the freeze


Pageflip timed out! This is a kernel bug also appears during the freezes.
this happens for me with both x11 and wayland so not a wayland issue. and its happened on multiple devices all with fresh install of kde neon. appears to also happen on the live usb feature as well. everything is up to date currently(6.0.3).

Im using mesa amd as well I should mention, and it appears to happen most common with web based apps(browsers and electron) granted that might just be bad luck. On top of that it appears to be halting more frequently since the 6.0.3 updates as its happening about once every minute or two, it was partly manageable but annoying before this but now its completely unusable.

It looks like the exact part where plasma crashed is hidden in your screenshot (I only see “The wayland connection broke”, nothing detailed). Could you give us the log, perhaps a bit longer (starting earlier) in text format? Perhaps you could upload it to some pastebin and then give us the link.

The following command will let you retrieve just the “interesting parts” related to the log snippet you’ve shown:

journalctl --user -u plasma-plasmashell.service \
    -S '2024-03-28 19:50' -U '2024-03-28 20:03'
2 Likes

there was absolutely nothing in the logs for multiple minutes before this point

thenukelore@AtomicPC:~$ journalctl --user -u plasma-plasmashell.service
-S ‘2024-03-28 19:50’ -U ‘2024-03-28 20:03’
Mar 28 19:59:00 AtomicPC plasmashell[8635]: kf.kio.core: mimetype() emitted again, or after sending first dat>
Mar 28 19:59:00 AtomicPC plasmashell[8635]: kf.kio.core: mimetype() emitted again, or after sending first dat>
Mar 28 19:59:00 AtomicPC plasmashell[8635]: kf.kio.core: mimetype() emitted again, or after sending first dat>
Mar 28 20:02:33 AtomicPC plasmashell[8635]: The Wayland connection broke. Did the Wayland compositor die?
Mar 28 20:02:33 AtomicPC systemd[1222]: plasma-plasmashell.service: Main process exited, code=exited, status=>
Mar 28 20:02:33 AtomicPC systemd[1222]: plasma-plasmashell.service: Failed with result ‘exit-code’.
Mar 28 20:02:33 AtomicPC systemd[1222]: plasma-plasmashell.service: Consumed 18.021s CPU time.
Mar 28 20:02:33 AtomicPC systemd[1222]: plasma-plasmashell.service: Scheduled restart job, restart counter is>
Mar 28 20:02:33 AtomicPC systemd[1222]: Stopped KDE Plasma Workspace.
Mar 28 20:02:33 AtomicPC systemd[1222]: plasma-plasmashell.service: Consumed 18.021s CPU time.
Mar 28 20:02:33 AtomicPC systemd[1222]: Starting KDE Plasma Workspace…
Mar 28 20:02:33 AtomicPC plasmashell[15629]: kf.svg: The theme “Atomic-Plasma” uses the legacy metadata.deskt>
Mar 28 20:02:33 AtomicPC plasmashell[15629]: kf.svg: The theme “Atomic-Plasma” uses the legacy metadata.deskt>
Mar 28 20:02:33 AtomicPC plasmashell[15629]: kf.plasma.core: The theme “Atomic-Plasma” uses the legacy metada>
Mar 28 20:02:33 AtomicPC plasmashell[15629]: kf.plasma.core: The theme “Atomic-Plasma” uses the legacy metada>
Mar 28 20:02:33 AtomicPC systemd[1222]: Started KDE Plasma Workspace.
Mar 28 20:02:33 AtomicPC plasmashell[15629]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.windowtit>
Mar 28 20:02:33 AtomicPC plasmashell[15629]: kf.svg: The theme “Atomic-Plasma” uses the legacy metadata.deskt>
Mar 28 20:02:33 AtomicPC plasmashell[15629]: kf.plasma.quick: Applet preload policy set to 1
Mar 28 20:02:33 AtomicPC plasmashell[15629]: file:///usr/share/plasma/plasmoids/org.kde.plasma.kicker/content>
Mar 28 20:02:33 AtomicPC plasmashell[15629]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/co>
Mar 28 20:02:33 AtomicPC plasmashell[15629]: qt.qml.typeresolution.cycle: Cyclic dependency detected between >
Mar 28 20:02:33 AtomicPC plasmashell[15629]: qt.dbus.integration: Could not connect "org.freedesktop.NetworkM>
Mar 28 20:02:33 AtomicPC plasmashell[15629]: qt.dbus.integration: Could not connect "org.freedesktop.NetworkM>
Mar 28 20:02:33 AtomicPC plasmashell[15629]: qt.dbus.integration: Could not connect "org.freedesktop.NetworkM>
Mar 28 20:02:33 AtomicPC plasmashell[15629]: qt.dbus.integration: Could not connect "org.freedesktop.NetworkM>
Mar 28 20:02:33 AtomicPC plasmashell[15629]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/co>
lines 1-27…skipping…
Mar 28 19:59:00 AtomicPC plasmashell[8635]: kf.kio.core: mimetype() emitted again, or after sending first data!; job URL = QUrl(“NOAA's National Weather Service”)
Mar 28 19:59:00 AtomicPC plasmashell[8635]: kf.kio.core: mimetype() emitted again, or after sending first data!; job URL = QUrl(“NOAA's National Weather Service”)
Mar 28 19:59:00 AtomicPC plasmashell[8635]: kf.kio.core: mimetype() emitted again, or after sending first data!; job URL = QUrl(“NOAA's National Weather Service”)
Mar 28 20:02:33 AtomicPC plasmashell[8635]: The Wayland connection broke. Did the Wayland compositor die?
Mar 28 20:02:33 AtomicPC systemd[1222]: plasma-plasmashell.service: Main process exited, code=exited, status=255/EXCEPTION
Mar 28 20:02:33 AtomicPC systemd[1222]: plasma-plasmashell.service: Failed with result ‘exit-code’.
Mar 28 20:02:33 AtomicPC systemd[1222]: plasma-plasmashell.service: Consumed 18.021s CPU time.
Mar 28 20:02:33 AtomicPC systemd[1222]: plasma-plasmashell.service: Scheduled restart job, restart counter is at 2.
Mar 28 20:02:33 AtomicPC systemd[1222]: Stopped KDE Plasma Workspace.
Mar 28 20:02:33 AtomicPC systemd[1222]: plasma-plasmashell.service: Consumed 18.021s CPU time.
Mar 28 20:02:33 AtomicPC systemd[1222]: Starting KDE Plasma Workspace…
Mar 28 20:02:33 AtomicPC plasmashell[15629]: kf.svg: The theme “Atomic-Plasma” uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format.
Mar 28 20:02:33 AtomicPC plasmashell[15629]: kf.svg: The theme “Atomic-Plasma” uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format.
Mar 28 20:02:33 AtomicPC plasmashell[15629]: kf.plasma.core: The theme “Atomic-Plasma” uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format.
Mar 28 20:02:33 AtomicPC plasmashell[15629]: kf.plasma.core: The theme “Atomic-Plasma” uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format.
Mar 28 20:02:33 AtomicPC systemd[1222]: Started KDE Plasma Workspace.
Mar 28 20:02:33 AtomicPC plasmashell[15629]: KPackageStructure of KPluginMetaData(pluginId:“org.kde.windowtitle”, fileName: “/home/thenukelore/.local/share/plasma/plasmoids/org.kde.windowtitle/metadata.json”) does not match requested f>
Mar 28 20:02:33 AtomicPC plasmashell[15629]: kf.svg: The theme “Atomic-Plasma” uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format.
Mar 28 20:02:33 AtomicPC plasmashell[15629]: kf.plasma.quick: Applet preload policy set to 1
Mar 28 20:02:33 AtomicPC plasmashell[15629]: file:///usr/share/plasma/plasmoids/org.kde.plasma.kicker/contents/ui/main.qml:45: TypeError: Value is null and could not be converted to an object
Mar 28 20:02:33 AtomicPC plasmashell[15629]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:196:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for prop>
Mar 28 20:02:33 AtomicPC plasmashell[15629]: qt.qml.typeresolution.cycle: Cyclic dependency detected between “qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml” and “qrc:/qt/qml/org/kde/desktop/MenuItem.qml”
Mar 28 20:02:33 AtomicPC plasmashell[15629]: qt.dbus.integration: Could not connect “org.freedesktop.NetworkManager” to “stateChanged” : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMState
Mar 28 20:02:33 AtomicPC plasmashell[15629]: qt.dbus.integration: Could not connect “org.freedesktop.NetworkManager” to “connectivityChanged” : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMConnectivity>
Mar 28 20:02:33 AtomicPC plasmashell[15629]: qt.dbus.integration: Could not connect “org.freedesktop.NetworkManager” to “deviceTypeChanged” : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMDeviceType
Mar 28 20:02:33 AtomicPC plasmashell[15629]: qt.dbus.integration: Could not connect “org.freedesktop.NetworkManager” to “meteredChanged” : Type not registered with QtDBus in parameter list: QNetworkManagerInterface::NMMetered
Mar 28 20:02:33 AtomicPC plasmashell[15629]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:196:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for prop>
Mar 28 20:02:34 AtomicPC plasmashell[15629]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:162:21: QML KSortFilterProxyModel: Binding loop detected for property “sourceModel”
Mar 28 20:02:34 AtomicPC plasmashell[15629]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:162:21: QML KSortFilterProxyModel: Binding loop detected for property “sourceModel”
Mar 28 20:02:34 AtomicPC plasmashell[15629]: qt.dbus.integration: Could not connect “org.cups.cupsd.Notifier” to PrinterFinishingsChanged(QString, QString, QString, uint, QString, bool) :
Mar 28 20:02:34 AtomicPC plasmashell[15629]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
Mar 28 20:02:34 AtomicPC plasmashell[15629]: qt.qml.typeresolution.cycle: Cyclic dependency detected between “file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml” and "file:///usr/share/plasma>
Mar 28 20:02:34 AtomicPC plasmashell[15629]: qt.qml.typeresolution.cycle: Cyclic dependency detected between “file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml” and "file:///usr/share/plasma>
Mar 28 20:02:34 AtomicPC plasmashell[15629]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:162:21: QML KSortFilterProxyModel: Binding loop detected for property “sourceModel”
Mar 28 20:02:34 AtomicPC plasmashell[15629]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:162:21: QML KSortFilterProxyModel: Binding loop detected for property “sourceModel”
Mar 28 20:02:34 AtomicPC plasmashell[15629]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
Mar 28 20:02:34 AtomicPC plasmashell[15629]: file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml:62:17: Unable to assign [undefined] to int
Mar 28 20:02:35 AtomicPC plasmashell[15629]: kf.kio.core: mimetype() emitted again, or after sending first data!; job URL = QUrl(“NOAA's National Weather Service”)
Mar 28 20:02:35 AtomicPC plasmashell[15629]: kf.kio.core: mimetype() emitted again, or after sending first data!; job URL = QUrl(“NOAA's National Weather Service”)
Mar 28 20:02:35 AtomicPC plasmashell[15629]: kf.kio.core: mimetype() emitted again, or after sending first data!; job URL = QUrl(“NOAA's National Weather Service”)
Mar 28 20:02:35 AtomicPC plasmashell[15629]: kf.kio.core: mimetype() emitted again, or after sending first data!; job URL = QUrl(“NOAA's National Weather Service”)
Mar 28 20:02:36 AtomicPC plasmashell[15629]: kf.kio.core: mimetype() emitted again, or after sending first data!; job URL = QUrl(“NOAA's National Weather Service”)

So it looks like kwin crashed, and as a result Plasma shell exited and was restarted. Seems very reasonable.

If this is repeatable - with the same error “The Wayland connection broke. Did the Wayland compositor die?”, the interesting question is then - why does kwin crashes.

If you can share the same logs from kwin, using journalctl --user -u plasma-kwin_wayland.service -S ‘2024-03-28 19:50’ -U ‘2024-03-28 20:03’ , that would help answering that question.


just due to log spam I limited the time more specifically, side note, if i use ksystemlog i find it dumps huge amounts of audit logs from firefox when using firefox, no clue if thats a bug or intentional. they are all targeted toward the .cache folder which i have cleared with no success in clearing the issues before

also wouldn’t mind trying to fix the 'translucencyWindowTypeAnimation" errors that show up every time I minimalism a window. granted it doesn’t bother me much as it is only a log.
also with the firefox warnings, this is what shows up

currently experiencing multiple freezes a minute and this is what I’m finding in the log(I could only find it in ksystemlog for some reason and was only able to catch a screenshot).

Anyone got any comments regarding this issue? Its been halting my workflow heavily.

I assume no one has any ideas? I greatly need this fixed or some way to downgrade to an older version of plasma, these issues are quite problematic.

It seems like kwin has nonexistent windows. I think this should go at https://bugs.kde.org with some high priority. Or are you using any extensions (widgets, panels, whatever)?

This happens with stock kde plasma 6 so it cant be an extension, and Ive found no other reports about this which is whats weird. every time i try and make a bug report it never goes through so that’s not exactly an option.

Try to upgrade to latest Plasma 6.0.3, I’m daily using it on Manjaro for various tasks and on 3 laptops with Intel iGPUs, and it seems things got better, for now that one or two plasma crash seems to be gone or at least not daily repeated.

From what I saw on various forums Arch/Manjaro/EndeavourOS, many crash problems are coming from gamers who want to play Steam games on Arch based distros (Wanting to have same performance/experience as Steam Deck), and who are using multiple external monitors and dual GPUs cards NVIDIA or AMD.

Im on the latest plasma offered for the distro, which is 6.0.3, it almost appears as this update made it worse as originally stated.

I just found out something else, it appears that the cpu usage maxes out on a core when plasma locks up(i assume its the core plasma is running on?)

I’ve found the same thing. The issue was almost non existent towards the end of 6.0.2, with the update to 6.0.3 the problem is back worse than before.

Windows seem to become invisible to kwin, you can’t interact with them at all.

I’m running X11 with the Breeze dark theme, essentially a fairly standard Neon install.

What hardware do you use? It might be hardware related…

1 Like

It shouldn’t be hardware related as everything ran fine under KDE 5.x.

But for reference:

  • i7-8700k
  • 32GB DDR4
  • Nvidia RTX 2070S
  • 550.54.14 drivers
  • 27" 4k monitor with scaling set at 150% under KDE display settings.