You are not logged in.

#1326 2015-09-11 07:47:02

kurt
Member
Registered: 2009-09-06
Posts: 140

Re: KF 5 & Plasma

OK - This is getting tiresome now. Can anyone suggest a way of stopping kactivitymanagerd from running.

I've tried disabling the service is systemd but that doesn't work.

Every 30 minutes or so it starts again and then I hear my fans start to whirrr as my cpu % starts to rocket and the plasmashell becomes unusable.

I've resorted to not even running the plasmashell and using krunner (alt+f2) to do anything. Not ideal.

Offline

#1327 2015-09-11 08:00:53

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,151

Re: KF 5 & Plasma

kurt wrote:

OK - This is getting tiresome now. Can anyone suggest a way of stopping kactivitymanagerd from running.

I've tried disabling the service is systemd but that doesn't work.

Every 30 minutes or so it starts again and then I hear my fans start to whirrr as my cpu % starts to rocket and the plasmashell becomes unusable.

I've resorted to not even running the plasmashell and using krunner (alt+f2) to do anything. Not ideal.

kactivitymanagerd can't be disabled, it's a core component of the Plasma desktop.

Has anyone actually reported this? Bugs don't magically fix themselves.

Offline

#1328 2015-09-11 08:23:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,209

Re: KF 5 & Plasma

Yeah kactivitymanagerd never acted up here, so it likely isn't going to be easy to track down if it only happens in specific usecases

Offline

#1329 2015-09-11 14:25:44

vipo
Member
From: Canada
Registered: 2014-10-09
Posts: 11

Re: KF 5 & Plasma

I am also having an issue with plasmashell and kactivitymanagerd utilizing the CPU constantly. When i check the system monitor, plasmashell is eating 16% CPU and kactivitymanagerd is sitting at 8%.

Any way to fix this? I am using Nvidia drivers if it helps.

Offline

#1330 2015-09-11 14:37:51

genericity
Member
Registered: 2014-09-20
Posts: 32

Re: KF 5 & Plasma

OK, I've found a workaround (and quite likely the trigger condition) for this plasmashell CPU usage problem.

