Enabling cl_intel_va_api_media_sharing extension
To enable cl_intel_va_api_media_sharing extension Neo needs to be compiled on system with libva 2.x installed. This extension is supported by iHD media driver. Before compilation additional packages have to be installed.
- Download sources:
- libdrm https://anongit.freedesktop.org/git/mesa/drm.git
- libva https://github.com/intel/libva.git
Example:
git clone https://anongit.freedesktop.org/git/mesa/drm.git libdrm
git clone https://github.com/intel/libva.git libva- Compile and install libdrm
Example:
cd libdrm
./autogen.sh
make -j `nproc`
sudo make install- Compile and install libva
Example:
cd libva
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
./autogen.sh
make -j `nproc`
sudo make install- During Neo compilation verify libva was discovered
-- Checking for module 'libva>=1.0.0'
-- Found libva, version 1.1.0
-- Looking for vaGetLibFunc in va
-- Looking for vaGetLibFunc in va - found
-- Using libva