Closed Bug 803957 Opened 12 years ago Closed 6 years ago

coffeephysics demo is slower with HWA on

Categories

(Core :: Graphics: Canvas2D, defect)

19 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mayankleoboy1, Unassigned)

References

Details

(Keywords: perf)

Attachments

(1 file)

Attached file about support.txt
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/19.0 Firefox/19.0
Build ID: 20121020030554

Steps to reproduce:

1. Enable HWA
2. open http://soulwire.github.com/Coffee-Physics/
3.Choose "Canvas" as the rendering method (default option selected is webgl)
4. Watch the FPS.  Around 6 FPS.
5. GPU usage is 99%. But ~ 6FPS only.


Now disable HWA and repeat.  The FPS is 60 and demo is quite smooth. 


Actual results:

HWA causes the demo to run slower.


Expected results:

HWA on should give better performance than HWA off.


HWA ON profile  :  http://people.mozilla.com/~bgirard/cleopatra/?report=233821d2dc456db560fd846fd1b60d3501b8a4ef

HWA OFF profile : http://people.mozilla.com/~bgirard/cleopatra/?report=a2b1876af32c0c1de7885b8d7f020195df148e39


possibly related to https://bugzilla.mozilla.org/show_bug.cgi?id=731566
but the main issue here is that HWA should be faster or on par with HWA off.
Component: Untriaged → Canvas: 2D
Product: Firefox → Core
I can confirm
http://hg.mozilla.org/mozilla-central/rev/abe709bfc49a
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/19.0 Firefox/19.0 ID:20121021030553
Status: UNCONFIRMED → NEW
Ever confirmed: true
setting  layers.acceleration.disabled = false corrects this issue.
When i filed this bug, layers.acceleration.disabled = true.
What is the default setting for nightly ?
(In reply to mayankleoboy1 from comment #2)
> setting  layers.acceleration.disabled = false corrects this issue.
> When i filed this bug, layers.acceleration.disabled = true.
> What is the default setting for nightly ?

For Windows, default is true.
(In reply to Alice0775 White from comment #1)
> I can confirm
> http://hg.mozilla.org/mozilla-central/rev/abe709bfc49a
> Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/19.0 Firefox/19.0
> ID:20121021030553

I got rubbish performance and massive GC pauses whether HWA was on or off, see https://bugzilla.mozilla.org/show_bug.cgi?id=732471#c7
Depends on: 732471
In the same demo, if you select "DOM" as the rendering method, nothing is actually drawn on the screen. This also occurs in FF16.
Keywords: perf
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: