Bitcoin Forum
January 24, 2020, 02:00:45 PM *
News: Latest Bitcoin Core release: 0.19.0.1 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / SRBMiner-MULTI CPU & AMD GPU Miner 0.3.1 Win & Linux on: October 04, 2019, 03:52:12 PM
SRBMiner-MULTI CPU & AMD GPU Miner 0.3.1
Windows & Linux
https://www.srbminer.com
------------------------------------------------------------------------------------------------------

Download links:
https://www.srbminer.com/download.html
https://github.com/doktor83/SRBMiner-Multi/releases
https://mega.nz/#F!rBYRxArK!scVnPjMbALABivlaQhl2IQ

Support:
Discord channel


===========================================
SUPPORTED ALGORITHMS:
===========================================


[CPU ONLY]

+ cpupower
+ defyx
+ m7mv2
+ randomarq
+ randomsfx
+ randomwow
+ randomx
+ randomxl
+ yescryptr16
+ yescryptr32
+ yescryptr8
+ yespower
+ yespower2b
+ yespoweric
+ yespoweriots
+ yespoweritc
+ yespowerlitb
+ yespowerltncg
+ yespowerr16
+ yespowersugar
+ yespowerurx

[CPU & GPU]

+ blake2b
+ blake2s
+ cryptonight_catalans
+ cryptonight_talleo
+ eaglesong
+ k12
+ kadena
+ keccak
+ mtp
+ rainforestv2
+ yescrypt

Note:
MTP scratchpad creation is very slow at the moment, it is waiting on a big rewrite. This has an impact on poolside hashrate if a lot of new works are sent out.



===========================================
SUPPORTED GPU'S:
===========================================


+ VEGA 56/64/FE/VII
+ RX 460/470/480/550/560/570/580/590
+ R9 285/285X/380/380X
+ R9 290/290X
+ R9 Fury/Nano

Linux : amdgpu-pro drivers


===========================================
FEES:
===========================================


0.00%
+ blake2b
+ yespowerurx

~0.85%
+ Rest


===========================================
FEATURES:
===========================================


+ Guided setup mode
+ Algorithm switching capability without external application
+ Run in background without a window
+ Hashrate watchdog that restarts miner on GPU error
+ Monitoring of GPU temperature, and auto turn off if temperature is too high
+ System shutdown on too high GPU temperature
+ Miner auto restart on too many rejected shares
+ Startup monitor which ensures your miner starts working normally
+ API for miner statistics
+ Web based GUI interface for miner statistics
+ Multiple pools with failover support
+ Add new pools on the fly without restarting miner
+ Difficulty monitor, reconnects to pool if difficulty is too high
+ Job timeout monitor, reconnects to pool if no job received for a long time
+ Switch AMD video cards to compute mode easily


===========================================
USAGE EXAMPLES
===========================================


1. Disable CPU mining, use only GPU mining

Code:
SRBMiner-MULTI.exe --algorithm keccak --pool your-pool-here --wallet your-wallet-here --disable-cpu

