nicehash / nheqminer

Equihash miner for NiceHash
https://www.nicehash.com
MIT License
768 stars 583 forks source link

Cuda error #294

Open ziomber opened 7 years ago

ziomber commented 7 years ago

After few minutes (sometime hours) it crashes on all cuda threds. My cards are not overclocked now and nothing changed.

nheqminer.exe -l eu1-zcash.flypool.org:3333 -u .... -cd 0 1 2 3 ... Setting log level to 2 [23:53:42][0x000024b4] Using SSE2: YES [23:53:42][0x000024b4] Using AVX: YES [23:53:42][0x000024b4] Using AVX2: YES [23:53:42][0x000014a0] stratum | Starting miner [23:53:42][0x00002b48] miner#0 | Starting thread #0 (CPU-XENONCAT-AVX2) [23:53:42][0x00001820] miner#1 | Starting thread #1 (CPU-XENONCAT-AVX2) [23:53:42][0x00001200] miner#2 | Starting thread #2 (CPU-XENONCAT-AVX2) [23:53:42][0x00000cec] miner#3 | Starting thread #3 (CPU-XENONCAT-AVX2) [23:53:42][0x00002880] miner#4 | Starting thread #4 (CPU-XENONCAT-AVX2) [23:53:42][0x0000102c] miner#5 | Starting thread #5 (CPU-XENONCAT-AVX2) [23:53:42][0x000016c0] miner#6 | Starting thread #6 (CPU-XENONCAT-AVX2) [23:53:42][0x000005e4] miner#7 | Starting thread #7 (CUDA-TROMP) GeForce GTX 750 Ti (#0) BLOCKS=35, THREADS=64 [23:53:42][0x00001ce4] miner#8 | Starting thread #8 (CUDA-TROMP) GeForce GTX 750 Ti (#1) BLOCKS=35, THREADS=64 [23:53:42][0x00002938] miner#9 | Starting thread #9 (CUDA-TROMP) GeForce GTX 750 Ti (#2) BLOCKS=35, THREADS=64 [23:53:42][0x000014a0] stratum | Connecting to stratum server eu1-zcash.flypool.org:3333 [23:53:42][0x0000288c] miner#10 | Starting thread #10 (CUDA-TROMP) GeForce GTX 750 Ti (#3) BLOCKS=35, THREADS=64 [23:53:42][0x000014a0] stratum | Connected! ... [00:18:30][0x00001854] miner#7 | CUDA error 'unspecified launch failure' in func 'eq_cuda_context::solve' line 988 [00:18:30][0x00001cd8] miner#10 | CUDA error 'unspecified launch failure' in func 'eq_cuda_context::solve' line 988 [00:18:30][0x00000fb4] miner#9 | CUDA error 'unspecified launch failure' in func 'eq_cuda_context::solve' line 988 [00:18:30][0x000014c8] miner#8 | CUDA error 'unspecified launch failure' in func 'eq_cuda_context::solve' line 988

nilsivanson commented 6 years ago

[06:27:01][0x00007ff9d4b1a700] stratum | Accepted share #2227 [06:27:08][0x00007ff9dd6ad280] Speed [15 sec]: 192.8 I/s, 357.467 Sols/s [06:27:09][0x00007ff9d4b1a700] stratum | Ignoring non-clean job #a89a2 [06:27:18][0x00007ff9dd6ad280] Speed [15 sec]: 192.467 I/s, 363.533 Sols/s [06:27:21][0x00007ff9cffff700] stratum | Submitting share #2228, nonce 00000000000000000000000000000000352d [06:27:21][0x00007ff9d4b1a700] stratum | Accepted share #2228 [06:27:25][0x00007ff9cffff700] stratum | Submitting share #2229, nonce 00000000000000000000000000000000380a [06:27:25][0x00007ff9d4b1a700] stratum | Accepted share #2229 [06:27:28][0x00007ff9dd6ad280] Speed [15 sec]: 192.067 I/s, 357.467 Sols/s [06:27:36][0x00007ff9cffff700] stratum | Submitting share #2230, nonce 0000000000000000000000000000000040c4 [06:27:36][0x00007ff9d4b1a700] stratum | Accepted share #2230 [06:27:38][0x00007ff9cffff700] miner#0 | CUDA error 'an illegal memory access was encountered' in func 'solve' line 2095

Pretty much the same issue here. ./nheqminer_16_04 -l eu.zec.slushpool.com:4444 -u username.worker -cd 0

Running the binary from the latest release on i7 7700k and 1080 graphics with NVIDIA drivers

Holger-Will commented 6 years ago

i do have the same problem. What i currently do is to have a bash script (nicehash.sh):

#! /bin/bash
nheqminer_cuda -cd 0 -l equihash.eu.nicehash.com:3357 -u address.worker

and the use pm2 to run that script. pm2 will restart that script whenever it fails. to run none node.js processes do:

pm2 start nicehash.sh --interpreter=bash