Tuning for GPU - The-GNTL-Project/Documentation GitHub Wiki

Description

This guide will help you tune your GPU for mining.

Installation

AMD Vega cards

Pre-requisites

These are all required before you proceed, and files are available from our Discord Server, and some of them on the Internet:

  1. Administrator privileges - The Registry files need to write to the Computer registry, so ensure you have this prior to continuing.
  2. OverdriveNTool v0.2.2 - Used to configure voltage and clock speeds of the GPU(s).
  3. Environment_Variables.reg - Used to set optimum values for the environment.
  4. Disable_Crossfire_Ulps.reg - Used to disable AMD Crossfire, needed if you are using multiple GPUs.
  5. 1100mhz_hbm_ad_905mv.reg - Used to set the Soft Powerplay Table entries for your AMD Vega cards
  6. AMD 18.5.1 Driver - Newer drivers have been known to cause issues, so we are basing this guide on the older driver.
  7. DDU - Display Driver Uninstaller, available from https://www.guru3d.com/.

Uninstall newer driver (optional, as it may work fine):

The newer driver should be removed cleanly:

  1. Uninstall your current driver with DDU and install 18.5.1 using the custom installation option.
    1. Only select the video driver and do not install the AMD software and the audio drivers. You don't need those, unless this is on a desktop you game on also.

Install and Configure to our requirements

We will now install and configure the downloaded files, to our requirements. Paths can be substituted to whatever you are using:

  1. Copy all files over to C:\Miner\Config\.
  2. Double-click on Environment_Variables.reg, and accept the prompts to merge the file into your computers registry.
  3. From the Start Menu, search for Registry Editor, and click Run as Administrator.
    1. Navigate down to [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}.
    2. Have a look through the sub-keys (number depends on how many GPUs you have), e.g. 0001, 0002, 0003. In the sub-keys, you are looking for the Name DriverDesc, and the resulting Data value, which should indicate the AMD card. You need to make a note of each sub-key that contains the AMD card.
    3. Close Registry Editor.
  4. Open 1100mhz_hbm_ad_905mv.reg and Disable_Crossfire_Ulps.reg files in Notepad.
    1. These 2 files contains sub-key blocks from 0001 to 0013. You can now add/remove or edit the blocks in these files to match your environment, and Save and Close the Notepad windows.
  5. Double-click both 1100mhz_hbm_ad_905mv.reg and Disable_Crossfire_Ulps.reg, and accept the prompts to merge the file into your computers registry.
  6. Reboot your computer.

NVIDIA cards

Pre-requisites

These are all required before you proceed, and files are available them on the Internet:

  1. Administrator privileges - To install software.
  2. MSI Afterburner, available from https://www.guru3d.com/files-details/afterburner-download-msi.html.
  3. Recommended Settings for your card, available on the Internet.

Install and Configure to our requirements

We will now install and configure the downloaded files, to our requirements. Paths can be substituted to whatever you are using:

  1. Copy all files over to C:\Miner\Config\.
  2. Install MSI Afterburner.
  3. Launch MSI Afterburner.
    1. Click the Cog button to open up MSI Afterburner properties.
      1. On the General Tab, tick Unlock voltage control, and then click OK. Choose Yes when prompted to restart MSI Afterburner.
    2. In the Profile section, click on the Save button, and then click 1 to save the default profile as 1.
    3. Refer to your card's recommended clock settings, and adjust the sliders accordingly, and then click the Tick button.
    4. In the Profile section, click on the Save button, and then click 2 to save the default profile as 2.

Run the Miner

AMD Vega cards

OverdriveNTool

NOTE: The included configuration is for Vega cards with Samsung memory. If you have Hynix, you will have to adjust the clock settings:

e.g. Change Mem_P3=1100 to Mem_P3=935.

We now need to run apply manual clock settings, which is required at every reboot:

  1. Edit the OverdriveNTool_Configure_Cards.cmd file, and add/remove cards by adding/removing the corresponding entries. You need to adjust this file, to match the number of cards you have present. You can also run OverdriveNTool.exe to show you the card order, in case you have an iGPU.
    1. e.g. -r1 -r2 and -p1RXVegaRef -p2RXVegaRef.
  2. Double-click OverdriveNTool_Configure_Cards.cmd, which will apply soft clocks to your cards (removed at reboot).
  3. Now run your miner.