Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange GTK(2?) apps slowdown after unsuspend
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Zviratko
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2004
Posts: 106
Location: Prague, Czech Republic

PostPosted: Thu Mar 17, 2005 10:45 pm    Post subject: Strange GTK(2?) apps slowdown after unsuspend Reply with quote

Hi,
I have a Centrino laptop (Dell Precision M60), and I use suspend-to-ram regularly (twice a day). Recently (say, last week or two) when I resume the laptop and use some GTK2 apps (mozilla suite, firefox, ethereal, xmms) they are slow and laggy - like if my processor was slowed down (but it isn't, I made sure). Reboot fixes it.

I use KDE desktop, all QT-based apps work fine, mplayer works fine (no slowdowns, I can see the CPU usage difference when switching frequencies).

my CFLAGS (I use gcc-3.4):
CFLAGS="-mtune=pentium-m -march=pentium-m -O2 -pipe -ftracer -fweb -momit-leaf-frame-pointer -funit-at-a-time"

I use ac-series kernels (2.6.11ac1 currently), ck-series had the same behaviour.
I have not changed my kernel config or CFLAGS, I did however upgrade to kde-3.4.0-rc1 recently (not sure if it happened with beta2).

Anybody experienced this?
Back to top
View user's profile Send private message
mascanho
Veteran
Veteran


Joined: 21 Dec 2004
Posts: 1241
Location: On my Bmx Bike on a Concrete Park Flatlanding ...

PostPosted: Thu Mar 17, 2005 11:32 pm    Post subject: Reply with quote

has you may know Gtk belongs to Gnome and once you using gnome apps on kde it may increase your cpu and ram usage , try qt-gtk its a great tool for those kind a things
_________________
Flatland Life is a Choice !
emerge avatar
Back to top
View user's profile Send private message
Zviratko
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2004
Posts: 106
Location: Prague, Czech Republic

PostPosted: Thu Mar 17, 2005 11:34 pm    Post subject: Reply with quote

read the post (again), please :)
Back to top
View user's profile Send private message
mascanho
Veteran
Veteran


Joined: 21 Dec 2004
Posts: 1241
Location: On my Bmx Bike on a Concrete Park Flatlanding ...

PostPosted: Thu Mar 17, 2005 11:45 pm    Post subject: Reply with quote

same answer, or you can check your kernel configuration, maybe on acpi
_________________
Flatland Life is a Choice !
emerge avatar
Back to top
View user's profile Send private message
monkey89
Guru
Guru


Joined: 08 Mar 2004
Posts: 596

PostPosted: Fri Mar 18, 2005 2:47 am    Post subject: Reply with quote

When you say "as if your cpu is slowed down", do you mean like speed stepping? If so, is it speeding down?

XMMS is gtk1 by the way, but I don't think that helps. I don't really have much of a solution for you, except to keep an eye on top and see if any weird processes are running after the suspend.

-Monkey
Back to top
View user's profile Send private message
mascanho
Veteran
Veteran


Joined: 21 Dec 2004
Posts: 1241
Location: On my Bmx Bike on a Concrete Park Flatlanding ...

PostPosted: Fri Mar 18, 2005 11:03 am    Post subject: Reply with quote

you cuold check if you have something like xscreensaver or something like that or something that starts running on the background and slows down your machine do a
Code:
top
when it gets slow to see whats going on with it
_________________
Flatland Life is a Choice !
emerge avatar
Back to top
View user's profile Send private message
thoand
n00b
n00b


Joined: 13 Jun 2003
Posts: 57

PostPosted: Mon Jun 20, 2005 3:02 pm    Post subject: Reply with quote

I have exaktly the same problem, since gtk+ 2.6.7 got merged (I think). After a while all gtk apps are unusable slow, while QT apps are working fine. when I enter this text in firefox, the CPU usage reaches 100%, in the moment I give the focus to a qt app. the CPU usage is normal (20%).

i think it is a problem with gtk+ 2.6.7

PS: I compiled firefox with USE="-gtk gtk2", maybe you compiled mozilla using gtk1
Back to top
View user's profile Send private message
mascanho
Veteran
Veteran


Joined: 21 Dec 2004
Posts: 1241
Location: On my Bmx Bike on a Concrete Park Flatlanding ...

PostPosted: Mon Jun 20, 2005 3:40 pm    Post subject: Reply with quote

Simple ! Run an app that uses gtk2 and see if it increases your cpu , if it does then recompile that same app against gtk1 and lunch it again and see what happens !
gtk2 latest working fine here !
_________________
Flatland Life is a Choice !
emerge avatar
Back to top
View user's profile Send private message
rabbit
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2003
Posts: 122
Location: Clarkson University

PostPosted: Mon Jun 20, 2005 8:10 pm    Post subject: Re: Strange GTK(2?) apps slowdown after unsuspend Reply with quote

Zviratko wrote:
Hi,
I have a Centrino laptop (Dell Precision M60), and I use suspend-to-ram regularly (twice a day). Recently (say, last week or two) when I resume the laptop and use some GTK2 apps (mozilla suite, firefox, ethereal, xmms) they are slow and laggy - like if my processor was slowed down (but it isn't, I made sure). Reboot fixes it.
[snip]
Anybody experienced this?


I remember seeing something like this before (I use GNOME) right after I upgraded to GNOME 2.10. It ended up being the RENDER extension of xorg. If I left it on, it had some serious issues just moving windows around and keeping apps open. Once I turned it off, I had no problems.

It's strange though that your KDE apps don't experience the same thing. It could be that GTK doesn't play well with newer xorg features (which could very well be true).
Back to top
View user's profile Send private message
thoand
n00b
n00b


Joined: 13 Jun 2003
Posts: 57

PostPosted: Mon Jun 20, 2005 9:30 pm    Post subject: Reply with quote

i downgraded to 2.6.4-r1 and everything is ok.
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