hardware video acceleration

This commit is contained in:
Grimmauld 2024-10-30 16:39:35 +01:00
parent 48df7d2533
commit cf90fea47a
Signed by: Grimmauld
GPG key ID: C2946668769F91FB

View file

@ -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" ];