h264 hardware video decoding broken in 5.19 on Intel(R) Celeron(R) N3060
H264 video decoding worked fine in 5.18, then I updated to 5.19 and it is broken. Steps to reproduce:
- Play "Big Buck Bunny - FULL HD 60FPS.mp4" (md5: 74e48b8410c6099e3ca28a1034b2f146) with mpv 0.34.1 using hardware decoding via vaapi (enabled by default). Looks like keyframes are decoded correctly, but everything in between is mostly garbage. No errors are reported. Screenshot is attached.
The issue is 100% reproducible. drm-tip
is also affected. Bisecting points at drm/i915: Individualize fences before adding to dma_resv obj
. I can confirm that reverting this commit on top of drm-tip
fixes the issue, but simply reverting it is a bad idea, since it was supposed to fix another issue.
System information:
- System architecture: x86_64
- Kernel version: 5.19.2-arch1-1
- Linux distribution: Arch Linux
- Machine: QNAP TS-251A, CPU: Intel(R) Celeron(R) CPU N3060 @ 1.60GHz
- Display connector: HDMI
- dmesg with debug information: dmesg.txt
Edited by Mikhail Rudenko