When direct composition is disabled, VP9 video flicks by using ffvpx hw decoding with zero-copy
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
People
(Reporter: sporocyst.tw, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
38.37 KB,
text/plain
|
Details |
use latest nightly
useragent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:137.0) Gecko/20100101 Firefox/137.0
STR:
- set pref as below:
gfx.webrender.dcomp-win.enabled=falsemedia.ffvpx-hw.enabled=truemedia.wmf.zero-copy-nv12-textures=true
- play VP9 video (there are many on youtube.com)
Expect:
Videos play smoothly
Actual:
Videos play but flick
I mentioned this initially in comment15 of bug1936717, but feels it is kind of another issue to bug reporter's problem. So I decided to file a new one.
The key here is to disable direct composition. On some PC, direct composition is spontaneously blocked as a workaround to bug 1638709, which is the very reason why I found this issue, but it can be manually disabled by setting the pref and reproduce the problem.
I believe this actually affects both VP9 and AV1 videos, but I can't confirm it on AV1 since my intel iGPU don't support AV1 HW decoding.
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 3•1 year ago
|
||
Is this issue also happening when setting media.ffvpx-hw.enabled to false? Thanks!
| Reporter | ||
Comment 4•1 year ago
|
||
It happens only when media.ffvpx-hw.enabled is true.
If I set media.ffvpx-hw.enabled to false, the flickering disappears while HW decoding remains functional and working based on what I've seen on Windows' task manager.
Also, setting media.wmf.zero-copy-nv12-textures to false or gfx.direct3d11.reuse-decoder-device to false can avoid the flickering.
Comment 5•1 year ago
|
||
Ok, I think it's the same as the behavior I observed before, enabling zero copy is still not working well. I will check it later.
Updated•1 year ago
|
Description
•