Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X and plasma-desktop have constant high load with KDE 4.3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Torangan
Apprentice
Apprentice


Joined: 21 Mar 2003
Posts: 157

PostPosted: Thu Aug 13, 2009 8:50 am    Post subject: X and plasma-desktop have constant high load with KDE 4.3 Reply with quote

After updating my system to 4.3 (~AMD64, X.org ati drivers on an AMD 780G board) those two keep the load constantly >1. The whole system is quite sluggish, sometimes there are flickering effects on part of the desktop, session restore at the beginning takes much longer...
According to a tip from a bug report I tried chmod 755 -R /usr/share/kde4/, stopping hal and dbus but so far it doesn't work. All effects and modern 3D desktop stuff should be disabled anyway.

I'm a bit out of ideas short of downgrading to 4.2 again. :cry:
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Aug 13, 2009 9:05 pm    Post subject: Reply with quote

do you have that high load-average if you try xf86-video-ati instead of ati-drivers?
Back to top
View user's profile Send private message
Torangan
Apprentice
Apprentice


Joined: 21 Mar 2003
Posts: 157

PostPosted: Thu Aug 13, 2009 9:37 pm    Post subject: Reply with quote

That's what I use. X.org drivers for ati cards, not the binary ones. I could of course try radeonhd.
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Aug 13, 2009 10:01 pm    Post subject: Reply with quote

If you open a Konsole and look at top is there anything consuming too many resources?
Back to top
View user's profile Send private message
Torangan
Apprentice
Apprentice


Joined: 21 Mar 2003
Posts: 157

PostPosted: Thu Aug 13, 2009 10:05 pm    Post subject: Reply with quote

Sure, X at 73% and plasma-desktop with 22% - like all the time. I'm just reading a forum right now and have a load average >1.5...
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Aug 13, 2009 10:20 pm    Post subject: Reply with quote

Mine is like this
Code:
PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
3039 root      20   0  308m 112m 6968 S  1.7 12.8  11:49.17 X
12434 mike     20   0  236m  67m  29m S  1.3  7.7   0:04.38 firefox
3340 mike      20   0  294m  70m  37m S  0.3  8.0   5:01.27 plasma-desktop


One idea. backup your $HOME/.kde4 folder then nuke it. does a fresh session still go crazy?
Back to top
View user's profile Send private message
Torangan
Apprentice
Apprentice


Joined: 21 Mar 2003
Posts: 157

PostPosted: Fri Aug 14, 2009 12:16 am    Post subject: Reply with quote

A fresh session does work. But I would be glad if someone knows which file is the culprit, otherwise I'll have to try finding all the bits from kmail, kopete and other tools so they work as before. Well, the price of using unstable... But so far I always got my system working again without too much hassle. No reason to give up hope just yet. :D
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Fri Aug 14, 2009 5:53 am    Post subject: Reply with quote

Ah good, glad that worked out. I also needed to nuke my ~/.kde4 folder when I upgraded to 4.3.0.
I don't know exactly what it was either. but all is well now. :D
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1059
Location: PB, Germany

PostPosted: Tue Apr 13, 2010 4:07 pm    Post subject: Reply with quote

This is, what I always see in top:
Code:
PID  USER     GROUP     PR   NI %CPU %MEM  RES SWAP    TIME+  S COMMAND
9135 massimo  massimo   20   0  64.0  1.6  31m 228m   4:06.57 R plasma-desktop

I just started an empty kde session with no application and no plasmoids. I even disabled all desktop effects. In /var/log/Xorg.0.log I can't see any serious error:
Code:
# grep -e 'EE\|WW' /var/log/Xorg.0.log
Current Operating System: Linux doralin 2.6.31-gentoo-r10-dirty #2 PREEMPT Fri Mar 5 09:14:50 CET 2010 ppc
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/ttf-bitstream-vera" does not exist.
(II) Loading extension MIT-SCREEN-SAVER
(WW) RADEON(0): Failed to read PCI ROM!
(WW) RADEON(0): Failed to read PCI ROM!
(WW) RADEON(0): Unrecognized BIOS signature, BIOS data will not be used
(WW) RADEON(0): Video BIOS not detected, using default clock settings!
(WW) RADEON(0): Panel size 1440x960 is derived, this may not be correct.
(WW) RADEON(0): Unknown vendor-specific block 1
(WW) RADEON(0): Unknown vendor-specific block 1
(WW) RADEON(0): WARNING: Using the AGPFastWrite option is not recommended.
(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0):   MC_FB_LOCATION  was: 0xbfffb800 is: 0xbfffb800
(WW) RADEON(0):   MC_AGP_LOCATION was: 0xffffffc0 is: 0xc1ffc000
(WW) RADEON(0): Unknown vendor-specific block 1
(WW) RADEON(0): WARNING: Using the AGPFastWrite option is not recommended.
(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0):   MC_FB_LOCATION  was: 0xbfffb800 is: 0xbfffb800
(WW) RADEON(0):   MC_AGP_LOCATION was: 0xffffffc0 is: 0xc1ffc000
(EE) XKB: No components provided for device Virtual core keyboard
(WW) Couldn't load XKB keymap, falling back to pre-XKB keymap
(WW) RADEON(0): Unknown vendor-specific block 1

