about summary refs log blame commit diff stats
path: root/hosts/apzu/hardware/gpu.nix
blob: 74e146e2a5c0e231c8141a8aaeda6a9b3ac08b5a (plain) (tree)
1
2
3
4
5
6
7
8
9
              




                                                  
                                          
                                                    
 







                                        
 
{pkgs, ...}: {
  #   hardware.opengl.extraPackages = with pkgs; [
  #     rocm-opencl-icd # open-cl
  #     amdvlk # or directly through mesa
  #     amd-media-driver # libva
  #   ];
  #
  #   # Force radv, TODO: is this logical?
  #   environment.variables.AMD_VULKAN_ICD = "RADV";

  hardware.opengl = {
    enable = true;
    extraPackages = with pkgs; [
      vaapiVdpau
      libvdpau-va-gl

      #amdvlk # or directly through mesa
    ];
  };
}