![]() Registered Member ![]()
|
I have been using KDE Neon for several months without a problem, but very recently I started having high CPU usage (around 50% when idling on a relatively high spec laptop) whenever I log in on my main user account (but not other user accounts on the same computer).
Investigating with top, it seems that the primary culprit is DBus. Using dbus-monitor releases a deluge of DBus messages, far more than I would expect to see on the system usually. Many of which seem to be related to the ActivityManager within plasmashell. Here is a random snippet that seems typical of the sort of messages being sent around
Here is the output of qdbus in case this is helpful
But this is where my knowledge of DBus and debugging end, and I'm stuck as to where to go next. I have tried deleting `~/.config/plasmashellrc` and `~/.config/plasma-org.kde.plasma.desktop-appletsrc` and rebooting in case any of my plasmoids where causing the problem but this didn't help. I have never made use of the "activities" feature of plasma, so only a single default activity exists. However, suspiciously if I use the activity pager shortcut (shift+meta+tab on my system), the "default" activity thumbnail keeps sliding in and out of view very quickly, perhaps supporting the view that something fishy is going on with the activities. I'd be really grateful for any advice on: - Further debugging to figure out what is sending all these messages - Whether there are better places for me to get help or submit formal bug requests Thanks in advance! |
![]() Registered Member ![]()
|
I never really got to the bottom of what happened here but further digging suggested that the sqlite database that kactivitymanagerd uses to store details of different activities somehow got corrupted. I'm at a loss to explain how this happened.
I appear to have fixed the issue by deleted the following files and restarting plasmashell:
- `~/.config/kactivitymanagerd*` |
![]() Registered Member ![]()
|
Thanks for documenting this, cbridge. It fixed my problem. I will list my "symptoms" for the benefit of others searching. While the cause remains unknown in my mind, I believe it started after I edited a start menu entry.
My recent apps and favorites disappeared and would not repopulate. While bringing up the activity manager, either from right clicking the desktop or from settings, things would flash or cycle. I also noticed runaway cpu usage related to kactivitymanagerd. |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]