From c93198371758385a5539c475376e3cee623a7c51 Mon Sep 17 00:00:00 2001 From: Emmet Date: Sun, 14 Sep 2025 09:41:32 -0500 Subject: [PATCH] Fix amdgpu --- hosts/snowfire/hardware-configuration.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hosts/snowfire/hardware-configuration.nix b/hosts/snowfire/hardware-configuration.nix index 0953f65c..5a261a2b 100644 --- a/hosts/snowfire/hardware-configuration.nix +++ b/hosts/snowfire/hardware-configuration.nix @@ -60,6 +60,9 @@ hardware.amdgpu.initrd.enable = true; hardware.amdgpu.opencl.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 services.udev.extraRules = '' @@ -71,8 +74,8 @@ rocmEnv = pkgs.symlinkJoin { name = "rocm-combined"; paths = with pkgs.rocmPackages; [ - #rocblas - #hipblas + rocblas + hipblas clr ]; };