Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
firefox 3 slow
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 265
Location: Warsaw, Poland

PostPosted: Fri Dec 26, 2008 11:30 pm    Post subject: firefox 3 slow Reply with quote

Hi,

I recently upgraded to Firefox 3.0.5 (as it went stable) and the upgraded Firefox is so slow that rendering a page takes ages. Firefox 2 was not a daemon of speed on my system, but it was ok. Firefox is installed with the following flags:

Code:
[ebuild   R   ] www-client/mozilla-firefox-3.0.5  USE="dbus gnome ipv6 java startup-notification xulrunner -bindist -custom-optimization -iceweasel -mozdevelop -restrict-javascript"


And here comes my emerge --info:

Code:
Portage 2.1.4.5 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 i686)
=================================================================
System uname: 2.6.27-gentoo-r7 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Timestamp of tree: Fri, 26 Dec 2008 01:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=pentium4 -fomit-frame-pointer -fno-ident"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-pipe -O2 -march=pentium4 -fomit-frame-pointer -fno-ident"
DISTDIR="/mnt/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US en_GB it_IT it es_ES es pl_PL pl ru_RU ru he_IL he zh_CN zh zh_TW uk_UA uk be_BY be be_BY@latin vi_VN vi ru_UA en_CA fr_CA fr lt_LT lt cs_CZ cs csb_PL csb ca_ES ca ca_ES@valencia eu_ES eu de_DE de hsb_DE hsb sk_SK sk gl gl_ES"
MAKEOPTS="-j2"
PKGDIR="/mnt/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/win/var-temp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/berkano /usr/local/layman/sunrise /usr/local/layman/voip /usr/local/layman/java-overlay /usr/local/overlays/local"
SYNC="rsync://192.168.1.31/gentoo-portage"
USE="16bit X a52 aac acl acpi alsa amr amrnb amrwb amuled asf asm async atm avahi avi bash-completion battery beagle berkdb bidi bluetooth boost branding browserplugin bzip2 bzlib cairo cardbus ccache chm cjk cleartype cli console cracklib crypt cups curl cyrillic daemon dbus dhcp djvu dmi dri dts dvd dvdread effects emboss enca encode epiphany exif extraicons extramodules extras fam fame fbcon ffmpeg firefox flac fontconfig foomaticdb fortran freetype ftp fuse gadu gdbm gg gif gimp glib glibc-omitfp glut gnome gphoto2 gpm grammar graphics gs gstreamer gtk gtk2 gzip h323 hal hddtemp hinotify iconv icq icu id3 id3tag idn ieee1394 ilbc imap immqt-bc inotify iproute2 ipv6 isdnlog jabber java javascript jfs jp2 jpeg kdeenablefinal kdehiddenvisibility kdexdeltas laptop libnotify libsamplerate live logrotate lzo mad magic matroska midi mikmod mime mmap mmx mmxext mp3 mpd mpeg mpeg2 mpeg4 mplayer msn mudflap musepack musicbrainz nautilus ncurses network newspr nfs nls nojoystick normalize nptl nptlonly nsplugin ntfs ocamlopt offensive ogg oggvorbis opengl openmp oscar pam pango parport pch pcmcia pcre pdf pdflib perl pic pidgin png pnp pop ppds pppd prediction pulseaudio python qq qt3support quicktime rar readline reflection reiserfs remote replaygain rtc rtsp samba scim sdl session shared sharedmem smtp sound spell spl srt sse sse2 ssl startup-notification stream subtitles svg swat sysfs t1lib taglib tcltk tcpd theora thunderbird tiff tlen tordns trayicon truetype type1 unicode usb userlocales v4l v4l2 vcd videos voice vorbis vorbis-psy wav wavpack webkit wifi win32codecs wma wmp x264 x86 xattr xcb xfs xine xml xml2 xorg xpm xslt xulrunner xv yahoo zeroconf zlib" ALSA_CARDS="intel8x0 intel8x0m usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_GB it_IT it es_ES es pl_PL pl ru_RU ru he_IL he zh_CN zh zh_TW uk_UA uk be_BY be be_BY@latin vi_VN vi ru_UA en_CA fr_CA fr lt_LT lt cs_CZ cs csb_PL csb ca_ES ca ca_ES@valencia eu_ES eu de_DE de hsb_DE hsb sk_SK sk gl gl_ES" USERLAND="GNU" VIDEO_CARDS="sis"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Does anyone has any idea what might be bad here? BTW, I did emerge -e mozilla-firefox to rebuild all possible dependencies and it hasn't changed anything.

TIA,
J.


Last edited by paluszak on Mon Dec 29, 2008 4:38 pm; edited 2 times in total
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2605

PostPosted: Sat Dec 27, 2008 3:38 am    Post subject: Reply with quote

Do you get any ideas from running Firefox from the terminal to see possible debugging information? Also, try to run it in safe mode:

Code:

firefox -safe-mode


and see if the problem goes away.
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
calicoman
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 171

PostPosted: Sat Dec 27, 2008 1:20 pm    Post subject: Reply with quote

