Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CudaError 30 #162

Open
KRyTeX1337 opened this issue Dec 24, 2017 · 2 comments
Open

CudaError 30 #162

KRyTeX1337 opened this issue Dec 24, 2017 · 2 comments

Comments

@KRyTeX1337
Copy link

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)

@AmonBune
Copy link

AmonBune commented Jan 5, 2018

I have the same exact error with my GTX 970

@AugustinVoiMa
Copy link

AugustinVoiMa commented Feb 26, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants