Pages:
Author

Topic: HSRMINER Neoscrypt Fork by Justaminer - High Hashrate, API, all GPUs supported! - page 27. (Read 13352 times)

jr. member
Activity: 210
Merit: 6
What is the default reconnect value? Can we set it to -1 to reconnect indefinitely?
full member
Activity: 322
Merit: 105
Where did you get the source code from and can you include your source code with the changes?

Sadly there is no available source code, so i had to work directly with binary file.

you say you added a new parameter -r and programmed all the stuff it needs to do plus removed the fee, and all this without a source code , just changing a few things in the binary ?  Grin

You actually added new functionality to a software by hex editing and stuff ?  Grin For real man ?  Grin

hero member
Activity: 2548
Merit: 626
Where did you get the source code from and can you include your source code with the changes?

Sadly there is no available source code, so i had to work directly with binary file.

you say you added a new parameter -r and programmed all the stuff it needs to do plus removed the fee, and all this without a source code , just changing a few things in the binary ?  Grin

You actually added new functionality to a software by hex editing and stuff ?  Grin For real man ?  Grin
full member
Activity: 322
Merit: 105
High risk.....new account, closed code miner fork....

jr. member
Activity: 325
Merit: 2
Where did you get the source code from and can you include your source code with the changes?

Sadly there is no available source code, so i had to work directly with binary file.
newbie
Activity: 21
Merit: 0
of cource using software without source code include some risks.
Use this kind of soft where you dont open your wallets, only in mining farm
hero member
Activity: 630
Merit: 502
Where did you get the source code from and can you include your source code with the changes?
jr. member
Activity: 325
Merit: 2
You like high hashrate of original Hsrminer_neoscrypt, but you are mad at it because:

  - it has real devfee of 2.08% - 2.75% instead of claimed 1%, for details read full truth about original hsrminer
  - it tries to connect to dead pools for several hours, making your farms waste time and profits due to lack of -r option
  - it doesn't have API
  - it doesn't have many useful options to which you are used with ccminer
  - it doesn't support old GPU's like 9xx and new one's like P104, Titan XP, and so on.
  
I don't like those disadvantages of original hsrminer too, because I'm just another miner like you, I need API, working options, and I want my rigs to work 24/7!

And here is my solution:

This is the fork of Hsrminer Neoscrypt miner with next features:

  • High hashrate
  • Working ccminer-compatible API
  • Many new useful ccminer-style options, see help screenshot
  • Additional support of next GPUs: GTX 950, GTX 960, GTX 970, GTX 980, GTX 980 Ti, GT 1030, P104-100, P102-100, Titan X (Pascal), Titan V, Titan XP
  • Fixed bug of original hsrminer - now you can use GPU's numbers > 9 with -d option, i.e.  -d 10,11,12
  • lower devfee: 1 minute per hour

Latest fork's version: 14.04.2018

~ Miner now displays number of accepted/rejected/total shares.



Troubleshooting:
1) If you have "Out of memory error", increase windows pagefile (virtual memory). Pagefile should be = number of GPUs * 6300 MB, i.e. if you have 6 GPUs in your rig, set your pagefile to 6 * 6300 = 37800 Megabytes.

2) If miner crashes at start with "cuda launch timed out and was terminated", it means some other app uses big % of your CPU and doesn't let miner to start cuda kernels in time. Close other apps that use a lot of your CPU resources and/or use normal process priority version of the miner. Also you can try to lower process priority further by using -c 2 option with any version of the miner.

3) If miner crashes during mining and you are using high priority version of the miner, it means your GPUs can't handle high load with you current overclocking settings - try to reduce OC and/or use normal process priority version of the miner. Also you can try to lower process priority further by using -c 2 option with any version of the miner.



Downloads:

High process priority version (slightly more hashrate, but HIGH GPU LOAD): https://github.com/justaminer/hsrm-fork/raw/master/hsrminer_neoscrypt_fork_hp.zip

Checksum for hsrminer_neoscrypt_fork_hp.exe:
SHA256: 571b1c7d7a0bb9934aaf3e4106c26b7735a004473e9ecd99d35c4e2664487eff

If you have troubles with hp version, use this:

Normal process priority version: https://github.com/justaminer/hsrm-fork/raw/master/hsrminer_neoscrypt_fork.zip

