This guide covers GPU mining with CGMiner (BFGMiner can also be used with this setup guide)
CGMiner Setup (Windows)1. Download
CGMiner (Bitcointalk thread:
https://bitcointalk.org/index.php?topic=28402.0).
2. Extract the zip folder.
3. Create a shortcut to cgminer.exe, edit the properties of the shortcut and append to the target the required parameters mentioned below.
CGMiner Command Line Options:The standard command line options are as follows. This will connect cgminer to a pool and start mining.
--scrypt -o [poolurl]:[port] -u [username].[workername] -p [password]
Example of Pool Mining:
--scrypt -o stratum+tcp://gld.cryptocoinmine.com:2020 -u Dayne.1 -p x
Example of Solo Mining (While Goldcoin Client is running):
--scrypt -o 127.0.0.1:8122 -u <goldcoin.conf user_name> -p <goldcoin.conf password>
Useful optional parameters to set are:-g | ~ | Number of threads to use. Sometimes 2 is faster than 1. |
--shaders | ~ | Set to the gpu's amount of shaders, google "gpu name shaders". |
--thread-concurrency | ~ | Better version of --shaders, should be a multiple of the gpus shader count. |
-w | ~ | Work size (try 64, 128, 182 or 256 (maximum). |
-I | ~ | Intensity (12 generally works best). High Intensities can slow down hashrates . |
Example SetupsnVidia GeForce GT 630M:
--scrypt -o stratum+tcp://gld.cryptocoinmine.com:2020 -u Dayne.1 -p x --thread-concurrency 6144 -g 1 -w 128 -I 12
AMD Radeon HD 7870 (350 Kh/s):
--scrypt -o stratum+tcp://gld.cryptocoinmine.com:2020 -u Stouse49.1 -p x -I 12 -g 2 --thread-concurrency 8000 -w 256 --gpu-engine 1075 --gpu-memclock 1500 --lookup-gap 2 --expiry 1 --queue 0 --no-submit-stale -s 1
CGMiner Configuration FilesSettings can also be specified in a configuration file. In such a case the command line arguments are:
-c <config file>
Here is example config file that contains all three of the currently working pools. If one pool goes down, cgminer will switch to another pool and keep mining.
{
"pools" : [
{
"name" : "Goldcoin VirCulPool (gld.vircurpool.com)",
"url" : "stratum+tcp://gld.vircurpool.com:3331",
"user" : "username.workername",
"pass" : "password"
},
{
"name" : "Goldcoin Cryptocoin Mine (gld.cryptocoinmine.com)",
"url" : "stratum+tcp://gld.cryptocoinmine.com:2020",
"user" : "username.workername",
"pass" : "password"
},
{
"name" : "Goldcoin Cryptopool (gld.cryptopool.info)",
"url" : "stratum+tcp://gld.cryptopool.info:3355",
"user" : "username.workername",
"pass" : "password"
}
],
"api-allow" : "W:127.0.0.1",
"api-listen" : true,
"expiry" : "1",
"failover-only" : true,
"queue" : "0",
"round-robin" : true,
"scrypt" : true,
"intensity" : "12",
"worksize" : "256",
"no-submit-stale": true,
"scan-time": "1"
}
Start MiningExecute cgminer with all the necessary and optional parameters in a shortcut, batch file or through another software such as CGWatcher.
References:The official
CGMiner SCRYPT Readme.
The Litecoin Mining Hardware Comparison (includes settings) -
http://litecoin.info/Mining_Hardware_Comparison-
Many thanks go to Dayne for starting this guide. If you post your settings and hashrates, we will add them to this post to build a database of cards, speeds and settings.