1

vdpau/vaapi

This commit is contained in:
2022-11-09 18:31:17 +01:00
parent 9193ca83c1
commit 6eec2f3fe6
2 changed files with 19 additions and 6 deletions

View File

@ -20,10 +20,9 @@ in {
home.packages = with pkgs; builtins.concatLists [
# TODO: I don't think vaapi works yet
(optionals cfg.vaapi [
libva
libva-utils
# nvidia-vaapi-driver # Nvidia is gone :)
vulkan-tools
# NOTE: I put these into hardware.opengl.extrapackages, don't know if they belong there...
# libva
# libvdpau
])
(optionals cfg.gnomeTheme [ firefox-gnome-theme ])
@ -40,7 +39,7 @@ in {
})
(optionalAttrs cfg.vaapi {
LIBVA_DRIVER_NAME = "nvidia";
LIBVA_DRIVER_NAME = "radeonsi"; # "nvidia" for Nvidia card
MOZ_DISABLE_RDD_SANDBOX = 1;
})
];