Gentoo Forums
Gentoo Forums
Quick Search: in
Firefox slowness
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Pasha
n00b
n00b


Joined: 02 Mar 2005
Posts: 33
Location: Derbyshire, UK

PostPosted: Sun May 07, 2006 2:27 pm    Post subject: Firefox slowness Reply with quote

Due to the vast amount of work I am doing now at college I have been unable to visit gentoo forums very often.
I'm pretty sure this problem has been already discussed here.

I am running Gentoo on Pentium-4 3Ghz, 1024 GB RAM, 2 SATA (160+200 GB) drives. Primarily running KDE as the desktop environment.
My Mozilla Firefox is compiled with the following USE flags: ipv6 java mozdevelop xprint -debug -gnome -xinerama

The problem with Firefox is rendering of the pages. When I open some websites (especially forums using vBulletin, new AJAXy Yahoo Mail is another example) it takes quite a lot of time for the browser to render the pages - it stays non-responsive for a second or so before it displays the page in full, which is extremely annoying.

Could someone either advise me if there is a solution to this problem, or give me a link to another thread, where this has already been discussed.

Thanks
Back to top
View user's profile Send private message
alex-weej
n00b
n00b


Joined: 16 Apr 2006
Posts: 17
Location: Darlington, England

PostPosted: Sun May 07, 2006 2:46 pm    Post subject: Reply with quote

Any debugging output? (Run "firefox" in a terminal.)
Back to top
View user's profile Send private message
widremann
Veteran
Veteran


Joined: 14 Mar 2005
Posts: 1308

PostPosted: Sun May 07, 2006 3:07 pm    Post subject: Reply with quote

What's your graphics card? Are you using COMPOSITE?

I suggest using firefox-bin. I always found it to be faster than manually compiled firefox.
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


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

PostPosted: Sun May 07, 2006 7:00 pm    Post subject: Reply with quote

What version of firefox are you running?

I had this problem with 1.5.0.1-r2 but it is was completely resolved when I upgraded to 1.5.0.3.
Back to top
View user's profile Send private message
Pasha
n00b
n00b


Joined: 02 Mar 2005
Posts: 33
Location: Derbyshire, UK

PostPosted: Sun May 07, 2006 7:43 pm    Post subject: Reply with quote

No debugging output, version 1.5.0.2 (compiling 1.5.0.3 at the moment).
I am not using COMPOSITE extension, the graphics card is ATI X300 but the dri module fails to work with xorg so until my exams are over, I'm on VESA

The problem appeared quite a while ago - even when I used fglrx or dri module for xorg6.
Back to top
View user's profile Send private message
Pasha
n00b
n00b


Joined: 02 Mar 2005
Posts: 33
Location: Derbyshire, UK

PostPosted: Sun May 07, 2006 8:40 pm    Post subject: Reply with quote

