Skip to content

Install from OSV package

Sherry Lin edited this page Mar 10, 2023 · 4 revisions

Installation Steps

Media driver packages name are slightly different between SLES/RHEL rpm package and Ubuntu deb packages. The media-driver package depends on Libva and GmmLib which would be installed automatically once you install media-driver, so no need to explicitly install GmmLib and Libva.

Here is the component mapping table for different OSV distro.

Component Lib Name Ubuntu deb name SLES rpm name RHEL rpm name deb installation path rpm installation path Public repo
UMD: media-driver iHD_drv_video.so intel-media-va-driver-non-free intel-media-driver intel-media-driver usr/lib/x86_64-linux-gnu/dri usr/lib64/dri https://github.com/intel/media-driver
Public API: libva libva.so, libva-drm.so, libva-glx.so, libva-wayland.so, libva-x11.so libva libva libva usr/lib/x86_64-linux-gnu usr/lib64 https://github.com/intel/libva
Libva-utils vainfo, … no whole deb, only vainfo*.deb libva-utils libva-utils usr/bin usr/bin https://github.com/intel/libva-utils
UMD: GmmLib libigdgmm.so libigdgmm11 libigdgmm11 intel-gmmlib usr/lib/x86_64-linux-gnu usr/lib64 https://github.com/intel/gmmlib
oneVPL-GPU-RT libmfx-gen.so libmfxgen1 libmfxgen1 libmfxgen1 usr/lib/x86_64-linux-gnu usr/lib64 https://github.com/oneapi-src/oneVPL-intel-gpu
oneVPL Dispatcher libvpl.so libvpl2 libvpl2 libvpl2 usr/lib/x86_64-linux-gnu usr/lib64 https://github.com/oneapi-src/oneVPL
oneVPL sample sample_* tools libvpl-tools libvpl-tools libvpl-tools usr/bin usr/bin https://github.com/oneapi-src/oneVPL/tree/master/tools
MedisSDK RT libmfxhw64.so libmfx1 libmfx1 intel-mediasdk usr/lib/x86_64-linux-gnu usr/lib64 https://github.com/Intel-Media-SDK/MediaSDK
MediaSDK dispatcher libmfx.so libmfx1 libmfx1 intel-mediasdk*.rpm usr/lib/x86_64-linux-gnu usr/lib64 https://github.com/Intel-Media-SDK/MediaSDK
MediaSDK sample sample_* tools libmfx-tools libmfx-utils intel-mediasdk-utils usr/share/mfx/samples usr/share/mfx/samples https://github.com/Intel-Media-SDK/MediaSDK
CMRT(deprecated from Alchemist) libigfxcmrt.so libigfxcmrt libigfxcmrt combined in intel-media-driver usr/lib/x86_64-linux-gnu usr/lib64 https://github.com/intel/media-driver/tree/master/cmrtlib

Ubuntu

sudo apt install -y intel-media-va-driver-non-free vainfo

RHEL

sudo dnf --nogpgcheck install -y intel-media-driver libva-utils

SLES

sudo zypper --no-gpg-checks install -y intel-media-driver libva-utils

Validate media-driver

After media packages installed, there is a helpful application vainfo could provide basic media status. In SLES/RHEL packages, vainfo is combined in libva-utils rpm package. Here is an example on TGL Ubuntu system.

$ vainfo
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.7 (libva 2.6.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileNone                   : VAEntrypointStats
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointFEI
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointFEI
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointFEI
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointFEI
      VAProfileHEVCMain               : VAEntrypointEncSliceLP
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointEncSliceLP
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile1            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileVP9Profile3            : VAEntrypointVLD
      VAProfileHEVCMain12             : VAEntrypointVLD
      VAProfileHEVCMain12             : VAEntrypointEncSlice
      VAProfileHEVCMain422_10         : VAEntrypointVLD
      VAProfileHEVCMain422_10         : VAEntrypointEncSlice
      VAProfileHEVCMain422_12         : VAEntrypointVLD
      VAProfileHEVCMain422_12         : VAEntrypointEncSlice
      VAProfileHEVCMain444            : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointEncSliceLP
      VAProfileHEVCMain444_10         : VAEntrypointVLD
      VAProfileHEVCMain444_10         : VAEntrypointEncSliceLP
      VAProfileHEVCMain444_12         : VAEntrypointVLD
      VAProfileHEVCSccMain            : VAEntrypointVLD
      VAProfileHEVCSccMain10          : VAEntrypointVLD
      VAProfileHEVCSccMain444         : VAEntrypointVLD
Clone this wiki locally