Date: Tue, 16 May 2006 10:46:53 -1000 From: Stephen Bartlett <stephen@bartlettsoftware.biz> To: freebsd-gnome@freebsd.org Subject: Re: gnome 2.14 performance degradation (slow app startup) Message-ID: <20060516204653.GA16678@tux.localdomain.local>
next in thread | raw e-mail | index | archive | help
--FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, 2006-05-06 at 13:55 -0400, Arno R. Schleich wrote: > Dear all, >=20 > I installed gnoem 2.14 from scratch. The perfromace on a 1Ghz > Athlonrunning FreeBSD6-STABLE is terrible. All gnome applications take > close to 30 seconds to start. > How can this be amended ? I had the same problem after upgrading to 2.14 on FreeBSD 6.1 -- most Gnome= apps were annoyingly slow to start up: Evolution's Compose window took 11s= ec, Desktop / Preferences / Sessions took 5sec, etc. I rebuilt gnomecontrolcenter2 with -g CFLAG to get debug symbols, then used= 'gdb gnome-session-properties' and got a stack trace: (gdb) bt #0 0x28ec37db in stat () from /lib/libc.so.6 #1 0x2833ac7c in gtk_icon_factory_lookup_default () from /usr/X11R6/lib/libgtk-x11-2.0.so.0 #2 0x2833accd in gtk_icon_factory_lookup_default () from /usr/X11R6/lib/libgtk-x11-2.0.so.0 #3 0x2833accd in gtk_icon_factory_lookup_default () from /usr/X11R6/lib/libgtk-x11-2.0.so.0 #4 0x2833accd in gtk_icon_factory_lookup_default () from /usr/X11R6/lib/libgtk-x11-2.0.so.0 #5 0x2833add3 in gtk_icon_factory_lookup_default () from /usr/X11R6/lib/libgtk-x11-2.0.so.0 #6 0x2833d875 in gtk_icon_info_free () from /usr/X11R6/lib/libgtk-x11-2.0.= so.0 #7 0x2833d97d in gtk_icon_info_free () from /usr/X11R6/lib/libgtk-x11-2.0.= so.0 #8 0x2833ef88 in gtk_icon_theme_lookup_icon () from /usr/X11R6/lib/libgtk-x11-2.0.so.0 #9 0x2833f7f3 in gtk_icon_theme_load_icon () from /usr/X11R6/lib/libgtk-x11-2.0.so.0 #10 0x28338ed6 in gtk_icon_set_render_icon () from /usr/X11R6/lib/libgtk-x11-2.0.so.0 Aha! I had seen mention on various lists that rebuilding the icon cache wi= th gtk-update-icon-cache was necessary ... and I had done that earlier but = it didn't help. But seeing that the apps were *still* bogged down in icon cache stuff made = me think again, and I saw that there's a --force option. Using that solved= the problem! FYI, here's how to rebuild all your icon caches (perform this as root) : find all the index.theme files: 'locate index.theme' create a script whose lines have the form: gtk-update-icon-cache --force <path> where <path> is the directory containing the index.theme file found. One l= ine per index.theme file, obviously. Run the script. After this, my Gnome apps all run great. - Stephen -- Stephen Bartlett President, Bartlett Software, Inc. http://www.bartlettsoftware.biz/ --FCuugMFkClbJLl1L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEajo9R7d3GIt7UjgRAhhEAJ4w7iEnrvSuOdAfwo/fbgDjeHbLygCaAqMr gBSQ83Yf9k3b87Yvn5OTifM= =YBnu -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060516204653.GA16678>