Code Monkey home page Code Monkey logo

Comments (7)

xmrig avatar xmrig commented on May 17, 2024

CUDA/0.0 means CUDA not found in runtime. nvidia-smi works?
CPU it ok, always displayed.

from xmrig-nvidia.

Ketchup901 avatar Ketchup901 commented on May 17, 2024
$ nvidia-smi
Sat Oct  7 11:41:00 2017       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 387.12                 Driver Version: 387.12                    |
|-------------------------------+----------------------+----------------------+
| 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 980     Off  | 00000000:01:00.0  On |                  N/A |
| 28%   46C    P5    32W / 300W |    427MiB /  4036MiB |     17%      Default |
+-------------------------------+----------------------+----------------------+

from xmrig-nvidia.

Ketchup901 avatar Ketchup901 commented on May 17, 2024

/opt/cuda/bin is in my path, anything else I need to add?

from xmrig-nvidia.

Ketchup901 avatar Ketchup901 commented on May 17, 2024

Nevermind it works after a reboot, dunno why.

from xmrig-nvidia.

sfichera avatar sfichera commented on May 17, 2024

Do I need to install CUDA toolkit on the host machine?
I've successfully compiled the binary in one of my severs, but when i'm trying to run the client on the server that actually has the GPU I'm getting No CUDA device found...

[root@chorizo mon]# ./xmrig-nvidia -c config.json.nvidia 
 * VERSIONS:     XMRig/2.4.2 libuv/1.8.0 CUDA/0.0 gcc/5.3.1
 * CPU:                 Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz x64 AES-NI
 * ALGO:         cryptonight, donate=1%
 * POOL #1:      mine.xmrpool.net:5555
 * COMMANDS:     hashrate, health, pause, resume
[2017-10-24 22:07:44] No CUDA device found!

nvidia-smi output:

[root@chorizo mon]# nvidia-smi 
Tue Oct 24 22:10:21 2017       
+------------------------------------------------------+                       
| NVIDIA-SMI 352.63     Driver Version: 352.63         |                       
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GRID K520           Off  | 0000:00:03.0     Off |                  N/A |
| N/A   38C    P0    44W / 125W |    494MiB /  4095MiB |      7%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
+-----------------------------------------------------------------------------+

from xmrig-nvidia.

iamveritas avatar iamveritas commented on May 17, 2024

hi
I have the same problem on win7 NVIDIA Quadro FX 1800M latest driver installed which supports CUDA
any idea how to troubleshoot farther?

thank you

from xmrig-nvidia.

0x01h avatar 0x01h commented on May 17, 2024

This solution worked for me. I think your GPU card doesn't support some of the new versions of drivers.

Delete and purge all Nvidia and CUDA installations.

sudo apt purge nvidia*
sudo apt purge cuda*

Install Nvidia 375. (Older than 400 series)
sudo apt install nvidia-375

Download and install CUDA 8.0 GA1. (Older than 10 and 9 series)
Select "yes" to everything except Nvidia driver installation, because we already installed nvidia-375 driver!
https://developer.nvidia.com/cuda-80-download-archive

Restart and it will work.

from xmrig-nvidia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.