WebGL's texImage2D copies old video frames since Firefox 131
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr128 | --- | unaffected |
firefox131 | --- | fixed |
firefox132 | --- | fixed |
firefox133 | --- | fixed |
People
(Reporter: wessel_kroos, Unassigned)
References
(Regression)
Details
(Keywords: regression)
Attachments
(4 files)
Steps to reproduce:
I've created an isolated test case at https://codepen.io/wesselkroos/pen/MWNKZrj/f7f11e6757625699b2fdeb5adb0b7cfd
- Go to the codepen link
- Play the video
- Old and current video frames are rendered to the canvas
(See the attached screenrecording)
Actual results:
Old and current video frames are randomly rendered to the canvas.
This is a regression that started to happen today after the update to Firefox 131. Firefox 130 and lower versions are working correctly.
Oddly not all video codecs are affected. For example:
- the VP9 codec keeps rendering the first 5 or 7 frames in a random pattern
- the H264 codec (from the isolated testcase) renders old an current video frames in a random pattern
- the AV1 codec seems unaffected
This was reported by a user of my extension:
https://github.com/WesselKroos/youtube-ambilight/issues/265
All Firefox users of the Ambient light for YouTube extension are affected:
https://addons.mozilla.org/en-US/firefox/addon/ambient-light-for-youtube/
Expected results:
The current video frame should be rendered to the canvas.
Comment 1•12 days ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Graphics: CanvasWebGL' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•12 days ago
|
||
I can repro.
Bisection:
Bug 1912368 - Use GpuProcessTextureId in D3D11TextureData if compositor device is used r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D218903
Comment 3•12 days ago
|
||
Comment 4•12 days ago
|
||
Updated•12 days ago
|
Comment 5•12 days ago
|
||
Can you type "about:support" into your Firefox browser and copy-paste its contents here?
Reporter | ||
Comment 6•12 days ago
|
||
Comment 7•12 days ago
|
||
Set release status flags based on info from the regressing bug 1912368
Reporter | ||
Comment 8•12 days ago
|
||
A small correction to my first comment:
The AV1 codec seems to be affected as well: https://github.com/WesselKroos/youtube-ambilight/issues/265#issuecomment-2389563047
Comment 9•12 days ago
•
|
||
This seems dup of Bug 1922278. Fix of Bug 1922278 is waiting for review.
Updated•11 days ago
|
Updated•7 days ago
|
Updated•4 days ago
|
Description
•