firefox Intel HD Webgl performance unusable

Bug #917266 reported by jhoechtl
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Performance of WebGL on Intel HD Grafix is far from usable. I am certain this is not a capability / driver issue, as

- for exact the same hardware, the tests under Windows 7 64 bit / firefox 32 bit perform constantly at least 10x faster (dual boot system)
- compositing in KDE 4.7 (with probing disabled) feels realy fast and snappy

These test are ridiculous slow:
http://webglsamples.googlecode.com/hg/aquarium/aquarium.html
3 fps with 50 fish

http://mrdoob.github.com/three.js/examples/webgl_materials_shaders_fresnel.html
3-4 fps

http://mrdoob.github.com/three.js/examples/webgl_materials_cubemap.html

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: firefox 9.0.1+build1-0ubuntu0.11.10.2
ProcVersionSignature: Ubuntu 3.0.0-15.25-generic 3.0.13
Uname: Linux 3.0.0-15-generic x86_64
AddonCompatCheckDisabled: False
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: john 1657 F.... pulseaudio
BuildID: 20111228084940
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf6960000 irq 45'
   Mixer name : 'Intel IbexPeak HDMI'
   Components : 'HDA:111d76d5,1028040a,00100104 HDA:80862804,80860101,00100000'
   Controls : 19
   Simple ctrls : 11
Channel: release
Date: Mon Jan 16 18:21:27 2012
ForcedLayersAccel: False
InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
IpRoute:
 default via 192.168.2.1 dev wlan0 proto static
 169.254.0.0/16 dev wlan0 scope link metric 1000
 192.168.2.0/24 dev wlan0 proto kernel scope link src 192.168.2.96 metric 2
Plugins:
 Skype Buttons for Kopete - Lib=skypebuttons.so, Location=/usr/lib/mozilla/plugins
 Shockwave Flash - Lib=libflashplayer.so, Location=/usr/lib/adobe-flashplugin
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Profiles: Profile0 (Default) - LastVersion=9.0.1/20111228084940 (Running)
RunningIncompatibleAddons: False
SourcePackage: firefox
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/23/2011
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A10
dmi.board.name: 0667CC
dmi.board.vendor: Dell Inc.
dmi.board.version: A03
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA10:bd08/23/2011:svnDellInc.:pnLatitudeE6410:pvr0001:rvnDellInc.:rn0667CC:rvrA03:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E6410
dmi.product.version: 0001
dmi.sys.vendor: Dell Inc.

Revision history for this message
jhoechtl (johann-hoechtl) wrote :
Revision history for this message
madbiologist (me-again) wrote :

Does this still occur with Firefox 18 on Ubuntu 11.10? What about with Firefox 18 on Ubuntu 12.10?

Revision history for this message
madbiologist (me-again) wrote :

(I think the fix for https://bugzilla.mozilla.org/show_bug.cgi?id=732660 is in Firefox 18)

Changed in firefox (Ubuntu):
status: New → Incomplete
Revision history for this message
jhoechtl (johann-hoechtl) wrote :

I am using Kubuntu 12.10, FF 18

I get only 4 FPS on this test
http://webglsamples.googlecode.com/hg/aquarium/aquarium.html

For exact the same hardware, the tests under Windows 7 64 bit / firefox 32 bit perform constantly at least 10x faster (dual boot system)

On a five year old NVidia with considerably slower CPU it's 12 FPS under Kubuntu 12.10, FF18

So no change here. Maybe I have to tweak settings in about:config as FF is probing and actually disables Hardware accell?

Revision history for this message
jhoechtl (johann-hoechtl) wrote :

Ok, after forcing FF18 to enable WebGL with
https://wiki.mozilla.org/Blocklisting/Blocked_Graphics_Drivers#How_to_force-enable_blocked_graphics_features

webgl.force-enabled=true
webgl.msaa-force=true
layers.acceleration.force-enabled=true

for the same test
http://webglsamples.googlecode.com/hg/aquarium/aquarium.html

it is now 30 fps. So for some reasons WebGL functionality seems to get blacklisted in FF. However it seems to work realiably and stable.

On Windows it's still 40FPS but now difference is much smaller to previously 4 FPS on Linux.

Revision history for this message
madbiologist (me-again) wrote :

I wouldn't have expected that your Ironlake graphics would have been blocklisted/blacklisted on Oneiric which has mesa 7.11-0ubuntu3.2, given that according to the page you linked Firefox only needs mesa 7.10.3, but good news in the end, I guess.

If you do begin to see graphical glitches you should be able to disable the layers acceleration and keep using the WebGL force-enabled.

Changed in firefox (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.