Open
Bug 1309381
Opened 9 years ago
Updated 3 years ago
New spatial audio on Facebook demo has crazy slow mouse movement relative to Chrome.
Categories
(Core :: Graphics, defect, P3)
Core
Graphics
Tracking
()
NEW
| Tracking | Status | |
|---|---|---|
| platform-rel | --- | + |
People
(Reporter: mbest, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: stale-bug, Whiteboard: [platform-rel-Facebook])
https://media.fb.com/2016/10/07/introducing-spatial-audio-for-360-videos-on-facebook/
Test the 360 video examples in Chrome and Firefox.
Experienced behavior: Firefox seems to lag behind and stutter even though video playback is smooth and canvas frame rate is high.
Expected behavior: Movement should be smooth as seen in Chrome.
| Reporter | ||
Updated•9 years ago
|
platform-rel: --- → ?
Comment 1•9 years ago
|
||
Jean-Yves, can you take a look at this and tell me if this is really a playback issue?
Flags: needinfo?(jyavenard)
| Reporter | ||
Comment 2•9 years ago
|
||
One thing I'd like to add on that note, the video playback is consistently smooth, this suggests that the 3D is also smooth as matter of necessity. I would certainly look at input as a potential cause.
Updated•9 years ago
|
platform-rel: ? → +
There is a known issue on YouTube with polling the screen size.
Updated•9 years ago
|
Priority: -- → P1
Updated•9 years ago
|
Rank: 10
Whiteboard: [platform-rel-Facebook]
Comment 4•9 years ago
|
||
I just get that my browser isn't supported (nightly or release on Windows 10).
Updated•9 years ago
|
Summary: New spacial audio on Facebook demo has crazy slow mouse movement relative to Chrome. → New spatial audio on Facebook demo has crazy slow mouse movement relative to Chrome.
:jya per Comment 1 - any feedback?
Comment 6•9 years ago
|
||
Got error messages like:
[Child 2986] WARNING: We can't support non-premultiplied alpha for video!: '(aSurfaceFlags & SFE_PREFER_NO_PREMULTIPLY_ALPHA) == 0', file /media/jwwang/DATA/codebase/mozilla-central/firefox/layout/base/nsLayoutUtils.cpp, line 7274
JavaScript warning: https://www.facebook.com/rsrc.php/v3izp-4/yj/l/en_US/4XAKaL43YwK.js, line 1056: Error: WebGL: texImage2D: Failed to hit GPU-copy fast-path. Falling back to CPU upload.
JavaScript warning: https://www.facebook.com/rsrc.php/v3izp-4/yj/l/en_US/4XAKaL43YwK.js, line 1056: Error: WebGL: texImage2D: Conversion requires pixel reformatting.
[Child 2986] WARNING: We can't support non-premultiplied alpha for video!: '(aSurfaceFlags & SFE_PREFER_NO_PREMULTIPLY_ALPHA) == 0', file /media/jwwang/DATA/codebase/mozilla-central/firefox/layout/base/nsLayoutUtils.cpp, line 7274
JavaScript warning: https://www.facebook.com/rsrc.php/v3izp-4/yj/l/en_US/4XAKaL43YwK.js, line 1056: Error: WebGL: texImage2D: Failed to hit GPU-copy fast-path. Falling back to CPU upload.
JavaScript warning: https://www.facebook.com/rsrc.php/v3izp-4/yj/l/en_US/4XAKaL43YwK.js, line 1056: Error: WebGL: texImage2D: Conversion requires pixel reformatting.
[Child 2986] WARNING: We can't support non-premultiplied alpha for video!: '(aSurfaceFlags & SFE_PREFER_NO_PREMULTIPLY_ALPHA) == 0', file /media/jwwang/DATA/codebase/mozilla-central/firefox/layout/base/nsLayoutUtils.cpp, line 7274
Looks like a gfx issue.
Component: Audio/Video: Playback → Graphics
Flags: needinfo?(jyavenard)
Comment 7•9 years ago
|
||
Milan, in partner triage we thought we'd leave this to you. Should we get activity here?
Flags: needinfo?(milan)
Sure, we get facebook to not use non-premult alpha for video. This seems to be an evangelism. The above is a warning that they are doing things which drop us off the optimized path and into the weeds.
This starts in layout/video - Matt, is there something that we can do with this kind of data?
Flags: needinfo?(milan) → needinfo?(matt.woodrow)
Comment 9•9 years ago
|
||
What platform is this happening on?
non-premult shouldn't really matter for video, as it's usually opaque and there isn't any alpha to be multiplied.
It sounds like we're just missing a fast path for the video format here, shouldn't be too hard to fix.
Flags: needinfo?(matt.woodrow) → needinfo?(jgilbert)
Comment 10•9 years ago
|
||
Bug 1350066 is trying to remove "WARNING: We can't support non-premultiplied alpha for video!".
See Also: → 1350066
Comment 11•9 years ago
|
||
Bug 1350107 will make it clear why we're falling off the fast path.
It's likely they're either:
* picking the wrong premult setting (they can fix this)
* our code is failing to blit from the layers::Image (we'd need to fix)
Assignee: nobody → jgilbert
Flags: needinfo?(jgilbert)
Comment 12•9 years ago
|
||
> Error: WebGL perf warning: texImage2D: Failed to hit GPU-copy fast-path. (src type 11) Falling back to CPU upload. (UNPACK_PREMULTIPLY_ALPHA_WEBGL is not false) 16RV_DNduLc.js:29:14353
> Error: WebGL perf warning: texImage2D: Conversion requires pixel reformatting. (27->20) 16RV_DNduLc.js:29:14353
Comment 13•9 years ago
|
||
(In reply to Jeff Gilbert [:jgilbert] from comment #12)
> > Error: WebGL perf warning: texImage2D: Failed to hit GPU-copy fast-path. (src type 11) Falling back to CPU upload. (UNPACK_PREMULTIPLY_ALPHA_WEBGL is not false) 16RV_DNduLc.js:29:14353
> > Error: WebGL perf warning: texImage2D: Conversion requires pixel reformatting. (27->20) 16RV_DNduLc.js:29:14353
This doesn't necessarily mean that fixing the premult setting will fix it, since it's before we try blitting. I'll check.
| Comment hidden (obsolete) |
Updated•7 years ago
|
Assignee: jgilbert → nobody
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•