nanopool / nanominer

Nanominer is a versatile tool for mining cryptocurrencies on GPUs and CPUs.
https://nanominer.org
636 stars 348 forks source link

Nanominer not working Nvidia3060TI - Debian GNU/Linux 11 #315

Closed helfgott closed 2 years ago

helfgott commented 2 years ago

Hi guys. I started with Ethereum this week and decided to give a try on nanopool with nanominer.

As the documentation says I must have:

I've already tried with latest and several different versions, all of them end with the very same errors, i.e:

nanominer-linux-3.3.8-cuda11:

2021-Dec-10 23:21:24: CUDA call failed: unknown error

or nanominer-linux-3.3.8:

Detected 0 devices

Environment:

This is the output of my nvidia-smi:

+-----------------------------------------------------------------------------+ | NVIDIA-SMI 460.39 Driver Version: 460.39 CUDA Version: 11.2 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |===============================+======================+======================| | 0 GeForce RTX 306... Off | 00000000:29:00.0 On | N/A | | 0% 46C P8 17W / 240W | 135MiB / 7981MiB | 2% Default | | | | N/A | +-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=============================================================================| | 0 N/A N/A 1174 G /usr/lib/xorg/Xorg 98MiB | | 0 N/A N/A 1289 G /usr/bin/gnome-shell 34MiB | +-----------------------------------------------------------------------------+

I tried diagnosing with strace but I couldn't found anything useful.

Any ideas would be appreciated.

helfgott commented 2 years ago

After updating the NVIDIA driver to the latest version I was able to make it work. I also had to install dependencies for the NVIDIA drivers:

apt-get install gcc apt-get install make apt-get install linux-source\ apt-get install linux-headers-$(uname -r)

Sat Dec 11 00:45:57 2021
+-----------------------------------------------------------------------------+ | NVIDIA-SMI 470.86 Driver Version: 470.86 CUDA Version: 11.4 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |===============================+======================+======================| | 0 NVIDIA GeForce ... Off | 00000000:29:00.0 On | N/A | | 0% 60C P2 174W / 240W | 4946MiB / 7981MiB | 100% Default | | | | N/A | +-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=============================================================================| | 0 N/A N/A 1108 G /usr/lib/xorg/Xorg 82MiB | | 0 N/A N/A 1228 G /usr/bin/gnome-shell 71MiB | | 0 N/A N/A 2656 G ...b/firefox-esr/firefox-esr 10MiB | | 0 N/A N/A 3574 C ./nanominer 4777MiB | +-----------------------------------------------------------------------------+

() __ | ' \ / | '_ \ / _ \| '_ | | ' \ / _ \ '| | | | | (| | | | | () | | | | | | | | | | / |
|| ||_,|| ||_/|| || |||| ||_|_|

Version 3.4.6-cuda11 2021-Dec-11 00:45:45: Started EthMan server on port 3333 without a password (read-only mode). 2021-Dec-11 00:45:45: Started web interface on port 9090 without a password. 2021-Dec-11 00:45:45: CUDA driver version is 11.4, runtime version is 11.1 Single device detected GPU 0 PCI 29:00.0, Platform: CUDA, Name: NVIDIA GeForce RTX 3060 Ti, 7981 MB available

Thanks!