Linux command
vainfo 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Show VA-API info
vainfo
Show info for a specific DRM device
vainfo --display drm --device [/dev/dri/renderD128]
Show VA-API info
vainfo --display x11
Show VA-API info
vainfo --display wayland
说明
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.
参数
- --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.
FAQ
What is the vainfo command used for?
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.
How do I run a basic vainfo example?
Run `vainfo` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --display _TYPE_ do in vainfo?
Display backend type: drm, x11, or wayland.