vainfo

Display VA-API video acceleration info

TLDR

Show VA-API info for the default device
$ vainfo
Show info for a specific DRM device
$ vainfo --display drm --device [/dev/dri/renderD128]
Show VA-API info via X11 display
$ vainfo --display x11
Show VA-API info via Wayland display
$ vainfo --display wayland

SYNOPSIS

vainfo [--display type] [--device path] [options]

DESCRIPTION

vainfo displays information about the Video Acceleration API (VA-API) support available on the system. It queries the GPU driver and reports which video encoding and decoding profiles are supported, such as H.264, HEVC, VP9, and AV1.The output includes the VA-API driver name, version, and a list of supported profiles with their entry points (encoding, decoding, video processing). This information is essential for diagnosing hardware video acceleration issues and verifying that the correct VA-API driver is loaded for the GPU.

PARAMETERS

--display TYPE

Display backend type: drm, x11, or wayland.
--device PATH
DRM device path (e.g., /dev/dri/renderD128). Only used with --display drm.
-a, --all
Show all supported attributes for each profile/entrypoint pair.
--help
Show help.

INSTALL

sudo apt install vainfo
sudo dnf install libva-utils
sudo pacman -S libva-utils
sudo apk add libva-utils
sudo zypper install libva-utils
nix profile install nixpkgs#libva-utils

CAVEATS

Requires VA-API drivers installed (e.g., intel-media-driver, mesa-va-drivers). Output is GPU and driver specific. Part of the libva-utils package.

HISTORY

vainfo is part of libva-utils, providing information about VA-API (Video Acceleration API) support.

SEE ALSO

vdpauinfo(1), glxinfo(1), vulkaninfo(1), ffmpeg(1)