gpu: enable hardware accelerated playback

This commit is contained in:
Leonardo Eugênio 2023-06-17 21:29:45 -03:00
parent a024dad386
commit 43a0ce5d0f
4 changed files with 21 additions and 13 deletions

View file

@ -23,6 +23,14 @@ in
# # For 32 bit applications
hardware.opengl.driSupport32Bit = true;
hardware.opengl.extraPackages = with pkgs; [
libva
libvdpau
vaapiVdpau
rocm-opencl-icd
rocm-opencl-runtime
];
# hardware.opengl.extraPackages = with pkgs; [ amdvlk ];
# # For 32 bit applications
# # Only available on unstable