GithubHelp home page GithubHelp logo

yuzi-co / forager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tutulino/megaminer

24.0 15.0 14.0 66.68 MB

Advanced multi-algo profit switching miner

License: GNU General Public License v3.0

Batchfile 0.83% PowerShell 76.13% C# 22.90% Shell 0.14%
mining pool afterburner gpu cpu nicehash ethash equihash bitcoin amd nvidia sgminer ethereum zpool zergpool ccminer bminer claymore mining-software

forager's Introduction

Forager

Advanced open source multi-pool / multi-algo profit switching miner

It will use profit information from supporting pools to make sure you mine the most profitable algorithm at all times You can also use WhatToMine and CoinCalculators virtual pools for profit data and mine to pools which dont provide profit information, or even your custom pools ( see Pools/MyPools.ps1 for examples )

Using integration with MSI Afterburner, it will get real time power usage and use this information to calculate how much you pay and adjust the profitability data.

Main features:

  • Supports AMD/NVIDIA/CPU Mining
  • Mine single coin or algo or Automatic profit switching on Zpool, Zergpool, NiceHash, MiningPoolHub and others
  • Profitability info for all coins on WhatToMine and CoinCalculators
  • MSI Afterburner integration for monitoring AMD/NVIDIA GPUs and Intel CPU power consumption and PowerLimit support for AMD/NVIDIA
  • Fast benchmarking (Algos with stable hashrate finish within 2-3 mins)
  • GPU Activity watchdog + Hashrate watchdog
  • Reporting mining stats to https://multipoolminer.io/monitor/
  • Power usage approximation for AMD and CPU when Afterburner integration is off
  • Profit display in any fiat currency which is supported by CoinDesk
  • SHA256 checksum validation for miner downloads
  • Autoexec.txt for running custom programs on start. Autorun programs are also stopped on exit
  • Enable/Disable a device group during runtime

Notes:

Drivers:

Recommended drivers for AMD - 18.3.4 or 18.6.1.

You can use https://forums.guru3d.com/threads/atic-install-tool-radeon-drivers-download-utility.422576/ to easily find and download specific driver version

Recommended drivers for NVIDIA on Win 10 - 411.31+ for CUDA 10

Recommended drivers for NVIDIA on Win 10 - 398.+ for CUDA 9.2

Recommended drivers for NVIDIA on Win 7 - 390.65-391.01 for CUDA 9.1

Powershell:

Using PowerShell Core 6.x recommended - https://github.com/PowerShell/PowerShell/releases/tag/v6.2.3

Windows 7 will require PowerShell Core or PowerShell v5 installed: https://www.microsoft.com/en-us/download/details.aspx?id=54616

Runtimes for miners:

.NET Core Runtime - https://dotnet.microsoft.com/download

MSVCR120 - https://www.microsoft.com/en-gb/download/details.aspx?id=40784

VCRUNTIME140 - https://www.microsoft.com/en-us/download/details.aspx?id=48145

Visual C++ Redistributable for Visual Studio 2015 - https://www.microsoft.com/en-US/download/details.aspx?id=48145

Afterburner

Recommended MSI Afterburner version is 4.5.0 or newer. Prior versions don't support Intel CPU power usage and may not fully support your GPU

Some miners when benchmarking X16r/X16s (AMD) submit "fake" shares that get rejected by the pools. Ignore this and after benchmarking it will work normally.

XMRig AMD doesn't support parameter detection for specified devices and will use all AMD devices.

XMR-Stak (AMD and NVIDIA) doesn't support multiple groups per GPU Vendor (2+ AMD or NVIDIA) out of the box. Of first run it will create "GroupName-Algorithm.txt" files for each group that you can edit once to include only the relevant GPUs.

Mixed rigs (AMD+NVIDIA) are not recommended. Use at your own risk. You may have problems with some miners selecting specific devices. Disable problematic miners if you have issues.

Nvidia-SMI

nvidia-smi.exe is included as an optional tool to modify gpu/memory clocks and other details of your Nvidia GPU(s) for documentation on commands nvidia-smi.exe uses please refer to http://developer.download.nvidia.com/compute/DCGM/docs/nvidia-smi-367.38.pdf

Getting started:

Option 1:

Download latest Forager release (7zip or self-extracting SFX) from https://github.com/yuzi-co/Forager/releases and extract it

Option 2:

