blob: 6a28eaa4a09709d820cfe52a83209d7d24c18980 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{
config,
pkgs,
lib,
...
}: {
# 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
amd-media-driver # libva
];
};
}
|