Greetings, Globalhalo readers, fans, and newcomers alike. In this article we are going to be looking at how to mine Ravencoin. There are actually a few different miners available for Ravencoin, including sgminer, Avermore and Acenuens fork of sgminer, as well Brianmct’s older versions of the sgminer fork.

This guide is built for the average user, the uninitiated, goes step by step, and is hopefully fool proof 🙂 Any questions please leave them in the comments below!


Since the avermore miner has optimizations that allow a greater hashrate, although I believe there is a 2% dev fee, avermore is the miner I will be using for this instructional. However, you should note, that sgminer has no fees that I am aware of, though you’ll probably find that the increased optimizations in the ‘devfee’ versions probably make the whole situation irrelevant. I was getting over 6-7MH/s per RX5xx card I had with avermore, and, it seemed to be a whole lot more stable iterating through the different hash alogoirthms. The great thing about the x16r alg is that it is changing all of the time.

Raven’s x16r alg is changing hashrate and sequence order so frequently that it actually causes the GPU (or cpu if cpu mining) to get serious voltage spikes or drops. This can be very easily mitigated with software such as Sapphire Trixx or MSI Afterburner depending on your graphics card I personally recommended to use MSI afterburner for Nvidia based cards, and to use OverdriveNTool which is much simpler and easier to use by a professional overclocker.

You have to note that making changes other than the ones I recommend could cause damage. Ravencoin x16r does not make a lot of use of the memory, so when gpu mining raven our foremost interest is with the core clock speed of the gpu. For an RX580 chip we are looking in the region of 1350-1400. Although many RX chips can do better than 1400MHZ I don’t recommend exceeding it. Most people mining Raven do better with AMD stock, without any bios or timing bootstraps (which may have been done for eth).

Since Ethereum is now going to sharding and mining fees will be 80% less, folks with mining equipment need to think about their next long mine, since when 15 graphics cards were once making 1 eth a month, not many folks are going to be satisfied making 0.2 eth, but paying the same for electricity.

So lets download Raven, decrease the power usage by -20%, just for thoroughness, to increase stability of Ravencoin mining, and to protect your GPU hardware. It is important to note before proceeding it is not recommended to exceed 66% fan cycle RPM, as the fan bearings in the cards will become worn out quickly, and actually cause inferior cooling. It is important not to let miners get dusty, it increases their temperature difference by over 10 degrees Celsius. Easily enough to cause the card to overheat. All GPUs have some kind of over-volt and thermal cut out, though it is regulated by a sensor, and, if the sensor reports too low a temperature or not at all, it is still possible to fry your hardware when mining any coin. Take special care, and follow the instructions of this guide and you should be all right.

Disclaimer: This is only for AMD cards- nVidia cards should use the Ravenminer 2.6

Step 1: Install Avermore Mining Software & Power/Overclocking Tool

Start off with downloading your miner of choice. In this case we’re using Windows and the precompiled version of Avermore suitable for the RVN x16r protocol.

DOWNLOAD AVERMORE MINING SOFTWARE:
https://github.com/brian112358/avermore-miner/releases

Right click avermore-v1.2-windows and download it.

avermoredownload.png

DOWNLOAD EITHER MSI AFTERBURNER (FOR NVIDIA CARDS) or OverdriveNTool for AMD cards
(this is used for overclocking, undervolting, and/or limiting power to protect gpu)

https://forums.guru3d.com/threads/overdriventool-tool-for-amd-gpus.416116/

Do the same when downloading the overdriventool.

avermore-download-overdriventool

Apologies to power users. This is not evident for all. Then we unzip both files. Since overdriveNtool  is provided as a 7zip file, and Avermore is using a normal zip file. I recommended using either Winrar or 7zip to extract them both. I personally use winrar, either will work perfectly.

Download winrar here

Download 7zip here

Step 2 Extract both the zipped folders to your C:\ disk.

Extract Avermore to c:\avermore and extract the overdriventool to c:\overdriventool. If you want them on your desktop extract to c:\users\yourusernamehere\desktop\avermore and c:\users\yourusernamehere\desktop\overdriventool.

It really makes no difference where they are extracted to, make it neat. We may be running 10+ miners from the box later.

avermoreextract

Extracting Avermore to c:\avermore

 

 

overdriventool

Extract OverdriveNtool to C:\overdriventool

Now only two things left: Ensure GPU is overclocked (if required) and definitely ensure that power is downclocked -20% , it will draw less watts for still more MH comparatively per watt, and, it will protect your cards, so please don’t skip this step. If using an nvidia card, you can do exactly the same using the MSI Afterburner tool.

If you’re scratching your head how to make the power change in Afterburner, I’ll include an image showing where to look. We should be always going for about 80-85% power usage. I use 80. nevermore. avermore? 😀

Step 3 – Set GPU Settings

powertarget image.png.e4d985ff55d68708862951b83d0df325

Step 4 – Ready To Mine!

u1007b

Now, we’re almost done. Avermore is installed in c:\avermore, Overdriventool is installed to c:\overdriventool (or msi afterburner) is installed to a suitable location and has been set to 80% power limit. If using the overdriventool you used -20% power limit. This helps make x16r stable and protects your GPU from voltage/current spike thru changing resistance as the gpu mines on and off, there will be change. Adding this buffer helps a lot, and it’s important to understand such concepts. Do not let the chips exceed 70C. Preferably keep them at 60C.

Create a file on your desktop call it avermore.bat.  Truth of it is, you won’t be able to create bat files if you are not used to windows. You need to make sure you can EDIT FILE EXTENSIONS not just filenames. you do it like so.

cdiskdetails.png

After this then you will be able to create a bat file in your windows desktop.

For ease, create a new text document. by write clicking the desktop

textdocument
Then click new – > text document

Once you have the text file on the desktop, right click it and click rename, change the name of the file to startavermore.bat

avermore-bat

After exchanging the text file extension to bat, you will see the icon for the file changes. This indicates it is now an executable ‘batch’ file. It will allow us to launch the miner, and, then setup automation to automatically start the miner everytime the machine boots.

Right click start_avermore.bat and click ‘edit’

edit_avermore

You will now have notepad open with the batch file. Add this to the file:

[code]
timeout /T 10

setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1

cd c:\
cd avermore
sgminer.exe -k x16r -o stratum+tcp://miningpanda.site:3636 -u YOURwalletaddressissupposedtobehere -p miningserver1 –gpu-fan 65 -X 384 –thread-concurrency 1024 -g 2
[/code]

Let me explain what this does. I added a timeout /T 10. It allows the script to WAIT for your graphics drivers and settings to LOAD, before launching and failing to launch.

I have an extra onboard GPU called an intel HD gpu. These are problematic. The key is to add an extra part to the line for this, –gpu-platform 1 or –gpu-platform-2. That forces avermore to only use a specific platform of chip, instead of try and use your intel HD gpu, which will fail every time, and most likely be the ‘first gpu’ the program sees.

For those with issues on AMD chips and have onboard intel HD GPU you can use this startup line instead.

-p is usually the password used for the pool, but nowadays this can be anything, and it is generally used instead of rig_name, it allows me to identify when i have multiple miners which miner has highest and which miner has lowest hashrate. It’s important and useful. I personally name all my -p passwords as the IP for my machine. You don’t need to do that, but its handy to know which .147, .154, or .149 box to login to on my network, and by using the -p variable its possible for me to tag my machines simply. Ignore the complications i mention here if it confuses you. Just run the batch script.

-o is the mining pool stratum we want to connect to.

-u is your RVN wallet. Don’t worry you can sign up to crypto-bridge.org and get yourself a RVN wallet within a few minutes. Just go there and sign up. If you like a paper wallet or secure local wallet, and like to mine to an off exchange wallet (either paper or the rvn core wallet) see this link or specifically use the Github link here.

 

 

 

[code]
timeout /T 10

setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1

cd c:\
cd avermore
sgminer.exe -k x16r -o stratum+tcp://miningpanda.site:3636 -u YOURwalletaddressissupposedtobehere -p miningserver1 –gpu-fan 65 –gpu-platform 1 -X 384 –thread-concurrency 1024 -g 2
[/code]

As you can see it is also possible to control the fans with the sgminer.exe in this sgminer avermore fork I am using with –gpu-fan 65. I use -X to set linear intensity to 384. This is about right for me, some systems might need it to be set to 256 though. –thread-concurrency is just to make sure the gpu is kept busy enough, think of it like the number of questions the cpu asks the gpu, or really, the number of ‘telephones’ it has to ask it. -g has a similar function and is to do with the num threads per cpu, as opposed to the num gpu threads per cpu thread which is set by the thread-concurrency variable.

Finish it off with running the glorified bat file, and, provided you followed my article very carefully, put a valid wallet address for RVN starting with R, are using a pool such as the one I am, you should now be good to go. In notepad save the bat file you created with me, and then double click on it below.

Step 5 – Let It Rip!

launching_avermore

Be patient, it may take several minutes to start and compile the bin files necessary to mine. Many make this mistake with sgminer. Don’t let it be you, foo.

You should now be running RAVENMINER and mining ravencoinage.

avermore-running

This is what you should see and if you do. You will now be able to view your mined coins in the coming hours , at least if using mining panda at the web address below:

https://miningpanda.site/?address=YOURWALLETADDRESSGOESHERE

Step 6 – Automating

Windows is pretty simple software. It’s very easy to make this bat file run on startup. Overdriventool, provided settings are safe should apply gpu settings every boot-time. Which is nice because you don’t have to keep changing the power limit for the AMD driver, it sticks until it gets unstable and then it is altered back to default next boot. So.. not too much to worry about!

shellstartup

Press Windows button + R, or goto start menu and type ‘run’, then click the box. type shell:startup in it like so:

shellstartup

You will now drag and drop the bat file you created on your desktop, use right click to drag drop, and copy it there as a shortcut. Now your custom batch script will start everytime with windows. Hurrah.

It’s Allllllliiiiive!!!!