Install GIT (https://git-scm.com/download/win), open command line and run git clone https://github.com/yuzi-co/Forager/ to get latest master version

Configure:

Copy /Config/Config-SAMPLE.ini Rename to /Config/Config.ini and edit it with your preferred currencies, wallets and pool users

Run START.bat to generate sample AutoStart.bat based on your selections or see Autostart*.bat files for examples

When using mixed card models (i.e. RX580 + RX Vega), it is recommended to define separate "GpuGroups" in Config.ini to be able to benchmark them separately and mine the algos most profitable for the specific card models.

When run, Forager will benchmark all available Miner/Algo combinations and afterwards will start mining the most profitable combination. Be aware that benchmarking can be a long process

Once run, a file will be created in /Config called "MinerParameters.json" This file will be where you can set custom options/ parameters For each algo and miner, The options are the same as the miner's command line options. Review /Config/MinerParameters.Readme.txt for more info

Upgrade:

Option 1:

Download latest Forager release (7zip or self-extracting SFX) and extract to a new folder Copy your customized Autostart.bat, Config.ini and Stats folder to new version folder

Option 2 (if initially installed using GIT):

Run "git pull" in Forager folder to get latest master version

Forager folder structure:

/Bin/               - Installed miners are located in this folder
/BinLinux/          - Installed miners are located in this folder. Linux only
/Cache/             - Cached API requests storage. Can be purged at will. Old files automatically cleaned on start.
/Config/            - User configuration files
/Data/              - Data files containing different mappings and lists required for Forager
/Downloads/         - Downloaded miner archives. Can be purged at will.
/Includes/          - Code includes and binary helper programs
/Logs/              - Runtime logs and session reports (if enabled). Old files automatically cleaned on start.
/Miners/            - Miner definitions in json format
/MinersLinux/       - Miner definitions in json format for Linux
/MinersDisabled/    - Miners disabled by default, usually because of low profitability or issues
/Pools/             - Pool definitions
/Stats/             - Miner benchmarks and run statistics. *_Hashrate.csv - Benchmark results, remove to re-benchmark. *_Stats.json - Runtime stats

Helper scripts:

START.bat               - Menu based option Mining Mode / Pools / Coins selection. Will also generate a sample AutoStart.bat based on your selections.

AutoStart.bat           - Sample start script with recommended set of AutoExchange pools based on instant profitability
AutoStart24h.bat        - Sample start script with recommended set of AutoExchange pools based on 24h profitability (for supporting pools)

AutoStart Example*.bat  - Examples of startup scripts with Algo/Coin filters

BootStart.bat           - Starts AutoStart.bat after 3 minute delay. Can be added to Windows Autostart
DeviceList.bat          - List detected devices and suggested GpuGroups based on auto-detection
OpenCLList.bat          - List OpenCL devices

Donations are welcome

BTC - 3FzmW9JMhgmRwipKkNnphxG73VPQMsYsN6
ETH - 0x38973025136D1a5B773aE71c02cA24b365850A9A
LTC - MM8RmXUgxDwHJxrC54muF7KHciSCFS3gx3

Disclaimer:

THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

forager's People

Contributors

adem4ik avatar dethknite avatar dropdeadrus avatar drrobotto avatar fedeparma74 avatar gothic860 avatar jeison-souza avatar mikebuzz avatar nickduino avatar platinum4 avatar pstarsr avatar shtse8 avatar toshkov02 avatar tutulino avatar vukakun avatar yuzi-co avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

forager's Issues

Automatic overclocking (or underclocking) optimization through Afterburner?

First of all, great job with integrating the miner with Afterburner!

It got me thinking, it would be great if the algorithm could change the core clock and the memory clock in order to find the profitability sweet-spot. I was thinking of something like setting the lower bound, the upper bound, and step size, so that the user can constrain the parameters to be within some stable range.

Incidentally, maybe it would be a good idea to do the same with the power limits. For example, if I want to use all the power limits from 50% to 150% in steps of 5%, it would be much easier to set it with those 3 parameters (50,150,5), instead of writing everything (50, 55, ... , 95, 100, 105, ... ,145 150). I assume that most people use power limits like this anyway.

Column Watt is a percentage with AB enabled, not real wattage?

When Afterburner = Enabled (in config), the value under Watt is the % and not the real value.

Example below are for a 1080Ti (250W TDP):
image

Result of Afterburner.bat:

Signature     : 1296123981
Version       : 131072
HeaderSize    : 32
EntryCount    : 44
EntrySize     : 1324
Time          : 1529399622
GpuEntryCount : 1
GpuEntrySize  : 1304




SrcName          SrcUnits LocalizedSrcName LocalizedSrcUnits RecommendedFormat     Data MinLimit MaxLimit Flags        GPU
-------          -------- ---------------- ----------------- -----------------     ---- -------- -------- -----        ---
GPU temperature  °C       GPU temperature  °C                %.0f                    63        0      100  None          0
GPU usage        %        GPU usage        %                 %.0f                    99        0      100  None          0
FB usage         %        FB usage         %                 %.0f                    75        0      100  None          0
VID usage        %        VID usage        %                 %.0f                     0        0      100  None          0
BUS usage        %        BUS usage        %                 %.0f                     0        0      100  None          0
Memory usage     MB       Memory usage     MB                %.0f              2016.121        0     8192  None          0
Core clock       MHz      Core clock       MHz               %.0f                  1898        0     2500  None          0
Memory clock     MHz      Memory clock     MHz               %.0f                  5508        0     7500  None          0
Power            %        Power            %                 %.0f                    99        0      150  None          0
Fan speed        %        Fan speed        %                 %.0f                    86        0      100  None          0
Fan tachometer   RPM      Fan tachometer   RPM               %.0f                  2433        0    10000  None          0
Temp limit                Temp limit                         %.0f                     0        0        1  None          0
Power limit               Power limit                        %.0f                     1        0        1  None          0
Voltage limit             Voltage limit                      %.0f                     0        0        1  None          0
No load limit             No load limit                      %.0f                     0        0        1  None          0
CPU1 temperature °C       CPU1 temperature °C                %.0f                42.875        0      100  None          0
CPU1 usage       %        CPU1 usage       %                 %.0f                   100        0      100  None          0
CPU2 usage       %        CPU2 usage       %                 %.0f                28.125        0      100  None          1
CPU3 usage       %        CPU3 usage       %                 %.0f                   100        0      100  None          2
CPU4 usage       %        CPU4 usage       %                 %.0f               48.4375        0      100  None          3
CPU5 usage       %        CPU5 usage       %                 %.0f                   100        0      100  None          4
CPU6 usage       %        CPU6 usage       %                 %.0f               39.0625        0      100  None          5
CPU7 usage       %        CPU7 usage       %                 %.0f                   100        0      100  None          6
CPU8 usage       %        CPU8 usage       %                 %.0f                  37.5        0      100  None          7
CPU9 usage       %        CPU9 usage       %                 %.0f                   100        0      100  None          8
CPU10 usage      %        CPU10 usage      %                 %.0f               17.1875        0      100  None          9
CPU11 usage      %        CPU11 usage      %                 %.0f                   100        0      100  None         10
CPU12 usage      %        CPU12 usage      %                 %.0f                 31.25        0      100  None         11
CPU usage        %        CPU usage        %                 %.0f              66.79688        0      100  None 4294967295
CPU1 clock       MHz      CPU1 clock       MHz               %.0f                  3400        0     5000  None          0
CPU2 clock       MHz      CPU2 clock       MHz               %.0f                  3400        0     5000  None          1
CPU3 clock       MHz      CPU3 clock       MHz               %.0f                  3400        0     5000  None          2
CPU4 clock       MHz      CPU4 clock       MHz               %.0f                  3400        0     5000  None          3
CPU5 clock       MHz      CPU5 clock       MHz               %.0f                  3400        0     5000  None          4
CPU6 clock       MHz      CPU6 clock       MHz               %.0f                  3400        0     5000  None          5
CPU7 clock       MHz      CPU7 clock       MHz               %.0f                  3400        0     5000  None          6
CPU8 clock       MHz      CPU8 clock       MHz               %.0f                  3400        0     5000  None          7
CPU9 clock       MHz      CPU9 clock       MHz               %.0f                  3400        0     5000  None          8
CPU10 clock      MHz      CPU10 clock      MHz               %.0f                  3400        0     5000  None          9
CPU11 clock      MHz      CPU11 clock      MHz               %.0f                  3400        0     5000  None         10
CPU12 clock      MHz      CPU12 clock      MHz               %.0f                  3400        0     5000  None         11
CPU clock        MHz      CPU clock        MHz               %.0f                  3400        0     5000  None 4294967295
RAM usage        MB       RAM usage        MB                %.0f                  5111        0    16384  None          0
Pagefile usage   MB       Pagefile usage   MB                %.0f                 10865        0    16384  None          0




GpuId     : VEN_10DE&DEV_1B06&SUBSYS_374D1458&REV_A1&BUS_9&DEV_0&FN_0
Family    : GP102-A
Device    : GeForce GTX 1080 Ti
Driver    : 398.11
BIOS      : 86.02.39.00.9d
MemAmount : 0
Index     : 0

When commenting out the 'Afterburner = Enabled' line in Config, the real Wattage is shown:
image

No Pools Message

Been trying this latest version and cannot get it running. All I ever get is No Pools message.
Is config.ini supposed to be an actual .ini file or or is it supposed to be a .txt file? Well I tried both.
Its acting like it isnt seeing the wallet in the config file.

Disable exit when "NO MINERS"

Предлагаю в строке 756 файла Core.ps1 убрать "; Exit".
Когда пропадает надолго интернет, а потом появляется, то приходится перезапускать Forager.
In English:
I suggest deleting "; Exit" in line 756 of the Core.ps1 file.
When the Internet disappears for a long time, and the bottom appears, you have to restart Forager.

Set-Content: can not find path to...

Set-Content : Could not find a part of the path '\Cache\https%3a%2f%2fauroracoin-qubit.miningpoolhub.com%2findex.php%3fpage%3dapi%26action%3dgetdashboarddata%26api_key%3db9eec144304040a8da1bb4b3e4
b8608024ad509e98a61c96207d89543bf09cfe%26id%3d%262018-05-13_20-13.json'.n'.
At \Include.ps1:643 char:85

  • ... $Response | ConvertTo-Json -Depth 100 | Set-Content -Path $CacheFile}
  •                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
    
  • CategoryInfo : ObjectNotFound: (...5-13_20-13.json:String) [Set-Content], DirectoryNotFoundException------ ---- ----
    • FullyQualifiedErrorId : GetContentWriterDirectoryNotFoundError,Microsoft.PowerShell.Commands.SetContentCommand

No Pools...

I have a problem since version 1.4:
with more than one selected pool I get error message "No Pools ....", with only a select pool it works correctly.
Win 10 , NVIDIA 1080,1060, clean Install, clean config.ini

Scrypt Miner

Hard to believe but lately Zergpool has Scrypt as top paying algo.
Please add a AMD and a NV Scrypt miner.

Watt 0W

Привет.
У меня на Radeon RX 580 значение Watt всегда 0W. В (C)urrent Power тоже 0W. Проблема появилась где-то полтора-два месяца назад.
Включение Afterburner не помогло.
Load, Temp, Fan, Clock и ClkMem значения показывают.

Inconsistent format: fiat/day

In the screenshot below, the field called 'EUR/Day' is not formatted consistently with the 'Profit/Day'. 5 digits after the comma is not needed. ;-)

image

Also, It si not in line with the format uner the GroupName:
image

[suggestion] Pool fees in the menu

It would be useful to see the fee percentage for each of the pools in the "SELECT POOL/S TO MINE" menu, in an additional column. Most of them have a global fee anyway.

MyPools

Tell me, please, about MyPools.ps. What is it?

Suggestion for a fix in Get_Mining_Types()

I didn't want to do a pull request, because I'm not exactly sure what's going on, but in Include.ps1, line 436 says:

$OCLDevices = @($OCLPlatforms | ForEach-Object { [OpenCl.Device]::GetDeviceIDs($_, "GPU") })

However, in my system $OCLPlatforms[1] is an Intel CPU and OpenCL throws an error because the second parameter is hardcoded as "GPU". This is what I did to make it work:

$OCLDevices = @($OCLPlatforms | ForEach-Object { if($_.Vendor -like '*NVIDIA*' -or $_.vendor -like '*Advanced Micro Devices*'){ [OpenCl.Device]::GetDeviceIDs($_, "GPU") } else{[OpenCl.Device]::GetDeviceIDs($_, "CPU")} })

AMD CPU: CPU-tdp.json

Updated cpu-tdp.json with ", "AMD Ryzen 5 1600 Six-Core Processor": 65}" but Wattage still not shown (still reporting: 0W)
Same type of change on a Intel CPU worked fine.

The AMD-string I extracted from DeviceList.bat... something doing wrong?


   Type: CPU

  Id Group Name                                            Cores Threads CacheL3   Clock Load Temp Power*
  -- ----- ----                                            ----- ------- -------   ----- ---- ---- ------
CPU0   CPU AMD Ryzen 5 1600 Six-Core Processor                 6      12    16MB 3200Mhz 100%          0W

UtilizationMem division by zero

Include.ps1 at line 237:

UtilizationMem = [int]($($CardData | Where-Object SrcName -match "^(GPU\d* )?memory usage").Data / $($CardData | Where-Object SrcName -match "^(GPU\d* )?memory usage").MaxLimit * 100)

This often results in division by zero. I managed to fix it by changing it to
UtilizationMem = [float]($($CardData | Where-Object SrcName -match "^(GPU\d* )?memory usage").Data / [float]$($CardData | Where-Object SrcName -match "^(GPU\d* )?memory usage").MaxLimit * 100 + 0.001),

but surely there must be a better way.

Enabling different miners on different GPUs.

Some of the miners work great on my 1080Ti, but they fail on the 750Ti. It would be great if I could assign different miners to different cards, just like you do with AMD-NVIDIA-CPU. My temporary solution is simply to have two copies of the miners, one for CPU+750Ti and one for 1080Ti, but that's a waste of space and resources. Would it be possible to do something like that? If you don't wanna do it, do you at least have some ideas?

Out of memory errors...

I keep getting these messages with the newest version and nothing works. Afterburner on or off, ETHlargementPill on or off, it doesn't matter. The entire system freezes. Tell me if you need more info.

Running startup script threw an error: Exception of type 'System.OutOfMemoryException' was thrown..
+ CategoryInfo : OpenError: (localhost:String) [], RemoteException
+ FullyQualifiedErrorId : PSSessionStateBroken

[localhost] The background process reported an error with the following message: W i n d o w s P o w e r S h e l l t e r m i n a t e d w i t h t h e f o l l o w i n g
e r r o r : .
+ CategoryInfo : OpenError: (localhost:String) [], PSRemotingTransportException
+ FullyQualifiedErrorId : 2100,PSSessionStateBroken

PowerDefaultLimit does not work

This line does not work on my machines because the casting to System.int32 does not work:
$PowerDefaultLimit = [int](((& $Command $Arguments) -replace 'W').Trim())

It resides in the include.ps1

Move failing Miner to 'Failed' (Enhancement)

It's unclear at the moment to see which miners failed. After restarting, failed miners may retry benchmark. This results both in lost time and uncertainity.

Why not moving miners -when failed multiple times- to a subfolder called 'Failed'? Then it's still up to me to decide if I want to retry them (cfr. put them back in the 'Miners' folder), maybe with different settings?

As a complication to this: miner files contain multiple algo's, some of them may fail while others work fine. This potentially could be solved by moving only the failed algo's to the 'Failed' sub folder... however this may complicate things too much for now.

To workaround that, you could start with single-algo miners (cfr. when they fail, move them to the 'Failed' folder).

Miner suddenly doesn't even start

So, out of nowhere, when I start the miner, I get to this point...

Press Enter to continue...: 
Transcript started, output file is .\Logs\2018-05-27_18-35-28.txt
Transcript stopped, output file is G:\Desktop\Forager\Logs\2018-05-27_18-35-28.txt

...and then nothing happens. I tried purging Cache and Logs, restarting the PC, but nothing happens.

This is the entire log:

**********************
Windows PowerShell transcript start
Start time: 20180527183630
Username: TSUNKUNPC\TsunKun
RunAs User: TSUNKUNPC\TsunKun
Configuration Name: 
Machine: TSUNKUNPC (Microsoft Windows NT 10.0.16299.0)
Host Application: powershell -version 5.0 -noexit -executionpolicy bypass -command & .\Miner.ps1
Process ID: 7016
PSVersion: 5.1.16299.15
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.16299.15
BuildVersion: 10.0.16299.15
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
Transcript started, output file is .\Logs\2018-05-27_18-36-30.txt
**********************
Windows PowerShell transcript end
End time: 20180527183630
**********************
05/27/2018 18:36:30...... Forager v1.6

Stratum connect timeout, failover...

Привет.
Можешь добавить возможность временного отключения добычи при сообщениях " Stratum connect timeout, failover..."?
Например, сегодня в 11:40 пул Nicehash при использовании алгоритма Lyra2z в N-Coolminer выдавал такую ошибку во время бенчмарка. Из-за этого бенчмарк не проходил дальше.
Пришлось закомментировать использование этого алгоритма в N-Coolminer.
В Config.ini выставление параметра WatchdogHashrate = 40 не помогло. У меня WatchdogExcludeAlgos = X16r.

X16r All rejects

DL'd latest version and now all my x16r is rejected. Multiple miners. Multiple rigs.
On BOTH rigs I can fire up Avermore outside of your app and it mines fine.
I even tried copying over working miner to your folder. No good.
Something else is happening I cant figure out what.
My other rigs are on slightly older versions of Forager and all are running x16r with no issues.
The only error in the log is this
"Downloading https://github.com/CryptoGraphics/lyclMiner/releases/download/untagged-95777e4326ae4e5ccdb5/lyclMiner015.zip
15:59:20.24 Warn Existing file hash doesn't match. Will re-download.
15:59:21.20 Warn File hash doesn't match. Removing file."

I thought that got fixed? Anyways I also get rejects on SgminerKL-1.0.5 x16r

Strange stuff lol. Any ideas?
While I wait for feedback I am copying over a working copy of Forager from another rig and test that out.

Error on N-lolMinerZero-0.37

The following miner gives an error on my machines (I deleted the BTC address):
Forager\Bin\N-lolMinerZero-0.37\lolMiner-zero.exe --server equihash192.mine.zergpool.com --port 2144 --user MY_BTC_ADDRESS --pass c=BTC,ID=DESK-8OS_NVIDIA --platform 0 --device 0,1,2,3,4,5 --use-compact-short-stat

It gives: Number of hosts (1) does not match number of worker passwords (2)

Keep up the good work!

Miner speed 1000x higher than it is.

Hey man, I love your fork and I've been using it as a basis for my own version. The thing is, several miner-algo combinations seem to report kh/s instead of h/s and I can't seem to find the relevant code. Do you know what might be causing such issues?

Question: It is possible to disable power monitoring ?

Question: It is possible to disable power monitoring ?

If so how you do it, if not can you implement this "feature" ?

Background, for some reason in my systems (nvidia 1070ti, 1060, 1050ti) the constant polling of nvdia-smi running causes a lot of inestability. for example when I use ccminer 2.30 with hmq1725 by itself all cards are stable for as long I let them run, if I close the miner and start forager same algo and miner causes random GPU crashes.

3 issues in 1 Log file?

Also see attached Log-file...
2018-04-30_21-31-43.txt

Issue 1: ###### ERROR ##### Could not find a part of the path

Issue 2: ClayDual 11.7 detects my GPU's as 'GeForce GTX 1060 3GB', then mentions 'All GPUs are 2GB, miner is completely free in this case, developer fee will not be mined at all', followed by 'too high epoch number for 3GB card in Windows 10' and halts. This may not be related to MM though... just think it's strange that it's sometimes reported as a 2GB version... Probably need to reach out to Claymore for this?

Issue 3: MM then considers all my miners as not OK due to: 'skipped due to constraints'), then exits with message: 'Miners/Pools combinations detected: 0' & 'NO MINERS!'

Issue occured some hours ago, after retrieving latest codebase

Only seems to be an issue for NVIDIA-rigs. Miner seemed to work fine before fetching… Will try the 1.7 release (without the commits later on).

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at OpenCl.NativeMethods.clGetPlatformIDs(UInt32 numEntries, IntPtr[] platforms, UInt32& numPlatforms)
at OpenCl.Platform.GetPlatformIDs()
at CallSite.Target(Closure , CallSite , Type )
at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
at System.Management.Automation.Interpreter.DynamicInstruction2.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0) at System.Management.Automation.PSScriptCmdlet.RunClause(Action1 clause, Object dollarUnderbar, Object inputToProcess)
at System.Management.Automation.PSScriptCmdlet.DoEndProcessing()
at System.Management.Automation.CommandProcessorBase.Complete()
at System.Management.Automation.CommandProcessorBase.DoComplete()
at System.Management.Automation.Internal.PipelineProcessor.DoCompleteCore(CommandProcessorBase commandRequestingUpstreamCommandsToStop)
at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
at System.Management.Automation.Interpreter.ActionCallInstruction6.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0) at System.Management.Automation.PSScriptCmdlet.RunClause(Action1 clause, Object dollarUnderbar, Object inputToProcess)
at System.Management.Automation.PSScriptCmdlet.DoEndProcessing()
at System.Management.Automation.CommandProcessorBase.Complete()
at System.Management.Automation.CommandProcessorBase.DoComplete()
at System.Management.Automation.Internal.PipelineProcessor.DoCompleteCore(CommandProcessorBase commandRequestingUpstreamCommandsToStop)
at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
at System.Management.Automation.Interpreter.ActionCallInstruction6.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0) at System.Management.Automation.DlrScriptCommandProcessor.RunClause(Action1 clause, Object dollarUnderbar, Object inputToProcess)
at System.Management.Automation.DlrScriptCommandProcessor.Complete()
at System.Management.Automation.CommandProcessorBase.DoComplete()
at System.Management.Automation.Internal.PipelineProcessor.DoCompleteCore(CommandProcessorBase commandRequestingUpstreamCommandsToStop)
at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()
at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()
at System.Management.Automation.Runspaces.PipelineThread.WorkerProc()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Press any key to continue . . .

