How to install a driver for Intel QuickSync on CentOS 7.4/7.5
To provide hardware accelerated decoding, encoding, and video post processing, you need to install a driver.
To do that, you need access to the Internet or proxy-server settings for yum and git. For your convenience we recommend you to perform all actions in a temporary folder, e.g. /home/user_name/intel_driver.
Install utilities:
sudo yum group install "Development Tools"
sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum install -y cmake3 libdrm-devel libpciaccess-devel libX11-devel git
If everything is done correctly, the vainfo call does not contain errors and looks like this:
libva info: VA-API version 1.4.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /usr/local/lib64/dri//iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_4
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.4 (libva )
vainfo: Driver version: Intel iHD driver - 1.0.0
vainfo: Supported profile and entrypoints
...
Note that driver works only under the user account that you used during installation. To make it work for other users too, you can add them to the video group:
usermod -a -G video username.
To learn more, you can use the following links:
- About libva: https://github.com/intel/libva
- About gmmlib: https://github.com/intel/gmmlib
- About Intel Media Driver: https://github.com/intel/media-driver
- About Intel MediaSDK: https://github.com/Intel-Media-SDK/MediaSDK
- About tests: https://github.com/intel/libva-utils
Contact our technical support team support team to get CodecWorks demo verion and Quick Sync driver.