6 stable releases

1.0.11 Nov 22, 2023
1.0.10 Jun 13, 2022
1.0.9 Feb 10, 2022
1.0.8 Dec 12, 2021
1.0.7 Nov 30, 2021

#474 in Hardware support

MIT/Apache

85KB
2.5K SLoC

AMD graphic card voltage manager

This tool can be used to overclock you AMD graphic card on Linux

Install

cargo install amdvold

Usage

Available commands:

  • setup-info - prints information how to enable voltage management on Linux (see Requirements)
  • print-states - prints current card states
  • change-state - change card voltage states
  • apply-changes - apply changes

Changing states

Positional arguments:

  • index Profile number
  • module Either memory or engine
  • frequency New GPU module frequency
  • voltage New GPU module voltage

Optional arguments:

  • -a, --apply-immediately Apply changes immediately after change

Example:

amdvold 1 engine 1450MHz 772mV

Requirements

To enable AMD GPU voltage manipulation kernel parameter must be added, please do one of the following:

  • In GRUB add to "GRUB_CMDLINE_LINUX_DEFAULT" following text "amdgpu.ppfeaturemask=0xffffffff", example:

    GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 cryptdevice=/dev/nvme0n1p3:cryptroot amdgpu.ppfeaturemask=0xffffffff psi=1"

    Easiest way is to modify "/etc/default/grub" and generate new grub config.

  • If you have hooks enabled add in "/etc/modprobe.d/amdgpu.conf" to "options" following text "amdgpu.ppfeaturemask=0xffffffff", example:

    options amdgpu si_support=1 cik_support=1 vm_fragment_size=9 audio=0 dc=0 aspm=0 ppfeaturemask=0xffffffff

    (only "ppfeaturemask=0xffffffff" is required and if you don't have "options amdgpu" you can just add "options amdgpu ppfeaturemask=0xffffffff")

Dependencies

~15–30MB
~402K SLoC