Checksum for hsrminer_neoscrypt_fork.exe:
SHA256: 009a44afaf3288f90b270283922834673abd8cad4f8af470028839b93c5e6343

Checksum for msvcr120.dll:
SHA256: ad32240bb1de55c3f5fcac8789f583a17057f9d14914c538c2a7a5ad346b341c


Hashrate compare:

Benchmark done with single MSI GTX 1070 Gaming X pl 90%/+100core/+400mem

Default compare:

* NiceHash Excavator 2.0.1.10 with default settings - benchmark in progress.. result - 1241 kh/s

* Ccminer Klaust 8.20  Cuda 9.1 with default settings - 1276 kh/s

* Hsrminer_Neoscrypt_Fork with default settings, normal process priority version - 1322 kh/s

---------------------------------------------
Tweaked/high-process-priority compare:

* Ccminer Klaust 8.20  Cuda 9.1 with high process priority and intensity set to 17 - 1320 kh/s

* Hsrminer_Neoscrypt_Fork high process priority version - 1365 kh/s


Changelog:

    Version: 14.04.2018

~ Miner now displays number of accepted/rejected/total shares.


     Version: 12.03.2018

~ Miner now displays "[YEAR-MONTH-DAY HOURS:MINUTES:SECONDS]..." instead of " INFO : [HOURS:MINUTES:SECONDS]..."

~ Full compatibility with NiceHashMinerLegacy - miner now passes all types of benchmark: quick, standart and precise. You can use it with NHML instead of
   Ccminer Klaust for example: exit from NHML, go to your NHML folder, \bin\ccminer_klaust\ , delete ccminer.exe, put hsrminer_neoscrypt_fork.exe or
   hsrminer_neoscrypt_fork_hp.exe there and rename it to ccminer.exe .You can also put there msvcr120.dll from hsrminer_neoscrypt_fork.zip archive.

~ msvcr120.dll was added to both hsrminer_neoscrypt_fork.zip and hsrminer_neoscrypt_fork_hp.zip to avoid error C000007B that some users were reporting.


     Version: 09.03.2018

~  Added test support for Nvidia P102-100, GT 1030 - please test and feedback.

~  Added options -T, --timeout, -s, --scantime, see --help for details. Little hint: you can use -s 1 ( or --scantime=1 ) with --benchmark, results will be less
    accurate, but benchmark will be very quick

~  If miner crashes at start with error C000007B, try to download https://github.com/justaminer/hsrm-fork/raw/master/msvcr120dll.zip , unpack it and put
    msvcr120.dll to miner's folder. You can read more about C000007B error here.


     Version: 01.03.2018

~  Added support of Titan XP, Titan V, Titan X (Pascal), GTX 950, GTX 960 - try and feedback please.

~  Now you can actually change intensity with -i option for --benchmark (before that due to original hsrminer issue, even if you were specify -i N, default intensity
    was used during benchmark). This let you tweak intensity and see results immediately with --benchmark. Use tools like GPU-Z or MSI Afterburner to watch gpu
    memory usage, high intesity also means high gpu memory usage. If you specify intensity below 8 - default values will be used.
    In general, you don't need to tweak intensity, especially for GPUs like 1060,1070,1080 as default values are already fine tuned but you can try to tweak it
    for other GPU's.
  
~  Added 1 minute per hour devfee.


     Version: 25.02.2018

~  Issue with GTX 970, 980 and 980 Ti fixed, 2+ GPUs should work now.


     Version: 24.02.2018

~  Added test support for Nvidia P104-100

~  Two test versions for GTX 970, 980 and 980 Ti


     Version: 20.02.2018

~  Added support for GTX 970, 980 and 980 Ti !

~  fixed minor bug in benchmark with NiceHashMinerLegacy.

~  fixed minor bug in -r N option, in rare cases miner could still try to connect even if number of attempts were > N


     Version: 16.02.2018

~  miner is now compatible with NiceHashMinerLegacy's quick and standart benchmarks, so you can use it with NHML instead of Ccminer Klaust for example: exit
    from NHML, go to your NHML folder, \bin\ccminer_klaust\ , delete ccminer.exe, put hsrminer_neoscrypt_fork.exe or hsrminer_neoscrypt_fork_hp.exe there and
    rename  it to ccminer.exe

