193.15. intel-media-driver-26.3.5
Intel iHD VA-API driver for Broadwell and newer graphics
26.3.5-1 · MIT AND BSD-3-Clause · 18.2 SBU · 43.4 MiB, 17 files · 42_graphics, 112 of 189 · ports/core/gpu/intel-media-driver
Homepage: https://github.com/intel/media-driver
Why it is in KDOS. The comment above it in script/phases/42_graphics/packages.d/gpu.txt:
Intel's VA-API driver. mesa's gallium-va covers r600, radeonsi, nouveau and virgl only, so without it every Intel iGPU from Broadwell forward has no VA-API entry point at all and ffmpeg and mpv fall back to software decode. The version coupling with intel-gmmlib is hard: media-driver 26.2.4 needs igdgmm 12.10.x, and against an older one it fails 25 minutes into the compile rather than at configure.
Depends on: intel-gmmlib, libva, libdrm, libpciaccess, cmake, ninja, pkgconf.
Required by: no port names it.
Sources: intel-media-driver-26.3.5.tar.gz (28.5 MiB). Every step kpkg takes applies to this port.
Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.
-DCMAKE_DISABLE_FIND_PACKAGE_X11=ON, line 25: libX11
Install: script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install intel-media-driver'
build.sh:
export LDFLAGS="$LDFLAGS -Wl,--strip-debug"
mkdir -p build && cd build
cmake .. -G Ninja \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=ON \
-DENABLE_KERNELS=ON \
-DBUILD_KERNELS=OFF \
-DINSTALL_DRIVER_SYSCONF=OFF \
-DMEDIA_BUILD_FATAL_WARNINGS=OFF \
-DMEDIA_RUN_TEST_SUITE=OFF \
-DCMAKE_DISABLE_FIND_PACKAGE_X11=ON \
-DCMAKE_DISABLE_FIND_PACKAGE_Backtrace=ON
ninja
DESTDIR=$PKG ninja install
Libraries: libigfxcmrt.so.
Directories: /usr/include/igfxcmrt, /usr/share/licenses/intel-media-driver.