SRBMiner Cryptonight AMD GPU Miner V1.5.3

mining
miner
mining-guides

#1

SRBMiner Cryptonight AMD GPU Miner

Download V1.5.3:
Mega : Download SRB_Miner

ATTENTION :
From V1.4.0 the miner uses a separate pools.txt file, where you define your pools, wallet, etc.
Config from older versions that includes pool related data, won’t be used!

Supports :

  • Cryptonight
  • Cryptonight V7
  • Cryptonight Lite
  • Cryptonight Lite V7
  • Cryptonight Heavy
  • Cryptonight Ipbc
  • Cryptonight ArtoCash
  • Cryptonight Alloy

Supports Nicehash, Nicehash V7 & SSL/TLS encrypted connections

For best results use Blockchain compute drivers (Get it from here) or Radeon Adrenalin 17 or newer drivers.
ADL tested & working with Radeon Software Crimson ReLive Edition Beta for Blockchain Compute Driver Version 17.30.1029

What can this miner offer you beside usual mining functionalities:

DevFee :

  • Low DevFee (0.85%) -> every ~2 hours 1 minute mining for the dev
  • Non-agressive DevFee mining -> if miner can’t connect to DevFee pool, no problem, switching back to user pool ASAP

Performance :

  • Only one parameter you have to play with : intensity (0 - 300)
  • Leave intensity on 0, and miner will try to set a minimum start intensity automatically
  • To get even better results, there is an option to use double threads

Extra :

  • Watchdog that monitors your GPU threads, if they stop working, miner exists, and restart script starts miner again
  • Set system shutdown temperature, to protect your GPU’s from overheating
  • Restart (disable/enable) all your VEGA gpu’s with devcon before mining
  • API for rig monitoring

Tips :

  • If you leave intensity on 0 it will play safe, so in many cases you can increase that value to get better results
  • For better results set double_threads to true, and leave intensity on 0
  • If you get an error that says it can’t create scratchpad buffer, you have to lower intensity
  • Largest intensity setting won’t always give you the best hashrate. Experiment and find the best setting for your GPU.

How to set it up ?
Read rest of the text , or watch this great tutorial video (Thanks Geek Mark)

The config file :

“cryptonight_type” : “NORMAL, NORMALV7, LITE, LITEV7, HEAVY, IPBC, ARTOCASH OR ALLOY”
“intensity” : A NUMBER BETWEEN 0-300,
“double_threads” : TRUE OR FALSE

Some examples for "cryptonight_type"

normal
+Electroneum
+ByteCoin
+Karbo
+DigitalNote
+Leviar

normalv7
+Monero
+Stellite
+Intense
+Graft
+Masari
+BBS

lite
+Aeon

litev7
+Turtlecoin
+Iridium

heavy
+Sumokoin
+Haven
+Loki

ipbc
+Ipbc

artocash
+Artocash

alloy
+Alloy

Optional parameters :

“giveup_limit” : HOW MANY TIMES TO TRY CONNECTING TO A POOL BEFORE SWITCHING TO NEXT POOL
“timeout” : WHEN IS A CONNECTION TO POOL TREATED AS TIMED OUT , IN SECONDS
“retry_time” : HOW MUCH TO WAIT TILL RECONNECTING WHEN DISCONNECTED FROM POOL, IN SECONDS
“reboot_script” : FILENAME, TURN OFF BUILT IN WATCHDOG AND INSTEAD RUN A USER DEFINED .BAT FILE ON GPU FAILURE (included windows restart .bat)
“restart_devices_on_startup” : IF TRUE IT WILL USE DEVCON TO DISABLE/ENABLE EVERY VEGA GPU IN YOUR MACHINE BEFORE MINING STARTS
“restart_devices_on_startup_script” : FILENAME, THIS SCRIPT RUNS AFTER VEGA GPU ENABLE/DISABLE PROCESS, GOOD FOR SETTING UP OVERCLOCKING

API:
“api_enabled” : TRUE OR FALSE
“api_rig_name” : IDENTIFIER FOR YOUR RIG
“api_port” : PORT ON WHICH THE REST API RUNS (DEFAULT IS 21555 IF NOT SET)

