CudaError 30
KRyTeX1337 opened this issue · 2 comments
Don't know what to do :
this is the error:
[2017-12-24 22:15:48] 1 miner threads started, using 'scrypt' algorithm.
[2017-12-24 22:15:48] Stratum detected new block
[2017-12-24 22:15:49] GPU #0: cudaError 30 (unknown error) calling 'cudaFree(0)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 240)
[2017-12-24 22:15:49] GPU #0: GeForce GTX 770 with compute capability 3.0
[2017-12-24 22:15:49] GPU #0: cudaError 30 (unknown error) calling 'cudaDeviceSetCacheConfig(kernel->cache_config())' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 423)
[2017-12-24 22:15:50] GPU #0: cudaError 30 (unknown error) calling 'cudaDeviceSetSharedMemConfig(kernel->shared_mem_config())' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 424)
[2017-12-24 22:15:50] GPU #0: interactive: 1, tex-cache: 1D, single-alloc: 1
[2017-12-24 22:15:50] GPU #0: 32 hashes / 8.0 MB per warp.
[2017-12-24 22:15:51] GPU #0: Launch config '(null)' requires too much memory!
[2017-12-24 22:15:51] GPU #0: Performing auto-tuning (Patience...)
[2017-12-24 22:15:51] GPU #0: cudaError 30 (unknown error) calling 'cudaMalloc((void **) &d_idata, mem_size)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 594)
[2017-12-24 22:15:51] GPU #0: cudaError 30 (unknown error) calling 'cudaMalloc((void **) &d_odata, mem_size)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 595)
[2017-12-24 22:15:52] GPU #0: cudaError 30 (unknown error) calling 'cudaMemcpy(d_idata, h_idata, mem_size, cudaMemcpyHostToDevice)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 600)
[2017-12-24 22:15:52] GPU #0: maximum total warps (BxW): 0
[2017-12-24 22:15:52] GPU #0: cudaError 30 (unknown error) calling 'cudaFree(d_odata)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 727)
[2017-12-24 22:15:52] GPU #0: cudaError 30 (unknown error) calling 'cudaFree(d_idata)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 728)
[2017-12-24 22:15:52] GPU #0: 0.00 hash/s with configuration K0x0
[2017-12-24 22:15:52] GPU #0: using launch configuration K0x0
[2017-12-24 22:15:52] GPU #0: cudaError 30 (unknown error) calling 'cudaMalloc((void **) &tmp, mem_size)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 251)
[2017-12-24 22:15:52] GPU #0: cudaError 30 (unknown error) calling 'cudaMalloc((void **) &tmp, mem_size)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 252)
[2017-12-24 22:15:52] GPU #0: cudaError 30 (unknown error) calling 'cudaMalloc((void **) &tmp, mem_size)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 253)
[2017-12-24 22:15:53] GPU #0: cudaError 30 (unknown error) calling 'cudaMalloc((void **) &tmp, mem_size)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 254)
[2017-12-24 22:15:53] GPU #0: cudaError 30 (unknown error) calling 'cudaHostAlloc((void **) &tmp, state_size, cudaHostAllocDefault)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 257)
[2017-12-24 22:15:53] GPU #0: cudaError 30 (unknown error) calling 'cudaHostAlloc((void **) &tmp, state_size, cudaHostAllocDefault)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 258)
[2017-12-24 22:15:53] GPU #0: cudaError 30 (unknown error) calling 'cudaMalloc((void **) &tmp, state_size)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 271)
[2017-12-24 22:15:53] GPU #0: cudaError 30 (unknown error) calling 'cudaMalloc((void **) &tmp, state_size)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 272)
[2017-12-24 22:15:53] GPU #0: cudaError 30 (unknown error) calling 'cudaMalloc((void **) &tmp, state_size)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 273)
[2017-12-24 22:15:53] GPU #0: cudaError 30 (unknown error) calling 'cudaMalloc((void **) &tmp, state_size)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 274)
[2017-12-24 22:15:54] GPU #0: cudaError 30 (unknown error) calling 'cudaMalloc((void **) &tmp, state_size)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 275)
[2017-12-24 22:15:54] GPU #0: cudaError 30 (unknown error) calling 'cudaMalloc((void **) &tmp, state_size)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 276)
[2017-12-24 22:15:54] GPU #0: cudaError 30 (unknown error) calling 'cudaStreamCreate(&tmp2)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 296)
[2017-12-24 22:15:54] GPU #0: cudaError 30 (unknown error) calling 'cudaStreamCreate(&tmp2)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 297)
[2017-12-24 22:16:21] Stratum detected new block
[2017-12-24 22:16:21] GPU #0: cudaError 30 (unknown error) calling 'cudaEventCreateWithFlags(&tmp4, cudaEventDisableTiming)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 301)
[2017-12-24 22:16:21] GPU #0: cudaError 30 (unknown error) calling 'cudaEventCreateWithFlags(&tmp4, cudaEventDisableTiming)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 302)
[2017-12-24 22:16:21] GPU #0: cudaError 30 (unknown error) calling 'cudaEventRecord(context_serialize[1][thr_id])' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 303)
[2017-12-24 22:16:23] GPU #0: cudaError 30 (unknown error) calling 'cudaStreamWaitEvent(context_streams[stream][thr_id], context_serialize[(stream+1)&1][thr_id], 0)' (D:/Christian/Documents/Visual Studio 2010/Projects/CudaMiner/salsa_kernel.cu line 946)
I have the same exact error with my GTX 970
In the project repertory,
sed -i "s/-abi=no/-abi=yes/g" Makefile
solved this issue for me.
You will probably need to set the right configuration about your GPU arch in the Makefile. I set
-gencode arch=compute_61,code=sm_61
instead of -arch=compute_10
, depending on my GPU:
sed -i "s/-arch=compute_10/-gencode arch=compute_61,code=sm_61/g" Makefile
Then you just need to
make clean && make