You are not logged in.

#1 2011-04-01 08:51:11

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Firefox 4 hardware acceleration

Hello fellows,

has anyone got hardware acceleration working on linux with firefox 4? I have checked "use hardware acceleration when available" under the preferences, but in the about:support page i get:

GPU Accelerated Windows 0/1

I am using nvidia binary with 8600gt card. I know that hardware acceleration for linux is very buggy, but i read it somewhere that it is supposed to be working nicely with nvidia binary drivers.

Please post your thoughts and experiences about this.

Offline

#2 2011-04-01 14:50:31

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Firefox 4 hardware acceleration

I think there are still issues with flashplayer and hardware being enabled.

Last edited by stlarch (2011-04-01 15:55:46)

Offline

#3 2011-04-01 15:54:55

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Firefox 4 hardware acceleration

Try starting with

MOZ_ACCELERATED=1 MOZ_GLX_IGNORE_BLACKLIST=1 firefox

Works for me on r600g but makes it actually slower. Maybe it's better with nvidia proprietary.


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#4 2011-04-01 20:03:14

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: Firefox 4 hardware acceleration

Launching Firefox the way Cdh mentioned enables acceleration. However, in my case, with nouveau drivers and gallium I experience frequent browser misbehavior -- e.g. when scrolling 'code' boxes on the forum color artifacts appear on the screen, some Youtube videos load with malformed picture (reloading several times seem to help), performance issues are common as well. Ffox without acceleration works very well, though.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#5 2011-04-01 23:16:52

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Firefox 4 hardware acceleration

It works well only with the Nvidia driver (the closed one), you can see that on the official mozilla wiki

https://wiki.mozilla.org/Blocklisting/B … cs_Drivers

No issues here, but I didn't see anything ... different.

Last edited by flamelab (2011-04-01 23:17:57)

Offline

#6 2011-04-02 00:04:19

gorudonu
Member
Registered: 2010-08-08
Posts: 37

Re: Firefox 4 hardware acceleration

flamelab wrote:

It works well only with the Nvidia driver (the closed one), you can see that on the official mozilla wiki

I can't agree, intel gma965 here, the result:

http://wstaw.org/m/2011/04/02/ff_jpg_750x750_q85.jpg

--mod edit: use thumbnails, see https://wiki.archlinux.org/index.php/Fo … s_and_Code

Last edited by litemotiv (2011-04-02 11:22:28)

Offline

#7 2011-04-02 00:21:26

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Firefox 4 hardware acceleration

What you need to differentiate here is WebGL and layers acceleration. WebGL is whitelisted only on nvidia cards. Opengl layers acceleration is turned off by default on *any* card, because it's not ready yet in Linux. But that doesn't mean layers aren't accelerated. They are, just not with opengl, but through xrender. That's why the FishIE test works quite well even on low end intel cards. Same goes for the psychedelic test: http://ie.microsoft.com/testdrive/Perfo … cBrowsing/

Offline

#8 2011-04-02 01:11:42

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Firefox 4 hardware acceleration

gorudonu wrote:
flamelab wrote:

It works well only with the Nvidia driver (the closed one), you can see that on the official mozilla wiki

I can't agree, intel gma965 here, the result:

http://wstaw.org/m/2011/04/02/ff_jpg_750x750_q85.jpg

With 20 fish, it can go well on any system. It should go well with much more fish:

http://www.youtube.com/watch?v=_a-YXMbKz-A

Offline

#9 2011-04-02 10:44:41

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Firefox 4 hardware acceleration

Cdh wrote:

Try starting with

MOZ_ACCELERATED=1 MOZ_GLX_IGNORE_BLACKLIST=1 firefox

Works for me on r600g but makes it actually slower. Maybe it's better with nvidia proprietary.

Thanks that did enable hw acceleration, but in my case too, actually made the rendering slower.

On this site:

http://demos.hacks.mozilla.org/openweb/HWACCEL/

Without acceleration, my old p4 managed 45+ fps, and with acceleration it managed only 10-15 fps.

I don't know what exactly the problem is, but i think i'll pass on this, till it gets more stable.

Thanks for the input everyone.

Offline

#10 2011-04-02 12:29:04

lives2evil
Member
From: GMT+7
Registered: 2010-03-21
Posts: 244

Re: Firefox 4 hardware acceleration

In my case (core i3 graphics). Nothing really change. With acceleration the result is pretty close to normal. Except I think it's a bit more unstable since the frame rate drop a bit some times.
Same page:
http://demos.hacks.mozilla.org/openweb/HWACCEL/


tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ

Offline

#11 2011-04-02 13:26:47

gorudonu
Member
Registered: 2010-08-08
Posts: 37

Re: Firefox 4 hardware acceleration

flamelab wrote:
gorudonu wrote:
flamelab wrote:

It works well only with the Nvidia driver (the closed one), you can see that on the official mozilla wiki

I can't agree, intel gma965 here, the result:

http://wstaw.org/m/2011/04/02/ff_jpg_750x750_q85.jpg

With 20 fish, it can go well on any system. It should go well with much more fish:

http://www.youtube.com/watch?v=_a-YXMbKz-A

I've got 30fps with 250 fish, 21 fps with 500 fish and 8-9 fps with 1000 fish wink for intel gma965 in linux it isnt that bad.

Offline

#12 2011-04-02 14:28:07

dwidmann
Member
From: Gordonsville, Virginia, US
Registered: 2009-05-27
Posts: 60

Re: Firefox 4 hardware acceleration

Much slower with the "acceleration" enabled indeed. It must still need a lot of work.
Opera and Chromium both handled 20 fish at about 30FPS, and quickly dropped off from there.
Firefox 4 on the other hand did quite well with acceleration off ... it held 60FPS up to 500 fish, and dropped to only 35FPS at 1000 fish, not too shabby after all.
With "acceleration" though (and propietary nvidia drivers) ... 50fps with one fish, drops off to 30fps by 500, and down to about 22 with 1000 ...

Last edited by dwidmann (2011-04-02 14:29:25)


"I refuse to be part of a society that encourages the rampant abuse of its own language." ~ BM

Offline

#13 2011-04-02 23:35:23

lives2evil
Member
From: GMT+7
Registered: 2010-03-21
Posts: 244

Re: Firefox 4 hardware acceleration

Well, Acceleration is nice but I'm pretty content with firefox right now. Even without graphics acceleration the speed improvement is nice.


tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ

Offline

Board footer

Powered by FluxBB