ethereum-mining / ethminer

Ethereum miner with OpenCL, CUDA and stratum support
GNU General Public License v3.0
5.96k stars 2.28k forks source link

ethminer Crahes after BIOS update #1483

Closed vonRoX closed 6 years ago

vonRoX commented 6 years ago

Ethminer was working till yesterday and after I did a BIOS update it just wont start mining... Don't know what else to say... BIOS is the only change I made in between ethminer working and not working...

Mobo: ASUS B250M-K GPU: 1060 6gb - Power limit 80, core -400, mem +650 - stable for 6 months Win 10 (latest updates) ethminer v14 and 15 as well image

lesjokolat commented 6 years ago

Can you add -v 9 to your start up and copy text of output? Also use the v 16 latest dev if you can. Tons of improvements made for various elements of the app.

vonRoX commented 6 years ago

launch options: setx GPU_FORCE_64BIT_PTR 0 setx GPU_MAX_HEAP_SIZE 100 setx GPU_USE_SYNC_OBJECTS 1 setx GPU_MAX_ALLOC_PERCENT 100 setx GPU_SINGLE_ALLOC_PERCENT 100

ethminer.exe -v 9 --farm-recheck 2000 --report-hashrate -U --cuda-parallel-hash 4 --cuda-streams 4 -P stratum1+tcp://0x89ad12e0c817dd2ee55d170d488a9564e3d468af.DefineMiniC@eth-eu1.nanopool.org:9999 -P stratum1+tcp://0x89ad12e0c817dd2ee55d170d488a9564e3d468af.DefineMiniC@eth-eu2.nanopool.org:9999

pause


output: C:\ethminer>setx GPU_FORCE_64BIT_PTR 0

SUCCESS: Specified value was saved.

C:\ethminer>setx GPU_MAX_HEAP_SIZE 100

SUCCESS: Specified value was saved.

C:\ethminer>setx GPU_USE_SYNC_OBJECTS 1

SUCCESS: Specified value was saved.

C:\ethminer>setx GPU_MAX_ALLOC_PERCENT 100

SUCCESS: Specified value was saved.

C:\ethminer>setx GPU_SINGLE_ALLOC_PERCENT 100

SUCCESS: Specified value was saved.

C:\ethminer>ethminer.exe -v 9 --farm-recheck 2000 --report-hashrate -U --cuda-parallel-hash 4 --cuda-streams 4 -P stratum1+tcp://0x89ad12e0c817dd2ee55d170d488a9564e3d468af.DefineMiniC@eth-eu1.nanopool.org:9999 -P stratum1+tcp://0x89ad12e0c817dd2ee55d170d488a9564e3d468af.DefineMiniC@eth-eu2.nanopool.org:9999 m 21:34:26 main ethminer 0.15.0 m 21:34:26 main Build: windows/release cu 21:34:26 main Using grid size: 8192, block size: 128

C:\ethminer>pause Press any key to continue . . .

lesjokolat commented 6 years ago

I see its V15 try the V16 dev 3 at least

vonRoX commented 6 years ago

v15 and 0.16.0.dev3 gives me the same:

C:\ethminer\bin>setx GPU_FORCE_64BIT_PTR 0

SUCCESS: Specified value was saved.

C:\ethminer\bin>setx GPU_MAX_HEAP_SIZE 100

SUCCESS: Specified value was saved.

C:\ethminer\bin>setx GPU_USE_SYNC_OBJECTS 1

SUCCESS: Specified value was saved.

C:\ethminer\bin>setx GPU_MAX_ALLOC_PERCENT 100

SUCCESS: Specified value was saved.

C:\ethminer\bin>setx GPU_SINGLE_ALLOC_PERCENT 100

SUCCESS: Specified value was saved.

C:\ethminer\bin>ethminer.exe -v 9 --farm-recheck 2000 --report-hashrate -U --cuda-parallel-hash 4 --cuda-streams 4 -P stratum1+tcp://0x89ad12e0c817dd2ee55d170d488a9564e3d468af.DefineMiniC@eth-eu1.nanopool.org:9999 -P stratum1+tcp://0x89ad12e0c817dd2ee55d170d488a9564e3d468af.DefineMiniC@eth-eu2.nanopool.org:9999 m 21:41:18 main ethminer 0.16.0.dev3 m 21:41:18 main Build: windows/release cu 21:41:18 main Using grid size: 8á192, block size: 128

vonRoX commented 6 years ago

I even tried to strip the bat launch file to bare minimum and didn't help...