I have the same problem - on 4 different computers. It takes an eternity for the bouncing icon to disappear! I rebuilt both firefox and mozilla launcher after I added '-firefox xulrunner' to my USE in make.conf and then did an emerge -auvDN world. I seem like mozilla-launcher is trying to find and load version 2 AND 3, but that is only a guess.

Any way, it isvery irritating.
Back to top
View user's profile Send private message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 265
Location: Warsaw, Poland

PostPosted: Sat Dec 27, 2008 2:47 pm    Post subject: Reply with quote

kalos wrote:
Do you get any ideas from running Firefox from the terminal to see possible debugging information? Also, try to run it in safe mode:

Code:

firefox -safe-mode


and see if the problem goes away.


No difference, I tried that before. :(

Any other ideas, pls? I'm used to Firefox and I find Opera quite irritating at moments.

J.
Back to top
View user's profile Send private message
Nerevar
l33t
l33t


Joined: 31 May 2008
Posts: 720

PostPosted: Sat Dec 27, 2008 3:39 pm    Post subject: Reply with quote

Have you tried clearing your ccache and rebuilding? You may need to rebuild xulrunner too.
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1602
Location: Just over the horizon

PostPosted: Sat Dec 27, 2008 3:43 pm    Post subject: Reply with quote

What version of xulrunner are you running?
Back to top
View user's profile Send private message
calicoman
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 171

PostPosted: Sat Dec 27, 2008 4:11 pm    Post subject: Reply with quote

I am not trying to take over paluszak's thread, but in my case I have xulrunner-1.8.1.19, but I also see that version 1.9.05 is available. Might that version solve the problems? If it does, then why is it not a dependency?
Frank
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2605

PostPosted: Sat Dec 27, 2008 4:24 pm    Post subject: Reply with quote

If you're thinking the versions might be the source of the problem, here's what I have and everything runs smoothly:

mozilla-firefox-3.0.5
xulrunner-1.9.0.5
mozilla-launcher-1.58
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1602
Location: Just over the horizon

PostPosted: Sat Dec 27, 2008 4:27 pm    Post subject: Reply with quote

The upgrade of firefox should have pulled in xulrunner 1.9.0.5...if not, then something is wrong. But it's good to check an make sure that all dependencies were pulled in correctly...stranger things have happened.
Back to top
View user's profile Send private message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 265
Location: Warsaw, Poland

PostPosted: Sat Dec 27, 2008 5:02 pm    Post subject: Reply with quote

platojones wrote:
The upgrade of firefox should have pulled in xulrunner 1.9.0.5...if not, then something is wrong. But it's good to check an make sure that all dependencies were pulled in correctly...stranger things have happened.


xulrunner and mozilla-launcher are pulled ok:

Code:
[ebuild   R   ] net-libs/xulrunner-1.9.0.5  USE="dbus gnome ipv6 java startup-notification -custom-optimization" 33,307 kB
[ebuild   R   ] www-client/mozilla-launcher-1.58  7 kB


And I don't think it's a launcher problem, Firefox starts up quickly, only rendering pages takes ages (about 2-3 minutes for my gmail inbox). And it's not the connection problem either, rendering compicated pages in Opera installed on the same system takes 2-3 secs.

J.
Back to top
View user's profile Send private message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 265
Location: Warsaw, Poland

PostPosted: Sat Dec 27, 2008 5:04 pm    Post subject: Reply with quote

DarrenSmith wrote:
Have you tried clearing your ccache and rebuilding? You may need to rebuild xulrunner too.


Perhaps clearing ccache would solve the problem, but, as I wrote before, I rebuilt all deps with emerge -e mozilla-firefox.

J.
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1602
Location: Just over the horizon

PostPosted: Sat Dec 27, 2008 5:08 pm    Post subject: Reply with quote

Well, trying everything can't hurt...but it's interesting that this seems to be a page rendering issue. Have you tried disabling all firefox add-ons you may have installed? Also, are you running any plugins (like flash)?
Back to top
View user's profile Send private message
calicoman
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 171

PostPosted: Sat Dec 27, 2008 5:28 pm    Post subject: Reply with quote

My mistake - both versions of xulrunner are installed, sorry to bugger up this thread.
Frank
Back to top
View user's profile Send private message
calicoman
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 171

PostPosted: Sat Dec 27, 2008 5:52 pm    Post subject: Reply with quote

I cleared ccache as Darren Smith suggested and then rebuilt xulrunner and firefox and it worked for me.
Thanks.
Frank
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2605

PostPosted: Sat Dec 27, 2008 5:57 pm    Post subject: Reply with quote

Come to think of it, I forgot to mention something. I had a similar problem with ipv6 support enabled. When I removed ipv6 support from my USE flags, kernel, and Firefox build, the problems with rendering stopped.
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1602
Location: Just over the horizon

PostPosted: Sat Dec 27, 2008 6:03 pm    Post subject: Reply with quote

calicoman wrote:
I cleared ccache as Darren Smith suggested and then rebuilt xulrunner and firefox and it worked for me.
Thanks.
Frank


Wow...I haven't used ccache for some time now, because my box if fast enough without it and I never quite trusted it to build things correctly after having some similar problems...looks like it still glitches sometimes.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sat Dec 27, 2008 6:05 pm    Post subject: Reply with quote

Yep, ccache is not use anymore when you have a QuadCore.
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1602
Location: Just over the horizon

PostPosted: Sat Dec 27, 2008 6:12 pm    Post subject: Reply with quote

d2_racing wrote:
Yep, ccache is not use anymore when you have a QuadCore.


Yes, and you know I do :D

Quote:
Come to think of it, I forgot to mention something. I had a similar problem with ipv6 support enabled. When I removed ipv6 support from my USE flags, kernel, and Firefox build, the problems with rendering stopped.


Excellent point...but you don't have to rebuild firefox to turn it off..go to about:config, and check this setting:

Code:
network.dns.disableIPv6


If it's true, then set it to false...
Back to top
View user's profile Send private message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 265
Location: Warsaw, Poland

PostPosted: Sat Dec 27, 2008 6:25 pm    Post subject: Reply with quote

platojones wrote:
Well, trying everything can't hurt...but it's interesting that this seems to be a page rendering issue. Have you tried disabling all firefox add-ons you may have installed? Also, are you running any plugins (like flash)?


When you run Firefox in safe mode, all addons are disabled. It's neither a flash issue, no-flash pages are rendered incredibly long too. Now I'm doing emerge -e mozilla-firefox with ccache cleaned completely, we'll see if it helps.
Back to top
View user's profile Send private message
Nerevar
l33t
l33t


Joined: 31 May 2008
Posts: 720

PostPosted: Sat Dec 27, 2008 6:59 pm    Post subject: Reply with quote

paluszak wrote:
Now I'm doing emerge -e mozilla-firefox with ccache cleaned completely, we'll see if it helps.

I'd recommed disabling ccache altogether if you're going to do an emerge -e. I'm very anti-ccache though.
Back to top
View user's profile Send private message
calicoman
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 171

PostPosted: Sun Dec 28, 2008 12:17 am    Post subject: Reply with quote

OK, now I am back. After I cleared ccache and rebuilt xulrunner and firefox it worked fine ----the first time. After that it went back to the same old thing. Then I tried starting in the safe mode and after I exited and restarted regular it worked fine ---one time.
So now I am more confused than ever.

By the way, is there any help on just how to edit about:config - I got messed up trying to disable IPV6? It is sure one of the most confusing things. I thought I had found some help on I some time ago, but I think that was under the Thunderbird help site. I could not find anything under the firefox help site.

Frank
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1602
Location: Just over the horizon

PostPosted: Sun Dec 28, 2008 12:21 am    Post subject: Reply with quote

calicoman wrote:
OK, now I am back. After I cleared ccache and rebuilt xulrunner and firefox it worked fine ----the first time. After that it went back to the same old thing. Then I tried starting in the safe mode and after I exited and restarted regular it worked fine ---one time.
So now I am more confused than ever.

By the way, is there any help on just how to edit about:config - I got messed up trying to disable IPV6? It is sure one of the most confusing things. I thought I had found some help on I some time ago, but I think that was under the Thunderbird help site. I could not find anything under the firefox help site.

Frank


Sorry to hear that...yes, editing about:config...at the top, you'll see a filter editor...just type (or better yet, copy and paste) network.dns.disableIPv6 into the filter to find the entry. Then you just double-click it and it will turn the 'true' into a 'false'.

EDIT: sorry, I think you want it to be true, actually...you want to disable it.
Back to top
View user's profile Send private message
calicoman
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 171

PostPosted: Sun Dec 28, 2008 12:30 am    Post subject: Reply with quote

Thanks platojones - that was quick. I just got back from the thunderbird site and edited my about:config.
I changed browser.urlbar.maxrich as suggested on another thread and also changed the IPV6, but neither helped.
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1602
Location: Just over the horizon

PostPosted: Sun Dec 28, 2008 12:39 am    Post subject: Reply with quote

calicoman wrote:
Thanks platojones - that was quick. I just got back from the thunderbird site and edited my about:config.
I changed browser.urlbar.maxrich as suggested on another thread and also changed the IPV6, but neither helped.


It sounds like your problem is a little bit different from the OP. He's got really slow page rendering...but you have slow startup. Have a look at this thread:

https://forums.gentoo.org/viewtopic-t-721901-highlight-.html

Is the problem you are having similar?
Back to top
View user's profile Send private message
LazyHeifer
n00b
n00b


Joined: 29 Mar 2005
Posts: 39
Location: NY , USA

PostPosted: Sun Dec 28, 2008 12:59 am    Post subject: Reply with quote

calicoman wrote:
Thanks platojones - that was quick. I just got back from the thunderbird site and edited my about:config.
I changed browser.urlbar.maxrich as suggested on another thread and also changed the IPV6, but neither helped.


I had a similar problem, and it appears to be now solved. Here.
_________________
Throw off those chains of reason, and your prison disappears.
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
Goto page 1, 2  Next
Page 1 of 2

 
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