THE PROBLEM I AM TRYING TO RESOLVE: ethminer.exe stops working when I execute the bat file below. It initially worked fine for about two weeks and then it stopped working. I have no idea why.
I have an RX480 GPU running on a 64 bit Windows 10 system. And I use Nanopool
I get a message from Windows that ethminer.exe has stopped working and then shuts it down.
Here is (below) what is displayed on the CMD Line. The bat file stops at the CMD output of "miner 10:51:32.581|main Grabbing DAG for #3868abc5" You can see that the last three characters are corrupt (but the string shows the beginning of the actual DAG file name "#3868abc5")
C:\Users\User\Desktop\Eth\Miner>setx GPU_FORCE_64BIT_PTR 0
SUCCESS: Specified value was saved.
C:\Users\User\Desktop\Eth\Miner>setx GPU_MAX_HEAP_SIZE 100
SUCCESS: Specified value was saved.
C:\Users\User\Desktop\Eth\Miner>setx GPU_USE_SYNC_OBJECTS 1
SUCCESS: Specified value was saved.
C:\Users\User\Desktop\Eth\Miner>setx GPU_MAX_ALLOC_PERCENT 100
SUCCESS: Specified value was saved.
C:\Users\User\Desktop\Eth\Miner>setx GPU_SINGLE_ALLOC_PERCENT 100
SUCCESS: Specified value was saved.
C:\Users\User\Desktop\Eth\Miner>cd /
C:>cd "Program files"
C:\Program Files>cd "cpp-ethereum"
C:\Program Files\cpp-ethereum>ethminer.exe -G --cl-extragpu-mem 0 --no-precompute -M --opencl-device 1 --opencl-platform 1 -F http://eth-asia1.nanopool.org:8888//worker1/[email protected] Found suitable OpenCL device [Ellesmere] with 8589934592 bytes of GPU memory miner 10:51:31.832|main Getting work package... miner 10:51:32.581|main Grabbing DAG for #3868abc5
WHAT I HAVE TRIED SO FAR:
I used "--cl-extragpu-mem 0 --no-precompute" (gained from the Internet help searches)
I updated the RX480 drivers and reloaded cpp ethereum (via the wizzard)
I started with deleting the DAG files from Ethash - when I re-ran the above bat file it started to build a new DAG file. When it finished, Windows simply shut it down again (with same Windows message). Now when I subsequently delete the DAG file(s), before I execute the bat file, it no longer attempts to build a DAG file (it just hangs as above)
None of these strategies made any difference
SOME QUESTIONS THAT COULD PERHAPS HELP ME SOLVE THIS PROBLEM:
Where would I look for a possible error code? Somewhere in Mist or the Wallet itself perhaps? I use Mist as my wallet.
Does Nanopool collect error data?
Does cpp ethereum itself have an error register (in this instance Windows does not offer an error code that I am aware of?).
Thank you to Nicolas Massart, Badr Bellaj, and 5chdn for offering feedback to my original question. I have included additional information to make the problem clearer. Please let me know if there is any other information that would help in assisting me.
Kind Regards
Piaras