Closed
Bug 775222
Opened 12 years ago
Closed 11 years ago
WebGL on Nightly on JellyBean is very slow
Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: ehsan.akhgari, Unassigned)
References
Details
The SpaceRocks samples runs at 2-3 fps for me.
Updated•12 years ago
|
Comment 1•12 years ago
|
||
That's an interesting find. Are we sure it's a regression form JellyBean?
Reporter | ||
Comment 2•12 years ago
|
||
(In reply to comment #1)
> That's an interesting find. Are we sure it's a regression form JellyBean?
No!
Comment 3•12 years ago
|
||
I took recently nexus-7 tablet and found nightly also very slow on JellyBean... after I added fence_sync + 565 patches I got 20FPS on webgl aquarium...
Could it be that current version of WebGL sharing is just supoer slow (slower than SW rendering path)?
So on my Galaxy Nexus with newly installed JB, I'm getting around 25-28fps with Aquarium (from my slightly changed version via http://conduit.bitops.com/~vladimir/misc/webgl-demos.html). With 565 and alpha:false flipped on and fence_sync patch from a tinderbox build, I get maybe 15% more or so, 27-30fps. That's better than ICS was here, so I'm not sure what's going on.
spacerocks I get around 10fps (with the stock one from webglsamples).
... until I zoom in and out, then I get 2-3, sometimes 4fps. Very jerky.
Comment 6•12 years ago
|
||
(In reply to Oleg Romashin (:romaxa) from comment #3)
> I took recently nexus-7 tablet and found nightly also very slow on
> JellyBean... after I added fence_sync + 565 patches I got 20FPS on webgl
> aquarium...
> Could it be that current version of WebGL sharing is just supoer slow
> (slower than SW rendering path)?
Being slower than readback is extremely unlikely. But I suppose almost anything is possible with mobile drivers.
Is it possible Spacerocks is simply Slow?
Comment 7•12 years ago
|
||
Just tested nightly on Nexus-7 and it is horribly slow...
but if in about:config set preference
webgl.prefer-16bpp -> true, then aquarium and spacerocks works with ~20FPS, looks pretty ok for me.
Compare to opera which show aquarium and spacerocks only ~6FPS
Comment 8•12 years ago
|
||
Can we set that pref true by default?
Comment 9•12 years ago
|
||
(In reply to Oleg Romashin (:romaxa) from comment #8)
> Can we set that pref true by default?
My understanding is that we need to figure out to handle this with the working group. Currently, WebGL requires 8-bit-per-channel color.
Comment 10•12 years ago
|
||
However, the data here is exactly what would help convince the working group. Jeff/Vlad are you going to push again now that we have this data, on a recent good phone on Jelly Bean?
Comment 11•11 years ago
|
||
Spacerocks in default nightly gets 19 steady-state fps.
Flipping prefer-no-alpha and prefer-16bpp I get about 20.
Closer testing might show that these are basically the same.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•