Fix amdgpu crashes
This commit is contained in:
parent
fbaf5e415b
commit
7991472938
1 changed files with 6 additions and 1 deletions
|
|
@ -5,6 +5,11 @@
|
||||||
initrd.availableKernelModules =
|
initrd.availableKernelModules =
|
||||||
[ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ];
|
[ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ];
|
||||||
initrd.kernelModules = [ "amdgpu" ];
|
initrd.kernelModules = [ "amdgpu" ];
|
||||||
|
|
||||||
|
kernelParams = [
|
||||||
|
"amdgpu.noretry=0" # Prevents constant crashing in BG3
|
||||||
|
];
|
||||||
|
|
||||||
kernelModules = [ "kvm-amd" ];
|
kernelModules = [ "kvm-amd" ];
|
||||||
extraModulePackages = [ ];
|
extraModulePackages = [ ];
|
||||||
loader.systemd-boot.enable = true;
|
loader.systemd-boot.enable = true;
|
||||||
|
|
@ -46,7 +51,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
driSupport = true;
|
driSupport = true;
|
||||||
driSupport32Bit = true;
|
driSupport32Bit = true;
|
||||||
extraPackages = with pkgs; [ rocm-opencl-icd rocm-opencl-runtime ];
|
extraPackages = with pkgs; [ rocm-opencl-icd rocm-opencl-runtime amdvlk ];
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.cpu.amd.updateMicrocode =
|
hardware.cpu.amd.updateMicrocode =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue