View previous topic :: View next topic |
Author |
Message |
Zviratko Tux's lil' helper
Joined: 21 Feb 2004 Posts: 106 Location: Prague, Czech Republic
|
Posted: Thu Mar 17, 2005 10:45 pm Post subject: Strange GTK(2?) apps slowdown after unsuspend |
|
|
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 |
|
|
mascanho Veteran
Joined: 21 Dec 2004 Posts: 1241 Location: On my Bmx Bike on a Concrete Park Flatlanding ...
|
Posted: Thu Mar 17, 2005 11:32 pm Post subject: |
|
|
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 |
|
|
Zviratko Tux's lil' helper
Joined: 21 Feb 2004 Posts: 106 Location: Prague, Czech Republic
|
Posted: Thu Mar 17, 2005 11:34 pm Post subject: |
|
|
read the post (again), please |
|
Back to top |
|
|
mascanho Veteran
Joined: 21 Dec 2004 Posts: 1241 Location: On my Bmx Bike on a Concrete Park Flatlanding ...
|
Posted: Thu Mar 17, 2005 11:45 pm Post subject: |
|
|
same answer, or you can check your kernel configuration, maybe on acpi _________________ Flatland Life is a Choice !
emerge avatar |
|
Back to top |
|
|
monkey89 Guru
Joined: 08 Mar 2004 Posts: 596
|
Posted: Fri Mar 18, 2005 2:47 am Post subject: |
|
|
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 |
|
|
mascanho Veteran
Joined: 21 Dec 2004 Posts: 1241 Location: On my Bmx Bike on a Concrete Park Flatlanding ...
|
Posted: Fri Mar 18, 2005 11:03 am Post subject: |
|
|
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 when it gets slow to see whats going on with it _________________ Flatland Life is a Choice !
emerge avatar |
|
Back to top |
|
|
thoand n00b
Joined: 13 Jun 2003 Posts: 57
|
Posted: Mon Jun 20, 2005 3:02 pm Post subject: |
|
|
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 |
|
|
mascanho Veteran
Joined: 21 Dec 2004 Posts: 1241 Location: On my Bmx Bike on a Concrete Park Flatlanding ...
|
Posted: Mon Jun 20, 2005 3:40 pm Post subject: |
|
|
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 |
|
|
rabbit Tux's lil' helper
Joined: 02 Mar 2003 Posts: 122 Location: Clarkson University
|
Posted: Mon Jun 20, 2005 8:10 pm Post subject: Re: Strange GTK(2?) apps slowdown after unsuspend |
|
|
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 |
|
|
thoand n00b
Joined: 13 Jun 2003 Posts: 57
|
Posted: Mon Jun 20, 2005 9:30 pm Post subject: |
|
|
i downgraded to 2.6.4-r1 and everything is ok. |
|
Back to top |
|
|
|