I'm having an issue here with the error:
Cuda error in func 'skein512_cpu_setBlock_80' at line 957 : invalid device symbol.
Strangely enough, I'm running a 660ti (Compute 3.0) and have ccminer compiling/running x11 just fine with the same setup. Although I don't think it's quite the latest version(Edit: It's actually quite old, but still uses cuda 6.5), it works with nvidia-331 and nvidia-346. All I have to do is export the cuda lib64 path before running. Here are the juicy infos:
nobody@abyss:~$ uname -a
Linux abyss 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
"Ubuntu 14.04"
nobody@abyss:~$ lspci
06:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 660 Ti] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Device 196e:1000
Flags: bus master, fast devsel, latency 0, IRQ 45
Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
Memory at d8000000 (64-bit, prefetchable) [size=128M]
Memory at e6000000 (64-bit, prefetchable) [size=32M]
I/O ports at 6c00 [size=128]
[virtual] Expansion ROM at e0000000 [disabled] [size=512K]
Capabilities:
Kernel driver in use: nvidia
nobody@abyss:~$ /usr/local/cuda/bin/nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2014 NVIDIA Corporation
Built on Thu_Jul_17_21:41:27_CDT_2014
Cuda compilation tools, release 6.5, V6.5.12
Installed packages(no errors):
nobody@abyss:~$ dpkg -l | grep 'ii nvidia'
ii nvidia-346 346.46-0ubuntu1 amd64 NVIDIA binary driver - version 346.46
ii nvidia-346-dev 346.46-0ubuntu1 amd64 NVIDIA binary Xorg driver development files
ii nvidia-346-uvm 346.46-0ubuntu1 amd64 NVIDIA Unified Memory kernel module
ii nvidia-modprobe 346.46-0ubuntu1 amd64 Load the NVIDIA kernel driver and create device files
ii nvidia-opencl-icd-346 346.46-0ubuntu1 amd64 NVIDIA OpenCL ICD
ii nvidia-prime 0.6.2 amd64 Tools to enable NVIDIA's Prime
ii nvidia-settings 346.46-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver
nobody@abyss:~$ dpkg -l | grep 'ii cuda'
ii cuda-6-5 6.5-14 amd64 CUDA 6.5 meta-package
ii cuda-command-line-tools-6-5 6.5-14 amd64 CUDA command-line tools
ii cuda-core-6-5 6.5-14 amd64 CUDA core tools
ii cuda-cublas-6-5 6.5-14 amd64 CUBLAS native runtime libraries
ii cuda-cublas-dev-6-5 6.5-14 amd64 CUBLAS native dev links, headers
ii cuda-cudart-6-5 6.5-14 amd64 CUDA Runtime native Libraries
ii cuda-cudart-dev-6-5 6.5-14 amd64 CUDA Runtime native dev links, headers
ii cuda-cufft-6-5 6.5-14 amd64 CUFFT native runtime libraries
ii cuda-cufft-dev-6-5 6.5-14 amd64 CUFFT native dev links, headers
ii cuda-curand-6-5 6.5-14 amd64 CURAND native runtime libraries
ii cuda-curand-dev-6-5 6.5-14 amd64 CURAND native dev links, headers
ii cuda-cusparse-6-5 6.5-14 amd64 CUSPARSE native runtime libraries
ii cuda-cusparse-dev-6-5 6.5-14 amd64 CUSPARSE native dev links, headers
ii cuda-documentation-6-5 6.5-14 amd64 CUDA documentation
ii cuda-driver-dev-6-5 6.5-14 amd64 CUDA Driver native dev stub library
ii cuda-drivers 346.46-1 amd64 CUDA Driver meta-package
ii cuda-license-6-5 6.5-14 amd64 CUDA licenses
ii cuda-misc-headers-6-5 6.5-14 amd64 CUDA misc headers
ii cuda-npp-6-5 6.5-14 amd64 NPP native runtime libraries
ii cuda-npp-dev-6-5 6.5-14 amd64 NPP native dev links, headers
ii cuda-runtime-6-5 6.5-14 amd64 CUDA Runtime 6.5 meta-package
ii cuda-samples-6-5 6.5-14 amd64 CUDA example applications
ii cuda-toolkit-6-5 6.5-14 amd64 CUDA Toolkit 6.5 meta-package
ii cuda-visual-tools-6-5 6.5-14 amd64 CUDA visual tools
Here is the full output of your ccminer branch:
nobody@abyss:~$ ./log-mine-nv-suprnova.sh
*** ccminer 1.6.3-git for nVidia GPUs by tpruvot@github ***
Built with the nVidia CUDA SDK 6.5
Originally based on Christian Buchner and Christian H. project
Include some of the work of djm34, sp, tsiv and klausT.
BTC donation address: 1AJdfCpLWPNoAMDfHF1wD5y8VgKSSTHxPo (tpruvot)
[2015-05-08 02:00:37] Starting on stratum+tcp://wood.suprnova.cc:1158
[2015-05-08 02:00:37] restart_threads
[2015-05-08 02:00:37] NVML application clock feature is allowed
[2015-05-08 02:00:37] CUDA GPU#0 matches NVML GPU 0 by busId 6
[2015-05-08 02:00:37] NVML GPU monitoring enabled.
[2015-05-08 02:00:37] 1 miner thread started, using 'skein2' algorithm.
[2015-05-08 02:00:37] Stratum difficulty set to 0.00390625
[2015-05-08 02:00:38] sleeptime: 500 ms
[2015-05-08 02:00:38] DEBUG: job_id=54c50fd 193e xnonce2=00000000 time=02:00:29
[2015-05-08 02:00:38] job 54c50fd 193e target change: ffff000000 (1.0)
[2015-05-08 02:00:38] GPU #0: start=00000000 end=000fffff range=000fffff
[2015-05-08 02:00:38] DEBUG: job_id=54c50fd 193e xnonce2=01000000 time=02:00:29
[2015-05-08 02:00:38] wood.suprnova.cc:1158 skein2 block 136203
[2015-05-08 02:00:38] restart_threads
Cuda error in func 'skein512_cpu_setBlock_80' at line 957 : invalid device symbol.
And here is the script to produce the output.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64
src/ccminer-skein/ccminer -a skein2 -o stratum+tcp://wood.suprnova.cc:1158 -u tryphe.w0 -p x --debug
'ccminer --version' outputs:
(x11 miner)
ccminer 2014.06.15
libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
(tpruvot miner)
ccminer v1.6.3-git
libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
It doesn't matter if I use 331 or 346 to compile/run (either or both). It doesn't matter if I set CUDA_paths or the LD_LIB paths to either the 'cuda-6.5' or 'cuda' directories because they point to the same data.
Any ideas?
Thanks in advance.