-
Notifications
You must be signed in to change notification settings - Fork 1
nVidia GPU mining
This guide assumes two things:
- You have set up your qt-wallet and it works correctly
- 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)
- 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
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.
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.
Next, open up your configuration file, which should look something like this:
rpcuser=userrpcpassword=passwordrpcport=20203port=21203daemon=1algo=groestl
We're going to add server=1, listen=1, rpcallowip=localhost so the file looks like this:
rpcuser=userrpcpassword=passwordrpcport=20203port=21203daemon=1algo=groestlserver=1listen=1rpcallowip=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.
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.
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!