⚡ fixing intel vaapi configuration
This commit is contained in:
parent
40911d4aa0
commit
a18428a120
1 changed files with 6 additions and 10 deletions
|
@ -5,17 +5,13 @@
|
||||||
hardware.graphics.enable = true;
|
hardware.graphics.enable = true;
|
||||||
hardware.graphics.extraPackages = with pkgs; [
|
hardware.graphics.extraPackages = with pkgs; [
|
||||||
intel-media-driver # LIBVA_DRIVER_NAME=iHD
|
intel-media-driver # LIBVA_DRIVER_NAME=iHD
|
||||||
#vaapi-intel-hybrid
|
#intel-vaapi-driver # For older processors. LIBVA_DRIVER_NAME=i965
|
||||||
intel-vaapi-driver # For older processors. LIBVA_DRIVER_NAME=i965
|
|
||||||
#vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
|
|
||||||
#vaapiVdpau
|
|
||||||
#libvdpau-va-gl
|
|
||||||
];
|
];
|
||||||
hardware.graphics.enable32Bit = true;
|
#hardware.graphics.enable32Bit = true;
|
||||||
hardware.graphics.extraPackages32 = with pkgs.pkgsi686Linux; [ intel-vaapi-driver ];
|
#hardware.graphics.extraPackages32 = with pkgs.pkgsi686Linux; [ intel-vaapi-driver ];
|
||||||
|
|
||||||
environment.sessionVariables = {
|
environment.systemPackages = [
|
||||||
LIBVA_DRIVER_NAME = "i965";
|
pkgs.libva-utils # for CLI tools like : vainfo
|
||||||
}; # Optionally, set the environment variable
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue