diff --git a/modules/steamos/boot.nix b/modules/steamos/boot.nix index d0de9a38..29ab650c 100644 --- a/modules/steamos/boot.nix +++ b/modules/steamos/boot.nix @@ -26,10 +26,28 @@ in (mkIf (cfg.enableDefaultCmdlineConfig) { boot.kernelParams = [ # From grub-steamos in jupiter-hw-support - # - https://github.com/Jovian-Experiments/jupiter-hw-support/blob/jupiter-20231212.1/etc/default/grub-steamos + # - https://github.com/Jovian-Experiments/jupiter-hw-support/blob/08fc462bd0ce0f0c198a5aed36c0bf307fcfb326/etc/default/grub-steamos + + # Valve says: + # + # We set amdgpu.lockup_timeout in order to control the TDR for each ring + # 0 (GFX): 5s (was 10s) + # 1 (Compute): 10s (was 60s wtf) + # 2 (SDMA): 10s (was 10s) + # 3 (Video): 5s (was 10s) + + # amdgpu.sched_hw_submission is set to 4 to avoid bubbles of lack-of work + # with the default (2). + # 4 is the maximum that is supported across RDNA2 + RDNA3. + # Any more results in a hang at startup on RDNA3. + "log_buf_len=4M" "amd_iommu=off" + "amdgpu.lockup_timeout=5000,10000,10000,5000" "amdgpu.gttsize=8128" + "amdgpu.sched_hw_submission=4" "audit=0" + "fbcon=vc:4-6" + "fbcon=rotate:1" ]; }) ]; diff --git a/pkgs/jupiter-hw-support/src.nix b/pkgs/jupiter-hw-support/src.nix index cc8bd69f..345f2643 100644 --- a/pkgs/jupiter-hw-support/src.nix +++ b/pkgs/jupiter-hw-support/src.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation rec { pname = "jupiter-hw-support-source"; - version = "20240624.1"; + version = "20240827.1"; src = fetchFromGitHub { owner = "Jovian-Experiments"; repo = "jupiter-hw-support"; rev = "jupiter-${version}"; - hash = "sha256-G0N1iWquhj93x9QCy8U68TM380FWPc6uJZtrExdBQaY="; + hash = "sha256-8/ddym6Onx4VwLY50GYw3iqTOJuFh2px/+63eHS2KJE="; }; patches = [