YoRyan / nuxhash

A NiceHash cryptocurrency mining client for Linux.
GNU General Public License v3.0
260 stars 162 forks source link

Error in daemon mode #86

Open andrbee opened 3 years ago

andrbee commented 3 years ago

Traceback (most recent call last): File "/usr/local/bin/nuxhashd", line 11, in load_entry_point('nuxhash==1.0.0b2', 'console_scripts', 'nuxhashd')() File "/usr/local/lib/python3.6/dist-packages/nuxhash/init.py", line 3, in nuxhashd main() File "/usr/local/lib/python3.6/dist-packages/nuxhash/daemon.py", line 72, in main all_devices = nvidia_devices() File "/usr/local/lib/python3.6/dist-packages/nuxhash/devices/nvidia.py", line 26, in enumerate_devices raw = subprocess.check_output(['nvidia-smi', '--query', '--xml-format']) File "/usr/lib/python3.6/subprocess.py", line 356, in check_output **kwargs).stdout File "/usr/lib/python3.6/subprocess.py", line 438, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['nvidia-smi', '--query', '--xml-format']' returned non-zero exit status 9. 2021-03-12 12:16:40,404 CRITICAL: Crash! Killing all miners. Killed

eyal0 commented 3 years ago

What's the output when you run nvidia-smi --query --xml-format?

Samega7Cattac commented 3 years ago

and if I don't have an NVIDIA graphic card and so no nvidia driver installed?

eyal0 commented 3 years ago

I think that it is required.