-   Linux - Software (
-   -   gtk apps sluggish in kde (

ganja_guru 12-25-2004 06:23 AM

gtk apps sluggish in kde
i have a pretty decent config and have tweaked the shite out of everything possible...running slackware 10.0, kde 3.3.2 and dropline-gnome 2.8.0...i use kde most of the time, and qt apps are pretty snappy, but gtk based apps(firefox,thuhderbird,azureus,gaim...) take a while to load and things like tab switching in firefox exhibits visible 'drawing' when i switch tabs...gtk just doesnt feel snappy in kde...(firefox,TB take abt 6-10 seconds to load...but the slow drawing problem is a bigger PITA)

my config anyway:
kernel 2.6.9mm1
athlon xp 2400
geforce ti 4600
1 GB DDR Ram

things like hdparm and stuff have been tweaked to enable DMA..blah blah...and the kernel has been recompiled to suit my system requirements..

so once do i make gtk apps speed up in kde?

ganja_guru 12-25-2004 10:32 AM


fenderman11111 12-25-2004 01:21 PM

The simple answer: When you load up KDE it also loads the libraries and such for QT (the KDE interface stuff) so programs won't take years to load up. GTK stuff is going to take a little while to load up because the GTK libs aren't in memory, KDE has to open that stuff up every time you run a GTK app. If you ran gnome you would run into the same problem with KDE apps.

i think that's right, someone correct me if I'm wrong.

ganja_guru 12-25-2004 02:33 PM

yes i know that...but why should gtk apps behave sluggish even AFTER theyve been i said i dont care much about improving loading time....i just want to increase the responsiveness if its possible...

ganja_guru 12-25-2004 06:37 PM

oh and am using the gtk-qt engine from ..maybe the sluggishness is cause of dropline gnome?

ganja_guru 12-26-2004 06:26 AM beginning to wonder if im the only one having the problem...i tried yoper and suse a while back and they werent that it a slackware specific thing?

ganja_guru 12-26-2004 08:03 AM

oh and fyi im running the latest gtk+-1.2.10 /gtk+-2.6.0...compiled from source..

ganja_guru 12-26-2004 10:57 AM

looks like im talking to myself...anyway i read somewhere that has a partial workaround to this ....does anyone know what it is?

ganja_guru 12-26-2004 12:44 PM

i did some research ..if i do a

export GDK_USE_XFT=0

and then open any GTK app things seem much looks like crap cause of the shitty fonts(anti-aliasing off :-(

any suggestions?

Proud 12-26-2004 01:23 PM

Have you got the latest graphics card drivers installed ok? Have you tried the default gtk engine if that gtk-qt one isnt?

ganja_guru 12-26-2004 07:27 PM

yeah...latest and best nvidia drivers..default theme doesnt make a difference...and when i start the gnome-theme-manager i get the following output..anyone know what it means...

varun@AcharyaX:~$ gnome-theme-manager
*** attempt to put segment in horiz list twice

(gnome-theme-manager:27807): Gdk-CRITICAL **: gdk_pixbuf_get_from_drawable: assertion `gdk_window_is_viewable (src)' failed

(gnome-theme-manager:27807): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `pixbuf != NULL' failed

(gnome-theme-manager:27807): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_bits_per_sample: assertion `pixbuf != NULL' failed

(gnome-theme-manager:27807): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed

(gnome-theme-manager:27807): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed

(gnome-theme-manager:27807): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `pixbuf != NULL' failed

(gnome-theme-manager:27807): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gnome-theme-manager:27807): Gdk-CRITICAL **: gdk_pixbuf_get_from_drawable: assertion `gdk_window_is_viewable (src)' failed

....and so on...

anyone know what this crap means?

ganja_guru 12-27-2004 08:26 PM


ganja_guru 12-28-2004 05:27 AM

update: minor performance boost on installing glibmm and it because "gtkmm is the official C++ interface for the popular GUI library GTK+."

my reasoning is that since qt is written in C++ and GTK in C, the "official C++ interface for the popular GUI library GTK+." should do something good right?

or am i high?anyway the speed diff is mild and am still looking for better ways to tackle the problem

rollo 12-29-2004 05:29 AM

Yep, anyone got solutions to this?
You're not talking to yourself, I have exactly the same problem - see my thread at

As a complete non-techie I can't really offer any solutions, and I kinda gave up on it after no-one came up with anything.


ganja_guru 12-30-2004 08:28 AM

this annoyance is kinda like the black mark for linux in my head...when anyone comes up to me and asks 'what do u think about linux?' ....i say 'amazing,awesome...blah blah'....but in the back of my mind 'if it werent for those ^%%&%% GTK apps ...grrr..'

just tried firefox on my moms laptop(p3 1ghz, win xp) and its still faster than firefox on my box :-(

All times are GMT -5. The time now is 03:16 PM.