From 0b77660443280e0dbfccf1b55785ea6db5ac2d62 Mon Sep 17 00:00:00 2001 From: Christian Date: Fri, 17 Apr 2026 11:49:42 -0500 Subject: Trying to get the GPU to cooperate --- hosts/desktop/hardware-configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hosts/desktop/hardware-configuration.nix') diff --git a/hosts/desktop/hardware-configuration.nix b/hosts/desktop/hardware-configuration.nix index ba7f356..cc0c460 100644 --- a/hosts/desktop/hardware-configuration.nix +++ b/hosts/desktop/hardware-configuration.nix @@ -12,6 +12,11 @@ boot.initrd.kernelModules = [ "amdgpu" ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; + boot.kernelParams = [ + "amdgpu.noretry=0" # Allows the GPU to retry memory access instead of crashing + "amdgpu.gpureset=1" # Enables better recovery if a fault occurs + "amdgpu.pcie_gen_cap=0x00040000" # Forces PCIe 4.0 if your board is being weird + ]; hardware.graphics = { enable = true; -- cgit v1.2.3