From owner-freebsd-gnome@FreeBSD.ORG Wed Jun 7 18:10:27 2006 Return-Path: X-Original-To: freebsd-gnome@freebsd.org Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3694E16EB7A for ; Wed, 7 Jun 2006 16:13:35 +0000 (UTC) (envelope-from h.nieser@xs4all.nl) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id B891243D45 for ; Wed, 7 Jun 2006 16:13:34 +0000 (GMT) (envelope-from h.nieser@xs4all.nl) Received: from [192.168.1.66] (aphax.nl [82.92.29.227]) by smtp-vbr3.xs4all.nl (8.13.6/8.13.6) with ESMTP id k57GDX4j003026 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Jun 2006 18:13:33 +0200 (CEST) (envelope-from h.nieser@xs4all.nl) Message-ID: <4486FB4A.6080808@xs4all.nl> Date: Wed, 07 Jun 2006 18:14:02 +0200 From: Hans Nieser User-Agent: Thunderbird 1.5.0.4 (X11/20060605) MIME-Version: 1.0 To: Kiffin Gish References: <000001c68a27$a226b080$2101a8c0@ZGISH> In-Reply-To: <000001c68a27$a226b080$2101a8c0@ZGISH> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-gnome@freebsd.org Subject: Re: Gnome 2.14 is as slow as molasses ... X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jun 2006 18:10:28 -0000 Kiffin Gish wrote: > Ever since I upgraded from Gnome 2.12 to 2.14 on top of FreeBSD 6.1, I've > been disappointed with the VERY slow performance of the Gnome Desktop. > > Not only is it very sluggish in general, but most applications take anywhere > from 30-60 secs to start. > > I thought that Gnome 2.14 was supposed to have all these exceptional > performance tweaks, but for some reason my system is doing the exact > opposite. > > Can anyone help me? > Have you tried this? It was posted here by Stephen Bartlett some time ago and seems to be the solution for most people with slow application startup in gnome 2.14: Stephen Bartlett wrote: > On Sat, 2006-05-06 at 13:55 -0400, Arno R. Schleich wrote: >> > Dear all, >> > >> > 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 11sec, 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 with 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 > > where is the directory containing the index.theme file found. One line 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/ > I don't know if there's a FAQ entry for this (and I'm terribly lazy so I'm not going to check :p), but if there isn't, there should be one!