Workaround:
You need to disable the Plasma recent document tracking (systemsettings - desktop - activity - privacy - don't track, my system is in Chinese so unsure about the exact wording in English). Then kill and restart plasmashell.

Analysis:
dbus-monitor shows that plasmashell is keep trying to delete the same filename from the kactivitymanagerd database:

method call time=1441981023.852013 sender=:1.283 -> destination=org.kde.ActivityManager serial=76173 path=/ActivityManager/Resources/Scoring; interface=org.kde.ActivityManager.ResourcesScoring; member=DeleteStatsForResource
   string ":current"
   string ":any"
   string "/home/jin/documents/test.mp4"
signal time=1441981023.852065 sender=:1.285 -> destination=(null destination) serial=152001 path=/ActivityManager/Resources/Scoring; interface=org.kde.ActivityManager.ResourcesScoring; member=ResourceScoreDeleted
   string ":current"
   string ":any"
   string "/home/jin/documents/test.mp4"
method return time=1441981023.852093 sender=:1.285 -> destination=:1.283 serial=152002 reply_serial=76173
method call time=1441981023.856243 sender=:1.283 -> destination=org.kde.ActivityManager serial=76174 path=/ActivityManager/Resources/Scoring; interface=org.kde.ActivityManager.ResourcesScoring; member=DeleteStatsForResource
   string ":current"
   string ":any"
   string "/home/jin/documents/test.mp4"
signal time=1441981023.856791 sender=:1.285 -> destination=(null destination) serial=152003 path=/ActivityManager/Resources/Scoring; interface=org.kde.ActivityManager.ResourcesScoring; member=ResourceScoreDeleted
   string ":current"
   string ":any"
   string "/home/jin/documents/test.mp4"
method return time=1441981023.856828 sender=:1.285 -> destination=:1.283 serial=152004 reply_serial=76174
method call time=1441981023.860860 sender=:1.283 -> destination=org.kde.ActivityManager serial=76175 path=/ActivityManager/Resources/Scoring; interface=org.kde.ActivityManager.ResourcesScoring; member=DeleteStatsForResource
   string ":current"
   string ":any"
   string "/home/jin/documents/test.mp4"
signal time=1441981023.861415 sender=:1.285 -> destination=(null destination) serial=152005 path=/ActivityManager/Resources/Scoring; interface=org.kde.ActivityManager.ResourcesScoring; member=ResourceScoreDeleted
   string ":current"
   string ":any"
   string "/home/jin/documents/test.mp4"
method return time=1441981023.861454 sender=:1.285 -> destination=:1.283 serial=152006 reply_serial=76175
method call time=1441981023.866318 sender=:1.283 -> destination=org.kde.ActivityManager serial=76176 path=/ActivityManager/Resources/Scoring; interface=org.kde.ActivityManager.ResourcesScoring; member=DeleteStatsForResource
   string ":current"
   string ":any"
   string "/home/jin/documents/test.mp4"
signal time=1441981023.866863 sender=:1.285 -> destination=(null destination) serial=152007 path=/ActivityManager/Resources/Scoring; interface=org.kde.ActivityManager.ResourcesScoring; member=ResourceScoreDeleted
   string ":current"
   string ":any"
   string "/home/jin/documents/test.mp4"
method return time=1441981023.866897 sender=:1.285 -> destination=:1.283 serial=152008 reply_serial=76176
method call time=1441981023.870871 sender=:1.283 -> destination=org.kde.ActivityManager serial=76177 path=/ActivityManager/Resources/Scoring; interface=org.kde.ActivityManager.ResourcesScoring; member=DeleteStatsForResource
   string ":current"
   string ":any"
   string "/home/jin/documents/test.mp4"
signal time=1441981023.871394 sender=:1.285 -> destination=(null destination) serial=152009 path=/ActivityManager/Resources/Scoring; interface=org.kde.ActivityManager.ResourcesScoring; member=ResourceScoreDeleted
   string ":current"
   string ":any"
   string "/home/jin/documents/test.mp4"
method return time=1441981023.871428 sender=:1.285 -> destination=:1.283 serial=152010 reply_serial=76177
method call time=1441981023.875271 sender=:1.283 -> destination=org.kde.ActivityManager serial=76178 path=/ActivityManager/Resources/Scoring; interface=org.kde.ActivityManager.ResourcesScoring; member=DeleteStatsForResource
   string ":current"
   string ":any"
   string "/home/jin/documents/test.mp4"
signal time=1441981023.875819 sender=:1.285 -> destination=(null destination) serial=152011 path=/ActivityManager/Resources/Scoring; interface=org.kde.ActivityManager.ResourcesScoring; member=ResourceScoreDeleted
   string ":current"
   string ":any"
   string "/home/jin/documents/test.mp4"

I recently used then deleted that file, so it's correct for plasmashell to delete the corresponding record from recents. I've no idea why it keep retrying the seemingly successful call.

So, for those who haven't triggered this bug yet, would you please try delete a file in your recent document list, to confirm this is really the cause? Thanks.

Offline

#1331 2015-09-11 14:58:48

ChemBro
Member
Registered: 2008-10-22
Posts: 704

Re: KF 5 & Plasma

Well, for me, the cpu usage plasmashell problem stopped with 5.4.1.

Offline

#1332 2015-09-11 15:01:29

vipo
Member
From: Canada
Registered: 2014-10-09
Posts: 11

Re: KF 5 & Plasma

genericity, your workaround worked, As soon as i selected "Do Not Remember" my CPU usage from plasmashell and kactivitymanagerd dropped to 0.

Thanks a lot for your efforts!

P.S This is with 5.4.1

Last edited by vipo (2015-09-11 15:01:44)

Offline

#1333 2015-09-11 15:09:17

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 755

Re: KF 5 & Plasma

That sounds like an issue with Baloo, since Baloo is responsible for collecting such data.

Online

#1334 2015-09-11 15:13:14

PootisBird
Member
Registered: 2014-04-16
Posts: 125

Re: KF 5 & Plasma

Logout times are awful. On SSD...

Offline

#1335 2015-09-11 20:28:08

ChemBro
Member
Registered: 2008-10-22
Posts: 704

Re: KF 5 & Plasma

Xabre wrote:

That sounds like an issue with Baloo, since Baloo is responsible for collecting such data.

I had Baloo deactivated.

Offline

#1336 2015-09-11 22:05:01

yanthor
Member
Registered: 2015-03-22
Posts: 14

Re: KF 5 & Plasma

@genericity i try your method but isn't working in my case.
It is lstat loop for already deleted file. I found it with strace -p <pid of plasmashell> My workaround is to touch that file and restart the desktop session.

Is there a bug report open about that? Found it Bug 352574

Last edited by yanthor (2015-09-11 23:26:41)

Offline

#1337 2015-09-12 03:26:07

genericity
Member
Registered: 2014-09-20
Posts: 32

Re: KF 5 & Plasma

yanthor wrote:

@genericity i try your method but isn't working in my case.
It is lstat loop for already deleted file. I found it with strace -p <pid of plasmashell> My workaround is to touch that file and restart the desktop session.

Is there a bug report open about that? Found it Bug 352574

Does your file name contain any special characters (brackets, *, etc.)?

Offline

#1338 2015-09-12 04:48:47

ssri
Member
Registered: 2010-02-16
Posts: 216

Re: KF 5 & Plasma

Lttp hopping on the plasma.  I enjoyed using cover switch with kde4, has it been deprecated in plasma5?

Offline

#1339 2015-09-12 05:11:01

genericity
Member
Registered: 2014-09-20
Posts: 32

Re: KF 5 & Plasma

ssri wrote:

Lttp hopping on the plasma.  I enjoyed using cover switch with kde4, has it been deprecated in plasma5?

No. First you need to enable it in desktop effects (under a different name?), then select it in window management.

Last edited by genericity (2015-09-12 06:19:04)

Offline

#1340 2015-09-12 08:38:52

yanthor
Member
Registered: 2015-03-22
Posts: 14

Re: KF 5 & Plasma

genericity wrote:

Does your file name contain any special characters (brackets, *, etc.)?

Yes. The parent folder and the file has both [ ( dash and spaces. The folder name itself starts with ( which may be important.

Last edited by yanthor (2015-09-12 09:31:30)

Offline

#1341 2015-09-12 11:20:57

idmresettrial
Member
Registered: 2015-09-12
Posts: 29

Re: KF 5 & Plasma

does anyone know how to change this ibus icon?

vqVdrwY.jpg

Update: I've found a solution: change the icon tag in /usr/share/ibus/component/simple.xml

Now it looks better smile

Dx23Ps5.jpg

Last edited by idmresettrial (2015-09-15 15:34:53)

Offline

#1342 2015-09-12 14:29:41

Ekaradon
Member
Registered: 2014-05-31
Posts: 44

Re: KF 5 & Plasma

I am facing some issues that I do not understand:
- First polkit is asking for authorization every time I start a new session, even with the following file:

➜  ~  sudo cat /etc/sysctl.d/90-inotify.conf
#increase inotify watch limit
fs.inotify.max_user_watches = 10000

- Also, The shortcut 'Alt+F1' (which normally shows my dashboard) does not work anymore after a time... and then it is not possible to get it back until I erase all my kde config files. It strange because it happens without me configuring any shortcuts (other than kwin things without alt key involved). However, when clicking on the KDE start icon, it is working...

Offline

#1343 2015-09-13 00:15:47

ssri
Member
Registered: 2010-02-16
Posts: 216

Re: KF 5 & Plasma

genericity wrote:
ssri wrote:

Lttp hopping on the plasma.  I enjoyed using cover switch with kde4, has it been deprecated in plasma5?

No. First you need to enable it in desktop effects (under a different name?), then select it in window management.

You are wrong.  For some reason, the dev(s) moved "cover switch" from desktop effects to window management.  No longer is it under system settings (workspace)>desktop behavior>desktop effects like it has been since 4.1.x.  Instead, it is under system settings (workspace)>windows management>task switcher>visualization (breeze is the default).  The migration hasn't improved its discoverability in my opinion.  Indeed, typing "cover" or "cover switch" in the search field only highlights "desktop behavior", most likely since that was where the functionality used to be located.  *sigh*

Offline

#1344 2015-09-13 01:44:37

MartinZ
Member
From: Chiloé, Chile
Registered: 2005-06-10
Posts: 379

Re: KF 5 & Plasma

Sorry if asked before, I googled a lot and couldn't find any information.

Since upgrading to 5.4 (and 5.4.1 too), gtk windows get stuck when I close them. The app actually stops running, but the image stays there, sometimes on top of everything. I also noticed that the plasma panel occasionally gets stuck.

I have an Asus laptop with both Intel (integrated) and Nvidia (dedicated) card, but am using just the Intel one. I already tried all combinations of UXA, SNA, GLX and EGL without difference.

I'm not really sure that this problem just affects gtk apps, but seems to.

I would really appreciate some help with this.

Thanks in advance.


All your base are belong to us

Offline

#1345 2015-09-13 01:59:02

KARNVORbeefRAGE
Member
Registered: 2013-06-20
Posts: 25

Re: KF 5 & Plasma

For those who are in need of the File Watch Limit fix that requires a password, I found one fix.

cat /etc/sysctl.d/97-kde-baloo-filewatch-inotify.conf

Then, check to see the number that appears.  Remember it, and double it; then use your favorite text editor, I'll choose vim for this example.

sudo vim /etc/sysctl.d/97-kde-baloo-filewatch-inotify.conf

This should fix the limit, and prevent any further messages.  If it doesn't simply double it one more time.
I also saw another inotify fix as posted by Ekaradon, but I figured I would post a second solution under the 97-kde-baloo configuration file.

Last edited by KARNVORbeefRAGE (2015-09-13 02:02:19)


"Let the future tell the truth, and evaluate each one according to his work and accomplishments. The present is theirs; the future, for which I have really worked, is mine."
-Nikola Tesla

Offline

#1346 2015-09-14 10:57:02

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 874

Re: KF 5 & Plasma

Is it possible to restore KDE4-style "Show widget dashboard"? I mean, when pressing Ctrl+F12 in KDE4 the dashboard was put in foreground. Since it was transparent I could see the resource usage monitor widgets while also peeking at the execution of my program in background. With Plasma5 Ctrl+F12 wipes away all the windows from the desktop, so I can see the widgets but not my program running.

Offline

#1347 2015-09-15 06:50:55

trapanator
Member
From: Italy
Registered: 2009-08-10
Posts: 151

Re: KF 5 & Plasma

Hi, I want to connect my ssh keys to kwallet manager. I followed these steps in the wiki:

  https://wiki.archlinux.org/index.php/SSH_keys#Using_KDM

the problem is that the folder ~/.config/plasma-workspace doesn't exist anymore. Is there a new location?

Last edited by trapanator (2015-09-15 06:51:19)

Offline

#1348 2015-09-15 07:04:25

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,151

Re: KF 5 & Plasma

trapanator wrote:

Hi, I want to connect my ssh keys to kwallet manager. I followed these steps in the wiki:

  https://wiki.archlinux.org/index.php/SSH_keys#Using_KDM

the problem is that the folder ~/.config/plasma-workspace doesn't exist anymore. Is there a new location?

If it doesn't exist, then create it. It's your home dir.

Offline

#1349 2015-09-15 09:18:17

kurt
Member
Registered: 2009-09-06
Posts: 140

Re: KF 5 & Plasma

kwallet is installed and running on my system OK (I think). When I start kontact it asks for my kwallet password and then all my email accounts login OK - So working.

However when I launch kwalletmanger5 it just comes up as a blank window with a title bar (Wallet Manager) and a menu bar (File Settings Help).

If I click File -> Import a wallet - Nothing happens

Any ideas on how I can show my wallet in the Wallet Manager.

Offline

#1350 2015-09-15 10:01:55

Tromzy
Member
Registered: 2015-02-15
Posts: 166

Re: KF 5 & Plasma

Plasma keeps freezing, it's really annoying. Everytime I hear the fans in my laptop going crazy, I know it means Plasma froze. And I have to run "killall plasmashell && plasmashell" in Krunner. I can't stand all those KDE bugs anymore, all the time.

Offline

Board footer

Powered by FluxBB