nicehash / NiceHashMiner2

42 stars 40 forks source link

2.0.0.8 wont start mining #129

Open alkesh1980 opened 7 years ago

alkesh1980 commented 7 years ago

I installed the new 2.0.0.8 miner. I ran the benchmark and now when I try to start mining, it just says optimizing and never starts. Just goes back to the default screen. The previous alpha versions did not do this on my machine. Anyone have any tips? Also it looks like ccminer wont benchmark. ideas? I tried running as an administrator as well. Here is a gif of what it looks like: http://recordit.co/w1LY0Sb3gl

OlorinTharkun commented 7 years ago

I would bet that your antivirus deleted part of the NiceHash Miner program. That's what happened to mine and I'm trying to figure out where it was deleted from. I know it wasn't in the main installation folder inside C:\Program Files\NiceHash Miner 2, because I created an exclusion in ESET for that folder then reinstalled NiceHash 2.0.0.8. And it still popped up a message that it deleted a "miner" program. Mine pops up this every time I run the 2.0.0.8 right after NiceHash says it downloaded the CPU mining algorithm xmr-stak or something like that.

image

OlorinTharkun commented 7 years ago

Figured it out and it's all working now for me. Had to create an exclusion for an additional folder in Users also: C:\Users\XXXXXX\AppData\Roaming\nhm2

After reinstalling NiceHash Miner 2.0.0.8 again it is running as it should. Irritating that it was so much more work than running NiceHash Miner 1.7.5.13, which is the build I ran previous to 2.0.0.8. But hopefully this build will earn me more money... and hopefully more stable. The other build would generate really nasty visual artifacts that could only be cleared by restarting the machine. Of course that was a sign to adjust the overclock and power settings on my EVGA GTX 1060 6GB SSC cards.

computeronix commented 7 years ago

Awww yea on your mining machines stick with Windows Defender (especially if you are running Windows 10)

It takes care of itself and the Code Signing certificate used by NiceHash Miner 2 is trusted with Microsoft as well.

OlorinTharkun commented 7 years ago

So far after only a few minutes it is running the XMR-STak-CPU "Cryptonight" and the Equihash Excavator, but the XMR-Stak-CPU keeps quitting after not much more than 5 minutes per run, which makes it pretty much useless to be running... on the previous version it only generated $0.29 to $0.35 per day, so now it's not even worth running if it keeps doing this...

computeronix commented 7 years ago

turn off the AV then try it again

computeronix commented 7 years ago

mines been solid running Windows 10 Creators Update (1703 build) no third party management/av tools

OlorinTharkun commented 7 years ago

I have Avast currently on my "mostly" dedicated mining machine upstairs, but this is my personal gaming rig... no way am I running more than a few minutes without an effective AV. I've never had a virus infection, I don't think, ever, and I'd like to keep it that way. Once I really get setup as a truly dedicated mining rig, maybe I can run Defender only... nice to know it recognizes NiceHash. But that's never gonna happen on my gaming rig.

computeronix commented 7 years ago

