nicehash / NiceHashMiner

NiceHash Miner
Other
487 stars 217 forks source link

1.8.1.1 Pre-release #157

Closed DillonN closed 7 years ago

DillonN commented 7 years ago

Please post issues here regarding the pre-release!

navjack commented 7 years ago

great so far!

pducharme commented 7 years ago

Skunk doesn't benchmark, either Precise or normal. It always end up "Terminated".

Don't know why, the miner for that wasn't just downloaded, so I got the Bin and it's working fine.

DillonN commented 7 years ago

@pducharme interesting, maybe AV removed it? In next ver it will use one of the existing ccminers anyway though

pducharme commented 7 years ago

I think it's because I copied over the bin folder from 1.8.1.0. NHML told me that they were unbenched algo, but I don't remember seeing a download miner progress. Anyway, it's fixed now, just got the bin folder and it worked right away.

DillonN commented 7 years ago

@pducharme Ah yes that would do it since I didn't add the check for new miners yet

DillonN commented 7 years ago

Pre-release 2 is up with Prospector miner (AMD Skunk) https://github.com/nicehash/NiceHashMinerLegacy/releases/tag/1.8.1.1-Pre2

Prospector supports Skunk, Sia, and Dagger on AMD and NVIDIA, although most of these will probably be disable since there are other miners that do it faster (to reduce clutter). Currently in my testing it's only fastest on Skunk AMD, but if someone finds it is for something else drop a comment here

p1r473 commented 7 years ago

Dagger Prospector is giving "terminated" too. I let the client download the bin.

navjack commented 7 years ago

prospector is sooooo confused on what gpu it should be running on in my one rig. and on my main rig it wants to use the cpu for opencl. NO BUENO

DillonN commented 7 years ago

@p1r473 some algorithms seem to not work on prospector, you can try running it manually to see if it's giving an error

@navjack could you post the output from running prospector.exe list-devices in a command prompt in the bin_3rdparty\prospector folder?

navjack commented 7 years ago

my main machine shows this

03:54:46 - INFO   prospector 0.0.8-ALPHA starting
03:54:46 - INFO   Platform 0 - Intel(R) OpenCL
03:54:46 - INFO   Device (0:0) - Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
03:54:46 - INFO   Platform 1 - NVIDIA CUDA
03:54:46 - INFO   Device (1:0) - GeForce GTX 1080 Ti

my other rig shows this

03:56:31 - INFO   prospector 0.0.8-ALPHA starting
03:56:32 - INFO   Platform 0 - AMD Accelerated Parallel Processing
03:56:32 - INFO   Device (0:0) - Ellesmere
03:56:32 - INFO   Device (0:1) - AMD Ryzen 7 1800X Eight-Core Processor
03:56:32 - INFO   Platform 1 - NVIDIA CUDA
03:56:32 - INFO   Device (1:0) - GeForce GTX 980 Ti

on the ryzen computer it is just swapped around, in the GUI its running the 980ti when i have the rx480's miner checked and visa versa.

DillonN commented 7 years ago

@navjack thanks, I thought there would be some consistency to platform numbers but yours are completely different from mine. Will probably have to come up with a solution that runs that command and saves which platform numbers are which

CryptoFire24 commented 7 years ago

hey not real sure where to ask this but, with pre release 1 i have a 1060 6gb and a 970 and at the start with both cards i was making projected 5.50$ a day with skunk, 1.2mBTC... then profitability changed back to 3$ a day projected. then with pre release 2 same numbers, i am kind of new to this. can anyone tell me what happened? thank you in advance

DillonN commented 7 years ago

@CryptoFire24 Skunk paying rates have gone down in the last couple hours so profit for it has gone down

CryptoFire24 commented 7 years ago

well hell that was fast... and that sucks lol thank you for the quick response! do you know what caused that?

DillonN commented 7 years ago

The paying rate is based off the buying orders on NH, it could go up again if more orders are placed

