17 enableHybridCodec ? false,
24 pname = "intel-vaapi-driver";
25 version = "2.4.1-unstable-2024-10-29";
27 src = fetchFromGitHub {
29 repo = "intel-vaapi-driver";
30 rev = "fd727a4e9cb8b2878a1e93d4dddc8dd1c1a4e0ea";
31 hash = "sha256-OMFdRjzpUKdxB9eK/1OLYLaOC3NHnzZVxmh6yKrbYoE=";
34 # Set the correct install path:
35 LIBVA_DRIVERS_PATH = "${placeholder "out"}/lib/dri";
37 postInstall = lib.optionalString enableHybridCodec ''
38 ln -s ${vaapi-intel-hybrid}/lib/dri/* $out/lib/dri/
42 (lib.enableFeature enableGui "x11")
43 (lib.enableFeature enableGui "wayland")
44 ] ++ lib.optional enableHybridCodec "--enable-hybrid-codec";
60 ++ lib.optionals enableGui [
66 ++ lib.optional enableHybridCodec vaapi-intel-hybrid;
68 enableParallelBuilding = true;
70 passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
73 homepage = "https://01.org/linuxmedia";
74 license = licenses.mit;
75 description = "VA-API user mode driver for Intel GEN Graphics family";
77 This VA-API video driver backend provides a bridge to the GEN GPUs through
78 the packaging of buffers and commands to be sent to the i915 driver for
79 exercising both hardware and shader functionality for video decode,
80 encode, and processing.
81 VA-API is an open-source library and API specification, which provides
82 access to graphics hardware acceleration capabilities for video
83 processing. It consists of a main library and driver-specific acceleration
84 backends for each supported hardware vendor.
90 maintainers = with maintainers; [ SuperSandro2000 ];