rawhide kobayashi fe26e9dc75
Moved admin check to the correct location
Fixed bugs in using the core map to set offsets
Refactored the core map to account for disabled cores on any SKU
Catch exception when fetching offsets when a core is disabled
Added input validation to --offset, and added terse input notation
Added --get-enabled-cores to print a list of logically enabled cores
2025-04-01 17:55:06 -05:00
2025-03-13 21:40:53 -05:00
2025-04-01 01:35:30 -05:00

ryzen-smu-cli

A CLI tool for the ZenStates SMU library. See ZenStates-Core for compatibility.

Requires .NET Framework 8.

All credit to irusanov, who wrote ZenStates-Core on which this depends for all meaningful functionality, and SMUDebugTool for usage examples.

Usage:

.\ryzen-smu-cli.exe --help
Description:
  A CLI for the Ryzen SMU.

Usage:
  ryzen-smu-cli [options]

Options:
  --offset <offset>                  Specify a zero-indexed logical core, or list of logical cores, and their PBO offset(s), in a fashion similar to taskset. e.g. 0:-10,1:5,2:-20,14:-25. These are the logical core IDs as they appear in your system, not the true IDs according to fused hardware disabled cores.
  --disable-cores <disable-cores>    Specify a zero-indexed list of logical cores to disable. e.g. 0,1,4,7,12,15. This setting does not take into account any current core disablement. All cores you wish to disable must be specified. Any that are unspecified will be enabled. This option requires a reboot.
  --enable-all-cores                 Enable all cores.
  --get-offsets-terse                Print a list of all PBO offsets on logical cores in a simple, comma-separated format, without core identifiers. e.g. -15,0,2,-20.
  --get-physical-cores               Print a list of physical cores, to find out which ones are disabled in <8-core-per-CCD SKUs.
  --set-pbo-scalar <set-pbo-scalar>  Sets the PBO scalar. This is a whole number between 1 and 10.
  --get-pbo-scalar                   Get the current PBO scalar.
  --version                          Show version information
  -?, -h, --help                     Show help and usage information
Description
A CLI tool for the ZenStates SMU library.
Readme 83 KiB
2025-03-18 20:53:23 -05:00
Languages
C# 100%