KDE4 on PowerBook
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67, 2G(dev.notes[pdf]) | amd64:Core2Duo | amd64-prefix:OpenSuse@Core2Quad | Lila-Theme
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1059
Location: PB, Germany

PostPosted: Sat Apr 24, 2010 12:43 pm    Post subject: Reply with quote

Last update brought this:
# genlop --list --date 3 days ago |grep x11:

x11-proto/inputproto-2.0
x11-proto/xextproto-7.1.1
x11-libs/libX11-1.3.3
x11-libs/libXext-1.1.1
x11-libs/libXt-1.0.8
x11-libs/libXi-1.3
x11-libs/qt-dbus-4.6.2
x11-libs/qt-gui-4.6.2
x11-libs/qt-qt3support-4.6.2
x11-proto/fixesproto-4.1.1
x11-libs/qt-svg-4.6.2
x11-proto/recordproto-1.14
x11-libs/libXtst-1.1.0
x11-proto/xineramaproto-1.2
x11-libs/libXinerama-1.1
x11-proto/xf86vidmodeproto-2.3
x11-libs/libXxf86vm-1.1.0
x11-libs/qt-opengl-4.6.2
x11-proto/scrnsaverproto-1.2.0
x11-libs/libXScrnSaver-1.2.0
x11-proto/xf86dgaproto-2.1
x11-base/xorg-server-1.7.6
x11-libs/libXxf86dga-1.1.1
x11-drivers/xf86-video-ati-6.12.6
x11-drivers/xf86-input-evdev-2.3.2
x11-drivers/xf86-input-keyboard-1.4.0
x11-drivers/xf86-input-mouse-1.5.0
x11-drivers/xf86-input-synaptics-1.2.1
x11-drivers/xf86-video-ati-6.12.6
x11-apps/xmessage-1.0.3
x11-apps/luit-1.0.5
x11-apps/xinput-1.5.1

I even deleted xorg.conf now and tried with a basic setup. X starts fine but after KDE has started, the problem is still the same:
The top 5 cpu applications currently:
Code:
 PID USER     GROUP     PR  NI %CPU %MEM  RES SWAP    TIME+  S COMMAND
9609 massimo  massimo   20   0 54.6  1.7  33m 231m   0:49.22 R plasma-desktop
9378 root     root      20   0 20.3  2.2  44m 327m   0:21.11 S X
9634 massimo  massimo   20   0  8.8  0.8  16m  54m   0:08.29 S kmix
9663 massimo  massimo   20   0  8.8  1.1  21m  63m   0:03.22 S konsole
9547 massimo  massimo   20   0  5.9  0.1 1216 2368   0:05.86 S dbus-daemon

# grep -e 'EE\|WW' /var/log/Xorg.0.log:
Current Operating System: Linux doralin 2.6.32-gentoo-r7-dirty #1 PREEMPT Thu Apr 15 09:58:48 CEST 2010 ppc
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(WW) Warning, couldn't open module fbdev
(EE) Failed to load module "fbdev" (module does not exist, 0)
(WW) RADEON(0): Failed to read PCI ROM!
(WW) RADEON(0): Failed to read PCI ROM!
(WW) RADEON(0): Unrecognized BIOS signature, BIOS data will not be used
(WW) RADEON(0): Video BIOS not detected, using default clock settings!
(WW) RADEON(0): Panel size 1440x960 is derived, this may not be correct.
(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0):   MC_FB_LOCATION  was: 0xbfffb800 is: 0xbfffb800
(WW) RADEON(0):   MC_AGP_LOCATION was: 0xffffffc0 is: 0xc1ffc000
(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0):   MC_FB_LOCATION  was: 0xbfffb800 is: 0xbfffb800
(WW) RADEON(0):   MC_AGP_LOCATION was: 0xc1ffc000 is: 0xc1ffc000
(WW) Apple Computer Apple Internal Keyboard / Trackpad: unable to handle keycode 464
(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0):   MC_FB_LOCATION  was: 0xbfffb800 is: 0xbfffb800
(WW) RADEON(0):   MC_AGP_LOCATION was: 0xffffffc0 is: 0xc1ffc000

