Closed Bug 1802844 Opened 2 years ago Closed 2 years ago

[AMD RX 6600] H264 playback is artifacted / pixelized

Categories

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

defect

Tracking

()

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

()

Details

Attachments

(4 files)

AMD RX 6600, this clip https://www.youtube.com/watch?v=HkIKd6Ps5sc
After YT load and video playback start, video is highly pixelized in ~ 2 sec.
Only after video playback start, rewind is OK.

It's reproducible from YT. Can be reproduced by playing local downloaded clip but it takes more attempts.

Severity: -- → S3

Looks like AMD specific, unable to reproduce on Intel UHD 630.

Summary: H264 playback is artifacted / pixelized → [AMD RX 6600] H264 playback is artifacted / pixelized

Seems to be fixed by disabled zero-copy dmabuf rendering. It also fixes Bug 1779186. Will post patches for it.

Assignee: nobody → stransky

It's interesting it affects new AMD hardware and H.264 decoding only.

Depends on: 1809162

(In reply to Martin Stránský [:stransky] (ni? me) from comment #4)

Seems to be fixed by disabled zero-copy dmabuf rendering. It also fixes Bug 1779186. Will post patches for it.

I was wrong, surface copy does not fix it.

No longer depends on: 1809162

Looks like navi2x family has some VA-API issues:

https://bugzilla.redhat.com/show_bug.cgi?id=2166118
https://gitlab.freedesktop.org/mesa/mesa/-/issues/8217

so we may disable it by default.

Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/7e4e013e1f12 [Linux] Configure FEATURE_HW_DECODED_VIDEO_ZERO_COPY on Linux r=emilio https://hg.mozilla.org/integration/autoland/rev/a308651d8ecb [Linux] Use gfxVars::HwDecodedVideoZeroCopy instead of preference r=alwu https://hg.mozilla.org/integration/autoland/rev/80ef2f4a6e5d [Linux] Disable HW_DECODED_VIDEO_ZERO_COPY on AMD hardware r=aosmond
Regressions: 1823333
Duplicate of this bug: 1772028
Regressions: 1824458
No longer regressions: 1824458
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: