more opengl hw support

This commit is contained in:
Harald Hoyer 2024-11-19 10:30:33 +01:00
parent 0d5229036a
commit a3187e163d

View file

@ -60,12 +60,18 @@ in
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
onevpl-intel-gpu onevpl-intel-gpu
intel-compute-runtime intel-compute-runtime
intel-media-driver # LIBVA_DRIVER_NAME=iHD intel-media-driver # LIBVA_DRIVER_NAME=iHD
#intel-vaapi-driver # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium) #intel-vaapi-driver # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
libvdpau-va-gl libvdpau-va-gl
rocmPackages.clr.icd
amdvlk
]; ];
}; };
environment.sessionVariables = { environment.sessionVariables = {