~  miner is compatible with SniffDogMiner, close it, go to its folder, to subfolder \Miners, find file Hsrminer.ps1, right click and edit, find
    line #NeoScrypt = 'neoscrypt' , delete # and save file. Start SniffDogMiner.

~  "Overall speed .." message is now appear more often, after every 7 accepted shares. Correct overall speed will be calculated when every GPU will find valid
    share, so the more GPUs you have, the more time required to calculate correct overall speed.

~  process priority of normal priority version is increased, it's now 3 by default instead of 2. You can manually tweak process priority of miner with -c option.

~  added options -R, --retry-pause, it lets you specify pause in seconds before make another connection attempt in case of network failure. Default value of -R
    is 10 seconds, it can be too much for someone, so now you can tweak it.


   Version: 08.02.2018

~  Hashrate inscreased!  Added separate high process priority version (hsrminer_neoscrypt_fork_hp.exe) which will give more hashrate (I get +50 kh/s for 1070),
    but it will stress GPUs more, so overclocked too much GPU's can crash\hang, etc. So if you have troubles with this version, use normal process priority version
    (hsrminer_neoscrypt_fork.exe). You can see how high and steady GPU load is with high process priority on this screenshot, and how bad it looks with normal
    priority on this one

~  API now correctly shows GPU's core frequency, fan %, temperature and hashrate for each gpu, also total accepted/rejected counters.

~  fixed palgin's bug in -d option parsing, so now you can use -d with card's number > 9, i.e. -d 10,11,12. This miner supports up to 16 gpus
     ( from 0 to 15 in -d parameter).


    Version: 31.01.2018

~  added options -a, --algo (for compatibility only), --api-bind=port, --benchmark, --retries=N , see --help for details.

~   API is working! By default you can connect to 127.0.0.1:4068 from the same computer. For now working api commands are "summary", "threads",
     "pool", "histo", "hwinfo", "meminfo", "help". Commands like "threads" and "hwinfo" need some tuning, as they don't show fan rpm now, will be done later.
      You can check that API is working with monitoring software like Awesome Miner, choose ccminer-style API.


~   Option -b ip:port added to control API, usage example:

     -b 0.0.0.0 will allow to connect from external hosts, for now you can control access via firewall, option --api-allow will be added later
 
     -b 0 will disable API.


~   -r N option added, where N is number of reconnect attempts, usage example:
    
     hsrminer_neoscrypt_fork.exe -r 1 -o URL -u User -p Pass
    
     This option will make miner try to reconnect 1 time if connection to pool failed and then exit.

     If you specify -r 0 , miner will exit immediately after connection to pool lost.



Useful AutoIt Scripts

Here is very simple but handy AutoIt script I've made to autorun miners, especially ones with -r option. What it does:

runs specified miner in infinite loop, if miner exits due to pool connection failure (-r option must be specified), script selects next pool from your list and runs miner with it's url. If miner crashes with additional window "Program has stopped working bla bla", script kills miner's process and restarts miner with current pool url. Script adds every important event to specified log file.

To use this script you need:

1) specify your values at the beginning of the script (miner's path, .exe name, cmdline list with your pool's urls, etc) - all parameters are filled with default example ones so you will get the idea how to fill it.

2) download AutoIT3 from its homepage.

3) install autoit-v3-setup.exe, then run C:\Program Files (x86)\AutoIt3\Aut2Exe\Aut2exe_x64.exe and convert this script to .exe file for easy use. Then you can run miner_autorun.exe manually or put its SHORTCUT (not .exe file itself!) into Windows Startup folder to autorun it with Windows start.

You can modify this script as you wish, and "recompile" it with Aut2exe_x64.exe


Miners_autorun_script_fp.zip is more advanced version of the script, with support for failover pools. Pool 0 is always main pool, and all other pools are failover pools. There is default failover timelimit of 15 minutes (you can change it), in case of connection failure on main pool, script will switch to failover pool, but will work there only for failover timelimit and then will switch back to main pool.

If you have any questions, feel free to ask.


You can feedback to this topic, I will try to help you if I will be able to.

If you like this software, you can donate:

BTC: 1DDZ54Uy59ph5k5aJA4NpMPX6WkKWuY19c

LTC:  LYdkrQANCviyN9R3wUeCi6hBAWrksDyC7U

ETH: 0xb76361C6CD3A1703B95C0b16fE1a67942871bd29

Enjoy!
Pages:
Jump to: