GPU-PAC(1) | Ricks-Lab GPU Utilities | GPU-PAC(1) |
gpu-pac - program and control compatible GPUs
gpu-pac [--help | --about]
gpu-pac [--execute_pac] [--no_fan] [--force_write]
[--debug]
In order to get maximum capability of these utilities, you should be running with a kernel that provides support of the GPUs you have installed. If using AMD GPUs, installing the latest amdgpu driver package or the latest ROCm release, may provide additional capabilities. If you have Nvidia GPUs installed, nvidia-smi must also be installed in order for the utility reading of the cards to be possible. Writing to GPUs is currently only possible for AMD GPUs, and only with compatible cards and with the the AMD ppfeaturemask set to 0xfffd7fff. This can be accomplished by adding amdgpu.ppfeaturemask=0xfffd7fff to the GRUB_CMDLINE_LINUX_DEFAULT value in /etc/default/grub and executing sudo update-grub.
gpu-pac will present the user with a gui to modify the operating conditions of compatible GPUs. With this utility, the user can change GPU power limit, S-Clk and M-Clk P-state/Curve definitions, P-state masks, fan speed, and power performance mode. By default, the commands to program and control a GPU are written to a bash file for the user to inspect and run with root permissions.
gpu-pac
Will open a Gtk based user interface which will display current or default values for modifiable GPU operating parameters. The interface supports entry of new values for all compatible GPUs. The user can select to save or reset values for individual or all GPUs. It is suggested that gpu-mon be used to make sure the changes are made as expected.
gpu-pac --execute_pac
To simplify this process, the --execute_pac option can be specified to
automate execution of the bash files. A message in the user interface will
indicate if credentials are required in the original terminal window.
gpu-pac --force_write
With this option, all parameters will be written to the bash file, even if
they are unchanged. This is useful in creating bash files used to put GPU's
into a known state which is convenient for use in start up routines.
Known to not work well with Fiji ProDuo cards and will issue warning messages for Fiji Nano cards. The display of P-state masks is always the defaults, not the actual values. Please report any additional bugs/issues at https://github.com/Ricks-Lab/amdgpu-utils
gpu-mon(1), amdgpu(4), update-grub(8), update-pciids(8), lspci(8)
The gpu-pac command is part of the rickslab-gpu-utils package and is available from https://github.com/Ricks-Lab/amdgpu-utils
June 2020 | rickslab-gpu-utils |