2. Run miner in background without console window, with API enabled on port 17644 (http://127.0.0.1:17644)

Code:
SRBMiner-MULTI.exe --algorithm keccak --pool your-pool-here --wallet your-wallet-here --background --api-enable --api-port 17644

3. Disable GPU mining, use 7 CPU threads with extended logging enabled and saved to Logs\log.txt file

Code:
SRBMiner-MULTI.exe --algorithm keccak --pool your-pool-here --wallet your-wallet-here --disable-gpu --cpu-threads 7 --log-file Logs\log.txt --extended-log

4. Full example for CPU & GPU mining set only from cmd (4 GPU/s used and 7 CPU threads on K12 algorithm)

Code:
SRBMiner-MULTI.exe --algorithm k12 --gpu-id 0,1,2,3 --gpu-intensity 26,25,26,26 --gpu-worksize 256,256,256,256 --gpu-threads 1,1,1,1 --cpu-threads 7 --pool your-pool-here --wallet your-wallet-here

5. Disable GPU mining, use 15 CPU threads with extended logging enabled and saved to Logs\log.txt file, start mining Randomx from block height 1978433 and run miner in background

Code:
SRBMiner-MULTI.exe --algorithm randomx --pool your-pool-here --wallet your-wallet-here --disable-gpu --cpu-threads 15 --log-file Logs\log.txt --extended-log --background --start-block-height 1978433


===========================================
CPU MINING SETUP
===========================================


If you don't set the --cpu-threads or --cpu-affinity parameters, miner will try to automatically find the best setup for you system.
Sometimes the auto setup won't find the optimal settings so you should find it by experimenting.

You need to set the number of worker threads (--cpu-threads) and bind them to the appropriate PU (processing unit) with --cpu-affinity.
You can calculate the affinity mask here : https://bitsum.com/tools/cpu-affinity-calculator/

Examples to get you started:

4 CORE / 8 THREADS CPU :

1. Use 4 threads, 1 on every core : --cpu-threads 4 --cpu-affinity 0x55
2. Use 8 threads, 2 on every core : --cpu-threads 8 --cpu-affinity 0xFF

6 CORE / 12 THREADS CPU :

1. Use 6 threads, 1 on every core : --cpu-threads 6 --cpu-affinity 0x555
2. Use 12 threads, 2 on every core : --cpu-threads 12 --cpu-affinity 0xFFF


===========================================
RANDOMX EXTRA TWEAKS
===========================================


To enjoy the benefits of the increased hashrate:

1. Miner must run with administrator privileges [right click on SRBMiner-MULTI.exe->properties->compatibility-> check 'Run this program as an administrator' option-> click OK button
2. Make sure WinRing0x64.sys is in the same folder as SRBMiner-MULTI.exe
 
Enabling the extra tweaks, some register values are changed which will revert back to the original value after a computer restart.

If miner starts crashing, or creates bad results after enabling the extra tweaks, you can try the '--randomx-use-tweaks' parameter, where you can define which tweak/s you want to enable.
Without this option miner enables all available tweaks (same as --randomx-use-tweaks 0123 for AMD, --randomx-use-tweaks 0 for Intel) , but with '--randomx-use-tweaks' you can define which ones you want to use.

There are at the moment :
Intel - 1 tweak
Amd - 5 tweaks

Index starts from 0, so you have 0 1 2 3 4 for options on AMD.

Here's an example :

+ Use tweaks number 0 and 3 (dont use 1 and 2)

Code:
SRBMiner-MULTI.exe --algorithm randomx --pool your-pool-here --wallet your-wallet-here --password your-password-here --randomx-use-tweaks 03

The order of tweaks doesn't matter, so writing 03 is same as 30.

What you should do is to find which tweak, or combination of tweaks, makes the problems.
You should try enabling tweaks one by one, and test to see if miner runs stable with one tweak, and if it does, test the next one etc.
Luckily there are not so many combinations for you try (because 0123 is for example same as 3021 or 1302.. )

So start with :
Code:
SRBMiner-MULTI.exe --algorithm randomx --pool your-pool-here --wallet your-wallet-here --password your-password-here --randomx-use-tweaks 0

If it runs without crashing for some time, try the next one :

Code:
SRBMiner-MULTI.exe --algorithm randomx --pool your-pool-here --wallet your-wallet-here --password your-password-here --randomx-use-tweaks 1

and so on, until you find the one that makes the trouble.

Then try combining tweaks to find a combination that works for you.

If you have older gen. Ryzens, try this combination of tweaks :

Code:
--randomx-use-tweaks 0134


===========================================
VIDEO TUTORIALS
===========================================


How to set multi-algorithm pools

How to mine Kadena coin
How to mine Monero RandomX
How to prepare for Monero RandomX fork
How to mine Loki - RandomXL
How to mine Nervos CKB
How to mine MicroBitcoin


===========================================
INFORMATIONS
===========================================


SRBMiner-Multi is supported by Awesome Miner

If you get "Insufficient system resources available to allocate X kB in large-page memory" message, that means you dont have enough FREE memory left, a computer restart should solve this.
Large-page memory regions may be difficult to obtain after the system has been running for a long time because the physical space for each large page must be contiguous, but the memory may have become fragmented.
If you still get this message even after restarting, try increasing virtual memory.


You can find all the parameters and everything you need to get going in the readme.txt file.

This thread is self moderated, because in the previous SRBMiner thread there was too much spam and garbage, which wasn't removed by the forum moderators.
2  Alternate cryptocurrencies / Mining (Altcoins) / SRBMiner Cryptonight AMD GPU Miner V1.9.3 - native algo switching on: March 20, 2018, 12:10:13 PM
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.
3  Alternate cryptocurrencies / Mining (Altcoins) / D0miner V1.4 - Cryptonight miner with charity mining on: February 16, 2018, 04:32:37 PM
D0miner V1.4 AMD only
Simple Cryptonight miner with charity mining option
-------------------------------------------

POW V7 ready

It's good for: Monero, Electroneum, Sumokoin, Karbowanec, Bytecoin, Turtlecoin, Dero and others.
Supports Nicehash & SSL/TLS encrypted connections


Download:
Mega : https://mega.nz/#F!vAZnXJaQ!Cczik99yNCPYrn2J-wyAHg
MD5  : ede5fdc5971e9bf188e7ee805f2aeea5 *D0minerV1.4.zip


What is new in V1.4 ?
- Added support for Nicehash
- Added support for SSL/TLS encrypted stratum connections


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
- 3 locations for DevFee pool : europe, asia, usa


Performance:
- Only one parameter you have to play with : intensity (0 - 100)
- Leave intensity on 0, and miner will try to set intensity automatically for your GPU
- To get even better results, there is an option to use double threads


Charity:
- You can offer 0.55% of your earnings (that is 1 minute of mining every ~3 hours) for charity
- 0.55% is something you won't even notice, but it can mean a lot to someone in need
- Non-agressive Charity mining, if it can't connect to Charity pool, it will switch back to user pool


Extra:
- Watchdog that resets miner if it detects the GPU is not hashing (probably video driver crashed)


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
- To disable charity mining just delete charity pool, wallet and password fields from the config file
- If you think that i don't deserve the DevFee, you can use the -iamagreedybastard parameter


Have to make this work ?

The config file :

"intensity" : A NUMBER BETWEEN 0-100,
"double_threads" : TRUE OR FALSE,
"target_temperature" : A NUMBER BETWEEN 0-99,
"pool_use_tls" : TRUE OR FALSE,
"pool" : "ADDRESS OF MINING POOL:PORT",
"wallet" : "ADDRESS OF YOUR WALLET",
"password" : "x",
"location" : "EUROPE OR ASIA OR USA",
"log_file" : "IF YOU WANT TO LOG MINER OUTPUT PUT A FILENAME HERE",
"charity_pool" : "ADDRESS OF POOL FOR CHARITY MINING",
"charity_wallet" : "ADDRESS OF WALLET FOR CHARITY MINING",
"charity_password" : "x"

#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" : 0, "double_threads" : true},
   { "id" : 1, "intensity" : 55, "double_threads" : false},
   { "id" : 3, "intensity" : 25, "double_threads" : true},
   { "id" : 4, "intensity" : 0, "double_threads" : true},
]

So if you for ex. have 6 GPU's but want only to use 3, first run d0miner.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.

After setting up the config.txt file, just run start.bat


Options:

- Press 's' when miner is running to see some basic stats
- Press 'h' when miner is running to see hashing speed

Parameters:

--listdevices (display available GPU devices and their ID's, to use in gpu_conf)
--disablegpuwatchdog (turn off watchdog, if it is making some trouble for you)
--iamagreedybastard (use it if you think i don't deserve the 0.85% devfee)

Info:
You have to change the wallet address in sample config.txt file, if you leave it, you will mine some XMR to me.
Also the charity address in the sample config.txt is Wolf0's XMR address. I modified his OpenCL kernel, so he deserves some coins for his work.
4  Alternate cryptocurrencies / Mining (Altcoins) / SRBPolaris V3.5 - BIOS editor for AMD RX4XX and RX5XX cards on: April 23, 2017, 06:04:19 AM
SRBPolaris BIOS EDITOR

BIOS editor for AMD RX 460/470/480, RX 550/560/570/580 video cards

- Pimp my straps - speed up your factory bios with custom straps
- Copy memory straps fast and easy
- Memory timing strap editor - make your own custom straps
- Unlock RX460 additional shaders
- Set default GPU and MEM clocks
- Set GPU voltage
- Lot's of useful stuff

Download:

Mega : https://mega.nz/#F!TVgGHQZS!yfmtIvbF67iS4QrEJqb26g
MD5 : 78849cd3a4b728328df9d2775599f26e *SRBPolarisV3.5.zip


Latest and last ver. : V3.5

- Removed donation so no more waiting
- Added support for a few more cards
- This is the last version, happy modding

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

Get SRBMiner, the best Cryptonight miner with algo-switching support and very low devfee!

Download : http://www.srbminer.com

Join the discussion : https://bitcointalk.org/index.php?topic=3167363.0

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

VirusTotal as usual reports zillions of trojans, so if you think it really contains a virus, just don't use it.
Pages: [1]
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!