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 # Setup hardware
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
intel-media-driver # LIBVA_DRIVER_NAME=iHD vaapiIntel
vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
vaapiVdpau
libvdpau-va-gl libvdpau-va-gl
vaapiVdpau
intel-ocl
];
extraPackages32 = with pkgs.pkgsi686Linux; [
libva
vaapiIntel
libvdpau-va-gl
vaapiVdpau
]; ];
}; };
# Configure plex # Configure plex