VAAPI

From Gentoo Wiki
Jump to: navigation, search
External resources

VAAPI (Video Acceleration API) provides access to graphics hardware (GPU) acceleration for video processing.

Hardware support

Driver Chipset Formats
intel Intel GMA X4500HD and newer See http://intellinuxgraphics.org/h264.html
VDPAU All supported graphics cards

Installation

Portage knows the global USE flag vaapi for enabling support for VAAPI in other packages. Enabling this USE flag will pull in x11-libs/libva automatically:

File/etc/portage/make.conf

USE="... vaapi ..."

The USE flags of libva are:

→ Information about USE flags
USE flag Default Recommended Description
opengl Yes Adds support for OpenGL (3D graphics)
vdpau No Enable the Video Decode and Presentation API for Unix acceleration interface
dummy No VIDEO_CARDS USE flag: dummy driver
intel No VIDEO_CARDS USE flag:see Intel
fglrx No VIDEO_CARDS USE flag:see fglrx
nvidia No VIDEO_CARDS USE flag:see nvidia-drivers

After setting this you want to update your system so the changes take effect:

root # emerge --ask --changed-use --deep @world

Configuration

You may need to tweak the config files of the programs, you can make use of VAAPI.

Usage

vainfo shows if VAAPI is supported.

See also