Bitcoin Forum
November 09, 2024, 12:53:45 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ... 363 »
  Print  
Author Topic: SRBMiner Cryptonight AMD GPU Miner V1.9.3 - native algo switching  (Read 237257 times)
doktor83 (OP)
Hero Member
*****
Offline Offline

Activity: 2702
Merit: 626


View Profile WWW
March 20, 2018, 12:10:13 PM
Last edit: October 04, 2019, 04:00:30 PM by doktor83
Merited by xandry (8), Bojcha (8), suchmoon (7), anatolikostis (3), CjMapope (3), heavyarms1912 (2), rednoW (1), MagicSmoker (1), RuMiner (1)
 #1

SRBMiner Cryptonight AMD GPU Miner V1.9.3
https://www.srbminer.com
------------------------------------------------------------------------------------------------------------
DevFee only 0.85%
Windows only
Supports Nicehash & SSL/TLS encrypted connections
------------------------------------------------------------------------------------------------------------

============================================================
Significant hashrate increase (up to 15%) on VEGA56/64/FE/VII
Small hashrate increase on RX cards
Please read the TWEAKING PROFILES section

============================================================


SRBMiner-CN
Click here to download from Mega    
Click here to download from Google Drive

MD5: 05a33cd5706a09054c3efbf643cad988 *SRBMiner-CN-V1-9-3.zip


SRB-Restarter
Click here to download from Mega
Click here to download from Google Drive

MD5: a6ad2b95ea08239ab53f0927f90656cf *SRB-Restarter.zip


Download only from these links, these are the only official links
Always check the MD5 of the .zip if you download from unknown sources!


------------------------------------------------------------------------------------------------------------
Recommended driver:
Adrenalin 18.6.1
------------------------------------------------------------------------------------------------------------




Supported algos:

Cryptonight Alloy
[alloy]
Cryptonight ArtoCash
[artocash]
Cryptonight B2N
[b2n]
Cryptonight BitTubeV2
[bittubev2]
Cryptonight Conceal
[conceal]
Cryptonight Fast2
[fast2]
Cryptonight Gpu
[gpu]
Cryptonight Graft
[graft]
Cryptonight Haven
[haven]
Cryptonight Hospital
[hospital]
Cryptonight Hycon
[hycon]
Cryptonight Lite V7
[litev7]
Cryptonight MarketCash
[marketcash]
Cryptonight Mox
[mox]
Cryptonight V4 (CN/R)
[normalv4]
Cryptonight V7
[normalv7]
Cryptonight V8
[normalv8]
Cryptonight StelliteV8
[stellitev8]
Cryptonight Turtle
[turtle]
Cryptonight Upx2
[upx2]
Cryptonight XCash
[xcash]
Cryptonight Zelerius
[zelerius]


...but you can also use aliases like 'cryptonight_r', 'monerov4', 'cryptonight_heavyx', 'cryptonight_pico' , etc..


Obsolete, but supported:

Cryptonight
[normal]
Cryptonight Dark
[dark]
Cryptonight Fast
[fast]
Cryptonight Fest
[festival]
Cryptonight Heavy
[heavy]
Cryptonight Italo
[italo]
Cryptonight Lite
[lite]
Cryptonight StelliteV4
[stellitev4]
Cryptonight Swap
[swap]
Cryptonight Upx
[upx]
Cryptonight V4_64
[normalv4_64]
Cryptonight Wownero
[wownero]



DevFee:
- DevFee is very low, it's only ~ 0.85% (both in normal mode and in algo switching mode)
- Using the same algo as user for devfee mining, so there is no difference in algo settings, power usage, etc..



Extra:
- Guided setup mode for basic configuration
- Watchdog that monitors your GPU threads, if they stop hashing for a few minutes, miner restarts itself
- Hash monitor, if 5 minute average hash falls under the value you define, miner restarts itself
- Startup monitor, if miner can't init GPU's and start mining in a defined time, restarts itself or runs a user defined script
- Monitoring of GPU temperature, and if a critical temperature is reached, that particular GPU is turned off until it cools down
- Set system shutdown temperature, to protect your GPU's from overheating
- Restart (disable/enable) Vega gpu's before mining for maximum performance
- API for rig monitoring
- Web based GUI interface for miner statistics
- Set compute mode and disable crossfire on all cards
- Benchmark every algo locally without connecting to a pool
- Auto switch to new algo on coin fork
- Slow GPU start, so your PSU's wont get overloaded at once



------------------------------------------------------------------------------------------------------------
HOW TO AUTO SWITCH ALGO ON COIN FORK
------------------------------------------------------------------------------------------------------------

To use the auto switch on fork option do this :

Example for Monero fork from V8 to V4

start.bat
SRBMiner-CN.exe --enablecoinforking --config Config\config-normalv8.txt --pools pools.txt

