Skip to content

video: Add support for vp9 decoding

Feng Jiang requested to merge flynnjiang/virglrenderer:vp9-dec-master into main

This patch adds VP9 decoding to virgl video.

vainfo in guest looks like:

libva info: VA-API version 1.16.0
libva info: Trying to open /usr/lib64/dri/virtio_gpu_drv_video.so
libva info: Found init function __vaDriverInit_1_16
libva info: va_openDriver() returns 0
Trying display: wayland
vainfo: VA-API version: 1.16 (libva 2.16.0)
vainfo: Driver version: Mesa Gallium driver 23.1.0-devel for virgl (AMD Radeon Graphics (renoir, LLVM 15.0.0, DRM 3.48, ...)
vainfo: Supported profile and entrypoints
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc

Here are the test results of fluster on the host and the guest, and they appear to be consistent:

Corresponding patches on the Mesa side:: mesa/mesa!23118 (closed)

Signed-off-by: Feng Jiang <jiangfeng@kylinos.cn>

Edited by Feng Jiang

Merge request reports