feat: trying to solve hardware acceleration issue by including libvdpau-va-gl driver support

So far this has not worked in VLC media player, with reasons unknown
This commit is contained in:
Zhongheng Liu 2024-08-13 12:51:43 +08:00
commit 24eb923bbb
No known key found for this signature in database

View file

@ -1,6 +1,7 @@
{
config,
lib,
pkgs,
...
}: {
specialisation = {
@ -14,7 +15,12 @@
};
};
};
hardware.graphics.enable = true;
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
libvdpau-va-gl
];
};
services.xserver.videoDrivers = ["nvidia"];
hardware.nvidia = {
prime = {
@ -27,8 +33,6 @@
};
forceFullCompositionPipeline = true;
modesetting.enable = true;
powerManagement.enable = false;
powerManagement.finegrained = false;
# open = true;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.beta;