From 53d02cba2a5ffd57e84a460b052b6cfd48b620f7 Mon Sep 17 00:00:00 2001 From: Noah Pederson Date: Tue, 4 Aug 2026 12:25:03 -0500 Subject: [PATCH] Changes to use GTT for shizuri --- host-specific/shizuri/boot.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/host-specific/shizuri/boot.nix b/host-specific/shizuri/boot.nix index 1ef8f3f..aad94fb 100644 --- a/host-specific/shizuri/boot.nix +++ b/host-specific/shizuri/boot.nix @@ -8,5 +8,13 @@ # cwsr enabled on this kernel, breaking every HIP launch with # HSA_STATUS_ERROR_OUT_OF_RESOURCES. Disabling compute wave save/restore # works around it until the kernel-side path stabilizes. - boot.kernelParams = [ "amdgpu.cwsr_enable=0" ]; + # The firmware UMA carveout is set to its 512 MiB minimum, leaving system + # memory available through GTT for resident models and ROCm graph state. + boot.kernelParams = [ + "amdgpu.cwsr_enable=0" + "amd_iommu=off" + "amdgpu.gttsize=126976" + "ttm.pages_limit=32505856" + "ttm.page_pool_size=32505856" + ]; } -- 2.51.2