Change:
Describe the bug libva tries to find and use instead of like before To Reproduce Steps to reproduce the behavior: nixos-unstable channel vlc on console to see log any video in vlc Expected behavior is used and no vlc crash happens Additional context Add any other context about the problem here. Notify maintainers <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Metadata system: host os: multi-user?: sandbox: version: channels(gnidorah): channels(root): nixpkgs: Maintainer information:
Seems to be an upstream issue that affects only X11 (DRI 2): After we update to this should be fixed. As a temporary workaround it should work via (or , depending on which driver you prefer).
I opened a PR for the update: Note: I the regression label as is the new default since Mesa 20 (the previous default driver was ). As a result NixOS shouldn't be affected by this as we stayed on Mesa 19.

Discussion:
inherit (libva) version; src = fetchFromGitHub { <del> owner  = "01org"; </del> <ins> owner  = "intel"; </ins> repo   = "libva-utils"; rev    = version; <del> sha256 = "1yk9bg1wg4nqva3l01s6bghcvc3hb02gp62p1sy5qk0r9mn5kpik"; </del> <ins> sha256 = "13a0dccphi4cpr2cx45kg4djxsssi3d1fcjrkx27b16xiayp5lx9"; </ins> }; nativeBuildInputs = [ meson ninja pkgconfig ];

enableParallelBuilding = true; meta = with stdenv.lib; { <del> description = "VAAPI tools: Video Acceleration API"; homepage = "http://www.freedesktop.org/wiki/Software/vaapi"; </del> <ins> description = "A collection of utilities and examples for VA-API"; longDescription = '' libva-utils is a collection of utilities and examples to exercise VA-API in accordance with the libva project. ''; homepage = "https://github.com/intel/libva-utils"; changelog = "https://raw.githubusercontent.com/intel/libva-utils/${version}/NEWS"; </ins> license = licenses.mit; <del> maintainers = with maintainers; [ ]; </del> <ins> maintainers = with maintainers; [ primeos ]; </ins> platforms = platforms.unix; }; }

stdenv.mkDerivation rec { name = "libva-${lib.optionalString minimal "minimal-"}${version}"; <del> version = "2.6.1"; </del> <ins> version = "2.7.1"; # Also update the hash for libva-utils! </ins> # update libva-utils and vaapiIntel as well src = fetchFromGitHub { <del> owner  = "01org"; </del> <ins> owner  = "intel"; </ins> repo   = "libva"; rev    = version; <del> sha256 = "1x34kf38p5rf52bf54ljr9f7knnbilm7kbszqnfk3lzsqrfc7r2g"; </del> <ins> sha256 = "0ywasac7z3hwggj8szp83sbxi2naa0a3amblx64y7i1hyyrn0csq"; </ins> }; outputs = [ "dev" "out" ];

]; meta = with stdenv.lib; { <del> description = "VAAPI library: Video Acceleration API"; homepage = "http://www.freedesktop.org/wiki/Software/vaapi"; </del> <ins> description = "An implementation for VA-API (Video Acceleration API)"; longDescription = '' VA-API is an open-source library and API specification, which provides access to graphics hardware acceleration capabilities for video processing. It consists of a main library (this package) and driver-specific acceleration backends for each supported hardware vendor. ''; homepage = "https://01.org/linuxmedia/vaapi"; changelog = "https://raw.githubusercontent.com/intel/libva/${version}/NEWS"; </ins> license = licenses.mit; <del> maintainers = with maintainers; [ ]; </del> <ins> maintainers = with maintainers; [ primeos ]; </ins> platforms = platforms.unix; }; }