summaryrefslogtreecommitdiff
path: root/hosts/desktop/hardware-configuration.nix
diff options
context:
space:
mode:
authorChristian <[email protected]>2026-04-17 11:49:42 -0500
committerChristian <[email protected]>2026-04-17 11:49:42 -0500
commit0b77660443280e0dbfccf1b55785ea6db5ac2d62 (patch)
treea82e1b36f7da6a3d6971694f6093fef52be26fe3 /hosts/desktop/hardware-configuration.nix
parentaa8289ae28d17869297b8046ed8efd04a5e1016c (diff)
Trying to get the GPU to cooperate
Diffstat (limited to 'hosts/desktop/hardware-configuration.nix')
-rw-r--r--hosts/desktop/hardware-configuration.nix5
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;