Explained :
1. Start mining with normalv8 algo, that is the algo Monero uses pre V4 fork
2. Add --enablecoinforking parameter so miner knows you want to use the built-in (predefined) fork informations
3. When pool sends a job for the new algo, miner will auto switch to the new algo,if you have it defined in algos.txt (and you do by defaultif you haven't removed it)

Note that this will work only if i knew about the fork and added the needed info in the miner.


------------------------------------------------------------------------------------------------------------
VIDEO TUTORIALS
------------------------------------------------------------------------------------------------------------

How to increase your Vega56/64/Fe/VII hashrate easily

How to configure any coin in SRBMiner
How to enable stats page in SRBMiner

How to dual mine Loki and Turtle coins with SRBMiner
How to dual mine Haven and Bloc.money coins with SRBMiner
How to dual mine CyprusCoin and Triton with SRBMiner

How to mine Monero CN/R with SRBMiner
How to mine Haven coin with SRBMiner
How to mine BitTube coin with SRBMiner
How to mine Turtle coin with SRBMiner
How to mine Xcash coin with SRBMiner
How to mine Graft coin with SRBMiner
How to mine Ryo coin with SRBMiner
How to mine uPlexa coin with SRBMiner
How to mine Conceal coin with SRBMiner
How to mine Hycon coin with SRBMiner




------------------------------------------------------------------------------------------------------------
CONFIG.TXT
------------------------------------------------------------------------------------------------------------


You can use these options :
Note: use all lowercase characters

"cryptonight_type" : algo name or alias (algo name is between [] on the algo list beneath)
"double_threads" : true or false, set it to true for best performance
"fragments" : 0,1,2,4,8,16,32,64,128. It can boost your hashrate if you find the right value for your GPU.
"giveup_limit" : number, how many times to try connecting to a pool before switching to next pool from pools.txt
"heavy_mode" : 1,2 or 3. Method for doing calculations on heavy algos (Heavy, Haven, Swap, Italo, BitTube). Default is 3.
"intensity" : 0-1600, if set to 0 miner will try to find best settings for every video card
"main_pool_reconnect" : number - seconds (minimum is 3 minutes or 180 sec), how often to try to reconnect back to the main pool. Default is 10 minutes.
"min_rig_speed" : number - in H/S, it defines the minimum rig hashing speed we want to maintain. If average hashing speed is less than this, miner restarts.
"min_rig_speed_duration" : number - in seconds (minimum is 30 sec), defines the time period to check average hashing speed, used with 'min_rig_speed' parameter
"off_temperature" : temperature in C, when to turn off GPU if it reaches this value. After value - 15, the GPU is turned on again automatically
"old_mode" : true or false, create kernels with the old method, useful probably only on Vegas with algos that have a scratchpad <= 1MB (default is false)
"reboot_script_gpu_watchdog" : filename to a batch file in miner directory, if set it turns off built in miner reset procedure on gpu failure, and instead runs this script
"reboot_script_min_rig_speed" : filename to a batch file in miner directory, if set it turns off built in miner reset procedure on min_rig_speed trigger, and instead runs this script
"retry_time" : number - seconds, how much to wait before trying to reconnect to a pool
"shutdown_temperature" : number between 0-100, if this temperature is reached, miner will shutdown system (ADL must be enabled)
"target_temperature" : number between 0-99, miner will try to maintain this temperature on all found video cards (ADL must be enabled, works only on cards supporting OverdriveN)
"thread_delay" : 1-1000, delay to maintain between same gpu threads (default is 319)
"timeout" : number - seconds, when is a connection to a pool treated as timed out
"tweak_profile" : number 0-10 , applies tweaks to the GPU that can increase hashrate. 0 - not using any tweaks, 10 - max tweaking. If you add L after the number it will use the low settings (ex. "4L")
"worksize" : 1-256, if set, every video card will use this worksize, if not set, using auto detected value



------------------------------------------------------------------------------------------------------------
Manual GPU setup (advanced)
------------------------------------------------------------------------------------------------------------

To manually set up video cards, you must create a "gpu_conf" array in the config.txt file.

Example :

Code:
"gpu_conf" : 
[
{ "id" : 0, "intensity" : 0 , "worksize" : 16, "threads" : 2},
{ "id" : 1, "intensity" : 0 , "worksize" : 16, "threads" : 2},
{ "id" : 2, "intensity" : 60, "worksize" : 8 , "threads" : 2},
{ "id" : 3, "intensity" : 55, "worksize" : 8 , "threads" : 2}
]


Additional parameters:

"adl_type" : 1 or 2 , 1 - USE OVERDRIVEN , 2 - USE OVERDRIVE 5. Default is 1 if not set. Option 2 (Overdrive 5) is suitable for older cards
"fragments" : 0,1,2,4,8,16,32,64 or 128. It can boost your hashrate if you find the right value for your GPU
"heavy_mode" : 1,2 or 3. Method for doing calculations on heavy algos (Heavy, Haven, Swap, Italo, BitTube). Default is 3.
"off_temperature" : temperature in C, when to turn off GPU if it reaches this value. After value - 15, the GPU is turned on again automatically
"old_mode" : true or false, creates kernel with the old method, useful probably only on Vegas with algos that have a scratchpad <= 1MB (default is false)
"persistent_memory" : true or false, if set miner will try to allocate extra memory for the video card, if it is available. CAUTION, MINER CAN BECOME UNSTABLE AND CRASH if using this option
"target_fan_speed" : 0-6000, if set miner will try to set the video card fan speed to this speed. Setting is in RPM (rounds per minute) (ADL must be enabled)
"target_temperature" : 0-99, if set miner will try to maintain this temperature for this particular video card. If option 'target_temperature' on top of config.txt is set, this option WILL BE IGNORED. (ADL must be enabled, works only on cards supporting OverdriveN)
"thread_delay" : 1-1000, delay to maintain between same gpu threads (default is 319)
"tweak_profile" : number 0-10 , applies tweaks to the GPU that can increase hashrate. 0 - not using any tweaks, 10 - max tweaking. If you add L after the number it will use the low settings (ex. "4L")



------------------------------------------------------------------------------------------------------------
TWEAKING PROFILES [VEGA56/64/FE/VII] & [RX 550/560, RX 470/480/570/580/590]
------------------------------------------------------------------------------------------------------------

If you have VEGA56/64/FE/VII cards i recommend using the 'tweak_profile' parameter because it can significantly (up to 15%) increase your hashrate almost on every algorithm!
For RX series cards, the 'tweak_profile' option can bring some extra hash for your modded GPU.
It can be used on stock bios GPU's too, but the performance will be far from the performance of a modded bios.

Please read these VERY IMPORTANT things:

1. Miner must run with administrator privileges [right click on SRBMiner-CN.exe->properties->compatibility-> check 'Run this program as an administrator' option-> click OK button
2. Be patient, it takes some time to find optimal settings for your gpu/rig. Always test 1 card at a time.
3. If you start getting invalid shares or compute errors, that means the profile is too much for that gpu, so lower it. Or decrease your memory frequency.


To use in config file, use the "tweak_profile" parameter on top of config so the same profile is used for all cards, or in gpu_conf to set a different profile for every card.
Not every gpu can handle the same profile, so you need to find the right one for every gpu.

Tweak levels :

0 - no change, uses your original settings
1 - light tweak
2
3
4
10 - max tweak

Every profile has also weaker (low) settings. To use the low profile, add L after the profile number.
If using gpu setup in cmd it would look like this for example: --cgputweakprofile 3,4,4L,5L
If using config file, you must surround the value with quotation marks if you want to use the L profile. Example : "5L"


The simplest mode to apply a tweak profile is by using + or - on your keyboard while the miner is running.
Please note that if you get gpus 0 hash after this, it does not necessarily mean it can't handle that profile.
Try to assign the profile to the gpu with one of the methods described under.


Example for cmdline setup [4 gpu]:
Gpu 0 uses profile 3
Gpu 1 uses low profile 4
Gpu 2 uses low profile 4
Gpu 3 uses profile 5

Code:
SRBMiner-CN.exe --ccryptonighttype normalv4 --cgpuid 0,1,2,3 --cgpuintensity 112,112,111,110 --cgpuworksize 16,16,16,16 --cgputhreads 2,2,2,2 --cgputweakprofile 3,4L,4L,5 --cpool xmr-eu1.nanopool.org:14444 --cwallet 4A5hJyu2FvuM2azexYssHW2odrNCNWVqLLmzCowrA57xGJLNufXfzVgcMpAy3YWpzZSAPALhVH4Ed7xo6RZYyw2bUtbm12g.donation


Same example as above, using config file setup:

Code:
{
"cryptonight_type" : "normalv4",
"intensity" : 0,
"double_threads" : true,
"gpu_conf" :
[
{
 "id" : 0,
 "intensity" : 112,
 "worksize" : 16,
 "threads" : 2,
 "tweak_profile" : 3
},
{
 "id" : 1,
 "intensity" : 112,
 "worksize" : 16,
 "threads" : 2,
 "tweak_profile" : "4L"
},
{
 "id" : 2,
 "intensity" : 111,
 "worksize" : 16,
 "threads" : 2,
 "tweak_profile" : "4L"
},
{
 "id" : 3,
 "intensity" : 110,
 "worksize" : 16,
 "threads" : 2,
 "tweak_profile" : 5
}
]
}


Here are some numbers from my Vega56 with Hynix memory, just pushed mem up to 940mhs and P7 to 925mV.

Applied only "tweak_profile" : 10 to every config, nothing else changed in config.

Before tweak / After tweak ~ increase in percents

v4:  1854 / 2128 ~ 15%
upx2:  60400 / 71200 ~ 18%
haven: 1800 / 2000 ~ 11%
turtle: 15630 / 18440 ~ 18%
mox: 3845 / 4525 ~ 17%
fast2: 3604 / 4111 ~ 14%
conceal: 3726 / 4065 ~9%
litev7: 4386 / 4965 ~13%
xcash: 958 / 1106 ~15%


------------------------------------------------------------------------------------------------------------
POOLS.TXT
------------------------------------------------------------------------------------------------------------


Example:

{
"pools" :
[
   {"pool" : "pool_1_address", "wallet" : "pool_1_wallet", "password" : "x"},
   {"pool" : "pool_2_address", "wallet" : "pool_2_wallet", "password" : "x"},
   {"pool" : "pool_3_address", "wallet" : "pool_3_wallet", "password" : "x"}
]
}

Pool on first position is the MAIN pool, others are counted as FAILOVER pools.

Additional parameters:

"worker" : worker name, not every pool supports this
"nicehash" : true or false, set this to true if you are using Nicehash
"keepalive" : true or false, not every pool supports this
"pool_use_tls": true or false, if true miner will use SSL/TLS to connect to pool
"job_timeout" : number in seconds, if no job is received for this period, miner will reconnect to the pool (Default is off)
"max_difficulty" : number, if pool difficulty is above this value miner will reconnect to the pool
"cryptonight_type" : if defined, and --usealgoswitching is used, it indicates the algo for the pool.


A short explanation of "cryptonight_type" and how to use it :

{
"pools" :
[
   {"pool" : "pool_1_address", "wallet" : "pool_1_wallet", "password" : "x", "cryptonight_type" : "haven"},
   {"pool" : "pool_2_address", "wallet" : "pool_2_wallet", "password" : "x", "cryptonight_type" : "normalv4"},
   {"pool" : "pool_3_address", "wallet" : "pool_3_wallet", "password" : "x", "cryptonight_type" : "heavy"},
   {"pool" : "pool_4_address", "wallet" : "pool_4_wallet", "password" : "x", "cryptonight_type" : "fast"}
]
}

Set the algo used on the pool with the "cryptonight_type" parameter.
Set the --usealgoswitching parameter in start.bat

If needed, miner will re-init with the pool algo before switching to the pool.
For example if you are mining on pool_1 using haven algo, and you manually switch to the next pool, miner will re-init with normalv4 algo before connecting to pool_2.
Also if there are connection errors to pool_1, and miner automatically switches to the next pool, if the algos of pools aren't the same, miner will re-init with the defined cryptonight_type for pool_2.

IMPORTANT: Do not set 'cryptonight_type' parameter for pools if you are using a proxy for coin switching, or a pool with algo switching capabilities! (example Monero Ocean)



------------------------------------------------------------------------------------------------------------
START.BAT
------------------------------------------------------------------------------------------------------------

There are some options that must be set in start.bat, and not within config.txt or pools.txt.
For example if you want to create configurations for multiple coins, you must define a 'start.bat' like file for every coin.

Parameters:

--adldisable (disable ADL)
--algoswitchmintime value (minimum time to mine using same algo, in seconds, min is 3 minutes, def. is 10 min. - pool must support it)
--apienable (enable statistics API)
--apiminerrestarturl value (user defined url which accessed in browser triggers miner restart)
--apiport value (port where statistics API is reachable - default 21555)
--apirigname value (identifier name for your rig in statistics API)
--apirigrestarturl value (user defined url which accessed in browser triggers computer restart)
--apirigshutdownurl value (user defined url which accessed in browser triggers computer shutdown)
--benchmarkalgos (benchmark all algos set in algos.txt and save results)
--config filename (use config file other than config.txt)
--disablegpuwatchdog (disable gpu crash detection watchdog)
--disablerestartonrejectedshares (disable miner auto restart on too many rejected shares)
--disablestartupmonitor (disable watchdog for miner startup interval)
--disabletweaking (disable gpu tweaking options, which are enabled by default)
--enablecoinforking (allows auto algo switch on coin fork - don't use with algoswitching)
--enablegpurampup (enable gpu slow start)
--enableduplicategpuid (enables the usage of the same gpu id in gpu_conf multiple times)
--forcedshutdown (never try to free resources on restart/shutdown)
--giveuplimit value (how many times to try connecting to a pool before switching to the next pool)
--gpuerrorsalert (notify when number of compute errors for any GPU reaches this value)
--gpuwatchdogdisablemode (if enabled, watchdog will try to disable crashed gpu, instead of restarting miner)
--listdevices (list available devices ordered by busid)
--logfile filename (enable logging to file)
--mainpoolreconnect value (how often to try to reconnect back to the main pool. def. is 10 minutes)
--maxnosharesent value (if no share is sent to the pool for x time, restarts miner. def. is 30 min)
--maxrejectedshares value (max number of allowed rejected shares on a connection. def. is 15)
--maxstartuptimescript filename (run this script if maxstartuptime is exceeded)
--maxstartuptime value (max time to init gpu's and start mining, min 10 sec, max 10 min, def. 2 min)
--minrigspeed value (the minimum rig hashing speed we want to maintain. If average hashing speed is less, miner restarts)
--nobinaries (don't use embedded binaries)
--nocache (don't save compiled binaries to disk)
--precompileblocks value (how many blocks to precompile for CN/R, min. 3 max. 300. Def. is 15)
--preparedata (do some precalculations that *may* increase hashing speed a little bit on weak gpu's)
--pools filename (use pools file other than pools.txt)
--randomnonce (create random nonce for every GPU thread)
--rebootscriptgpuwatchdog (filename, if set it turns off built in restart procedure on gpu failure, and instead runs this script)
--rebootscriptminrigspeed (filename, if set it turns off built in restart procedure on min_rig_speed trigger, and instead runs this script)
--retrytime value (how much to wait before trying to reconnect to a pool)
--resetfans (reset fans back to default settings on miner exit)
--resetmineronalgoswitch (if used miner will restart on every algo switch)
--resetvega (disable/enable Vega video cards before mining)
--setcomputemode (sets AMD gpu's to compute mode & disables crossfire - run as admin)
--showstales (display shares that were sent after a new job arrived)
--setup (guided setup mode to create basic configuration files)
--startupscript filename (run custom batch script before mining)
--shutdowntemperature value (if this temperature is reached, miner will shutdown system (ADL must be enabled))
--usealgomapping value (type of algo mappings to use with algo switching: 1-short, 2-long, def. is short)
--usealgoswitching (use miner in algo switching mode - pool must support it)
--watchdogrounds value (after how many rounds (gpu watchdog round is 30 sec, min_rig_speed round is 1 min.) to trigger watchdog. def. is 5)

When setting any of these parameters, DON'T use " or ' around the value!
Parameters that take a time value must be set in seconds



------------------------------------------------------------------------------------------------------------
How to access GUI HTTP statistics page?
------------------------------------------------------------------------------------------------------------

First you must enable API, by using the --apienable parameter in start.bat
Set your rig (computer) name with --apirigname myrigname also in start.bat

After you have started the miner, you can access the stats page in your browser :
http://127.0.0.1:21555/stats

There are also three other parameters that can help you to restart miner, reboot or shutdown your machine remotely :

--apirigrestarturl
This should be a unique string, which accessed in browser results in a computer restart. Miner needs to have admin privileges.

--apirigshutdownurl
This should be a unique string, which accessed in browser results in a computer shutdown. Miner needs to have admin privileges.

--apiminerrestarturl
This should be a unique string, which accessed in browser restart SRBMiner.



Example start.bat:
SRBMiner-CN.exe --config Config\config-normalv4.txt --pools Pools\pools-normalv4.txt --apienable --apirigrestarturl 12345fff --apirigshutdownurl 54321fff --apiminerrestarturl restart_my_srb

Visiting this url restarts your machine:
http://127.0.0.1:21555/12345fff

Visiting this url turns off your machine:
http://127.0.0.1:21555/54321fff

Visiting this url restarts SRBMiner:
http://127.0.0.1:21555/restart_my_srb


Of course if you are going to 'open' this HTTP interface to the world, you better use complex urls so nobody can guess them easilly and turn off your rig Smiley



To setup your video cards in cmd line :

These settings override the settings in config.txt, so you can't use both/mixed styles.
First list devices (--listdevices or --listdevicesreordered if you are going to use --gpureorder), then you know the GPU id's and can set them up easy.

Parameters:

--ccryptonighttype value (algo to use)
--cgpuid value (gpu id, comma separated values, use --listdevices to see available)
--cgpuintensity value (gpu intensity, comma separated values)
--cgputhreads value (number of gpu threads, comma separated values)
--cgpuworksize value (gpu worksize, comma separated values)
--cgpufragments value(can be 0,1,2,4,8,16,32,64,128, comma separated values)
--cgpuheavymode value (mode for heavy algos (1, 2, 3), comma separated values)
--cgputhreaddelay value (delay to maintain between same gpu threads, 1 - 1000, comma separated values)
--cgputargettemperature value (gpu temperature, comma separated values)
--cgputargetfanspeed value (gpu fan speed in RPM, comma separated values)
--cgpuofftemperature value (gpu turn off temperature, comma separated values)
--cgpuadltype value (gpu adl to use (1 or 2), comma separated values)
--cgpuoldmode value (old kernel creation mode - true or false, comma separated values)
--cgputweakprofile value(number from 0-10, where 0 means don't use tweaking)



To setup your main pool in cmd line :

If set here, this will be the MAIN pool, you can also add more pools in pools.txt config file.

Parameters:

--cworker value (worker name or rig id - pool must support it)
--cpool url:port (pool address:port without stratum prefix)
--cwallet address (user wallet address)
--cpassword value (pool password)
--ctls value (use SSL/TLS, true or false)
--cnicehash value (force nicehash, true or false)
--cjobtimeout value (number in seconds, if no job is received for this period, miner will reconnect to the pool)
--cmaxdifficulty value (number, if pool difficulty is above this value miner will reconnect to the pool)
--ckeepalive value (true or false, not every pool supports this)


Examples:

Use all GPU's with auto settings, and mine monero on nanopool :
Code:
SRBMiner-CN.exe --ccryptonighttype normalv4 --cpool xmr-eu1.nanopool.org:14444 --cwallet 4A5hJyu2FvuM2azexYssHW2odrNCNWVqLLmzCowrA57xGJLNufXfzVgcMpAy3YWpzZSAPALhVH4Ed7xo6RZYyw2bUtbm12g.donation

Use 1 GPU with id 0 , intensity 120, 2 threads on algo cryptonight r on nanopool:
Code:
SRBMiner-CN.exe --ccryptonighttype normalv4 --cgpuid 0 --cgpuintensity 112 --cgpuworksize 16 --cgputhreads 2 --cpool xmr-eu1.nanopool.org:14444 --cwallet 4A5hJyu2FvuM2azexYssHW2odrNCNWVqLLmzCowrA57xGJLNufXfzVgcMpAy3YWpzZSAPALhVH4Ed7xo6RZYyw2bUtbm12g.donation

Use 5 GPUS with id 0,1,2,3,4 , intensities 56,56,55,58,55, 2 threads for each GPU, on algo cryptonight r on nanopool:
Code:
SRBMiner-CN.exe --ccryptonighttype normalv4 --cgpuid 0,1,2,3,4 --cgpuworksize 16,16,16,16,16 --cgpuintensity 56,56,55,58,55 --cgputhreads 2,2,2,2,2 --cpool xmr-eu1.nanopool.org:14444 --cwallet 4A5hJyu2FvuM2azexYssHW2odrNCNWVqLLmzCowrA57xGJLNufXfzVgcMpAy3YWpzZSAPALhVH4Ed7xo6RZYyw2bUtbm12g.donation



------------------------------------------------------------------------------------------------------------
ALGO SWITCHING MODE
------------------------------------------------------------------------------------------------------------

There are 2 types of algo switching supported :

Proxy or pool controlled

This means the mining pool or proxy (software between your miner and the pool) decides what algo should be mined.
For example Monero Ocean pools support auto algo switching based on profitability. You can read everything about it on their FAQ page.

You can also use software which allows you to change the mining algorithm with a simple mouse click. One example is Hesido's Cryptonote Proxy tool.


Manually controlled

In this mode the user sets the algorithm (cryptonight_type) for every pool he has in pools.txt.
When manually changing pools (by pressing 'o' or 'p'), miner will automatically re-init with the algo he set in pools.txt for that particular pool.
This also means you can set failover pools using any of the supported algorithms.


To use the algo switching mode (--usealgoswitching parameter in .bat) with pool controlled method the pool must support the XMRig Proxy Stratum protocol extensions(https://github.com/xmrig/xmrig-proxy/blob/master/doc/STRATUM_EXT.md)


Steps that are common for both switching types:

1.] You can edit the file 'algos.txt', which contains entries for every algo you want the pool to send you jobs for (if using pool controlled switching).
If you are using the manually controlled algo switching, setting up this file is important because of the various configurations that every algo has.
The 'hashrate' parameter in this case isn't used.

You need to edit the 'hashrate' value if using pool controlled switching, and 'startup_script' if you are going to use it. (you can read what it is for under this text)
Also if you want, you can fully customize configs for every algo. You can find them in the 'Config' folder.


Short explanation of parameters in algos.txt:

+ "config" expects a filename to a config file where you set up everything for a specific algo (config-normalv4.txt is for CNV4 as you can guess).
So on every new algo switch SRBMiner will initialize settings specific for that algo.

+ "hashrate" is a parameter where you should write the total hashrate of your rig (in H/S) for that specific algo (you can easily find it out by running a benchmark for example).
This field is used by the pool in calculating what is the most profitable algo for you to mine.

+ "startup_script" can be used to run a script (batch file) before miner starts.
You can for example set clocks, voltages, etc. specific to that algo

You can easily benchmark the hashrates by running benchmark-algos.bat or by typing this into a command prompt:

Code:
SRBMiner-CN.exe --benchmarkalgos

Notice: Tweaking parameters can not be used in benchmarking mode!

This process will take a few minutes, and when finished it will create a file benchmark_results.txt with the hashrate for every algo you benchmarked.
Now you need to take and copy-paste those values into algos.txt under the right algorithm section.
The benchmarking procedure should be used only if using pool controlled algo switching.


2.] There is a 'pools-algoswitch.txt' file where i predefined a few pools on Monero Ocean (algo switching pool), where i put my donation address as an example wallet,
so you should change this wallett address to your own.

If you are using the manually controlled pool switching, then you would define your own pools here.
You just need to add one new parameter (cryptonight_type) to each pool entry.

Here is an example how 'pools-algoswitch.txt' could look like:

{
"pools" :
[
{"pool" : "pool_1_address", "wallet" : "pool_1_wallet", "password" : "x", "cryptonight_type" : "haven"},
{"pool" : "pool_2_address", "wallet" : "pool_2_wallet", "password" : "x", "cryptonight_type" : "normalv4"},
{"pool" : "pool_3_address", "wallet" : "pool_3_wallet", "password" : "x", "cryptonight_type" : "heavy"},
{"pool" : "pool_4_address", "wallet" : "pool_4_wallet", "password" : "x", "cryptonight_type" : "fast"}
]
}

Now that you have algos.txt and pools-algoswitch.txt set up, start the miner by running start-algo-switching.bat

If you are using the pool controlled algo switching, DON'T set cryptonight_type for that pool, because you could get into an endless loop of algo switching Smiley

NOTICE:
If 'tweak_profile' is not specified it defaults to 0 after algo switch, so make sure you set it in every config file where you want to use it!

TIPS:

There are two algo switching modes available : with or without miner restart.

The 'miner restart' mode is recommended for Vega video cards, because they tend to drop mining speed on algo switching sometimes.
Using the 'miner restart mode' with the --resetvega parameter you are ensuring always maximum mining speeds.

Example:

Code:
SRBMiner-CN.exe --config Config\config-normalv4.txt --pools pools-algoswitch.txt --usealgoswitching --resetmineronalgoswitch --resetvega


------------------------------------------------------------------------------------------------------------
KEYBOARD SHORTCUTS
------------------------------------------------------------------------------------------------------------


- Press 's' to see some basic stats
- Press 'h' to see hashing speed
- Press 'r' to reload pools
- Press 'p' to switch to the next pool
- Press 'o' to switch to the previous pool
- 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..)
- Press + or - to change tweak profile



------------------------------------------------------------------------------------------------------------
GPU CONFIGURATIONS AND SETUP
------------------------------------------------------------------------------------------------------------

A document maintained and edited by users with settings for various cards and algos can be found HERE



------------------------------------------------------------------------------------------------------------
SRB-RESTARTER
------------------------------------------------------------------------------------------------------------
SRB-Restarter is a tool that monitors the main SRBMiner process, and if it's not running for some reason (like an app crash for example), it will run the script you specify (restart miner).

Only 3 parameters :

--interval value_in_seconds [def. is 10]
Specifies how often to check is the SRBMiner process running

--instance number
Use it if you run multiple SRBMiner instances on the same machine, example is below
You must use the following file naming :
SRBMiner-CN-n.exe where n is the instance number

--run filename [name of .bat file to run]
Name of .bat you want to run if SRBMiner process in not running


Note:
Miner is considered 'not running' after 2 checks!

Examples:

1.
SRB-Restarter.exe
[This will set interval to 10 seconds, and start.bat if SRBMiner process is not running. It will monitor for a process named SRBMiner-CN.exe]

2.
SRB-Restarter.exe --interval 5 --run turtle-coin.bat
[This will set interval to 5 seconds and run turtle-coin.bat if SRBMiner process is not running. It will monitor for a process named SRBMiner-CN.exe]

3.
SRB-Restarter.exe --interval 30 --run start-heavy.bat --instance 1
[This will set interval to 30 seconds and run start-heavy.bat if SRBMiner process is not running. It will monitor for a process named SRBMiner-CN-1.exe]



------------------------------------------------------------------------------------------------------------
INFORMATIONS, NOTES AND LICENSES
------------------------------------------------------------------------------------------------------------

You have to change the wallet address in sample config.txt file to your own, or you will donate some hashing power to me. (Thanks)

This software uses part of WinIO library from Yariv Kaplan. Copyright and all rights on this file belong to him, details can be found in the readme file
Special thanks goes to ElioVP for sharing informations that helped me in developing the tweaking profiles.

SRBMiner-MULTI thread - HERE
http://www.srbminer.com
doktor83 (OP)
Hero Member
*****
Offline Offline

Activity: 2702
Merit: 626


View Profile WWW
March 20, 2018, 12:10:33 PM
Last edit: July 24, 2019, 05:29:05 AM by doktor83
 #2

Update infos :

V1.9.3 (read more)
- Fixed CN-Gpu algo compilation on RX 5700 and older GCN cards
- Improved CN-Gpu algo on Rx550/560 , Rx470/480/570/580/590
- 4gb Ellesmere cards got a small hashrate increase on CN-Conceal algo

V1.9.2 (read more)
- Added parameter '--disablerestartonrejectedshares' to disable auto restart of miner on too many rejected shares
- Added parameter '--maxrejectedshares' to set the number of allowed rejected shares on a pool connection ( min 1, max 100, def. 15)
- Optimisations in OpenCL code, so tiny hashrate increase could be seen on Vegas and Ellesmere cards.
- Minor bug fixes

V1.9.1 (read more)
- Added support for Navi10 (gfx1010)
- Arto, conceal, normal, normalv7, marketcash, b2n, fast, hycon, hospital algos have lower power consumption on Vegas with auto settings
- Hopefully fixed bug with invalid job id / same job id
- If more than 5 'invalid share' messages received from pool within same connection, auto miner restart
- Fixed cn-gpu hashrate (it was lower from v.1.8.8 -> my mistake)
- CN/R program precompilation process is now only logged, not displayed on screen

V1.9.0 (read more)
- Added gpu ramp-up (slow start) possibility, so your PSU won't get suddenly overloaded (--enablegpurampup)
- Added low mode tweak profiles
- Added parameter --precompileblocks, which can set the number of blocks that get precompiled on CN/R algo
- Miner will try to restart if CN/R precompilation process takes more than 10 minutes for a gpu
- Minor bug fixes

V1.8.9 (read more)
- Added tweaking profiles for RX 550/560, RX 470/480/570/580/590 - for some small fine tuning of existing vbios straps
- Profiles 1-6 for Vegas are now a little lighter, 7-10 stayed same
- Added embedded binaries for some gpu's
- Added parameter --nobinaries, use it to disable usage of embedded binaries
- Fixed some bugs in GPU detection code
- Added more info to log when using tweaking profiles
- Added watchdog for too many invalid job results, switches to next pool if more than 5 within the same connection
- Usage of external tweaking tool is now allowed, so you can now fine tune a profile even more if you know how
- Minor bug fixes

V1.8.8 (read more)
- Reduced CPU usage up to ~50%, can be noticed on algos with small scratchpad
- User is now informed about tweaking status on the screen too, not just in log
- No more --gpureorder, device ordering by bus id is now the default/only display mode [NOTE: if you are using gpu_conf or --cgpuid, please run --listdevices to check if you are using the right deviceid!]
- Added parameter --watchdogrounds , which controls after how many rounds will watchdog trigger
- min_rig_speed_duration default is 1 minute now, because of the new --watchdogrounds parameter
- Fixed a few cosmetical things on web stats

V1.8.7 (read more)
- Improvements with tweak profile 10 on Vega64 with Samsung memory
- Fixed a bug with pool reconnect on job timeout
- job_timeout is now disabled by default, to enable it set a value > 0
- Fixed min_rig_speed bug that triggered restart with V4 algos
- Added info in api/web stats about tweak profile
- Made hashrate display on web stats page bigger
- In guided setup mode changed max wallet and password length to 200 so address+payment id can be used

V1.8.6 (read more)
- Added tweaking support for Radeon VII
- There are now 10 tweaking profiles, so you can fine tune even more
- Fixed Cn/R when used on coin other than Monero
- Added new algo 'Upx2' , the new Uplexa algo
- Added fork info about Uplexa and Cypruscoin

V1.8.5 (read more)
- Fixed the 'tweak_profile' changing with + - on keyboard
- Tweaking is now auto disabled if no supported devices found

V1.8.4 (read more)
- Performance increase for Vega56/64/Fe/Vii up to 15%!
- Minimum for 'main_pool_reconnect' is now 60 seconds instead of 180
- Added new cmd parameters: --disabletweaking, --cgputweakprofile
- Added new config parameter: tweak_profile
- Minor bug fixes

V1.8.3 (read more)
- maxnosharesent parameter is not used anymore by default, also it's max is moved to 24h
- In guided setup mode password can now be 120 characters long instead of 80 that was previously
- Adl2 is now auto set to older gpus
- Removed Webchain algo
- heavy_mode 3 is now the default
- Fixed stratum+ssl:// in pool url, now it recognises and sets tls to true if used
- Gpu id and bus id now displayed with every accepted/rejected share
- preparedata parameter now gives a small boost on Vegas for turtle, mox, heavy, gpu algos
- Added fork info for sumokoin from cn to cn/r
- Possible fix of random miner crash
- SRB-Restarter now shows date and is logging to a file

V1.8.2 (read more)
- Upx and litev7 algos on auto settings now have more hashrate or lower power consumption, or both
- Reworked networking code, so probably get rid of a bug or two
- Another try to fix V4 algo crashing
- Maxnosharesent parameter default value is now 45 minutes
- Fixed MarketCash , it was broken in 1.8.1

V1.8.1 (read more)
- Fixed a bug that could crash miner if using CNV4 (R) algo
- Fixed a bug that crashed miner if doing fast algo switching from CNV4 to any algo
- Stales are not displayed anymore by default, added parameter --showstales which turns back on the display of stale shares
- Changed --maxnosharesent default value from 15 minutes to 30
- Logging is now disabled by default in the example start.bat
- Added parameter --preparedata, which could pontentially make a small speed increase on weak GPU's, but also could make it worse. All algos except webchain

V1.8.0 (read more)
- Added new algo 'Graft' (graft, cryptonight_graft, cryptonight_reversewaltz, cryptonight_v8_reversewaltz)
- Added cmd parameters giveuplimit, retrytime, mainpoolreconnect, minrigspeed, shutdowntemperature, rebootscriptgpuwatchdog, rebootscriptminrigspeed
- No more mixing of cmd line setup and config files, now it's one or the other
- It is enough to set ccryptonighttype, cpool, cwallet in cmd, gpu's will be auto setup
- Fixed a few bugs

V1.7.9 (read more)
- Added new Monero algo 'Cryptonight R'
- Added algo 'Wownero'
- Added algo 'Conceal'
- Added algo 'Zelerius'
- Added algo 'Xcash'
- Replaced 'Mox' algo with new 'Mox V8' algo
- Added parameter 'maxnosharesent' in cmd
- Added parameter 'randomnonce' in cmd
- Added parameter 'enablecoinforking' in cmd
- Added algo switching info in json and on html stats page
- Lot of bug fixes

V1.7.8 (read more)
- Added new algo 'CN-Gpu' (faster than original implementation in Xmr Stak)
- Much better auto setup on some cards for 'CN-Turtle'
- Added check for last sent share time
- Added aliases for algos, to be more compatible with other miner names
- Prettier stats (when pressing 's')
- Minor bug fixes

V1.7.7 (read more)
- Added new algo 'CN-Fast2'
- Added new algo 'CN-Hospital'
- Added compute errors display in json & html stats
- Fixed a bug in networking code that could crash miner
- Fixed a bug with hashrate display on disabled gpu's
- Old_mode is now auto set on Vegas where needed
- A little re-design of miner startup

V1.7.6 (read more)
- New tuning parameter 'thread_delay', can be used in cmd (--cgputhreaddelay), config, gpu_conf
- Even faster kernel compilation
- Added HTML statistics page, can be accessed if API is enabled via /stats
- Added 3 new API parameters: --apirigrestarturl, --apirigshutdownurl, --apiminerrestarturl
- Added share 'trip' time from miner->pool->miner on share sending
- Added SSL in interactive configurator
- Removed --runbenchmark, --benchmarkduration parameters
- Fixed algo benchmarking
- Webchain sending stale shares again
- Startup monitor now restarts whole machine on fail, instead of miner
- Fixed a bug with shutdown temperature and false ADL temperature reporting

V1.7.5 (read more)
- Added parameter --setup in cmd, which creates basic config files for user in interactive mode
- Added 'old_mode' parameter to config outside gpu_conf
- Added notification if using old kernel
- "worker" set in pools.txt now works for webchain too
- Fixed a few things regarding webchain mining

V1.7.4 (read more)
- Added algo 'Webchain'
- Added algo 'Turtle'
- Tiny speed increase on some cards
- Fixed bug with 'off_temperature'
- Added --cgpuofftemperature to cmd parameters
- Added --cgpuoldmode to cmd parameters
- Added --nocache to cmd parameters
- Added 'off_temperature' display to API
- Added GPU temperature display in log
- Added --cgpuoldmode to cmd parameters
- Fixed auto setup for Hycon
- Fixed a bug with algo switching that could crash miner

V1.7.3 (read more)
- Bringing back support for GCN1 cards [pitcairn, tahiti ...]
- Heavy_mode 2 is now an improved 3 with a little less hash and less errors than 3
- Small OCL optimisations for Vegas
- Added parameter 'off_temperature' to gpu_conf, to protect GPU from overheating
- Added parameter 'old_mode' to gpu_conf, which creates the kernel with the old method
- Added new algo 'Hycon'
- Added new algo 'Upx'
- Added new algo 'Stellitev8'
- Renamed algo 'freehaven' to 'swap'

V1.7.2 (read more)
- Ellesmere 8Gb cards can now reach the full hashing speed on heavy algos
- Rx550 and Rx560 should now be faster on heavy algos by ~8%, and ~5% on V7 algos
- Rewritten a lot of stuff so kernel can now be compiled on newer video drivers too, so no binary kernels provided anymore
- Much faster kernel compilation time
- Removed bralock, aes and kernel parameters
- Added value 9997 and 9998 for fragments which could improve stability on some cards
- heavy_mode 3 (experimental) is now even faster, but still can produce more compute errors than heavy_mode 1, so 1 is still the default

V1.7.1 (read more)
- Added new algo FreeHaven
- Small OpenCL optimisations
- Added 3 different modes for heavy algos (Heavy, Haven, BitTube, Italo, FreeHaven)
- Added value '9999' for fragments, that sets internally to the value it was in previous 1.6.8 version
- Fixed benchmarking mode + startup monitor bug
- Fragments, aes, bralock and heavy_mode can be set now outside gpu_conf, so it applies to every GPU

V1.7.0 (read more)
- Speed increase on BitTube/Haven/Heavy/Italo algos up to ~10% (depends of gpu)
- Small speed increase on V8 algo for Vegas
- Added new algo CN-Dark [CryoNote]
- Added new algo CN-Fest [Festival coin]
- Added startup monitor which monitors miner startup process
- Added new work mode for GPU hashrate watchdog [--gpuwatchdogdisablemode]
- Added yet another gpu tuning parameter 'aes'
- Fixed a bug related to hash speed monitor and algo switching
- Small bug fixes

V1.6.9 (read more)
- Algo switching without miner restart
- Benchmark everything from algos.txt and just paste the hashrates (--benchmarkalgos)
- Added number of algo switches to API and stats
- Added cmd parameter --resetmineronalgoswitch which forces miner to reset on algo change
- Changed minimum --algoswitchmintime from 3 min to 30 sec, default is still 600 sec
- Fixed API pool stats when not connected to a pool
- Added cmd parameters --cjobtimeout, --cmaxdifficulty, --ckeepalive
- When critical temp is reached, ADL temp is now logged before shutdown
- Notification on too many compute errors (set with --gpuerrorsalert value)
- Added a performance tuning parameter 'fragments' for gpu_conf and cmd
- Fixed a bug that could crash miner on shutdown

V1.6.8 (read more)
- New Monero algo added (normalv8)
- Small speed increase on some cards
- Fee is now ~0.85% for both normal mode and algo switching mode
- Faster miner startup
- Pools with different algos can now be used in pools.txt, miner will re-init on switch
- Added a new parameter for gpu tuning in gpu_conf : bralock
- Rewritten release of resources on miner shutdown/restart
- Added parameter --forcedshutdown if you don't want to release resources on exit
- Fixed bug when setting compute mode on more than 9 cards
- Fixed a bug showing bad date for 'connected since' and 'average share find time'
- Gpu hashrate watchdog now won't trigger if user is not connected to a pool
- reboot_script parameter removed and added 'reboot_script_min_rig_speed' and 'reboot_script_gpu_watchdog' instead
- Added more logging in gpu init part
- API parameters now have to be set in start.bat (--apienable, --apiport, --apirigname) , removed them from config.txt
- Press 'o' to switch to the previous pool from pools.txt
- If you add 'stratum+ssl://' before the pool address, TLS will be automatically enabled

V1.6.7 (read more)
- Now providing binary kernels for popular algos on mainstream cards (Vega56&64&FE, RX470&480&570&580, RX550&560)
- Auto setup for a lot of cards improved, especially for RX550, RX560
- A lot of OCL optimizations, mainly on Heavy algos (Heavy, Haven, Bittubev2, Italo)
- Removed --sendallstales parameter because it is now the default behavior (to send all stale shares)
- When using algo switching mining time is now showing total mining time, not just for the specific algo
- Now on every miner start a new log file is created, in the format of date-time in normal mining mode
- Added parameter --algoswitchmintime
- Completely setup everything for algo switching on Monero Ocean pools, you just need to edit your algo hashrates, and change wallet in the example files

V1.6.6 (read more)
- Added support for algo/coin switching protocol BETA (pool must support it)
- "restart_devices_on_startup" and "restart_devices_on_startup_script" is now replaced with --resetvega and --startupscript
- Fixed "reboot_script" parameter, which should be triggered by hashrate watchdog
- Kernel 2 should be now automatically selected for R9 200 series
- Auto setup for RX 4XX and 5XX series should be now a little bit better
- Fixed a bug which could occur when receiving jobs too rarely
- Added miner version to API
- DevFee mining is not displayed anymore

V1.6.5 (read more)
- Added support for Cryptonight Red (MoX Project)
- Added possibility to offline benchmark algo configuration (--runbenchmark)
- Easily switch all AMD cards to compute mode, and turn off crossfire with one command (--setcomputemode)
- If using Blockchain drivers, hashing speed should be like it was before in ver 1.6.2
- If using Adrenaline 18.7.1 now shares are found, but speed is slower than on the recommended drivers
- If giveup_limit set to 0, miner will quit if it can't connect to pool
- Added driver version data to API
- Miner is now just one executable file, no more dll's needed, so it's more portable

V1.6.4 (read more)
- Added possibility/support to set GPU'S with cmd parameters directly in start.bat
- Added parameter --sendallstales , which enables sending of every stale share
- Minor bug fixes

V1.6.3 (read more)
- More speed on Vega56 cards on every algo (probably on Vega64 and VegaFE too, i don't have them to test)
- Added parameter --enableduplicategpuid (used in start.bat), that enables to use the same gpu id in gpu_conf multiple times
- Removed useless kernels 3 and 4
- Removed useless CPU opencl support
- Reorganised devfee mining, first mining is in the first 15 minutes, so to maintain the 0.85% fee, decreased devfee time from 1 minute to 55 seconds every 2 hours

V1.6.2 (read more)
- Added support for Italocoin new algo (from block 55.000)
- Auto intensity for Vega cards improved, also managed to increase hashing speed on Vega cards for about ~1-1.5% (mainly on heavy algos)
- If user uses non existing GPU id in gpu_conf, it will be ignored, no error will be thrown
- Fixed miner crash when using a non AES capable CPU on some algos
- Added Windows version and build in log
- Added video driver version in log
- Added info about CPU AES support in log
- Statistics now shows number of stale shares that were accepted by pool
- Added parameter 'min_rig_speed_duration' that can set period for 'min_rig_speed' parameter (minimum is 30 sec), default is 5 min

V1.6.1 (read more)
- Changed IPBC/Bittube old algo to new BitTubeV2 algo (from block 110000)
- Max difficulty reconnecting mechanism is now triggering instantly
- Added 'worksize' option in config.txt, that is applied to every GPU (only if not set in gpu_conf)
- Hopefuly fixed a bug with job timeout reconnecting
- Hashrate watchdog now triggers even when user not connected to pool

V1.6.0 (read more)
- Added support for Haven new algo after fork (block 89200)
- Added support for Masari new algo (fast) after fork (block 204000)
- Job timeout default is now 20 minutes
- More logging on miner startup
- Added option 'persistent_memory' in gpu_conf

V1.5.9 (read more)
- Added "max_difficulty" parameter in pools, if reached miner will reconnect to pool
- Better logging on miner crash
- Kernels are now built in Cache directory
- Probably fixed situation when miner crashes on pool switch
- Fixed .srb file creation on every miner run
- Hopefully reduced nicehash duplicate share errors
- Changed the way devfee pools are used

V1.5.8 (read more)
- Fixed a bug in pool switching process
- Fixed a bug in watchdog's "reboot_script"
- Changed default devfee pool for Heavy algo

V1.5.7 (read more)
- Added support for StelliteV4 algo
- Added option "worker" in pool config - pool must support this, also CMD parameter --cworker
- Fixed average hashrate display (1,5,30 min) when there are disabled GPU's

V1.5.6 (read more)
- Added support for Cryptonight B2N
- Added parameter "min_rig_speed" in config file
- Added parameter "main_pool_reconnect" in config file
- Added optional parameter --resetfans in .bat
- "shutdown_temperature" parameter now must be set to a value > 0 to get activated
- Added 1 min avg hashrate display
- Fixed a bug in watchdog restarting process
- Added support for CPU builtin OpenCL GPU (just for fun)

V1.5.5.1
- Just a quick fix of 1.5.5 new 'job_timeout' option. Looks like the default 5 minute wasn't enough, so its increased to 15 minutes now

V1.5.5 (read more)
- No need for all that stuff in start.bat anymore, because watchdog can now restart the whole miner process without it
- Fixed kernels 3 & 4 for heavy algo
- Fixed OCL binary caching for Vega cards
- Added last job received info in stats and API
- Added 'job_timeout' parameter to pools config, it reconnects to pool if no job received for 'job_timeout' time (in seconds), default is 5 min
- Pool reload now checks if current pool is first in reloaded pools list, if not, it switches to first pool

V1.5.4 (read more)
- Added MarketCash algo
- Total hashrate display fixed
- Fixed hashrate display in log
- Fixed watchdog GPU display if using reorder
- Added parameter 'nicehash' in pool config, it forces nicehash protocol if true
- If using '--adldisable', it won't show ADL related options anymore in hash display
- Press 'r' while mining to reload pools
- Added cmd parameters 'cpool, cwallet, cpassword, ctls, cnicehash' so user can define first (and maybe only) pool thru cmd parameters

V1.5.3 (read more)
- ADL Overdrive5 now shows real time GPU clocks on hashrate display
- Bus reordering should now work as expected Smiley
- Miner should now use less memory when running for longer time (more resources cleaned)
- Some fixes in GPU disable/enable while mining

V1.5.2 (read more)
- Added support for ADL Overdrive5, in 'gpu_conf' add 'adl_type' = 1 for OverdriveNext , 2 for Overdrive5, if not set default is 1 (OverdriveNext)
- Parameter 'restart_devices_on_startup' now only restarts Vega GPU'S, cause others don't need restarting to get max performance
- Disable/enable GPU while mining now happens almost instantly
- Added '--gpureorder' parameter (use in bat)  to order devices by BUSID like GPU-Z does
- Added '--listdevicesreordered' that lists devices in BUSID order, for usage with '--gpureorder' parameter

V1.5.1 (read more)
- Finally added API, now you can monitor your rigs with 3rd party apps
- Added parameter "restart_devices_on_startup_script" in config file, if "restart_devices_on_startup" is used, this new parameter can run a batch file from the miner directory after resetting the GPU's

V1.5.0 (read more)
- Added option to reset (disable/enable) AMD gpu devices with devcon before mining (admin rights needed, miner will ask)
- Now you can disable/enable up to 19 GPU's by pressing 0 - 9 (gpu0 - gpu9) and shift+0 - shift+9 (gpu10 - gpu19) on the keyboard
- Cryptonight Alloy new algo added (active from block 44.000)
- Added periodical GPU hashrate in log file
- No more nan displayed in hashrate view Smiley

V1.4.9 (read more)
- Possibly fixed bug some were having when switching pool from user to devfee
- Removed location parameter from config file as it just confused people Smiley
- Added resources cleanup on miner shutdown

V1.4.8 (read more)
- Added support for new ArtoCash algo
- Added fast pool switching when pressing P
- Added target_temperature setting to gpu_conf too, if this option is used on top of config (value is > 0), gpu_conf setting is IGNORED
- Added target_fan_speed setting to gpu_conf, atm must set it in RPM, not in percent, sorry Smiley
- Minor bug fixes

V1.4.7 (read more)
- Added shutdown_temperature parameter (in config.txt) which shuts down the system, default is 95c if not set
- Added average time to find share in stats
- Added keepalive option in pools to prevent possible connection timeouts (pool must support this method)
- Possible fix for Nicehash "job not found"
- Added kernel parameter to gpu_conf

V1.4.6-fix-fixes (read more)
- Fixed duplicate share sending fix
- Fixed GPU core clock & memory display fix

V1.4.5 (read more)
- Added check of already sent result, so possibly no more duplicate shares should be sent to the pool
- Added GPU core clock & memory display (ADL OverdriveN supported cards) BETA

V1.4.4 (read more)
- Fixed (hopefully) situation when miner hashed in 'empty' for a long time
- Added 30 minute mining average speed display
- Removed greedybastard switch

V1.4.3 (read more)
- Ultraheavy algo name changed to ipbc
- Fixed devfee mining got stuck

V1.4.2 (read more)
- Double checked and prepared for IPBC coin fork on block 54881
- Small speedup on some RX series cards
- Small speedup on R9 380 cards

V1.4.1 (read more)
- Added optional parameter reboot_script which if defined disables built in watchdog, and runs a user defined script

V1.4.0 (read more)
- Added multiple pools support (failover pools)
- Added GPU crash display & logging back again
- Some minor bug fixes

V1.3.2
- Cryptonight UltraHeavy algo updated
- Miner restarting on crash should now work in most cases
- Added detailed device listing with --listdevices parameter
- Added detailed logging, use --logfile filename, log option removed from config.txt
- Hopefully fixed bug when in 'gpu_conf' you want to set only one GPU
- Fixed temperature and rpm display

V1.3.1
- 'gpu_conf' is now a little more advanced , added worksize and threads option, for more fine tuning
- Intensity now goes from 0-300 , because on Lite and LiteV7 some cards can go more than 200
- Changed color scheme a little bit
- Some optimisations for Hawaii cards (290, 290x, 390, 390x), set intensity to 0 and double_threads to true, or play with manual settings in the 'gpu_conf' part

V1.3.0
- Cryptonight UltraHeavy algo added

V1.2.6
- Added console option to disable ADL, use it if you have that 'quits after 3 minutes or when pressing h' problem

V1.2.5
- Added optional parameters timeout, retry_time, and giveup_limit
- Hashrate is now displayed per GPU (not threads)
- Lowered auto detected intensity for CN Heavy algo

V1.2.4
- Rewrote devfee mining code cause some were getting their IP blocked for 10 minutes when devfee mining stopped
- Removed charity option because these different forks complicate things too much
- Minor bug fixes

V1.2.3
- Fixed Nicehash extranonce thingy
- Fixed a bug with gpu_conf settings. Those forks screw things up
- Fixed devfee mining bug, again those forks..
- Added display of HW errors per thread

V1.2.2
- Fixed bug for CPU's without AES-NI
- Added resources cleanup and freeing on miner shutdown

V1.2.1
- Reworked all these crazy cryptonight variants so now everything should work as expected

V1.2
- Cryptonight V7 support
- Cryptonight Lite V7 support
- Cryptonight Heavy support

V1.1.4
- Intensity can now be even more fine tuned, as values go from 0-200
- A nice little speedup of about 3-4% on RX580 (probably other RX4xx and RX5xx cards too, did not test it)
- Rewritten GPU detection code

V1.1.3
- Fixed a bug from previous version where non decimal intensity in 'gpu_conf' did not work
- Fixed a bug in Pow V7 algo

V1.1.2
- Using different kernel for GCN and pre-GCN cards
- Intensity can now be more fine-tuned, it can be a decimal number (ex.: 17.2)
- Speedup about 2% in single thread mode on RX cards
- Config file now begins with { and ends with }, so no more empty line bug

V1.1.1
- More descriptive error reporting
- Fixed a bug for pre-GCN cards

V1.1
- A small speedup ~1%
- Fixed Graft coin vs Pow V7 bug Smiley
- Faster job switching, should produce less stale shares

SRBMiner-MULTI thread - HERE
http://www.srbminer.com
doktor83 (OP)
Hero Member
*****
Offline Offline

Activity: 2702
Merit: 626


View Profile WWW
March 20, 2018, 12:10:54 PM
Last edit: June 15, 2019, 11:30:47 AM by doktor83
 #3

Tips:

) If you are having issues that the miner sometimes 'just stops and crashes' use the SRB-Restarter tool, it will auto restart the miner in this case

) If you get a "Error CL_MEM_OBJECT_ALLOCATION_FAILURE when calling clEnqueueNDRangeKernel" error, increase virtual memory.

) If you get something like "Warning: threadx hashing speed is 0 (x)", that probably means you need to lower your intensity. Auto intensity is not magical always, sorry.

) If you have hashrate fluctuations on some algo, try increasing your swap file even more (example 12x560 4g rig needs 90gb swap on heavy)

) Use enableduplicategpuid parameter to use different settings for threads on same gpu :

1.Put --enableduplicategpuid in start.bat at the end of line ( SRBMiner-CN.exe --config config-normalv7.txt --pools pools-normalv7.txt  --enableduplicategpuid )
2.Set gpu threads in config-normalv7.txt :

Code:
{
"cryptonight_type" : "normalv7",
"intensity" : 0,
"double_threads" : true,
"gpu_conf" :
[
{
 "id" : 0,
 "intensity" : 122,
 "worksize" : 8,
 "threads" : 1
},
{
 "id" : 0,
 "intensity" : 124,
 "worksize" : 8,
 "threads" : 1
}
]
}


What was done here?  When using 2 threads , the best value for intensity is 123. By enabling the usage of duplicate gpu id, you make 2 separate threads for 1 gpu, but one has value 123-1, the other 123+1.
This method can be used on any GPU, you just need to experiment with the intensities.

) If you want to use Claymore's Manager with SRBMiner, there is a tool for this made by RuMiner, check it out HERE

) If your main concern is power usage, try using a higher value for WORKSIZE. Your hashrate will probably be lower, so experiment to find a value that suits your hashes/watt expectation.
For example you can get -10W on turtle algo on vegas if you use a worksize of 32 , and not 16, but hashrate will be only decreased by ~400hs.





SRBMiner-MULTI thread - HERE
http://www.srbminer.com
WinstonBlue
Member
**
Offline Offline

Activity: 101
Merit: 10


View Profile
March 20, 2018, 12:51:25 PM
 #4

Good Job Mate! Low dev fee, even greater job! 😂

I know a man who gave up smoking, drinking, sex and rich food. He was healthy right up to the day he killed himself.
J. Carson
micax1
Hero Member
*****
Offline Offline

Activity: 708
Merit: 502


View Profile
March 22, 2018, 03:36:10 PM
 #5

Does it support nicehash?
or is it going to be implemented after they upgrade to v7?
doktor83 (OP)
Hero Member
*****
Offline Offline

Activity: 2702
Merit: 626


View Profile WWW
March 22, 2018, 07:53:44 PM
 #6

Let me quote this for you from the first post :

POW V7 ready (means new Monero algo will work)


Cryptonight: Monero, Electroneum, Sumokoin, Karbowanec, Bytecoin, Turtlecoin, Dero and others.
Cryptonight Lite: Aeon

Supports Nicehash & SSL/TLS encrypted connections

SRBMiner-MULTI thread - HERE
http://www.srbminer.com
Subutai
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
March 22, 2018, 08:03:11 PM
 #7

Very cool. Always good to see new mining software being developed.
Lunga Chung
Member
**
Offline Offline

Activity: 277
Merit: 23


View Profile
March 22, 2018, 08:05:33 PM
 #8

BRAVO !

I will give it a shot right now ! (svaka cast)
treanski
Full Member
***
Offline Offline

Activity: 364
Merit: 106


ONe Social Network.


View Profile
March 22, 2018, 08:11:05 PM
 #9

you need to fix graft or add option to choose cryptonight / cryptonight v7 manually...graft gets false detected as v7(on castxmr /xmr stak too)

doktor83 (OP)
Hero Member
*****
Offline Offline

Activity: 2702
Merit: 626


View Profile WWW
March 22, 2018, 08:47:14 PM
Last edit: March 23, 2018, 02:09:14 PM by doktor83
 #10

you need to fix graft or add option to choose cryptonight / cryptonight v7 manually...graft gets false detected as v7(on castxmr /xmr stak too)

No problem, a fix is coming, thanks for reporting !

Edit: fixed in V1.1

SRBMiner-MULTI thread - HERE
http://www.srbminer.com
Mind163
Newbie
*
Offline Offline

Activity: 79
Merit: 0


View Profile
March 24, 2018, 06:46:28 PM
Last edit: March 24, 2018, 07:21:23 PM by Mind163
 #11

Hey. There is an error. I tried to run 6 cards RX550 2Gb. With intensity 12 all cards are launched. But the result is noticeably lower than on GG. At an intensity of 13, only 5 cards are mined. The result is close to GG. 6th can not mine. Launched in 2 threads. On gg I get 495-500 h / s
https://drive.google.com/open?id=12uE_WPV4Q10T2a6Ee_NyJSfSXvYbt28I
doktor83 (OP)
Hero Member
*****
Offline Offline

Activity: 2702
Merit: 626


View Profile WWW
March 24, 2018, 06:53:57 PM
 #12

Hey. There is an error. I tried to run 6 cards RX550 2Gb. With intensity 12 all cards are launched. But the result is noticeably lower than on GG. At an intensity of 13, only 5 cards are mined. The result is close to GG. 6th can not mine. Launched in 2 threads.
https://drive.google.com/open?id=12uE_WPV4Q10T2a6Ee_NyJSfSXvYbt28I
On gg I get 495-500 h / s

That one card can't handle intensity 13, so set every gpu :

"gpu_conf" :
[
{ "id" : 0, "intensity" : 13, "double_threads" : true},
{ "id" : 1, "intensity" : 13, "double_threads" : true},
{ "id" : 2, "intensity" : 13, "double_threads" : true},
{ "id" : 3, "intensity" : 13, "double_threads" : true},
{ "id" : 4, "intensity" : 13, "double_threads" : true},
{ "id" : 5, "intensity" : 12, "double_threads" : true},
]

SRBMiner-MULTI thread - HERE
http://www.srbminer.com
Mind163
Newbie
*
Offline Offline

Activity: 79
Merit: 0


View Profile
March 24, 2018, 07:22:43 PM
 #13

That's exactly what I thought. BUT! the miner issues an error if I enable this option. Swears at the syntax error in the config file.
Error in config.txt (ParseError)
doktor83 (OP)
Hero Member
*****
Offline Offline

Activity: 2702
Merit: 626


View Profile WWW
March 24, 2018, 07:34:22 PM
 #14

leave a blank line at the end of the config file Smiley
i will fix this , just always forget.

SRBMiner-MULTI thread - HERE
http://www.srbminer.com
solosequenosenada
Hero Member
*****
Offline Offline

Activity: 952
Merit: 542


Freedom dies from suicide


View Profile
March 24, 2018, 07:37:07 PM
 #15

Good job doktor83
I'll try it and comment, thank you.
UnclWish
Sr. Member
****
Offline Offline

Activity: 1484
Merit: 253


View Profile
March 24, 2018, 08:04:16 PM
Last edit: March 24, 2018, 08:33:54 PM by UnclWish
 #16

Thanks! Good job!

What about setting over/underclocking and under/overvoltaging? Maybe you add parameters to set clocks and voltages?

Temperature and fan control didn't work for R9 270X 4Gb.

Miner didn't work if i use gpu_conf section and left only gpu id#2 (270X).

Wrote "Error CL_INVALID_DEVICE when calling clCreateContext."

If I set gpu0 or gpu1 or all 3 cards miner starts to mine.
doktor83 (OP)
Hero Member
*****
Offline Offline

Activity: 2702
Merit: 626


View Profile WWW
March 25, 2018, 07:33:02 AM
 #17

Thanks! Good job!

What about setting over/underclocking and under/overvoltaging? Maybe you add parameters to set clocks and voltages?

Temperature and fan control didn't work for R9 270X 4Gb.

Miner didn't work if i use gpu_conf section and left only gpu id#2 (270X).

Wrote "Error CL_INVALID_DEVICE when calling clCreateContext."

If I set gpu0 or gpu1 or all 3 cards miner starts to mine.

I can add gpu/mem clock parameters, that's not a problem, voltages we will see Smiley

can you put a screenshot how it looks when all three cards work, but 270x does not report temp/fans rpm ?

SRBMiner-MULTI thread - HERE
http://www.srbminer.com
UnclWish
Sr. Member
****
Offline Offline

Activity: 1484
Merit: 253


View Profile
March 25, 2018, 09:33:27 AM
 #18

Thanks! Good job!

What about setting over/underclocking and under/overvoltaging? Maybe you add parameters to set clocks and voltages?

Temperature and fan control didn't work for R9 270X 4Gb.

Miner didn't work if i use gpu_conf section and left only gpu id#2 (270X).

Wrote "Error CL_INVALID_DEVICE when calling clCreateContext."

If I set gpu0 or gpu1 or all 3 cards miner starts to mine.

I can add gpu/mem clock parameters, that's not a problem, voltages we will see Smiley

can you put a screenshot how it looks when all three cards work, but 270x does not report temp/fans rpm ?

Of course, here

ScreenShot
How I can launch only on 270X?
Mind163
Newbie
*
Offline Offline

Activity: 79
Merit: 0


View Profile
March 25, 2018, 09:58:01 AM
 #19

/* This is just an example, edit it and remove comment lines (the slash and star) !! */
"gpu_conf" :
[
{ "id" : 0, "intensity" : 13, "double_threads" : true},
{ "id" : 1, "intensity" : 13, "double_threads" : true},
{ "id" : 2, "intensity" : 13, "double_threads" : true},
{ "id" : 3, "intensity" : 13, "double_threads" : true},
{ "id" : 4, "intensity" : 13, "double_threads" : true},
{ "id" : 5, "intensity" : 12, "double_threads" : true},
]

/* Make sure not to delete this last blank line */

this is how the end of the config looks like
Bulitt
Member
**
Offline Offline

Activity: 108
Merit: 11


View Profile
March 25, 2018, 10:08:45 AM
 #20

I guess it only works with GCN or newer cards like almost every other miner created

[2018-03-25 05:08:15] Error CL_INVALID_WORK_GROUP_SIZE when calling clEnqueueNDRangeKernel for kernel 4.

scrolling...
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ... 363 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!