nicehash / nheqminer

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

CUDA error 'an illegal memory access was encountered' in func 'solve' line 2095 #335

Open crypto-darkness opened 6 years ago

crypto-darkness commented 6 years ago

I have problem with nheqminer on Kubuntu 17.10, video GeForce 940MX (Compute capability 5.0, https://en.wikipedia.org/wiki/CUDA) This is output:

rb@rb-book:~$ soft/nheqminer/nheqminer_16_04 -l zec.somepool.com:3357 -u mymail@gmail.com -cd 0

        ==================== www.nicehash.com ====================
                Equihash CPU&GPU Miner for NiceHash v0.5c
        Thanks to Zcash developers for providing base of the code.
            Special thanks to tromp, xenoncat and djeZo for providing 
              optimized CPU and CUDA equihash solvers.
        ==================== www.nicehash.com ====================

Setting log level to 2
[14:22:57][0x00007f0c12ea8740] Using SSE2: YES
[14:22:57][0x00007f0c12ea8740] Using AVX: YES
[14:22:57][0x00007f0c12ea8740] Using AVX2: YES
[14:22:57][0x00007f0c100ef700] stratum | Starting miner
[14:22:57][0x00007f0c100ef700] stratum | Connecting to stratum server zec.somepool.com:3357
[14:22:57][0x00007f0c0f8ee700] miner#0 | Starting thread #0 (CUDA-DJEZO) GeForce 940MX (#0) M=2
[14:22:57][0x00007f0c100ef700] stratum | Connected!
[14:22:57][0x00007f0c100ef700] stratum | Subscribed to stratum server
[14:22:57][0x00007f0c100ef700] miner | Extranonce is 00000000
[14:22:57][0x00007f0c100ef700] stratum | Authorized worker mymail@gmail.com
[14:22:57][0x00007f0c100ef700] stratum | Target set to 0083126e978d4fdf3b645a1cac083126e978d4fdf3b645a1cac083126e978d4f
[14:22:57][0x00007f0c100ef700] stratum | Received new job #4f20343b-074c-4da9-82cd-119366d9f0a1
[14:22:58][0x00007f0c0f8ee700] miner#0 | CUDA error 'an illegal memory access was encountered' in func 'solve' line 2095
jasin commented 6 years ago

I too see this error as well with a 750 Nvidia card

jasin commented 6 years ago

I have narrowed it down to here. Line 2095 is the line that is throwing the error in this function. Obviously running -cv 1 to force tromp solver works, this is specific to djeZo solver

https://github.com/nicehash/nheqminer/blob/49630074841c87654f14dee3eadaa75a4bef0e79/cuda_djezo/equi_miner.cu#L2046

mine81103 commented 6 years ago

no fixes at all