| View previous topic :: View next topic |
| Author |
Message |
Pasha n00b

Joined: 02 Mar 2005 Posts: 33 Location: Derbyshire, UK
|
Posted: Sun May 07, 2006 2:27 pm Post subject: Firefox slowness |
|
|
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 |
|
 |
alex-weej n00b

Joined: 16 Apr 2006 Posts: 17 Location: Darlington, England
|
Posted: Sun May 07, 2006 2:46 pm Post subject: |
|
|
| Any debugging output? (Run "firefox" in a terminal.) |
|
| Back to top |
|
 |
widremann Veteran

Joined: 14 Mar 2005 Posts: 1308
|
Posted: Sun May 07, 2006 3:07 pm Post subject: |
|
|
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 |
|
 |
platojones Veteran


Joined: 23 Oct 2002 Posts: 1390 Location: Just over the horizon
|
Posted: Sun May 07, 2006 7:00 pm Post subject: |
|
|
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 |
|
 |
Pasha n00b

Joined: 02 Mar 2005 Posts: 33 Location: Derbyshire, UK
|
Posted: Sun May 07, 2006 7:43 pm Post subject: |
|
|
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 |
|
 |
Pasha n00b

Joined: 02 Mar 2005 Posts: 33 Location: Derbyshire, UK
|
Posted: Sun May 07, 2006 8:40 pm Post subject: |
|
|
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?  |
|
| Back to top |
|
 |
Kenji Miyamoto Veteran


Joined: 28 May 2005 Posts: 1452 Location: Looking over your shoulder.
|
Posted: Sun May 07, 2006 8:47 pm Post subject: |
|
|
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 |
|
 |
Pasha n00b

Joined: 02 Mar 2005 Posts: 33 Location: Derbyshire, UK
|
Posted: Sun May 07, 2006 10:18 pm Post subject: |
|
|
Yeah, it started about that time. Is anyone aware of what happened?
Would installing mozilla or seamonkey fix the prob? |
|
| Back to top |
|
 |
Gergan Penkov Veteran


Joined: 17 Jul 2004 Posts: 1464 Location: das kleinste Kuhdorf Deutschlands :)
|
Posted: Sun May 07, 2006 10:30 pm Post subject: |
|
|
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 |
|
 |
brazzmonkey Guru


Joined: 16 Jan 2005 Posts: 372 Location: between azerty keyboard and chair
|
Posted: Mon May 08, 2006 12:43 pm Post subject: |
|
|
| 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 |
|
 |
Pasha n00b

Joined: 02 Mar 2005 Posts: 33 Location: Derbyshire, UK
|
Posted: Mon May 08, 2006 10:43 pm Post subject: |
|
|
| 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 |
|
 |
Gergan Penkov Veteran


Joined: 17 Jul 2004 Posts: 1464 Location: das kleinste Kuhdorf Deutschlands :)
|
Posted: Tue May 09, 2006 12:11 am Post subject: |
|
|
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 |
|
 |
enrique_swe n00b


Joined: 15 Aug 2005 Posts: 10 Location: Gothenburg, Sweden
|
Posted: Sat May 13, 2006 5:32 am Post subject: |
|
|
WOW BOB WOW!
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 |
|
 |
jedsen Apprentice

Joined: 15 Oct 2004 Posts: 276 Location: Sacramento, California, USA
|
Posted: Sat May 13, 2006 5:43 am Post subject: Re: Firefox slowness |
|
|
| 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 |
|
 |
phsdv Guru


Joined: 13 Mar 2005 Posts: 372 Location: Europe
|
Posted: Sat May 13, 2006 6:29 am Post subject: Re: Firefox slowness |
|
|
| 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 |
|
 |
R. Daneel Olivaw n00b

Joined: 06 Jul 2004 Posts: 47
|
Posted: Sat May 13, 2006 6:31 am Post subject: Re: Firefox slowness |
|
|
| 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 |
|
 |
jedsen Apprentice

Joined: 15 Oct 2004 Posts: 276 Location: Sacramento, California, USA
|
Posted: Sat May 13, 2006 6:37 am Post subject: |
|
|
I'm an idiot.  |
|
| Back to top |
|
 |
GetCool Guru


Joined: 23 Nov 2003 Posts: 324 Location: Madison, Wisconsin
|
Posted: Sun May 14, 2006 4:48 am Post subject: |
|
|
| 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 |
|
 |
Pasha n00b

Joined: 02 Mar 2005 Posts: 33 Location: Derbyshire, UK
|
Posted: Wed May 24, 2006 7:20 pm Post subject: |
|
|
| 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 |
|
 |
GetCool Guru


Joined: 23 Nov 2003 Posts: 324 Location: Madison, Wisconsin
|
Posted: Thu May 25, 2006 12:01 am Post subject: |
|
|
| 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 |
|
 |
brazzmonkey Guru


Joined: 16 Jan 2005 Posts: 372 Location: between azerty keyboard and chair
|
Posted: Mon May 29, 2006 5:45 pm Post subject: |
|
|
| 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 |
|
 |
widremann Veteran

Joined: 14 Mar 2005 Posts: 1308
|
Posted: Mon May 29, 2006 10:49 pm Post subject: |
|
|
| 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 |
|
 |
El_Presidente_Pufferfish Veteran


Joined: 11 Jul 2002 Posts: 1171 Location: Seattle
|
Posted: Thu Jun 01, 2006 3:46 pm Post subject: |
|
|
| 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 |
|
 |
brazzmonkey Guru


Joined: 16 Jan 2005 Posts: 372 Location: between azerty keyboard and chair
|
Posted: Thu Jun 01, 2006 3:51 pm Post subject: |
|
|
| 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 |
|
 |
nevis2us n00b

Joined: 24 Jan 2006 Posts: 1
|
Posted: Sun Jun 04, 2006 10:36 pm Post subject: |
|
|
| 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 |
|
 |
|