CryptoFire24 commented 7 years ago

@DillonN ohhh that makes sense now thank you for the information!

semtexzv commented 7 years ago

Hello, I am the author of prospector, and I don't know why the returned Platforms are randomly ordered. Currently, default config ignores all intel devices, and uses only AMD/NVIDIA.

I am currently working on a rewrite of configuration handling, and will move to Toml format very soon. So if there is anything you would like to be included, I can do something about it. :)

DillonN commented 7 years ago

Hello @semtexzv, thanks for reaching out. I think I have worked out a way for NHML to first get the platform numbers before launching using the list-devices command. Having a simple way to index GPUs would be helpful, e.g. in Claymore Dual you can select AMD devices with just their bus index and then NV device indexes are incremented by # of AMD devices (e.g. if a user has 2 AMD and 2 NV and wants to mine on NV only, the indexes passed are just 2 and 3). This is easy for NHML to understand

On top of that there are some other features NHML is built around that would be nice (bypass config with command line options, timed benchmarking, HTTP API) but I have found workarounds for most of that so nothing urgent.

Thanks for your work!

rekcahboon commented 7 years ago

Testing the new prerelease 2 and getting the following error:

[2017-08-15 11:19:40] [INFO] [PROSPECTORSQL] System.NullReferenceException: Object reference not set to an instance of an object. at NiceHashMiner.Miners.Prospector.ProspectorDatabase.QueryLastSpeed(String device) in C:\Users\dillo\Documents\Code\NiceHashMiner\NiceHashMiner\Miners\prospector.cs:line 49 [2017-08-15 11:19:45] [INFO] [PROSPECTORSQL] System.NullReferenceException: Object reference not set to an instance of an object.

Thanks.

DillonN commented 7 years ago

@77wayne77 this may be because of the indexing problem that will be fixed, if not could you post the info.db and config_x.json files located in the prospector directory?

semtexzv commented 7 years ago

Current adressing scheme is "(Platform:device)". On the next release it will change to "Platform-device". I could implement special adressing scheme - something like "amd-device" and "nvidia-device". would that be acceptable, or do you need indexes consisting of single number interpreted as you described ?

DillonN commented 7 years ago

@semtexzv being able to select with "amd-device" etc would definitely help, since we could bypass need to get Platform number. The (Platform:device) value is also used to show speeds in NHML display though, through accessing last values in info.db. If it were possible to just get total speed/recent average from info.db that would be best, since NHML only shows total speed anyway (device indexing is currently used to make sure all device hashrates are accounted for in speed display)

semtexzv commented 7 years ago

i can give you scritpts used by miner to read these value from db for its own reporting.

DillonN commented 7 years ago

That would help. Alternatively, will info.db always update with working GPUs sequentially? If so I could just sum the last x entries if there are x GPUs working

DillonN commented 7 years ago

@77wayne77 @navjack Pre-release 3 is out with hopefully indexing workaround fix https://github.com/nicehash/NiceHashMinerLegacy/releases/tag/1.8.1.1-Pre3

semtexzv commented 7 years ago

Well, You need to get unique devices for this session by utilizing session_id foreign key, and then retrieve latest entries for each individual device.

here are 2 reporting scripts: https://gist.github.com/semtexzv/b119d3857b2602cc232373cdc0530de9

rekcahboon commented 7 years ago

@DillonN, apologies for the delay - at work so trying to multi-task :-)

files.zip

rekcahboon commented 7 years ago

@DillonN Testing Pre-release 3 now

DillonN commented 7 years ago

@semtexzv Thanks those scripts help! If you make an update to select devices based on AMD/NVIDIA then we won't need to get Platform number

@77wayne77 No worries thanks. It looks like you are having a different problem but these methods will be changed

madest13 commented 7 years ago

Testing the new prerelease 3:

System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта. в NiceHashMiner.Algorithm.get_CurPayingRatio() в C:\Users\Dillon\Documents\Code\NiceHashMiner\NiceHashMiner\Algorithm.cs:строка 64 в NiceHashMiner.Forms.Components.AlgorithmsListView.SetAlgorithms(ComputeDevice computeDevice, Boolean isEnabled) в C:\Users\Dillon\Documents\Code\NiceHashMiner\NiceHashMiner\Forms\Components\AlgorithmsListView.cs:строка 98 в NiceHashMiner.Forms.Form_Settings..ctor() в C:\Users\Dillon\Documents\Code\NiceHashMiner\NiceHashMiner\Forms\Form_Settings.cs:строка 76 в NiceHashMiner.Form_Main.buttonSettings_Click(Object sender, EventArgs e) в C:\Users\Dillon\Documents\Code\NiceHashMiner\NiceHashMiner\Forms\Form_Main.cs:строка 703 в System.Windows.Forms.Control.OnClick(EventArgs e) в System.Windows.Forms.Button.OnClick(EventArgs e) в System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) в System.Windows.Forms.Control.WndProc(Message& m) в System.Windows.Forms.ButtonBase.WndProc(Message& m) в System.Windows.Forms.Button.WndProc(Message& m) в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

mat875 commented 7 years ago

With PreRelease 3, I have problems with the Skunk prospector algorithm. It uses all my Memory (RAM) and Swap (Page file) and crashes ... I have 8Go of memory and a swap of 24Go.

semtexzv commented 7 years ago

is this the nicehash software, or my miner ? Try running the miner on its own.

rekcahboon commented 7 years ago

@DillonN, So testing pre3 and the benchmark works for all except Sia (Prospector). So disabled Sia and started mining, waiting for mining results/pswitch to see what the miners do.

Let me know if you require a copy of the logs.

Thanks

mat875 commented 7 years ago

@semtexzv It seems to be prospector. I launched your client only, and it's acting the same on the Memory and Swap. http://i.imgur.com/U0pVdv6.png

semtexzv commented 7 years ago

Well, I gotta fix that, does it only do that on signatum ? I havent experienced this issue myself.

Also, lets move this into Prospector github page, can you create an issue here : https://github.com/semtexzv/Prospector/issues ?

mat875 commented 7 years ago

@semtexzv Here's one of the config.json files :

{
  "pools": {
    "sigt": {
      "url": "skunk.eu.nicehash.com:3362",
      "username": "address.worker1",
      "password": "x"
    }
  },
  "gpus": {
    "(0:0)": {
      "enabled": true,
      "label": "GeForce GTX 1080 Ti"
    }
  },
  "cpu": {
    "enabled": false,
    "label": "CPU"
  },
  "gpu-coin": "sigt"
}
p1r473 commented 7 years ago

Prospector crashing... Maybe because I use Nvidia?

Faulting application name: prospector.exe, version: 0.0.0.0, time stamp: 0x599043c4 Faulting module name: prospector.exe, version: 0.0.0.0, time stamp: 0x599043c4 Exception code: 0xc0000409 Fault offset: 0x00000000000326a1 Faulting process id: 0x119c Faulting application start time: 0x01d3158fb5776838 Faulting application path: C:\Users\J\Desktop\NiceHashMiner\bin_3rdparty\prospector\prospector.exe Faulting module path: C:\Users\J\Desktop\NiceHashMiner\bin_3rdparty\prospector\prospector.exe Report Id: cd56ed13-60b3-46db-b283-8de452010de2 Faulting package full name: Faulting package-relative application ID:

Nicheuji commented 7 years ago

Benchmarked DaggerHashimoto and Skunk Prospector without any issue

GTX 1060 6GB 1.8.1.1-Pre3

ChriscomIT commented 7 years ago

Yeah works everything for me on Pre3 good job @DillonN . All benchmarks finished well but Prospector is sadly not as efficient as I hoped. Maybe for AMD, it will work better but for Nvidia, it has lower performance as all the other miners.