lesjokolat commented 6 years ago

wow looks like this is a hardware issue Its not even starting up the miner to get any useful info..

Go into BIOS check you can see if ram (may have been previous ly overclocked) turn it to default 2133 or 2400 whatever is native speed.

I would also re install Nvidia Driver and motherboard drivers. If possible install them as admin. See what happens after that.

lesjokolat commented 6 years ago

Can you see all GPUs in hardware manager?

vonRoX commented 6 years ago

tried default settings on BIOS and XMP profile of 2400 as well... Drivers was the first thing that i wiped with DDU and reinstalled fresh... image

lesjokolat commented 6 years ago

Does that include motherboard drivers? How much ram you have? What is teh virtual ram setting? shouldnt be huge with just 1 GPU but could be a source.

vonRoX commented 6 years ago

will try mb drivers, 16gb RAM and 2432mb of virtual ram (automatically managed)

lesjokolat commented 6 years ago

After motherboard drivers, Try bumping virtual memory to 5 gigs... Doubt it is source, but worth a shot.

lesjokolat commented 6 years ago

I see this motherboard has a inbuilt Intel you have to run it as a mixed mode cuda /opencl or specify only cuda. The video memory on that gpu is small likely wont be able to mine ethereum. Try specifying cuda only with specific gpu #. See if that helps.

vonRoX commented 6 years ago

even if integrated graphics is disabled..?

lesjokolat commented 6 years ago

Ah ok if disabled then wont be seen. Make sure new bios still has it as disabled.

vonRoX commented 6 years ago

updated chipset drivers, increased virtual mem to 4-5gb checked if igpu is disabled and still same result...

lesjokolat commented 6 years ago

Is your hard disk at like 99% capacity? Still lots of room? tweaked startup...

C:\ethminer\bin\ethminer.exe -v 9 -U --report-hashrate --cuda-parallel-hash 4 --cuda-streams 4 -P stratum1+tcp://0x89ad12e0c817dd2ee55d170d488a9564e3d468af.DefineMiniC@eth-eu1.nanopool.org:9999 -P stratum1+tcp://0x89ad12e0c817dd2ee55d170d488a9564e3d468af.DefineMiniC@eth-eu2.nanopool.org:9999

vonRoX commented 6 years ago

SSD enough space... no luck with this startup...

lesjokolat commented 6 years ago

C:\ethminer\bin\ethminer.exe -U -P -L 0 --HWMON 1 --report-hashrate stratum1+tcp://0x89ad12e0c817dd2ee55d170d488a9564e3d468af.DefineMiniC@eth-eu1.nanopool.org:9999 -v 9

how does this react

vonRoX commented 6 years ago

same :/

vonRoX commented 6 years ago

So tried Claymore and FinMiner: Claymore crashes as well - looks basically the same... lodes and crashes just after... But FinMiner works no problem... hmmmm

invidtiv commented 6 years ago

@vonRoX You need to go to motherboard settings set "4G Decode" to ENABLED. and Set VT-d INTEL VIRTUALIZATION to DISABLED. That should fix it

vonRoX commented 6 years ago

@invidtiv I had VT-d INTEL VIRTUALIZATION already disabled and after Enabling 4G Decode... Still no luck

lesjokolat commented 6 years ago

can you change gpu pci slot and see if it makes any difference?

vonRoX commented 6 years ago

can't do... only have one... mATX motherboard....

lesjokolat commented 6 years ago

ok then reseat it and also reconnect any harddisks. lets see if any wonky hardware connections could be causing havok.

lesjokolat commented 6 years ago

I got this from another issue raised here as an option try it.. I am more inclined to see if its a ram issue so try and remove a ram brick to see if one or the other are the issue.

https://windowsreport.com/exception-access-violation-windows-10/ see part on: Solution 1 – Add Data Execution Prevention Exception

GLTU

vonRoX commented 6 years ago

Didn't help... but what did help was trying to plug my monitor into MB, which automatically enabled the onboard graphics... and viola Miner works again... so I was like... Hmmm... So i plugged my monitor back to the GPU, went back to BIOS and enabled iGPU... so atm I have the monitor running of the GPU and I have iGPU enabled and everything is back to normal... What pisses me off tho, is the fact that before the BIOS update I didn't have to have iGPU enabled, since I have no use for it... When I go away I swich of the monitor and let the system mine and when I game I use the 1060 as well... So I never plug the monitor into the mobo... so why have the iGPU enabled..?

lesjokolat commented 6 years ago

@AndreaLanfranchi

I think this can be closed now.