_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67, 2G(dev.notes[pdf]) | amd64:Core2Duo | amd64-prefix:OpenSuse@Core2Quad | Lila-Theme
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1059
Location: PB, Germany

PostPosted: Fri Jul 16, 2010 9:22 am    Post subject: Reply with quote

No news? Currently I can only use KDE if renice'ing plasma-desktop to 19 which makes task bar and stuff very slow.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67, 2G(dev.notes[pdf]) | amd64:Core2Duo | amd64-prefix:OpenSuse@Core2Quad | Lila-Theme
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1059
Location: PB, Germany

PostPosted: Fri Aug 20, 2010 8:30 am    Post subject: Reply with quote

This is solved for me since 4.3.5->4.4.5.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67, 2G(dev.notes[pdf]) | amd64:Core2Duo | amd64-prefix:OpenSuse@Core2Quad | Lila-Theme
Back to top
View user's profile Send private message
iandoug
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 259
Location: Cape Town, South Africa

PostPosted: Mon Sep 27, 2010 10:30 pm    Post subject: Reply with quote

Massimo B. wrote:
This is solved for me since 4.3.5->4.4.5.


Not solved here, at least on the Nvidia box below (other box is down at the moment).

Can normally 'fix' it by shutting firefox down and waiting a while, but that does not ALWAYS work. Suspect it may be Flash of PDF related?

thanks, Ian
_________________
Asus M3A78 64, X2 6000+, PX9800 GT, 4GB Ram | Asus M4A77TD PRO, X2 245, HD4350, 4GB RAM
Back to top
View user's profile Send private message
pingufunkybeat
l33t
l33t


Joined: 01 Dec 2004
Posts: 610

PostPosted: Tue Sep 28, 2010 1:57 am    Post subject: Reply with quote

Try killing flash (killall nspluginviewer)

Also, try deleting plasmarc, there must be something in there going berserk.
Back to top
View user's profile Send private message
iandoug
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 259
Location: Cape Town, South Africa

PostPosted: Wed Sep 29, 2010 1:57 pm    Post subject: Reply with quote

pingufunkybeat wrote:
Try killing flash (killall nspluginviewer)

Also, try deleting plasmarc, there must be something in there going berserk.


I deleted plasmarc but it has not helped.

See screenshot : http://img718.imageshack.us/img718/2461/highcpuscreenshot.jpg
(See CPU meters on right of screenshot too)

When X starts it behaves itself but as time goes by and I work, X moves up to the top of the Activity list and stays there. Even after I shut everything down as in the screenshot.

Cheers, Ian
_________________
Asus M3A78 64, X2 6000+, PX9800 GT, 4GB Ram | Asus M4A77TD PRO, X2 245, HD4350, 4GB RAM
Back to top
View user's profile Send private message
iandoug
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 259
Location: Cape Town, South Africa

PostPosted: Wed Oct 13, 2010 3:13 pm    Post subject: Reply with quote

This problem appears to have gone away since I upgraded the kernel to .34

At the same time, my CUPS printers disappeared (from gnome apps like firefox or acrobat), though native KDE apps appeared unaffected.

Odd.

cheers, Ian
_________________
Asus M3A78 64, X2 6000+, PX9800 GT, 4GB Ram | Asus M4A77TD PRO, X2 245, HD4350, 4GB RAM
Back to top
View user's profile Send private message
iandoug
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 259
Location: Cape Town, South Africa

PostPosted: Fri Oct 15, 2010 6:56 am    Post subject: whoops Reply with quote

My message above appears to have been premature. The issue persists.

Still unable to track down the culprit, which seems to be one or more of :
firefox
(flash in firefox, which I unfortunately need)
Kmail
Akonadi (for kmail)

Have decided to rebuild system since gcc updated a few weeks back, have done emerge -e system last night and will do emerge -e world tonight and see if that helps ...

cheers, Ian
_________________
Asus M3A78 64, X2 6000+, PX9800 GT, 4GB Ram | Asus M4A77TD PRO, X2 245, HD4350, 4GB RAM
Back to top
View user's profile Send private message
iandoug
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 259
Location: Cape Town, South Africa

PostPosted: Fri Nov 05, 2010 5:02 pm    Post subject: Solved Reply with quote

Have finally, I think, found the culprit: the Strigi indexing daemon.

Switched it off in KDE system settings (under Advanced -> Desktop search), and now at last have a well-behaved system again...
_________________
Asus M3A78 64, X2 6000+, PX9800 GT, 4GB Ram | Asus M4A77TD PRO, X2 245, HD4350, 4GB RAM
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum