1

Firefox: Update hwaccel config

Matches the nvidia-vaapi-driver docs now, but still doesn't work :(
This commit is contained in:
2024-10-09 17:30:18 +02:00
parent 0c4463ccac
commit b90a641b7f
3 changed files with 14 additions and 11 deletions

View File

@ -97,8 +97,8 @@
vaapiVdpau # Taken from wiki, this is also part of nixos-hardware/common/gpu/nvidia
libvdpau-va-gl # Taken from wiki
# libvdpau # NOTE: Don't know if needed/where it belongs...
# libva # NOTE: Don't know if needed/where it belongs...
libvdpau # NOTE: Don't know if needed/where it belongs...
libva # NOTE: Don't know if needed/where it belongs...
nvidia-vaapi-driver # Experimental, doesn't work with chromium
];
@ -110,8 +110,11 @@
# environment.variables.AMD_VULKAN_ICD = "RADV"; # Choose mesa driver by default
environment.variables = {
LIBVA_DRIVER_NAME = "nvidia";
GBM_BACKEND = "nvidia-drm";
# https://github.com/elFarto/nvidia-vaapi-driver?tab=readme-ov-file#environment-variables
LIBVA_DRIVER_NAME = "nvidia";
NVD_BACKEND = "egl";
};
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";