hopefully fix dri

This commit is contained in:
Nathan McCarty 2023-04-09 01:23:31 -04:00
parent 12f4fa6834
commit 97401f46a5
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 11 additions and 3 deletions

View File

@ -57,11 +57,19 @@
# Setup hardware
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [
intel-media-driver # LIBVA_DRIVER_NAME=iHD
vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
vaapiVdpau
vaapiIntel
libvdpau-va-gl
vaapiVdpau
intel-ocl
];
extraPackages32 = with pkgs.pkgsi686Linux; [
libva
vaapiIntel
libvdpau-va-gl
vaapiVdpau
];
};
# Configure plex