Skip to content

nVidia GPU mining

Heng Teng Yi edited this page Jul 1, 2018 · 14 revisions

nVidia GPU Mining Guide

Pre-requisites

This guide assumes two things:

  1. You have set up your qt-wallet and it works correctly
  2. You have an nVidia CUDA-compatible GPU in your computer (you can check the list of compatible GPUs here at http://developer.nvidia.com/cuda-gpus)
  3. You are on Windows. If you have met both requirements, you're good to go.

To start, you'll need ccminer. Tpruvot's fork of ccminer is recommended: https://github.com/tpruvot/ccminer/releases

ccminer

For Windows 64-bit, download the latest x64-labelled Windows build of ccminer. For Windows 32-bit, download the latest x86-labelled Windows build of ccminer. Using 7-Zip, unzip the packages.

CUDA Installation

Then, go to https://developer.nvidia.com/cuda-downloads? and download the latest CUDA toolkit for Windows (select exe(local)) and its patch. Run the installer and install CUDA 9.2. After it's done, run the patch installer as well.

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 ccminer files are stored in. Create a new file called ccminer.txt. Put the following line in the file and save:

ccminer.exe -a <YOUR ALGO> --userpass=<YOUR RPCUSER>:<YOUR RPCPASSWORD> -o http://127.0.0.1:20203

If pool mining, it should be

ccminer.exe -a <YOUR ALGO> --userpass=<YOUR RPCUSER>:<YOUR RPCPASSWORD> -o stratum+tcp://<YOUR POOL ADDRESS>:<YOUR POOL PORT

Rename the file to ccminer.bat. If using the x64 build, rename the ccminer-x64.exe to ccminer.exe.

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

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

Note: For blake users, you'll have to specify blake2s instead of blake.

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 ccminer.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