- installed 340.24 driver from xedgers repo
- installed CUDA toolkit 6.0 from nvidia
- downloaded current ccminer source from github (once cbuchner1, once djm34)
- autoconfig.sh
- configure --with-cuda=/usr/local/cuda-6.0
- make -j8
- export LD_LIBRARY_PATH=/usr/local/cuda-6.0/lib64
- export PATH=$PATH:/usr/local/cuda-6.0/bin
- ccminer -a x11 -benchmark with or without exiting X
"Unable to query CUDA driver version! Is an nVidia driver installed?"
:-(
/dev/nvidia* exists
any ideas what I did wrong ?
OK, I figured it out myself. Here is what is needed in order to have ccminer working @linux once you have compiled the ccminer.
#1 except nvidia module nvidia_uvm module needs to be loaded in the kernel. you can do it adding 'nvidia_uvm' string to /etc/modules (@linux mint) and nvidia_uvm will be loaded automatically. nvidia_uvm is a separate package @linux mint.
#2 /dev/nvidia_uvm device needs to be created and accessible to 'others'. you can do it this way:
sudo chmod o+rw /dev/nvidia-uvm
if you want quick compilation modify Makefile.am: change all compute_30/sm_30 into compute50/sm_50 and get rid of compute_35/sm35 strings. thanks to that compilation takes ca 15 minutes but ccminer will work only on maxwell cards with compute 5.0.
in my case I get ca 2300kh/s instead of 2600 @win8 for x11 algo. but @win I add 100MHz to GPU.