diff --git a/common/graphics/opengl.nix b/common/graphics/opengl.nix index 6f24dec..7d8a21f 100644 --- a/common/graphics/opengl.nix +++ b/common/graphics/opengl.nix @@ -43,9 +43,15 @@ in enable = true; #driSupport = true; #driSupport32Bit = true; - extraPackages = [ ]; + extraPackages = with pkgs; [ + intel-media-driver # LIBVA_DRIVER_NAME=iHD + # intel-vaapi-driver # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium) + # libvdpau-va-gl + ]; }; + environment.sessionVariables = { LIBVA_DRIVER_NAME = "iHD"; }; # Force intel-media-driver + # chaotic.mesa-git.enable = true; boot.kernelParams = [ "nouveau.config=NvGspRm=1" ];