Autolykos2_NV_Miner icon indicating copy to clipboard operation
Autolykos2_NV_Miner copied to clipboard

ERROR: CUDA failed at src/mining.cu: 310

Open daniel009988 opened this issue 2 years ago • 4 comments

Running on RTX3080, compiled with sm_86. Getting the following error:

2022-06-17 01:05:05,228 INFO [main thread] Using 1 GPU devices 2022-06-17 01:05:05,228 INFO [main thread] Using configuration file ./config.json 2022-06-17 01:05:05,228 INFO [main thread] Block getting URL: http://127.0.0.1:9053/mining/candidate 2022-06-17 01:05:05,229 INFO [main thread] Solution posting URL: http://127.0.0.1:9053/mining/solution 2022-06-17 01:05:05,231 INFO [main thread] Got new block in main thread, block data: { "MSG" : "8F3EE1BC164A85B123F080DC16A4623AA9180370F8311B64CCF655310B4CA772", "B" : 62276675923065607301970901505221989701081675249609464465228748, "H" : 773701, "PK" : "02FCEA42CC5C73CA27AD044726A8A5D0A7A7D49FFA33D0F290F1B5CF653E5D0696" } 2022-06-17 01:05:06,156 INFO [GPU 0 miner] GPU 0 started ERROR: CUDA failed at src/mining.cu: 310 CUDA error code 700 Miner is now terminated

Any help would be appreciated. So far it seems there's not a single open-source miner out there where ERGO could be mined...

daniel009988 avatar Jun 16 '22 23:06 daniel009988

Continued the research on multiple operating systems. On windows, error 700 is still sometimes occurring but at least it is doing some mining. 150-200Mhz on the RTX 3080. would be good to fix that issue thank you

daniel009988 avatar Jun 17 '22 20:06 daniel009988

Have the same problem on linux (debian - bullseye)

nvcc --version

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Sun_Feb_14_21:12:58_PST_2021
Cuda compilation tools, release 11.2, V11.2.152
Build cuda_11.2.r11.2/compiler.29618528_0

and info over nvidia-smi NVIDIA-SMI 515.48.07 Driver Version: 515.48.07 CUDA Version: 11.7

A tip or similar would be nice

Research: Error 700 is cudaErrorIllegalAddress

(you can discover this yourself by passing the error code through cudaGetErrorString())

It means your kernel is making an illegal, out-of-bounds access. That is a defect in your code and needs to be debugged. It is not a problem with your GPU, driver, or CUDA setup.

Xtravaganz avatar Jun 19 '22 18:06 Xtravaganz

For some reason, something changed in NVIDIA's driver with release 510.39.01 which doesn't play nicely with this miner. As far as I'm aware, this is an issue with any 5XX driver. Drivers on older release branches like 470.141.03 work just fine.

Timbers007 avatar Aug 14 '22 15:08 Timbers007

For some reason, something changed in NVIDIA's driver with release 510.39.01 which doesn't play nicely with this miner. As far as I'm aware, this is an issue with any 5XX driver. Drivers on older release branches like 470.141.03 work just fine.

I can confirm this solution works. Downgraded cudatoolkit to 11.4.4 and driver to 472.12 and works

tjayz avatar Aug 31 '22 03:08 tjayz