Skip to content

Commit

Permalink
Configure nvpmodel to use profile number 3
Browse files Browse the repository at this point in the history
Configure nvpmodel to use profile number 3 by default, which enables all
CPU cores on Orin AGX and NX devices. This causes AGX to use 50W and NX
to use 25W of power.

This also probably fixes random boot time failures of nvpmodel.service

Signed-off-by: Mika Tammi <[email protected]>
  • Loading branch information
Mika Tammi authored and brianmcgillion committed Sep 18, 2023
1 parent d4f5d20 commit a837454
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/hardware/nvidia-jetson-orin/jetson-orin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,11 @@ in
somDefinition."${cfg.somType}".vfio-pci
"vfio_iommu_type1.allow_unsafe_interrupts=1"
];

services.nvpmodel = {
enable = lib.mkDefault true;
# Enable all CPU cores, full power consumption (50W on AGX, 25W on NX)
profileNumber = lib.mkDefault 3;
};
};
}

0 comments on commit a837454

Please sign in to comment.