semtexzv commented 7 years ago

Yes, I'm using very unoptimized kernel for nvidia. I dont have cuda support yet, but it's coming together.

ChriscomIT commented 7 years ago

@semtexzv Sounds good!

DmitryDMR commented 7 years ago

PreRelease 3 DaggerHashimoto Prospector and Skunk ccminer crash videodriver on win7/10 gtx 1060 can`t benchmarking Sia Prospector on win7 rx 580. without benchmarks miner average hashrate error 0/0/0, but 40Mh/s in nicehash

liranscu commented 7 years ago

can i put the bin of 1.8.1.pre1 into pre3? i cant dowload the bin through the 1.8.1.pre3

mikosmausos commented 7 years ago

working great with my 2 Nvidia Cards, still having and always had a little issue with my onboard AMD R7 graphics with 2GB, for some algos its working fine, but most of them are crashing my pc to bluescreen. i tried to deactivate the ethash-algos to avoid mining eth because of any possible DAG, but its still not working...but if the AMD card is deactivated everythings working great so far!!

liranscu commented 7 years ago

@mikosmausos the Nvida Cards and AMD Cards work together on ur computer?

mikosmausos commented 7 years ago

@liranscu yes they do my friend, the onboard AMD graphics was deactivated since i installed the Nvidias, but was activated again in the BIOS

liranscu commented 7 years ago

@77wayne77 how to use this file ,thank u ,i m new miner,so i dont know how to use it

3zero2 commented 7 years ago

using Pre3 I haven't been able to run any Prospector benchmarks. Output of list-devices follows:

C:\NHML-1.8.1.1-Pre3\bin_3rdparty\prospector>prospector.exe list-devices
00:45:36 - INFO   prospector 0.0.8-ALPHA starting
00:45:36 - INFO   Platform 0 - Intel(R) OpenCL
00:45:36 - INFO   Device (0:0) - Intel(R) Celeron(R) CPU G3930 @ 2.90GHz
00:45:36 - INFO   Platform 1 - NVIDIA CUDA
00:45:36 - INFO   Device (1:0) - TITAN Xp

also from the logs:

[2017-08-16 00:20:44] [INFO] [Prospector-MINER_ID(1)-DEVICE_IDs(NOT_SET)] NEW MINER CREATED
[2017-08-16 00:20:44] [INFO] [Prospector-MINER_ID(1)-DEVICE_IDs(0)] Starting benchmark:  list-devices
[2017-08-16 00:20:44] [INFO] [Prospector-MINER_ID(1)-DEVICE_IDs(0)] Using miner: bin_3rdparty\prospector\prospector.exe
[2017-08-16 00:20:46] [INFO] [Prospector-MINER_ID(1)-DEVICE_IDs(0)] System.IO.IOException: The process cannot access the file 'C:\NHML-1.8.1.1-Pre3\bin_3rdparty\prospector\logs\15_08_17 22;20;46' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path, Encoding encoding)
   at System.IO.File.InternalReadAllLines(String path, Encoding encoding)
   at NiceHashMiner.Miners.Prospector.InitPlatforms() in C:\Users\dillo\Documents\Code\NiceHashMiner\NiceHashMiner\Miners\prospector.cs:line 186
zaGuru commented 7 years ago

Hi there,

I am running whql-win10-64bit-radeon-software-crimson-relive-17.7.2-july27.exe on HD7990 and all bench-marking. No failures. Just i have for a long time now had efficiency/hashing speed issues.

It has for some time now only been computing very low hash rates apx 10MHs (50% of is potential 20MHs per chip). I am not sure if you have testing equipment to try this or if i can provide you with any logs to see if this can be resolved.

Thank you

Nicheuji commented 7 years ago

@zaGuru http://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-Crimson-ReLive-Edition-Beta-for-Blockchain-Compute-Release-Notes.aspx I don't have any AMD GPU so I can't test it out, but I don't see any harm in you testing it out