From 9f51e1b1266865f2f71d924225169eff07eb7704 Mon Sep 17 00:00:00 2001 From: fleaz Date: Wed, 2 Mar 2022 20:34:29 +0100 Subject: [PATCH] cray: Fix suspend bug with amdgpu driver --- machines/cray/hardware-configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/machines/cray/hardware-configuration.nix b/machines/cray/hardware-configuration.nix index 6ea824d..4047837 100644 --- a/machines/cray/hardware-configuration.nix +++ b/machines/cray/hardware-configuration.nix @@ -12,6 +12,7 @@ boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; + boot.kernelParams = [ "no_console_suspend" "amdgpu.gpu_recovery=1" "init_on_free=0"]; boot.extraModulePackages = [ ]; fileSystems."/" =