Fix amdgpu

This commit is contained in:
Emmet 2025-09-14 09:41:32 -05:00
parent e488b0212d
commit c931983717

View file

@ -60,6 +60,9 @@
hardware.amdgpu.initrd.enable = true; hardware.amdgpu.initrd.enable = true;
hardware.amdgpu.opencl.enable = true; hardware.amdgpu.opencl.enable = true;
hardware.amdgpu.amdvlk.enable = true; hardware.amdgpu.amdvlk.enable = true;
environment.sessionVariables = {
VK_ICD_FILENAMES = "/run/opengl-driver/share/vulkan/icd.d/radeon_icd.x86_64.json"; # fix for godot
};
# makes disk io not freeze the computer # makes disk io not freeze the computer
services.udev.extraRules = '' services.udev.extraRules = ''
@ -71,8 +74,8 @@
rocmEnv = pkgs.symlinkJoin { rocmEnv = pkgs.symlinkJoin {
name = "rocm-combined"; name = "rocm-combined";
paths = with pkgs.rocmPackages; [ paths = with pkgs.rocmPackages; [
#rocblas rocblas
#hipblas hipblas
clr clr
]; ];
}; };