24.0.7 AV1 VA-API dropping frames
System information
System:
Host: beaver Kernel: 6.9.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc
v: 14.1.1
Desktop: KDE Plasma v: 6.0.4 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
Distro: Arch Linux
CPU:
Info: 8-core model: AMD Ryzen 7 5800X3D bits: 64 type: MT MCP arch: Zen 3+
rev: 2 cache: L1: 512 KiB L2: 4 MiB L3: 96 MiB
Speed (MHz): avg: 2686 high: 3602 min/max: 2200/4549 boost: enabled cores:
1: 2200 2: 2200 3: 2200 4: 3391 5: 3249 6: 3400 7: 2901 8: 2200 9: 2200
10: 2200 11: 3400 12: 2200 13: 2200 14: 3602 15: 2200 16: 3235
bogomips: 108802
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] driver: amdgpu
v: kernel arch: RDNA-3 pcie: speed: 16 GT/s lanes: 16 ports:
active: DP-1,DP-2,DP-3 empty: HDMI-A-1,Writeback-1 bus-ID: 2b:00.0
chip-ID: 1002:744c
Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.0
compositor: kwin_wayland driver: X: loaded: modesetting
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu d-rect: 6200x3360
display-ID: 0
Monitor-1: DP-1 pos: bottom-c res: 2560x1440 size: N/A
Monitor-2: DP-2 pos: primary,top-left res: 1080x1920 size: N/A
Monitor-3: DP-3 pos: bottom-r res: 2560x1440 size: N/A
API: EGL v: 1.5 platforms: device: 0 drv: radeonsi device: 1 drv: swrast
surfaceless: drv: radeonsi wayland: drv: radeonsi x11: drv: radeonsi
inactive: gbm
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.7-arch1.3
glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 7900 XTX (radeonsi
navi31 LLVM 17.0.6 DRM 3.57 6.9.1-zen1-1-zen) device-ID: 1002:744c
display-ID: :0.0
API: Vulkan v: 1.3.279 surfaces: xcb,xlib,wayland device: 0
type: discrete-gpu driver: mesa radv device-ID: 1002:744c
Monitors 1 and 3 are 4K monitors with 150% scaling, seems like inxi
reported the wrong resolution
Describe the issue
After upgrading Arch Linux libva-mesa-driver package to 1:24.0.7, hardware accelerated AV1 with VA-API drops a lot of frames.
- mpv with
--hwdec=vaapi
spams the log with "Audio device underrun detected.", but I don't think audio decoding is the issue. Disabling audio with--audio=no
silences those messages but frame drops still occur. - Youtube in firefox with
media.ffmpeg.vaapi.enabled
set to true also drops frames when playing AV1 content, tested on a clean profile.
Regression
Downgrading the Arch Linux libva-mesa-driver package to version 1:24.0.6-2 fixes the issue, no dropped frames playing AV1.
Screenshots/video files (if applicable)
Playing a 4K Youtube video (https://www.youtube.com/watch?v=OKcRvqJlQog)
24.0.7:
24.0.6:
Edited by Evan Chang