Installation of Cgminer on Windows !
So first we need to download 3.7.2 (which is the last version to support GPU mining) of CGMiner from here.
After you have downloaded CGMiner unpack the Zip file with WinRAR or WinZip.
So now that you have the files its time to setup everything so that you get the most out of your GPU.
There are 3 ways of settings up CGMiner which are trough the program itself, with a Config files and with a Batch file.
For this guide i will be using the Batch file method and i might add the Config file method later down the road.
Now open Notepad (if you dont have it Click here) or any other text editor you might be using and start by typing the following
cgminer --scrypt -o stratum+tcp://[poolurl:[port] -u [username].[workername] -p [password]
For Example on Mineshaft
cgminer --scrypt -o stratum+tcp://mineshaft1.cryptopia.co.nz:1000 -u [username].[workername] -p [password]
-u is your username+worker that you made on the pool website
-p is for the password you set it at
These settings will be enough to get you started mining without even optimizing it for your GPU.
So now you should save this into your CGMiner folder as a batch file.
Go to Save As in notepad and then change Save as type: to All Files and put .bat behind the name.
So now for the optimizing part. There are a few parameters to optimize your CGMiner to your GPU.
-w Worksize 64, 128, 182 or 256 where 256 is the maximum
-I Intensity is pretty crucial too high and it will lower your hash rate and give HW errors and too low will also lower your hash rate.
Intensity can be set from 0 to 20.
-g Once you have found the optimal shaders and intensity, you can start increasing the -g value till cgminer fails to start.
Rarely will you be able to go over about -g 4 and each increase in -g only increases hashrate slightly.
--shaders Use the shader count that your GPU has
--thread-concurrency This tunes the optimal size of work that scrypt can do.
It is internally tuned by cgminer to be the highest reasonable multiple of shaders that it can allocate on your GPU.
Ideally it should be a multiple of your shader count. vliw5 architecture (R5XXX) would be best at 5x shaders, while VLIW4 (R6xxx and R7xxx) are best at 4x.
Setting thread concurrency overrides anything you put into --shaders.
Now for your GPU settings in CGMiner i'll use mine as an example.
--gpu-engine 1150 (gpu clocks you want to use)
--gpu-fan 10-85 (fan speed you want to use)
--gpu-memclock 1450 (memory clocks you want to use)
--gpu-powertune 10 (powertune i always leave it at 10 or 20)
--temp-cutoff 90 (max temperature untill CGMiner stops i usually put it at 90)
--temp-target 75 (max temperature you want to reach so it can adjust the fan speed you set at --gpu-fan)
When CGMiner is running look out at the [R] and [HW] points !
[R] should be below 1% of your accepted other wise it will slow down your hashrate too much for
[HW] errors there should be 0 if not your settings arn't the correct ones .
So here is what my batch file for CGMiner looks like with an R9 270 X VaporX
and remember these are guide lines so what works for me might not work good for you
so you have to play a bit with these settings.
Also my thread concurrency is higher then what this guide says it should be so as you can see its not the be all end all guide these are just guidelines.
So finally here is what my Tutorial batch file looks like which gets me 380 Kh/s !
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
cgminer --scrypt -o stratum+tcp://mineshaft1.cryptopia.co.nz:1000 -u Lafu.Lafu -p x -I 15 --thread-concurrency 16384 --worksize 64 --gpu-engine 1150 --gpu-memclock 1450 --gpu-fan 50 --gpu-powertune 10 --gpu-threads 2
And my example (batch file) has been built on this tutorial and extra rewritten for!
How you get to the Mineshaft 2.0 Mining Pool
and Setup your Worker !
When you clicked on Miners here you Create and Manage Worker
Click Create Worker
Now you are Ready to Mine on Cryptopia Mineshaft Mining Pool
Here you see how you can Switch your Worker and Setup your Miner
When clicked Getting Started
I hope I could help you and give you a little good insight into the mining software
How to Witthdraw coin to Wallet from Mineshaft ?
sayyed_raza: 10/27/2016 3:58:52 AM
How to Witthdraw coin to Wallet from Mineshaft ?
They are auto added to your current balance each time they are confirmed.
You can see your what you received from mineshaft at https://www.cryptopia.co.nz/MineshaftHistory
nice work :)
Conf file for NVIDIA for ccminer => open notepad, paste it and save it as ccminer.conf in ccminer dir
"_comment1" : "Possible keys are the long options (ccminer --help)",
"_comment2" : "todo: support /* comments */",
"algo" : "scrypt",
"quiet" : true,
"debug" : false,
"protocol" : false,
"cpu-priority" : 4,
"show-diff" : true,
"no-gbt" : true,
"url" : "stratum+tcp://mineshaft1.cryptopia.co.nz:1000",
"user" : "ID.MinerName",
"pass" : "YourPASS"