Bug 455999 - Plasmashell suddenly starts eating up all the CPU
Summary: Plasmashell suddenly starts eating up all the CPU
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-performance (show other bugs)
Version: 5.25.1
Platform: Arch Linux Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-27 05:21 UTC by bairiaravind2
Modified: 2022-08-29 04:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bairiaravind2 2022-06-27 05:21:32 UTC
SUMMARY
***
Plasma suddenly starts consuming all the cpu. It is all of a sudden while watching videos after somepoint. Restarting plasmashell with the command "killall plasmashell; kstart plasmashell; exit" makes it go back to normal. I have attached the log in journalctl below.
***

1. Plasma suddenly starts consuming all the cpu.


SOFTWARE/OS VERSIONS
Linux:  Arch Linux(5.18.6-arch1-1)
KDE Plasma Version: 5.25.1-1
KDE Frameworks Version: frameworkintegration 5.95.0-1 (kf5)
Qt Version: 5.15.5+kde+r163-1

ADDITIONAL INFORMATION

JournalCtl Logs:

Jun 27 08:46:30 Linux plasmashell[3821]: kf.plasma.quick: Applet preload policy set to 1
Jun 27 08:46:30 Linux plasmashell[3821]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:70:5: QML Connections: Detected function "onConfigurationChanged" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
Jun 27 08:46:30 Linux plasmashell[3821]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:70:5: QML Connections: Detected function "onRepaintNeeded" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
Jun 27 08:46:30 Linux plasmashell[3821]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:67: TypeError: Cannot read property 'wallpaper' of null
Jun 27 08:46:30 Linux plasmashell[3821]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:71: TypeError: Cannot read property 'wallpaper' of null
Jun 27 08:46:30 Linux plasmashell[3821]: qml: PlasmaExtras.ScrollArea is deprecated. Use PlasmaComponents3.ScrollView instead.
Jun 27 08:46:30 Linux plasmashell[3821]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Jun 27 08:46:30 Linux plasmashell[3821]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:179: TypeError: Cannot read property 'containmentDisplayHints' of null
Jun 27 08:46:30 Linux plasmashell[3821]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:271: TypeError: Cannot read property 'location' of null
Jun 27 08:46:30 Linux plasmashell[3821]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Jun 27 08:46:30 Linux plasmashell[3821]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Jun 27 08:46:31 Linux plasmashell[3821]: Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
Jun 27 08:46:31 Linux plasmashell[3821]: file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:531:9: QML Label: Binding loop detected for property "height"
Jun 27 08:46:31 Linux plasmashell[3821]: file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:496:13: QML Label: Binding loop detected for property "height"
Jun 27 08:46:31 Linux plasmashell[3821]: file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/ConfigOverlay.qml:312:17: QML SpinBox: Binding loop detected for property "implicitWidth"
Jun 27 08:46:31 Linux plasmashell[3821]: file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/ConfigOverlay.qml:316: TypeError: Cannot read property 'willShowOnActive' of undefined
Jun 27 08:46:31 Linux plasmashell[3821]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Jun 27 08:46:31 Linux plasmashell[3821]: Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml"
Jun 27 08:46:31 Linux plasmashell[3821]: Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/ThumbnailStrip.qml"
Jun 27 08:46:31 Linux plasmashell[3821]: file:///usr/share/plasma/plasmoids/org.kde.plasma.volume/contents/ui/main.qml:603:39: Invalid property assignment: string expected - Assigning null to incompatible properties in QML is deprecated. This will become a compile error in future versions of Qt.
Jun 27 08:46:31 Linux plasmashell[3821]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ExpandedRepresentation.qml:167:9: QML HiddenItemsView: Binding loop detected for property "implicitHeight"
Jun 27 08:46:31 Linux plasmashell[3821]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Jun 27 08:46:31 Linux plasmashell[3821]: kf5idletime_kwayland: This plugin does not support polling idle time
Jun 27 08:46:31 Linux plasmashell[3821]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
Jun 27 08:46:31 Linux plasmashell[3821]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/PopupDialog.qml:157: TypeError: Cannot call method 'destroy' of null
Jun 27 08:46:33 Linux plasmashell[3821]: org.kde.klipper: Invalid or non-local url for preview:  QUrl("desktop:/go-221.5921.16.zip")
Jun 27 08:46:33 Linux plasmashell[3821]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ToolTipInstance.qml:209: TypeError: Cannot read property 'visible' of null
Jun 27 08:46:34 Linux plasmashell[3821]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:384: Unable to assign [undefined] to QString
Jun 27 08:49:27 Linux plasmashell[3821]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Comment 1 David Edmundson 2022-06-27 11:20:41 UTC

Either identify which applet triggers this or provide a perf trace when it's using CPU.

Please also confirm if setting the render loop to basic (kcmshell qtqtuicksettings) has an impact.
Comment 2 Bug Janitor Service 2022-07-12 04:36:51 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Marc 2022-07-24 21:04:11 UTC
I am seeing this issue as well on a complete fresh install of OpenSuse Tumbleweed with KDE 5.25.1 (though home-directory was from previous installation).
Will have a look how this evolves and try to provide some feedback.
Comment 4 Marc 2022-07-30 08:25:15 UTC
Did some more testing: it looks like any animation is causing the issue.
I had two widgets in use (cpu- and network-usage). Removing both removes the load, adding one raises half again, adding the second the high load behaviour is back.

I might add that due to a bug in the Nvidia driver for Opensuse, I currently have to run Nouveau. Maybe the issue is there.
Comment 5 Bug Janitor Service 2022-08-14 04:35:30 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2022-08-29 04:36:14 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!