diff options
| author | Christian <[email protected]> | 2026-04-17 11:49:42 -0500 |
|---|---|---|
| committer | Christian <[email protected]> | 2026-04-17 11:49:42 -0500 |
| commit | 0b77660443280e0dbfccf1b55785ea6db5ac2d62 (patch) | |
| tree | a82e1b36f7da6a3d6971694f6093fef52be26fe3 /hosts/desktop/hardware-configuration.nix | |
| parent | aa8289ae28d17869297b8046ed8efd04a5e1016c (diff) | |
Trying to get the GPU to cooperate
Diffstat (limited to 'hosts/desktop/hardware-configuration.nix')
| -rw-r--r-- | hosts/desktop/hardware-configuration.nix | 5 |
1 files changed, 5 insertions, 0 deletions
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; |
