Skip to content

AMD GPU mining

Heng Teng Yi edited this page Jun 23, 2018 · 5 revisions

AMD GPU Mining Guide

Prequisites

  1. You'll need an AMD GPU.
  2. You have to be running a 64-bit Windows installation.

sgminer

Download the latest Windows binaries from https://github.com/nicehash/sgminer/releases. Unzip the file into a folder.

Note: For 64-bit Windows, you should download the amd64 version.

Note: For 32-bit Windows, you should download the i386 version.

Setting up RIchCoin.conf

Next, open up your configuration file, which should look something like this:

  • rpcuser=user
  • rpcpassword=password
  • rpcport=20203
  • port=21203
  • daemon=1
  • algo=groestl

We're going to add server=1, listen=1, rpcallowip=localhost so the file looks like this:

  • rpcuser=user
  • rpcpassword=password
  • rpcport=20203
  • port=21203
  • daemon=1
  • algo=groestl
  • server=1
  • listen=1
  • rpcallowip=localhost

Also, change the algo to the algorithm you wish to mine on. If you plan on pool mining, replace localhost with your pool address.

Setting up your .bat file

Finally, open the folder your sgminer files are stored in. Create a new file called sgminer.txt. Put the following line in the file and save:

sgminer.exe -a <YOUR ALGO> -o http://127.0.0.1:20203 --userpass=<YOUR RPCUSER>:<YOUR RPC PASSWORD> -t <NUMBER_OF_THREADS>

If pool mining, it should be

sgminer.exe -a <YOUR ALGO> -o stratum+tcp://<YOUR POOL ADDRESS>:<YOUR POOL PORT> --userpass=<YOUR RPCUSER>:<YOUR RPC PASSWORD> -t <NUMBER_OF_THREADS>

Rename the file to sgminer.bat.

Note: For groestl users, you'll have to specify myriad-groestl instead of groestl.

Note: For lyra users, you'll have to specify lyra2REv2 instead of lyra.

Mining

Finally, open up your qt-wallet. Wait a couple seconds for the wallet to sync with the blockchain. And then, the magic happens. Click on your sgminer.bat and you should start mining. If the file prints errors, that means your wallet was not synced up, or your configuration was wrong.

Have fun mining!

Clone this wiki locally