Open
Bug 1087827
Opened 11 years ago
Updated 3 years ago
[Azure] JavaScript canvas performance is very bad with hardware acceleration ON
Categories
(Core :: Graphics, defect)
Tracking
()
NEW
People
(Reporter: geo.demoulin, Unassigned)
Details
(Keywords: perf)
User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
Build ID: 20141011015303
Steps to reproduce:
1. Go to http://soulwire.github.io/sketch.js/examples/particles.html
2. Move your mouse and notice it is running very slow
3. Start Firefox in safe mode and repeat
4. Notice it is now fluid
Actual results:
There is a difference of performance between normal mode and safe mode, which shouldn't happen.
This has also been tested on a new (blank) profile and on a different computer.
Chrome behaves properly.
Expected results:
No difference (or at least a smaller one) between normal mode and safe mode.
Comment 1•11 years ago
|
||
Could you paste "Graphic" section of about:support ?
Flags: needinfo?(tyfoxteam)
| Reporter | ||
Comment 2•11 years ago
|
||
Hi,
here you go:
Graphics
Adapter Description NVIDIA GeForce 210
Adapter Drivers nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
Adapter RAM 1024
ClearType Parameters D [ Gamma: 2200 Pixel Structure: R ClearType Level: 100 Enhanced Contrast: 50 ] D [ Gamma: 2200 Pixel Structure: R ClearType Level: 100 Enhanced Contrast: 50 ]
Device ID 0x0a65
Direct2D Enabled true
DirectWrite Enabled true (6.2.9200.16581)
Driver Date 7-2-2014
Driver Version 9.18.13.4052
GPU #2 Active false
GPU Accelerated Windows 1/1 Direct3D 11 (OMTC)
Vendor ID 0x10de
WebGL Renderer Google Inc. -- ANGLE (NVIDIA GeForce 210 Direct3D9Ex vs_3_0 ps_3_0)
windowLayerManagerRemote true
AzureCanvasBackend direct2d
AzureContentBackend direct2d
AzureFallbackCanvasBackend cairo
AzureSkiaAccelerated 0
Flags: needinfo?(tyfoxteam)
Updated•11 years ago
|
Status: UNCONFIRMED → NEW
Component: Untriaged → Graphics
Ever confirmed: true
Product: Firefox → Core
Version: 33 Branch → Trunk
| Reporter | ||
Comment 3•11 years ago
|
||
Disabling hardware acceleration (setting gfx.direct2d.disabled to true in about:config) seems to "solve" the problem.
Seems that hardware acceleration is plying up here.
| Reporter | ||
Updated•11 years ago
|
Summary: JavaScript canvas performance is very bad when not in safe mode → JavaScript canvas performance is very bad with hardware acceleration ON
Comment 4•11 years ago
|
||
Profiler: http://people.mozilla.org/~bgirard/cleopatra/#report=8345933f7f53b828ae2b1fcbda8307d3f7ab13a6
Keywords: perf
Comment 5•11 years ago
|
||
Still see this in a current nightly build?
Comment 6•11 years ago
|
||
I can still reproduce the slowness with enabled HWA in Nightly41.0a1 non-e10s.
| Reporter | ||
Comment 7•11 years ago
|
||
Seems to work for me in 41.0a2 (2015-07-05) e10s and non-e10s.
Might need confirmation on this.
Comment 8•11 years ago
|
||
I can still reproduce the super slowness with enabled HWA in Aurora41.0a2 & Nightly42.0a1 non-e10s/e10s.
Issue still exists for me on Aurora 41.0b4 when hardware acceleration is on.
Comment 10•11 years ago
|
||
Setting gfx.canvas.azure.backends = skia,cairo fixes the slowness
Summary: JavaScript canvas performance is very bad with hardware acceleration ON → [Azure] JavaScript canvas performance is very bad with hardware acceleration ON
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•