Bug 165882

Summary: Plasma produces constant CPU load of about 50%
Product: [Plasma] plasma4 Reporter: Vedran Sego <vsego>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: sven.burmeister
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Vedran Sego 2008-07-06 20:10:30 UTC
Version:            (using KDE 4.0.83)
Installed from:    Unlisted Binary Package

This is the top of my top [ :-) ]:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
28289 vsego     20   0  106m  17m  10m R 55.7  3.5 848:59.33 plasma
27949 root      20   0  240m  43m 3076 S 34.8  8.7 499:04.63 Xorg
...

This happens whenever I check the load and my load averages are: 2.68, 2.61, 2.54.

Currently, I have the following programs running: gedit, SeaMonkey, konsole and OpenOffice, but none of them show any load. Few thing running in tray, but also do nothing at the moment.

I can provide more info, but need instructions on how to do so.
Comment 1 S. Burmeister 2008-07-06 20:25:11 UTC
Do you by any chance use the ati binary drivers?
Comment 2 Vedran Sego 2008-07-06 20:39:20 UTC
I do have an old ATI Rage card... with drivers from Livna (I THINK; not sure, since some time has passed since I've installed these). How do I check?

My xorg.conf says:
Section "Device"
        Identifier  "Videocard0"
        Driver      "r128"
EndSection
Comment 3 S. Burmeister 2008-07-06 20:47:11 UTC
I saw this on a notebook whcih has a radeon 9700. I thought it was due to the driver, because it does not happen when desktop-effects are disabled.

Do you have desktop-effects enabled?
Comment 4 Vedran Sego 2008-07-06 20:50:47 UTC
Nope, desktop effects are off. My machine is too slow to have such stuff on all the time (P4, 1.7GHz, 512MB RAM).
Comment 5 Vedran Sego 2008-07-06 20:55:31 UTC
Hmmm... the load has just dropped... and I did nothing (started and shut down Pidgin, but everything else remained the same):

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
27949 root      20   0  245m  51m 3388 R  3.0 10.2 517:25.33 Xorg
28954 vsego     20   0  109m 6500 6032 R  2.0  1.3  45:19.44 nspluginviewer
28289 vsego     20   0  106m  19m  11m S  1.3  3.8 878:44.94 plasma

Loads have dropped to 0.29, 1.33, 2.11. Is there something to check when this happens again?
Comment 6 Loic Marteau 2008-07-06 21:02:15 UTC
Hi Vedran,

Could you please list all the plasmoid you have on the panel and say us 
which revision of kde do you use


Cheers
Comment 7 Vedran Sego 2008-07-06 21:09:46 UTC
What exactly are plasmoids? If widgets, icons,... then:

KDE menu, few icons, pager with 6 desktops (only 2 in use), device notifier, digital clock, lock/logout widget, task manager and system tray (in which I have Akregator, KSensors (0.7.3, using KDE 3.5.0-15.fc9), keyboard layout switcher, KMix and Klipper); no widgets on the desktop itself, only few icons.

KDE revision: 4.00.84 (KDE 4.1 >= 20080625); installed from apt.kde.org via yum.
Comment 8 Loic Marteau 2008-07-06 21:15:58 UTC
Please remove the lock/logout widget ans say us if the cpu decrease.

We have a problem with this plasmoid on older revision that is fixed now.
If this fix the problem can you please close the bug report ?

Tanks !
Comment 9 Vedran Sego 2008-07-06 21:28:30 UTC
Bravo! It was Lock/Logout. The load rose again, so I removed Lock/Logout and the load dropped. I added it and removed it few more times and the load went up and down accordingly.

Thank you!