As many of you know, Vertcoin is becoming increasingly popular. Many miners are moving their rigs from Scrypt pools to Vertcoin using the Scrypt-N Factor algorithm. Many new comers are having issues configuring their cards so here is the information I’ve learned while I was in the process of moving over. In this guide, you’ll hopefully learn a bit more about how to start mining Vertcoin in Windows and how to configure your miner for optimal output.
What you will need:
Vertminer 0.5.2 TheKev’s Fork (Highly Recommended)
Must give credit to TheKev for the Fork. Donation link to him:
( Please also donate to the compiler Zaw9c1 for helping us get this to windows in a timely manner and hopefully he will help us on the next one : Vy8oEUWVc3wB6bTX2uAAyh11M3gKJA6V3f )
Time to start mining. Once you have downloaded the Zip, Extract the folder. You will see vertminer.bat in there. The .bat file is what you will be editing to make tweaks for your configuration. You will see I have already posted a configuration for R9 270 cards which won’t work for everyone, but it’s a good start.
vertminer.exe –scrypt-vert -o stratum+tcp://vtc.coingolem.com:3333 -u x.x -p x -w 256 –rawintensity 5120 -g 2 –thread-concurrency 6336
You’ll need to know the amount of Shader Cores you have for your card. Here is a list of common cards used for mining and their shader values:
Radeon HD 7850 – 1024
Radeon HD 7870 – 1280
Radeon HD 7970 – 2048
Radeon R7 265 – 1024
Radeon R9 270 – 1280
Radeon R9 270X – 1280
Radeon R9 280 – 1792
Radeon R9 280X – 2048
Radeon R9 290 – 2560
Radeon R9 290X – 2816
Now that you know your shader count, we have to get a little more technical.
How hard your card is working:
I:12 = 4096 threads
I:13 = 8192 threads
I:14 = 16384 threads
I:15 = 32768 threads
I:16 = 65536 threads
I:17 = 131072 threads
I:18 = 262144 threads
I:19 = 524288 threads
I:20 = 1048576 threads
Exact thread-count, but in my opinion much more stable and easier to tune your card(s) for mining.
**Note: You CANNOT use Intensity and RawIntensity, It’s either or!!!**
So lets use an R9 270 for example since those are the cards I have, 1280 shaders x 4 = 5120. So my –Rawintensity would be 5120. (Which I’ve found the most stable, you can multiply it higher if you have a more powerful card). Again you can only use this flag in TheKev’s Miner I have listed above to download
Why did I multiply it by 4? It will even out with Thread-Concurrency and GPU-Threads which I will explain.
This is a big one with mining Vertcoin. Lots of miners have had to use –g 1 (so 1 GPU Thread) because of the different algorithm and intensity. Since TheKev implemented –Rawintensity, It is much easier to use 2 GPU threads which is much more stable in my opinion.
As many miners come from regular Scrypt, Thread-Concurrency was usually a very high number. This isn’t the case now if you use –rawintensity. Your Thread-Concurrency will be half now. Common values that have proven to be stable and produce good KH/s are 10241,8193,5119,6336. These numbers are based off the multiples of your shaders and will vary greatly depending on your card.
Again, with Scrypt-N mining, I haven’t seen any good KH/s or stability using any higher than 256. You could try 512, 128, 96, 64, or 48 if you like.
This tunes a compromise between ram usage and performance. Performance peaks at a gap of 2, but increasing the gap can save you some GPU ram, but almost always at the cost of significant loss of hashrate. Setting lookup gap
overrides the default of 2, but cgminer will use the –shaders value to choosea thread-concurrency if you haven’t chosen one.
SUMMARY: Don’t touch this.
GPU Engine and GPU Memclock
The –gpu-engine and –gpu-memclock are used to set GPU Clock speed and Memory Clock speed. You may use these flags to set the values or use 3rd party software such as MSI Afterburner to adjust these values outside of your mining program. Usually you will want to begin with stock settings and adjust up or down in small amounts from there to determine the most optimal settings.
You can use either –auto-fan or –gpu-fan. –auto-fan will automatically increase or decrease your GPU fan speed depending on how hot it is. If you’re worried about it being too loud and you already know what fan speed works, you can use –gpu-fan <speed in percent> and you’ll be set
Hopefully your miner has started and you’re starting to see results! Now for debugging.
KH/s: This is how hard your card is working. Every card produces different KH/s based on GPU/Memory clocks configuration. Remember not everyone’s configurations are the same. They will vary.
WU/M: This is as important as KH/s. This is how much work you’re submitting. This number won’t stabilize for at least 45-60min after you started mining. This is important to pay attention too.
HW: This is Hardware Errors. Should always be 0.. If it isn’t 0 you must change something in your configuration. Having hardware errors means your card isn’t stable and you won’t be mining at 100% efficiency.
A, R: Accepted and Rejected work. These values will change per pool you are mining on. You will have some rejects, This happens… But if you are having a high rejection value, I would check with the pool you are mining with too see if they are having issues.
Additional Information about RAM with Scrypt-N
It appears that with Scrypt-N You need to have at least same or more amount of system RAM as is on Your VGA, so If You have 2G of ram and some R9 VGA with 3G, Youll get this error with higher thread concurrency. Eg (approximates)
R9 280X w 3G video RAM + 2GB system RAM on scrypt with TC 8192: 700khs
R9 280X w 3G video RAM + 4GB system RAM on scrypt-n with TC 8192: 350khs
R9 280X w 3G video RAM + 2GB system RAM on scrypt-n with TC 8192: Error -5: Enqueueing kernel onto command queue. (clEnqueueNDRangeKernel)
R9 280X w 3G video RAM + 2GB system RAM on scrypt-n with TC 4096: 200khs
Credit to: Bitcointalk.org user jebbgenham
Tweaking Your Hardware… Patience young Padawan!
Tweaking your card settings will take most of your time, and cause a lot of frustration. Hardware errors, system lock ups, and your miner crashing are all common in this process. You must keep at it.
To start off, put all your video cards at stock clocks from the factory so you know the video card is stable, and then start tweaking!
So you hopefully are running smoothly but getting things working exactly right can be very difficult sometimes. The main culprit usually being thread concurrency or intensity. I highly recommend going with intensity 13 to start in most cases or rawintensity of shaders*4. (for new cards anyways please reply with what works best for you)
Thread-concurrency will be a battle as well. You will want this to fall under the perfect number that can shoot you up in hash rates. Sometimes when changing TC you will see errors so be weary and expect PC restarts and long miner crashes. Keep adjusting to assure you have no HW errors. Once you get close, you will see less and less HW errors. if you get only 1 or 2 overnight then you are very close, keep tweaking!
Lastly, you may want to do some clean-up in your vertminer folder before starting overclocking. Every time you change thread-concurrency, work size, or GPU threads it creates another bin file. This bin file is used every time you start vertminer and keeps your settings stored. Once you’re at your optimal settings you can just delete all of the bins. It will create a new one with the same previous settings and you wont have 20 bin files anymore. Also I am sure you noticed every time you start vertminer with one of those settings changed it takes a much longer time to start because this is when it creates the bin file. Once you have your settings locked in and a bin file, made vertminer will start much faster.
**I personally have been mining on vtc.coingolem.com for 3 days and have less than 0.1% rejection value. This is good.
I hope I have helped to clear up a bit of questions miners were having, I’m trying my best to help miners produce the most out of there hardware since we are all investing a lot of money into this crypto-currency market. Donations are very much welcomed if you would like, not required.
Credit to: ckolivas, Kalroth, dmfree88 and many others for information and help.
Hope you see your Vertans mining at your best!
-Savage, Coin Golem Contributor