LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-26-2007, 08:14 PM   #1
comex
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Rep: Reputation: 0
X server makes Firefox slow


Specifically, opacity of non-images in Firefox.

http://lyokoscan.net/testcase.html is the page I'm using to test this (but this happens with real pages as well). It's just a basic loop that fades the two elements in and out.

The camera (an image) fades fine in all cases.

But the div ("This is test1") makes Xorg eat up 90% cpu. This doesn't happen on any other platform, and if I NX localhost and it goes through the NX server, I get a window that looks a lot like my normal Firefox window. The opacity test is sluggish because of NX, but it runs at a reasonable speed that is much faster than when I run Firefox directly.

I'm using Firefox 2.0.0.3, but the problem persists if I use 1.0 or anything else.
 
Old 05-26-2007, 09:50 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Interesting.. But is there a question, or is this just an observation?

FWIW, (neat demo btw) I can run both tests simultaneously and X takes just under 50% CPU according to TOP. The camera by itself works fine, and takes about X=6% CPU, and the red square by itself works equally fine and takes about X=20%. Quite a jump when running them both together. Hmm..
I'm using FF 1.5.0.11, nVidia GeForce4 MX440 w/9631 driver, 1600x1200 x two displays @ 16bpp color, KDE 3.5.4, and Xorg 6.9 on a 2.4 Ghz P4 running Slackware.
 
Old 05-26-2007, 09:57 PM   #3
comex
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Well the question would be how to configure X to avoid such horrible performance

To list the same info as you have, Radeon 9550 with the ati driver, 1680x1050 + 1280x1024, I have direct rendering and GL works fineish, 24 bit color, Xorg 7.2 on 2.26Ghz P4 running Debian.
 
Old 05-26-2007, 10:16 PM   #4
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Well, you might try it at 16bpp color -- it isn't like you can actually notice any difference 99.9 % of the time.
Even though GLXgears isn't useful for proving much, it shows relativity well: at 24bpp color and my current setup, I would get around 1400 fps. Then I changed to 16bpp to increase desktop speed in general, and saw an increase to about 2500 FPS. If you don't absolutely need 24bpp color, then try this
 
Old 06-05-2007, 09:20 PM   #5
comex
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
SOLVED.

I made a bunch of minor performance improvements, like enabling mtrrs, disabling composite, etc., but I finally found the magic switch.

RenderAccel. I hadn't set it. Set it to on and the testcase worked like butter.
 
  


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
KDE 3.5.5 or Xorg 7.1 makes desktop really slow vangelis Linux - Software 2 02-11-2007 11:31 AM
xmule makes internet very slow on mandrake 10 nboul Linux - Software 3 10-20-2004 03:54 PM
emerging makes everything slow doralsoral Linux - Software 6 05-30-2004 04:38 PM
File copies makes my computer slow down Creak Linux - General 14 02-27-2004 06:49 PM
Linux makes CDrom slow Kenelm Linux - Software 3 03-22-2002 01:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:42 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