Plasma freezes randomly with tons of warnings in journalctl

System Info:

Operating System: Arch Linux
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.8-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 4750U with Radeon Graphics
Memory: 29.2 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 20U5S0M600
System Version: ThinkPad L14 Gen 1

Randomly my plasma desktop freezes - I cant click on any icons on the panels or any icon on the desktop or right click the desktop, but everything else runs just fine. I can even open up settings or other applications. This is only mildly annoying, but would be great to know if I am doing something wrong here that is causing this.

journalctl has a continuous stream of

Jul 11 19:51:37 akshatd-tp plasmashell[13213]: file:///usr/share/plasma/plasmoids/org.kde.kscreen/contents/ui/main.qml:77:25: QML ColumnLayout: possible QQuickItem::polish() loop
Jul 11 19:51:37 akshatd-tp plasmashell[13213]: file:///usr/share/plasma/plasmoids/org.kde.kscreen/contents/ui/main.qml:77:25: QML ColumnLayout: ColumnLayout called polish() inside updatePolish() of ColumnLayout

spamming at around 150 times a second

Update: On htop i can see that /usr/bin/plasmashell was consuming >100% of the CPU, and after killing it, plasma restarted and everything was back to normal.

I hope this is a bug that someone is looking at.

i’m also seeing this issue with the same journalctl entries on an nvidia gpu and x11. currently working around it by restarting plasmashell with this:

killall -9 plasmashell;kstart plasmashell

would love to know what is causing it and if it is fixable.

I’m seeing it on Fedora (T2Linux) on a MacBook Pro 2019.

System Information

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.8-200.t2.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i9-9880H CPU @ 2.30GHz
Memory: 61.7 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: Apple Inc.
Product Name: MacBookPro16,1
System Version: 1.0

I can trigger it by playing a YouTube video in Firefox. If I kill (and hence restart) plasmashell then the problem recurs within seconds unless I stop playing the video first. I also tried playing a video in Chrome, but that doesn’t seem to trigger the issue at all.

thank you for narrowing it down - this does indeed only happen when playing a video (not just youtube, i’ve tried multiple sites to the same effect) in firefox. interestingly, sometimes when i boot my pc this issue is absent until i reboot again with seemingly no pattern.

maybe this is a firefox issue?

still experiencing this on plasma 6.1.4.

kinfo:

Operating System: Arch Linux 
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.8-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 1600 Six-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1080/PCIe/SSE2

This also happen to me while recording using OBS but dosen’t occur when watching video on firefox or else.

haven’t had this issue for 4 boots in a row, which tells me that this is fixed for me now, i think? i mentioned in an earlier comment that this issue is seemingly randomly not present sometimes when i boot my computer, so i held off on calling it fixed until it i could make it happen several times in a row.

no idea what fixed it or if it was even plasma’s fault, but here’s my current kinfo:

Operating System: Arch Linux 
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.11.1-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 1600 Six-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1080/PCIe/SSE2