VAAPI - Hardware video acceleration broken - AMDGPU - Radeon HD 7750
Hardware Video acceleration in the past 3-4 days was kinda buggy, something was triggering macroblocks/dropping frames in MPV and i would need to restart the OS to get it working again.
Since yesterday, i think, hardware video acceleration is totally broken, seems to use only the CPU.
System:
Host: H-Linux Kernel: 5.14.21-051421-generic x86_64 bits: 64 compiler: gcc v: 11.2.0 Desktop: GNOME 40.5
tk: GTK 3.24.30 wm: gnome-shell dm: GDM3 Distro: Ubuntu 21.10 (Impish Indri)
CPU:
Info: Dual Core model: AMD Athlon 64 X2 5600+ bits: 64 type: MCP arch: K8 rev.F+ rev: 3 cache: L2: 2 MiB
flags: lm nx pae sse sse2 sse3 svm bogomips: 11222
Speed: 1800 MHz min/max: 1000/2800 MHz Core speeds (MHz): 1: 1800 2: 1800
Graphics:
Device-1: Advanced Micro Devices [AMD/ATI] Cape Verde PRO [Radeon HD 7750/8740 / R7 250E]
vendor: PC Partner Limited driver: amdgpu v: kernel bus-ID: 01:00.0 chip-ID: 1002:683f
Display:
wayland server: X.Org 1.21.1.2 compositor: gnome-shell driver: loaded: amdgpu,ati
unloaded: fbdev,modesetting,radeon,vesa resolution: 1920x1080~60Hz s-dpi: 96
OpenGL: renderer: AMD Radeon HD 7700 Series (verde LLVM 14.0.0 DRM 3.42 5.14.21-051421-generic)
v: 4.6 Mesa 22.2.0-devel (git-14cad38b 2022-04-30 impish-oibaf-ppa) direct render: Yes
c@H-Linux:~$ vainfo
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.14 (libva 2.10.0)
vainfo: Driver version: Mesa Gallium driver 22.2.0-devel for AMD Radeon HD 7700 Series (verde, LLVM 14.0.0, DRM 3.42, 5.14.21-051421-generic)
vainfo:
Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
c@H-Linux:~$ mpv --version
mpv 0.33.1 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
built on UNKNOWN
FFmpeg library versions:
libavutil 56.70.100
libavcodec 58.134.100
libavformat 58.76.100
libswscale 5.9.100
libavfilter 7.110.100
libswresample 3.9.100
FFmpeg version: 4.4-6ubuntu5