intel-media-23.3.0

Introduction to intel-media

The intel-media package provides a VA API driver for Intel GPUs that are provided with Broadwell CPUs and higher. This includes support for a variety of codecs.

[Note]

Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

[Note]

Note

The tarball intel-media-23.3.0.tar.gz will extract to the directory media-driver-intel-media-23.3.0.

intel-media Dependencies

Required

CMake-3.27.0, Intel-gmmlib-22.3.9, and libva-2.19.0

Kernel Configuration

Enable the following options in the kernel configuration. Recompile the kernel if necessary:

Device Drivers  --->
  Graphics support --->
   <*/M> Direct Rendering Manager (XFree86 ... support) ---> [CONFIG_DRM]
   <*/M> Intel 8xx/9xx/G3x/G4x/HD Graphics                   [CONFIG_DRM_I915]

Installation of intel-media

[Note]

Note

This package takes a long time to build because it compiles code specific to each individual generation of Intel GPUs and for a variety of media codecs.

If you know the model of your Intel GPU, you can pass the -D{GEN{8,9,10,11,12},MTL}=OFF option to the cmake command but leaving the option for your GPU out. Note that the GEN number here is the generation of the GPU, not the CPU. For example, with an Intel Core i7-1065G7 CPU shipping a 11th-generation Intel GPU, the -D{GEN{8,9,10,12},MTL}=OFF option can be used so the code specific to the other generations of Intel GPUs won't be built.

Install intel-media by running the following commands:

mkdir build &&
cd    build &&

cmake -DCMAKE_INSTALL_PREFIX=$XORG_PREFIX \
      -DINSTALL_DRIVER_SYSCONF=OFF        \
      -DBUILD_TYPE=Release                \
      -Wno-dev ..                   &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Contents

Installed Programs: None
Installed Libraries: libigfxcmrt.so
Installed Drivers: iHD_drv_video.so
Installed Directories: /usr/include/igfxcmrt

Short Descriptions

libigfxcmrt.so

provides API functions which allow running GPU kernels on the render engine