Vertcoin Mining Guide

This article was taken from: /r/VertcoinMining Here

This guide exists to help new miners get on their feet with Vertcoin. It is written at a basic level to help even non-technical folks get into mining, should they desire. Since the purpose of vertcoin is to distribute the currency evenly, this guide is pertinent to be able to help all users from every background get set up and mining. If you are looking for more detailed information, contact yurple on the VertCoin Mining subreddit or his reddit user page and he will do the best he can to answer your question.

I will only be showing how to mine on Windows and OSX. I'd love to be able to write mining guides for linux, however, driver support is well behind the times on every graphics card I've tried to use with linux

Getting Started - Downloading your wallet

In order to receive payments, you have to have a way to store your money! This comes in the form of the wallet. The download for the wallet can be found on the VertCoin Website. Click "Wallets" at the top, then choose the wallet appropriate to your operating system, and follow the installation instructions.

Getting Started - Commands to Run Once - Windows

There are a couple of commands which you should run on all of your miners, which should help increase the output of whatever software you end up choosing to use. Open up a command line, and type in the following and press enter.

setx GPU_MAX_ALLOC_PERCENT 100

and

setx GPU_USE_SYNC_OBJECTS 1

Getting Started - Choosing your miner

Since everyone has a different setup, it's easiest to choose which miner you need, depending on the highest hashrate hardware you have. In general, AMD cards have the highest hash rate, and CPU's have the lowest hash rate. Newer NVidia cards can use Cudaminer in order to maximize their performance, but for statistically equivalent graphics cards, AMD will have a higher hashrate with CGminer. Also, because of the algorythm vertcoin uses, you can expect 45-50% of the average hashrate of the card, if you've previously mined with any of the miners below.

To summarise:

Each of the miners can be run from the command line, and each miner has a slightly different command structure. I'll go into more details below.

CGminer

CGminer can be run and settings can be updated manually by double clicking "cgminer.exe". I do not recommend this, because there are many flags that can be set much more quickly and easily by creating a .bat file (There is also a way to change settings using a .conf file, but I don't like that, either). To do this, create a new text document, and choose to "save as". Save your file as "[whateveryouwantonameit].bat" and choose "All files" from the dropdown menu. This file NEEDS to be saved in the same directory as the "cgminer.exe" file; in the CGMiner folder.

When creating the bat file, there are a few things that are NECESSARY in order for the bat file to work

cgminer.exe
--scrypt
-o stratum+tcp://[poolurl]:[port]
-u username.workername OR -u walletaddress (if using P2Pool)
-p password OR anything (if using P2Pool)

You can run the file once you have these flags set, and you should be able to see that your miner is working (I'll work on getting screenshots up soon). In case you're worried about how to put it all together, it should look like this:

cgminer.exe --scrypt -o stratum+tcp://vtc.local0247.org:9171 -u VaKa1x8uUMjJdBz6zkvw4fTZe28Y34WeHh -p x

Once you know that your miner is working, it's now time to tweak it, as you can usually get many more hashes per second out of your GPU this way, as well as change options which can help your cards run longer.

--auto-fan 

Allows CGMiner to control the speed of your GPU fan. I HIGHLY recommend this, as it will have greater control over your temperature of your cards.

--device or -d (0, 1, 2, n)  

Will select the device to use. Your graphics cards are numbered 0 to n, where n is the number of graphics cards you have installed minus 1. By default, all graphics cards are enabled in CGminer. You can choose to mine with only one or two graphics cards, if you'd like to leave one free for your personal computing.

--gpu-engine XXXX 

Will set your GPU core clock to a certain frequency. Generally higher is better, as long as it runs in a safe range on your GPU. Consult your GPU before changing this value.

--gpu-memclock XXXX 

Will set your GPU memory clock to a certain frequency. Generally higher is better, as long as it runs in a safe range on your GPU. Consult your GPU before changing this value.

-I (0-20) 

Sets the Intensity of CGminer. With Vertcoin, I have not had any luck pushing -I past 13. On other coins, it can run at 20 without problems.

--no-submit-stale 

Prevents your miner from submitting shares if they are known to be stale. This may help if you are having any network / lag issues.

--temp-cutoff (0-100)

Temperature where a device will be automatically disabled. By default this is 95C, I prefer to keep mine at 85C for the life expectancy of my cards.

--temp-target (0-100)

Temperature at which CGminer will attempt to keep your GPU. By default this is 75C, I prefer to keep mine at 68C for the life expectancy of my cards.

--thread-concurrency XXXX 

Arguably the most impacting factor for both hardware errors and hashrate. The most common value for thread concurrency settings are a multiple of 64, but range widely from card to card. With mining Vertcoin, thread concurrency is usually halved compared to other coins. I recommend tweaking this number if you are experiencing poor performance, or an unusually large number of hardware errors.

--worksize OR -w XXX 

Will set the size of work for your miner. Max value is 256, I recommend having worksize set to the max value for all cards. Reduce if you experience poor performance.

CUDAminer

Thanks /u/m3adow1 and this guide for the information about CUDAminer.

CUDAminer is the ideal mining software for NVidia cards, as it is able to utilize the CUDA cores, giving the graphics cards further power. Much like with CGminer, a lot of times it is easier to start CUDAminer with a .bat file. To do this, create a new text document, and choose to "save as". Save your file as "[whateveryouwantonameit].bat" and choose "All files" from the dropdown menu. This file NEEDS to be saved in the same directory as the "cudaminer.exe" file; in the CUDAminer folder.

You need to add --algo=scrypt:2048 to your batch to mine Vertcoins. If you mined another "normal" scrypt coin before and already optimised your config, remove your optimized --launch-config (short version is -l ) from your batch. You'll probably need to reoptimize it. For me it was F15x16 for normal scrypt and F15x8 for Vertcoin. Apart from the launch-config, see this guide for some tips on optimizing your CUDAminer config.