Compiled 1.5.0.3 now. No change :( Still slow.

At college I have a machine similar to mine. It runs debian unstable, and still it's the same trouble with firefox.
Have no other people come across this? Do I just have a bad karma? :roll:
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Sun May 07, 2006 8:47 pm    Post subject: Reply with quote

Actually, I've noticed this problem on Gentoo since Firefox 1.0.7. Since then, I've been using Opera devel (not in Portage), and have stuck to firefox on other distros and FreeBSD, where it is not so slow.
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
Pasha
n00b
n00b


Joined: 02 Mar 2005
Posts: 33
Location: Derbyshire, UK

PostPosted: Sun May 07, 2006 10:18 pm    Post subject: Reply with quote

Yeah, it started about that time. Is anyone aware of what happened?
Would installing mozilla or seamonkey fix the prob?
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Sun May 07, 2006 10:30 pm    Post subject: Reply with quote

try
export MOZ_DISABLE_PANGO=1
and after that run firefox.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
brazzmonkey
Guru
Guru


Joined: 16 Jan 2005
Posts: 372
Location: between azerty keyboard and chair

PostPosted: Mon May 08, 2006 12:43 pm    Post subject: Reply with quote

mmmh, maybe it should try that too... firefox is awfully slow, especially at displaying some (complex ?) pages such as those which include many css styles (gentoo-wiki for instance)... for those pages, scrolling is hardly usable...
Back to top
View user's profile Send private message
Pasha
n00b
n00b


Joined: 02 Mar 2005
Posts: 33
Location: Derbyshire, UK

PostPosted: Mon May 08, 2006 10:43 pm    Post subject: Reply with quote

Gergan Penkov wrote:
try
export MOZ_DISABLE_PANGO=1
and after that run firefox.

Mine doesn't even have PANGO compiled in and exporting this variable doesn't seem to help :(
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Tue May 09, 2006 12:11 am    Post subject: Reply with quote

Which version of firefox do you use?
1.5-series have been built with pango-support by default (in fact it could not be disabled at compile time) - the only possibility is exporting this variable.
well if this does not help, I don't really now - but I don't have such problems, probably try to upgrade all the dependacies, gtk+, pango, glib - if you don't have the latest versions installed.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
enrique_swe
n00b
n00b


Joined: 15 Aug 2005
Posts: 10
Location: Gothenburg, Sweden

PostPosted: Sat May 13, 2006 5:32 am    Post subject: Reply with quote

WOW BOB WOW! :D

export MOZ_DISABLE_PANGO=1 really did the trick for me. This should really come as a USE flag option so it be included in the /usr/bin/firefox Mozilla launcher script. Anyways that's where I put it.
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Sat May 13, 2006 5:43 am    Post subject: Re: Firefox slowness Reply with quote

Pasha wrote:
Due to the vast amount of work I am doing now at college I have been unable to visit gentoo forums very often.
I'm pretty sure this problem has been already discussed here.

I am running Gentoo on Pentium-4 3Ghz, 1024 GB RAM, 2 SATA (160+200 GB) drives. Primarily running KDE as the desktop environment.
My Mozilla Firefox is compiled with the following USE flags: ipv6 java mozdevelop xprint -debug -gnome -xinerama

The problem with Firefox is rendering of the pages. When I open some websites (especially forums using vBulletin, new AJAXy Yahoo Mail is another example) it takes quite a lot of time for the browser to render the pages - it stays non-responsive for a second or so before it displays the page in full, which is extremely annoying.

Could someone either advise me if there is a solution to this problem, or give me a link to another thread, where this has already been discussed.

Thanks


A full second??!?! You mean, a million nano-seconds???? Unacceptable!
Back to top
View user's profile Send private message
phsdv
Guru
Guru


Joined: 13 Mar 2005
Posts: 372
Location: Europe

PostPosted: Sat May 13, 2006 6:29 am    Post subject: Re: Firefox slowness Reply with quote

jedsen wrote:
A full second??!?! You mean, a million nano-seconds???? Unacceptable!
one second = 1 billion nano seconds (10e-9), and yes that is way too long!
Back to top
View user's profile Send private message
R. Daneel Olivaw
n00b
n00b


Joined: 06 Jul 2004
Posts: 47

PostPosted: Sat May 13, 2006 6:31 am    Post subject: Re: Firefox slowness Reply with quote

jedsen wrote:

A full second??!?! You mean, a million nano-seconds???? Unacceptable!


you can choose between:

a million microsecond
a billion nanosecond

but you can't mix the two ;)
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Sat May 13, 2006 6:37 am    Post subject: Reply with quote

I'm an idiot. :oops: :cry:
Back to top
View user's profile Send private message
GetCool
Guru
Guru


Joined: 23 Nov 2003
Posts: 324
Location: Madison, Wisconsin

PostPosted: Sun May 14, 2006 4:48 am    Post subject: Reply with quote

Just throwing this out there, but is it possible that this firefox slowness could actually be a DNS lookup issue? Have you tested other browsers?
Back to top
View user's profile Send private message
Pasha
n00b
n00b


Joined: 02 Mar 2005
Posts: 33
Location: Derbyshire, UK

PostPosted: Wed May 24, 2006 7:20 pm    Post subject: Reply with quote

GetCool wrote:
Just throwing this out there, but is it possible that this firefox slowness could actually be a DNS lookup issue? Have you tested other browsers?

Yep - DNS works fine. MOZ_DISABLE_PANGO=1 doesn't seem to make MUCH difference though.
I've recently used firefox on windows - no problems/slowness whatsoever! :-/
Back to top
View user's profile Send private message
GetCool
Guru
Guru


Joined: 23 Nov 2003
Posts: 324
Location: Madison, Wisconsin

PostPosted: Thu May 25, 2006 12:01 am    Post subject: Reply with quote

Pasha wrote:
GetCool wrote:
Just throwing this out there, but is it possible that this firefox slowness could actually be a DNS lookup issue? Have you tested other browsers?

Yep - DNS works fine. MOZ_DISABLE_PANGO=1 doesn't seem to make MUCH difference though.
I've recently used firefox on windows - no problems/slowness whatsoever! :-/


So do you mean that DNS works fine in other applications in Linux as well? You only mention Windows here...

Not to press the issue or anything, as I'm sure you know how to do adequate testing, but I've had many strange problems with slow DNS in Linux (where it would work fine in Windows).
Back to top
View user's profile Send private message
brazzmonkey
Guru
Guru


Joined: 16 Jan 2005
Posts: 372
Location: between azerty keyboard and chair

PostPosted: Mon May 29, 2006 5:45 pm    Post subject: Reply with quote

Gergan Penkov wrote:
try
export MOZ_DISABLE_PANGO=1
and after that run firefox.


hey that finally did the trick for me too !! how do i make this setting permanent ?
Back to top
View user's profile Send private message
widremann
Veteran
Veteran


Joined: 14 Mar 2005
Posts: 1308

PostPosted: Mon May 29, 2006 10:49 pm    Post subject: Reply with quote

Pasha wrote:
No debugging output, version 1.5.0.2 (compiling 1.5.0.3 at the moment).
I am not using COMPOSITE extension, the graphics card is ATI X300 but the dri module fails to work with xorg so until my exams are over, I'm on VESA

The problem appeared quite a while ago - even when I used fglrx or dri module for xorg6.

How about not using VESA. That's a recipe for fantastic slowness. The opensource drivers for the x300 now support EXA and COMPOSITE with decent performance. You can always turn off COMPOSITE and get even better 2d performance. Never use VESA unless you absolutely can't use any other driver (e.g., if there's no driver for your card, etc.). If you're still using Xorg 6.x, the open source drivers are pretty fast, but you can't use COMPOSITE as it is incredibly slow.
Back to top
View user's profile Send private message
El_Presidente_Pufferfish
Veteran
Veteran


Joined: 11 Jul 2002
Posts: 1171
Location: Seattle

PostPosted: Thu Jun 01, 2006 3:46 pm    Post subject: Reply with quote

brazzmonkey wrote:
Gergan Penkov wrote:
try
export MOZ_DISABLE_PANGO=1
and after that run firefox.


hey that finally did the trick for me too !! how do i make this setting permanent ?


you can put it in your /usr/bin/firefox script, but that gets overwritten if you re-emerge firefox
I imagine you could also put it in one of your bash files that gets executed when you login
Back to top
View user's profile Send private message
brazzmonkey
Guru
Guru


Joined: 16 Jan 2005
Posts: 372
Location: between azerty keyboard and chair

PostPosted: Thu Jun 01, 2006 3:51 pm    Post subject: Reply with quote

El_Presidente_Pufferfish wrote:
you can put it in your /usr/bin/firefox script, but that gets overwritten if you re-emerge firefox
I imagine you could also put it in one of your bash files that gets executed when you login


okidoki, thanks for that Mister Presidente ! you'll get my vote !
Back to top
View user's profile Send private message
nevis2us
n00b
n00b


Joined: 24 Jan 2006
Posts: 1

PostPosted: Sun Jun 04, 2006 10:36 pm    Post subject: Reply with quote

Gergan Penkov wrote:
try
export MOZ_DISABLE_PANGO=1
and after that run firefox.


That worked for me too. Thanks. How did you come up with the solution BTW?
This definitely should be the default with a notice in emerge log now as 1.5 had been marked stable.
/etc/env.d/10mozilla looks like a good place to add the above variable.
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
Page 1 of 1

 
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