ok dont want to get in a match between AVs but Windows Defender has been solid since the Anniversary build and keeps getting better (https://www.av-test.org/en/antivirus/home-windows/windows-10/april-2017/microsoft-windows-defender-4.10-171447/) The old days of needing a third party AV is coming to close but anyways, so for Avast you will need to trust all paths of exes / bins / configs (same thing would be needed for the legacy miner as well)

OlorinTharkun commented 7 years ago

When I get a non PCI-E Wifi connection, then I can install the 5th GPU in the mining rig. Right now I have 3 EVGA GTX 1060 SSC in the mining rig, 2 in my gaming rig and my 970 in my son's computer. When he gets off the computer (to sleep) I get 18 MH/s with genoil miner on the 970 and I've been getting about 22 MH/s with each of the 1060 cards. Sometimes I disable mining on one 1060 and play a game on my rig. When I free up the 5th PCI slot on the dedicated computer I'll move both 1060's into the mining rig and the 970 back to mine.

OlorinTharkun commented 7 years ago

Definitely will read the article and will consider switching for the dedicated miner, especially if it will simplify mining. You're right, I have to create a lot of exclusions to mine effectively. In fact, I was mining back on ethermine.org with Claymore on the 3 GPU rig while figuring things out on my personal computer for NiceHash 2.0.0.8. Thanks for sharing the link.

computeronix commented 7 years ago

I am aware of the following paths but there could be additional ones

%PROGRAMFILES%\NiceHash Miner 2 (assuming x64 bit) %APPDATA%\nhm2

I am not sure if Avast likes global environment variables as exclusions so you may need to set the static locations rather than variables

OlorinTharkun commented 7 years ago

Yes, I have been setting static exclusions to be certain. I'm still very new to all this. Hadn't even heard of a competitor to NiceHash until today... any opinion on Minergate? Just curious.

computeronix commented 7 years ago

I am not sure of other paths (dont forget registry paths too)

Dont get me wrong Windows Defender is not perfect but it is much better and is safe to say a solid protection (and dont have to pay any extra for it). It will catch just as much if not more than others***again nothing will block everything and something else will always catch what something misses

Do note someone may jump on here and say Windows Defender has blocked miners in the past, to call this out, Microsoft has blocked some binaries because what happens is "they" (some hackers) put the mining programs inside malware and deployed. So to help counter this microsoft blocked some versions of mining programs to help flag these systems to users saying there is an odd behavior going on. Other AVs have started doing some sort of blocking as well.

computeronix commented 7 years ago

i have not stuck with NiceHash and Claymore that is about as deep as I have gone (5 GPUs Nvidia 1080 Tis) hoping to build another mining system in the coming months with the same specs (or better)

OlorinTharkun commented 7 years ago

What hashrate do you get with the 1080 Ti's?

computeronix commented 7 years ago

the only other suggestion too is to disable AV temporarily and try mining for 5 mins plus. This will rule out AV

OlorinTharkun commented 7 years ago

That's really a good suggestion about temporarily disabling the AV. Will try it later when I don't have a browser open with 12 tabs...

computeronix commented 7 years ago

on the GPUs I have, just got a little less than what these stats show for one https://www.nicehash.com/?p=calc

So basically multiple the estimate profit by 5 (the daily profit that is the weekly and monthly are off -- based on my version of GPUs - prolly because I did not heavily overclock them they are basically stock - for now)

computeronix commented 7 years ago

Please report back with results though will help others battling similar situations

OlorinTharkun commented 7 years ago

Will do. Just for reference, when I say I'm getting about 22 MH/s (Ether/DaggerHashimoto) that's up from a stock speed of 18 - 19 MH/s (so less than predicted for 1060 6GB on that link, but I'm running overclocked/underpowered at: image If image didn't show, that's 65% power limit linked to 70°C temp limit at +0 core and +650 MHz memory, with fan manually set at 100% speed. I may adjust the fan speed setting when I finish building the open air case, but for now I'm just living with the noise...

OlorinTharkun commented 7 years ago

I'll pause the commentary for a 30 minute break to test the AV interference from ESET Smart Security 10.0.390.0. Thanks for the discussion!

OlorinTharkun commented 7 years ago

Didn't take the full 30 minutes... even with the AV disabled, the CPU miner (xmr-stak-cpu.exe) quit after 5 to 8 minute intervals and typically only completed one or two accepted solutions during that time. During setup of the 2.0.0.8 version, I did enable logging. I opened the log and think it has something to do with this, but at this point don't know what it really means....

{"name":"NHM","hostname":"DadsGamingRig","pid":15976,"level":30,"msg":"[XmrStackCPUMiner-MINER_ID(2)-DEVICE_IDs(0)] [pid(11576)|bin(C:\Users\Dedrick\AppData\Roaming\nhm2\bin\xmr-stak-cpu\xmr-stak-cpu.exe)] READ SPEED ZERO, will cool up","time":"2017-07-11T03:01:59.388Z","v":0} {"name":"NHM","hostname":"DadsGamingRig","pid":15976,"level":30,"msg":"[XmrStackCPUMiner-MINER_ID(2)-DEVICE_IDs(0)] [pid(11576)|bin(C:\Users\Dedrick\AppData\Roaming\nhm2\bin\xmr-stak-cpu\xmr-stak-cpu.exe)] Cooling UP, cool time is 320000 ms","time":"2017-07-11T03:01:59.388Z","v":0} {"name":"NHM","hostname":"DadsGamingRig","pid":15976,"level":30,"msg":"[XmrStackCPUMiner-MINER_ID(2)-DEVICE_IDs(0)] [pid(11576)|bin(C:\Users\Dedrick\AppData\Roaming\nhm2\bin\xmr-stak-cpu\xmr-stak-cpu.exe)] MAX cool time exceeded. RESTARTING","time":"2017-07-11T03:01:59.388Z","v":0}

Bold emphasis added...

OlorinTharkun commented 7 years ago

Here's the whole log file, if anybody that knows how to read it wants to take a look.

xmr-stak-cpu miner quit log.txt

In the earlier version of NiceHash that I was running, I had done some optimizing, but this article probably gives a lot better advice, heck, I'll probably read it eventually... [https://github.com/nicehash/NiceHashMiner/wiki/Notes-and-hints-on-CPU-mining]

OlorinTharkun commented 7 years ago

Since I was only earning maybe $0.35 a day on my overclocked i5 4690K (running at 4.4GHz), I'm just not going to sweat it for now.

computeronix commented 7 years ago

Thanks for the details. Well at least AV is ruled out :). This would be more pointed to the developer now. I haven't tried over clocking my CPU but The only other idea is in the bios save the current over clock settings then set it to factory and try again. Maybe getting too hot but that's just taking a stab at this?

OlorinTharkun commented 7 years ago

Testing on the upstairs rig now, which has 3x EVGA 1060 6GB running at 60% power, +0 core, +575 MHz memory on an EVGA Z170 FTW motherboard with i5 6500 processor (no overclock). Had opposite problem with 2.0.0.8 setup on this rig. xmr-stak-cpu would run but GPU mining would start and quit immediately... forgot that this rig has newer install of Malwarebytes 3.1.2 (free version past its trial of "premium" behavior) installed... once I added exclusions on that as well as the Avast, the GPU mining was able to run. But same problem appears to be happening with xmr-stak-cpu as I begin to run longer... it quit at 5 1/2 minutes the first time, missed the first two minutes of timing the 2nd "run". Will check the log file after it shuts down and restarts the 2nd time.

OlorinTharkun commented 7 years ago

For information sake, I can guarantee there is no issue with overheating due to overclock on the downstairs rig (Gigabyte Z97 chipset motherboard - have to look up specific model later). I've had it overclocked for >2 years, the CPU cooler is the Thermalright Macho Rev B, at least 1.5 lbs of beautiful metal fins... and I monitor CPU & GPU temps with HWInfo64 in the notification tray or RivaTuner on screen display during gaming. Except for "power viruses" like Prime95 it's probably never gone above 70C and during CPU mining rarely hits 60C. Not being overclocked, the i5 6500 on this rig is running 40C while CPU mining (with stock Intel cooler).

Overclocked CPU cooler: image

OlorinTharkun commented 7 years ago

So, here's the log file for the same thing happening on a different computer also running NiceHash 2.0.0.8 and also seeing the CPU miner quit every few minutes to where it's not worth running CPU mining at all.

xmr-stak-cpu miner quit log upstairs.txt