btcz / zhasher

Zhasher for BitcoinZ
MIT License
5 stars 5 forks source link

CUDA error 'CUDA driver version is insufficient for CUDA runtime version' in func 'getinfo' line 45 #11

Closed alff0x1f closed 6 years ago

alff0x1f commented 6 years ago

I run build v1.2.0 for linux on ubuntu xenial (actually it Linux mint serena 18.1, but use ubuntu 16.04 repos) and get this error:

$ ./zhasher-cuda -cd 0 1 -cv 1 -l mine-btcz-na.equipool.1ds.us:49951 -u tmWjhEGegvBSR5c49JNkk4PDyzDFfiNkGBT.RIGNAME                                                                                                                                                   

        ======================= btcz.rocks =======================
                Zhash CPU&GPU Miner for BitcoinZ v1.2.0
        Special thanks to tromp for providing CPU and CUDA solvers
        ======================= btcz.rocks =======================

Setting log level to 2
[15:13:17][0x00007f96d7e63740] Using SSE2: YES
[15:13:17][0x00007f96d7e63740] Using AVX: NO
[15:13:17][0x00007f96d7e63740] Using AVX2: NO
[15:13:17][0x00007f96d7e63740] CUDA error 'CUDA driver version is insufficient for CUDA runtime version' in func 'getinfo' line 45
$ nvidia-smi 
Thu Jun 14 15:16:50 2018       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.130                Driver Version: 384.130                   |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 106...  Off  | 00000000:01:00.0 Off |                  N/A |
| 27%   33C    P8     5W / 120W |     20MiB /  3013MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 106...  Off  | 00000000:02:00.0 Off |                  N/A |
| 27%   33C    P8     5W / 120W |     15MiB /  3013MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1315      G   /usr/lib/xorg/Xorg                            18MiB |
|    1      1315      G   /usr/lib/xorg/Xorg                            13MiB |
+-----------------------------------------------------------------------------+
$ uname -a
Linux rig-02 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
alff0x1f commented 6 years ago

EWBF v0.3.4b and DSTM's (ZM) and claymore miners work fine

egyptianbman commented 6 years ago

I'm using Driver Version: 396.18 and it worked. Can you try upgrading to that?

alff0x1f commented 6 years ago

@egyptianbman 384.130 latest for 16.04. Now I try update to 18.04

alff0x1f commented 6 years ago

Update to 18.04 and 384.130 nvidia driver, nothing changed. I think problem in cuda version.

In ubuntu 16.04:

$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Tue_Aug_11_14:27:32_CDT_2015
Cuda compilation tools, release 7.5, V7.5.17

In ubuntu 18.04:

$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Nov__3_21:07:56_CDT_2017
Cuda compilation tools, release 9.1, V9.1.85

Now I try to install latest cuda 9.2 by this instruction: https://developer.nvidia.com/cuda-downloads

Overdrive5 commented 6 years ago

I got it to run with cuda 9

egyptianbman commented 6 years ago

Honestly, with EWBF now being released, you probably want to use that. https://bitcointalk.org/index.php?topic=4466962.0

alff0x1f commented 6 years ago

@egyptianbman yes, in install cuda 9.2 and all works now. Later I read about EWBF :) Can close this issue, my fault, didn't read about dependencies:

egyptianbman commented 6 years ago

@alff0x1f glad everything got sorted out -- and that EWBF stepped in to boost our hashing speed!