N-Excavator-1.5.5a

Предлагаю отключить N-Excavator-1.5.5a, т.к. в связи с особенностями NH, если нет заказов, то Excavator не завершает свою работу и молотит впустую.
Эта проблема была и в предыдущих версиях начиная с версии 1.5.0.

AutoStartAhash.bat does not work

Hello,

I wanted to give your fork a go, downloaded latest master and AutoStartAhash.bat does not work

Using Start.bat and selecting Automatic -> Ahashpool works just fine.

Thanks

EquiHash (AMD): incorrect

Something seems to be off with EquiHash on NH.
Other algo's (on NH or other pools) seem to be fine...
If one RX570 can generate this, I'm ordering a shipload. ;-)

Same Algo on NVidia (same pool / different machine) generates more realistic values...

image

"No such host is known" error mining cryptonightv7 on MPH

Hello

I have an error "No such host is known" mining cryptonightv7 on MPH with excavator1.5.4a:

[12:13:39][0x00000108][info] Log started
[12:13:40][0x00000108][info] core | Found CUDA device: GeForce GTX 1060 6GB
[12:13:40][0x00000108][info] api | Listening on 127.0.0.1:4068
[12:13:40][0x00000108][info] core | Initialized!
[12:13:40][0x00000108][info] nhmp | Disconnected
[12:13:40][0x00000108][warning] nhmp | resolve: No such host is known (11001)
[12:13:42][0x0000115c][info] wrkr0-0 | Algorithm: CUDA-cryptonightV7 parameters: B=20,TPB=32
[12:13:50][0x000013e8][info] core | Device #0-0 speed: 0.000000 H/s (cryptonightV7)
[12:13:50][0x000013e8][info] core | Algorithm 'cryptonightV7' speed: 0.000000 H/s
[12:13:50][0x00000108][info] nhmp | Disconnected

The generated config file for excavator is this:

[
	{"time":0,"commands":[
		{"id":1,"method":"subscribe","params":["nhmp.cryptonight-hub.nicehash.com:3200","XXXXX.b250m_NVIDIA:x"]}
	]},
	{"time":1,"commands":[
		{"id":1,"method":"algorithm.add","params":["cryptonightV7"]}
    ]},
	{"time":2,"commands":[

		{"id":1,"method":"worker.add","params":["cryptonightV7","0"]}
	]},
	{"time":10,"loop":10,"commands":[
		{"id":1,"method":"worker.print.speed","params":["0"]},
		{"id":1,"method":"algorithm.print.speeds","params":[]}
	]}
]

MSI Afterburner support + AMD Powerlimits

MSI Afterburner support progress

  • Initial MSI Afterburner support
  • Monitoring for AMD
  • Monitoring for single CPU
  • Monitoring data for NVIDIA (Using nvidia-smi for now)
  • GpuGroup with Powerlimit support for AMD (Single Group is supported)
  • GpuGroup with Powerlimit support for NVIDIA (Using nvidia-smi for now)
  • Multiple GpuGroups with Afterburner
  • Mixed AMD/NVIDIA Rigs

I need output from AfterburnerResult.bat from Multi GPU rigs, Mixed AMD/NVIDIA rigs and multi CPU rigs. Please post here so I can add support

Please use last official version from https://www.msi.com/page/afterburner (4.5.0 or newer)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.