AMD Overdrive ADL supported GPUs can use :
“target_temperature” : A NUMBER BETWEEN 0-99, MINER WILL TRY TO MAINTAIN THIS TEMPERATURE FOR GPUS (ADL TYPE 1 (OVERDRIVEN) ONLY)
“shutdown_temperature” : A NUMBER BETWEEN 0-100, IF THIS TEMPERATURE IS REACHED, MINER WILL SHUTDOWN SYSTEM (ADL MUST BE ENABLED)

#SET GPU’S MANUALLY
#This example uses GPU devices with ID 0,1,3,4 and every GPU has it’s own setting
“gpu_conf” :
[
{ “id” : 0, “intensity” : 80, “worksize” : 8, “threads” : 1},
{ “id” : 1, “intensity” : 40, “worksize” : 8, “threads” : 2},
{ “id” : 3, “intensity” : 30, “worksize” : 8, “threads” : 2},
{ “id” : 4, “intensity” : 90, “worksize” : 8, “threads” : 1}
]

Some additional parameters you can use in gpu_conf:

“kernel” : 0-4 , IF 0, MINER WILL SELECT MOST SUITABLE KERNEL, OTHERS ARE : 1-FOR GCN CARDS, 2-FOR PRE-GCN CARDS, 3-FOR PRE-GCN EXPERIMENTAL 1, 4-FOR PRE-GCN EXPERIMENTAL 2
“target_temperature” : A NUMBER BETWEEN 0-99, MINER WILL TRY TO MAINTAIN THIS TEMPERATURE FOR GPU. IF TARGET_TEMPERATURE OPTION NOT SET TO ZERO ON CONFIG TOP, THIS SETTING IS IGNORED (ADL TYPE 1 (OVERDRIVEN) ONLY)
“target_fan_speed” : A NUMBER BETWEEN 0-6000, THE RPM (ROUNDS PER MINUTE) SPEED FOR FAN. (ADL MUST BE ENABLED)
“adl_type” : 1 OR 2 , 1 - USE OVERDRIVEN , 2 - USE OVERDRIVE 5, DEFAULT IS 1 IF NOT SET, IF YOU DON’T HAVE TEMP OR CLOCKS DISPLAYED, TRY USING 2 (MOSTLY FOR OLDER CARDS)

So if you for ex. have 6 GPU’s but want only to use 3, first run SRBPolaris-CN.exe --listdevices to list devices and their id’s, that you can put in config file under gpu_conf part.

DON’T comment out or remove intensity and double_threads setting at the top of the config file, just leave it as-is, because when you use a per card setting, those settings will be ignored.

The pools file:

{
“pools” :
[
{“pool_use_tls” : false, “keepalive” : false, “pool” : “pool1address”, “wallet” : “pool1wallet”, “password” : “x”},
{“pool_use_tls” : false, “keepalive” : true, “pool” : “pool2address”, “wallet” : “pool2wallet”, “password” : “x”},
{“pool_use_tls” : false, “keepalive” : false, “pool” : “pool3address”, “wallet” : “pool3wallet”, “password” : “x”}
]
}

After setting up the config.txt file, just run start.bat
If you want to create a separate config and pools for a different coin, use --config and --pools parameter.

Options :

  • Press ‘s’ to see some basic stats
  • Press ‘h’ to see hashing speed
  • Press ‘p’ to fast switch to next pool from pools config file
  • Press number from 0-9 to disable/enable from gpu0-gpu9, then shift+0 for gpu10, shift+1 for gpu11…etc. until gpu19 max (use US keyboard where SHIFT+1 = !, SHIFT+2 = @ …etc…)

Parameters (go in .bat):

–config filename (use config file other than config.txt)
–pools filename (use pools file other than pools.txt)
–logfile filename (enable logging to file)
–listdevices (list available devices)
–listdevicesreordered (list available devices ordered by busid)
–gpureorder (order devices by busid)
–adldisable (disable ADL)
–disablegpuwatchdog (disable gpu crash detection)

Info :
You have to change the wallet address in sample config.txt file, if you leave it, you will donate some hashing power to me.