VAAPI is broken with 5.13.x linux
Description: With the Linux and Linux-zen packages updated to 5.13.x VAAPI acceleration stopped working on RX6700XT GPU, possibly on other NAVI2 GPUs VAAPI is functional on 5.12.15.
Originally reported on arch forums here: https://bbs.archlinux.org/viewtopic.php?pid=1984257
Additional info:
-
package version(s) linux 5.12.15.arch1-1 (working) linux 5.13.4.arch2-1 (broken) mesa 21.1.5-1 libva 2.12.0-1 libva-mesa-driver 21.1.5-1
-
config and/or log files etc. output of 'vainfo' for Linux 5.12 and 5.13 respectively:
~ ▶ vainfo
vainfo: VA-API version: 1.12 (libva 2.12.0)
vainfo: Driver version: Mesa Gallium driver 21.1.5 for AMD Radeon RX 6700 XT (NAVY_FLOUNDER, DRM 3.40.0, 5.12.15-arch1-1, LLVM 12.0.1)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
5.13.4
~ ▶ vainfo
vainfo: VA-API version: 1.12 (libva 2.12.0)
vainfo: Driver version: Mesa Gallium driver 21.1.5 for AMD Radeon RX 6700 XT (NAVY_FLOUNDER, DRM 3.41.0, 5.13.4-arch1-1, LLVM 12.0.1)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
- link to upstream bug report, if any N/A
Steps to reproduce: Use Linux or Linux-zen 5.13.x packages and observe high CPU usage while video decoding on AMD RX6700 XT (and possibly other RX6x00 cards?) Reportedly OBS fails to encode videos using GPU as well (kindly see reddit URLs in the aforementioned bbs topic) but that's not my use case so I cannot confirm this.