Closed Bug 1952648 Opened 1 year ago Closed 1 year ago

With media.ffvpx-hw.enabled all VP9 Youtube shorts flickers wildly on Win11 AMD iGPU (Fixed by disabling media.wmf.zero-copy-nv12-textures )

Categories

(Core :: Audio/Video: Playback, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1952983

People

(Reporter: mayankleoboy1, Assigned: alwu)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

Attached image Stats for nerds.png —

Enable media.ffvpx-hw.enabled
Go to https://www.youtube.com/shorts/PSgClGcTjP0

AR: Flicker
ER: Not so

You dont need to scroll through many videos/shorts before this happens. Just directly go to the video.
Edit: Did some testing and all VP9 videos flicker. AV1 videos do not flicker.

Attached file about:support —

Profile with media preset logging: https://share.firefox.dev/4hmov4Z

Alwu, this flicker is very specific to a video, so hopefully it should be easier to debug.

Flags: needinfo?(alwu)
See Also: → 1942097
Attached video Flickering video.mp4 —
Summary: With media.ffvpx-hw.enabled some specific Youtube shorts flickers wildly → With media.ffvpx-hw.enabled all VP9 Youtube shorts flickers wildly

I can reproduce this too, but this happens on all shorts videos for me, including AV1 videos. I think this might be because only hardware decoded videos are affected by this issue, so if AV1 hardware decoding isn't supported, the flickering likely won't happen in those videos.

More importantly, I noticed that setting media.wmf.zero-copy-nv12-textures to false fixes the flickering, at least on my Nvidia GPU.

Animesh, please file a new bug with STR, about:support, links to sample videos, and a log with media preset.

Disabling media.wmf.zero-copy-nv12-textures also fixes the flicker for me. However, i get a single flicker on loading the video.
Logging profile with media.wmf.zero-copy-nv12-textures=False : https://share.firefox.dev/3FfB05i

Summary: With media.ffvpx-hw.enabled all VP9 Youtube shorts flickers wildly → With media.ffvpx-hw.enabled all VP9 Youtube shorts flickers wildly on Win11 AMD iGPU (Fixed by disabling media.wmf.zero-copy-nv12-textures )

Very easy to reproduce on my 6700XT on 4k AV1, disabling media.wmf.zero-copy-nv12-textures stops the flickering but then I see stuttering instead (no dropped frames) and freezes in decoding...

Assignee: nobody → alwu
Priority: -- → P2

This pref is only flipped on for Linux (bug 1894818), so it isn't shipping on Windows at this time or affecting release users in general.

Severity: -- → S3
See Also: → 1952983

This might be fixed by bug 1952983, I will ask for the verification again when the fix lands.

Flags: needinfo?(alwu)

Can anyone help me verify this build to see if the problem is fixed or not? Thanks!

(In reply to Alastor Wu [:alwu] from comment #11)

Can anyone help me verify this build to see if the problem is fixed or not? Thanks!

This build seems to fix the issue for me - the flicker is gone.
Profile with media preet logging: https://share.firefox.dev/3DIbWDo

(In reply to Alastor Wu [:alwu] from comment #11)

Can anyone help me verify this build to see if the problem is fixed or not? Thanks!

This also fixs Bug 1945730 as well.

Thanks for verification!

Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1952983
Resolution: --- → DUPLICATE
No longer blocks: 1932772
See Also: 1952983 →
See Also: 1942097 →
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: