LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-17-2008, 01:09 AM   #1
zoran119
Member
 
Registered: Dec 2007
Posts: 217

Rep: Reputation: 18
firefox performance issue


hi everyone,

i tried to view the screen shots that are on http://linuxmint.com/ and it uses one of those fancy pop-up js image preview things.

my firefox is struggling to show it. 100% cpu usage and it takes about 7 seconds to move from one image to the other.

any idea on how to fix it?
 
Old 12-17-2008, 02:17 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Hmm, it works fine here, but then I have a very powerful machine. What version of FF are you using ?
 
Old 12-17-2008, 02:31 AM   #3
zoran119
Member
 
Registered: Dec 2007
Posts: 217

Original Poster
Rep: Reputation: 18
Code:
$ firefox --version
Mozilla Firefox 2.0.0.18, Copyright (c) 1998 - 2008 mozilla.org
$ uname -a
Linux vulcan 2.6.21.5-smp #1 SMP Tue Jun 19 14:52:25 CDT 2007 i686 AMD Sempron(tm) Processor 3000+ AuthenticAMD GNU/Linux
 
Old 12-17-2008, 02:34 AM   #4
todders
Member
 
Registered: Nov 2006
Location: watford
Distribution: Slackware 13 64Bit Multi-Lib KDE4.2.4
Posts: 83

Rep: Reputation: 18
I can confirm i have no issues with this website using slackware 12.2 and firefox version 3.04.

Last edited by todders; 12-17-2008 at 02:40 AM.
 
Old 12-17-2008, 02:36 AM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Have you tried FF 3.0 to see if it does this on there too ?
 
Old 12-17-2008, 02:56 AM   #6
zoran119
Member
 
Registered: Dec 2007
Posts: 217

Original Poster
Rep: Reputation: 18
no change... still very slow... very slow... i'm starting to think it's the video card drivers. could this be the reason?

Code:
$ firefox --version
Mozilla Firefox 3.0.4, Copyright (c) 1998 - 2008 mozilla.org
$ glxinfo | grep rendering
libGL warning: 3D driver claims to not support visual 0x4b
direct rendering: Yes
$ glxgears
libGL warning: 3D driver claims to not support visual 0x4b
1245 frames in 5.0 seconds = 248.915 FPS
1257 frames in 5.0 seconds = 251.336 FPS
1257 frames in 5.0 seconds = 251.327 FPS
1257 frames in 5.0 seconds = 251.321 FPS
1257 frames in 5.0 seconds = 251.328 FPS
EDIT: Radeon 9600 with radeon driver, dual screens

Last edited by zoran119; 12-17-2008 at 03:03 AM.
 
Old 12-17-2008, 04:04 AM   #7
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Tried it under akregator, Opera, Konqueror and Firefox 2.0 and none of them has a 'performance problem' with it; takes a few seconds to load, and then it scrolls sideways as fast as you would expect.
 
Old 12-17-2008, 04:20 AM   #8
zoran119
Member
 
Registered: Dec 2007
Posts: 217

Original Poster
Rep: Reputation: 18
there is no problem with the side scrolling... it's once i click on one of those screen shots to have a look at that the 'performance' goes down. i tried it in konqueror and it is much better (even tho it seems to render the page quite differently to firefox)
 
Old 12-17-2008, 06:41 AM   #9
speccy
Member
 
Registered: Dec 2008
Location: Portsmouth, UK
Distribution: slackware
Posts: 39

Rep: Reputation: 32
I have had the same problems in the past with FF2, Adding:

Code:
Option "AccelMethod" "XAA"
Option "XaaNoOffscreenPixmaps" "1"
to xorg.conf helped a lot.
 
Old 12-17-2008, 07:03 AM   #10
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by zoran119 View Post
no change... still very slow... very slow... i'm starting to think it's the video card drivers. could this be the reason?

Code:
$ firefox --version
Mozilla Firefox 3.0.4, Copyright (c) 1998 - 2008 mozilla.org
$ glxinfo | grep rendering
libGL warning: 3D driver claims to not support visual 0x4b
direct rendering: Yes
$ glxgears
libGL warning: 3D driver claims to not support visual 0x4b
1245 frames in 5.0 seconds = 248.915 FPS
1257 frames in 5.0 seconds = 251.336 FPS
1257 frames in 5.0 seconds = 251.327 FPS
1257 frames in 5.0 seconds = 251.321 FPS
1257 frames in 5.0 seconds = 251.328 FPS
EDIT: Radeon 9600 with radeon driver, dual screens
I'm not sure if that could explain delay several seconds long in firefox. But IMO fps is pretty low, and scrolling on the page you mentioned isn't really smooth. Modern cards normally have above 2500 fps in glxgears. But this is for just one monitor (you mentioned dual-screen, and I have no idea how it can affect fps) You could try googling for "libGL warning: 3D driver claims to not support visual 0x4b
"

Last edited by ErV; 12-17-2008 at 07:06 AM.
 
Old 12-18-2008, 12:42 AM   #11
zoran119
Member
 
Registered: Dec 2007
Posts: 217

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by speccy View Post
I have had the same problems in the past with FF2, Adding:

Code:
Option "AccelMethod" "XAA"
Option "XaaNoOffscreenPixmaps" "1"
to xorg.conf helped a lot.
That did it!!! It is so much better now!!! Thank you!!!
 
Old 12-18-2008, 01:03 AM   #12
zoran119
Member
 
Registered: Dec 2007
Posts: 217

Original Poster
Rep: Reputation: 18
an additional question now that i'm running ff3... how do you keep it up to date... ff mailing list? i got mine from slacky.eu
 
Old 12-18-2008, 01:08 AM   #13
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
an additional question now that i'm running ff3... how do you keep it up to date... ff mailing list? i got mine from slacky.eu
Firefox is a standard Slackware package. The packages at slacky.eu are non-stock or bleeding edge packages. To know when to update Firefox simply join the security mailing list at slackware.com. You'll be notified when there is a security update for Firefox and any other Slackware package.
 
Old 12-18-2008, 01:18 AM   #14
zoran119
Member
 
Registered: Dec 2007
Posts: 217

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by Woodsman View Post
Firefox is a standard Slackware package. The packages at slacky.eu are non-stock or bleeding edge packages. To know when to update Firefox simply join the security mailing list at slackware.com. You'll be notified when there is a security update for Firefox and any other Slackware package.
ok. i was a bit confused because i'm still running 12.0 and the last firefox update is 2.0.0.18... but i now want to run firefox 3.

so if i just keep an eye out on the change log and get firefox updates from http://slackware.osuosl.org/slackware-12.2/ (12.2 package). is this ok?
 
Old 12-21-2008, 01:06 PM   #15
rvo
Member
 
Registered: Sep 2008
Location: Paraguay
Distribution: Slackware
Posts: 31

Rep: Reputation: 15
Firefox is slow when I visit some sites with alot of flash animations, for example, movies.ign.com is ridiculous slow on my system, I dont think my hardware is the problem (Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz, 2GB RAM, GeForce 8500 GT, etc)

I tried those xorg.conf options from above and nothing happened.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet performance issue rswier Linux - General 1 07-11-2007 05:12 PM
performance/configuration issue... ferradura Linux - Kernel 4 05-16-2007 09:34 PM
MD Raid5 Performance issue yepp Linux - Hardware 1 10-11-2006 09:30 AM
Firefox -- improving performance 1kyle SUSE / openSUSE 2 03-23-2006 02:36 AM
raid performance issue anoop_chandran Linux - General 1 06-06-2003 04:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration