Skip to content

Commit

Permalink
jupiter-hw-support: 20240624 -> 20240827
Browse files Browse the repository at this point in the history
New OLED firmware, new kernel params.
  • Loading branch information
K900 committed Aug 28, 2024
1 parent 6577094 commit 0e9dc94
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
20 changes: 19 additions & 1 deletion modules/steamos/boot.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
];
})
];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/jupiter-hw-support/src.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 0e9dc94

Please sign in to comment.