I’m having trouble getting Xmrig cuda plugin to work… I have nividia drivers installed. I have a gtx 1650 super when ever I try to start the miner up with you. It says driver not compatible update drivers. But I can’t seem to find how to update the driver. Are if I’m doing something wrong. I got arch on my laptop and got everything up and running no problem. Any suggestions?
Provide from terminal:
inxi -Fazi
and
mhwd -li
inxi -Fazi
System:
Kernel: 5.10.32-1-MANJARO x86_64 bits: 64
compiler: gcc v: 10.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64
root=UUID=40d6ea69-77db-4e6c-aa31-ffa8d33860f1 rw
quiet apparmor=1 security=apparmor udev.log_priority=3
Desktop: KDE Plasma 5.21.4 tk: Qt 5.15.2 wm: kwin_x11
vt: 2 dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop System: HP
product: HP Pavilion Gaming Desktop TG01-0xxx v: N/A
serial: <filter> Chassis: type: 3 serial: <filter>
Mobo: HP model: 8643 v: SMVB serial: <filter>
UEFI: AMI v: F.30 date: 11/18/2020
CPU:
Info: 6-Core model: AMD Ryzen 5 3500 bits: 64
type: MCP arch: Zen 2 family: 17 (23)
model-id: 71 (113) stepping: 0 microcode: 8701021
cache: L2: 3 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2
sse4a ssse3 svm
bogomips: 43118
Speed: 4063 MHz min/max: 2200/3600 MHz boost: enabled
Core speeds (MHz): 1: 4063 2: 4063 3: 4063 4: 4065
5: 4065 6: 4065
Vulnerabilities: Type: itlb_multihit
status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass mitigation: Speculative Store
Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers
and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, IBPB:
conditional, STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA TU116 [GeForce GTX 1650 SUPER]
vendor: Hewlett-Packard driver: nvidia v: 460.73.01
alternate: nouveau,nvidia_drm bus-ID: 0c:00.0
chip-ID: 10de:2187 class-ID: 0300
Display: x11 server: X.Org 1.20.11
compositor: kwin_x11 driver: loaded: nvidia
display-ID: :0 screens: 1
Screen-1: 0 s-res: 1280x720 s-dpi: 203
s-size: 160x90mm (6.3x3.5") s-diag: 184mm (7.2")
Monitor-1: HDMI-0 res: 1280x720 hz: 60 dpi: 65
size: 500x281mm (19.7x11.1") diag: 574mm (22.6")
OpenGL: renderer: GeForce GTX 1650 SUPER/PCIe/SSE2
v: 4.6.0 NVIDIA 460.73.01 direct render: Yes
Audio:
Device-1: NVIDIA TU116 High Definition Audio
vendor: Hewlett-Packard driver: snd_hda_intel
v: kernel bus-ID: 0c:00.1 chip-ID: 10de:1aeb
class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio
vendor: Hewlett-Packard driver: snd_hda_intel
v: kernel bus-ID: 0e:00.4 chip-ID: 1022:1487
class-ID: 0403
Sound Server-1: ALSA v: k5.10.32-1-MANJARO
running: yes
Sound Server-2: JACK v: 0.125.0 running: no
Sound Server-3: PulseAudio v: 14.2 running: yes
Sound Server-4: PipeWire v: 0.3.26 running: no
Network:
Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless
Network Adapter
vendor: Hewlett-Packard driver: N/A
modules: rtw88_8821ce port: e000 bus-ID: 0a:00.0
chip-ID: 10ec:c821 class-ID: 0280
Device-2: Realtek RTL8111/8168/8411 PCI Express
Gigabit Ethernet
vendor: Hewlett-Packard driver: r8169 v: kernel
port: d000 bus-ID: 0b:00.0 chip-ID: 10ec:8168
class-ID: 0200
IF: enp11s0 state: up speed: 1000 Mbps duplex: full
mac: <filter>
IP v4: <filter> type: dynamic noprefixroute
scope: global broadcast: <filter>
IP v6: <filter> type: dynamic noprefixroute
scope: global
IP v6: <filter> type: dynamic noprefixroute
scope: global
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Bluetooth:
Device-1: Realtek Realtek Bluetooth 4.2 Adapter
type: USB driver: btusb v: 0.8 bus-ID: 1-12:4
chip-ID: 0bda:b00a class-ID: e001 serial: <filter>
Report: rfkill ID: hci0 rfk-id: 0 state: up
address: see --recommends
Drives:
Local Storage: total: 238.47 GiB
used: 13.62 GiB (5.7%)
SMART Message: Unable to run smartctl. Root privileges
required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: KIOXIA
model: N/A size: 238.47 GiB block-size:
physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 rotation: SSD serial: <filter> rev: AGHA4101
temp: 46.9 C scheme: GPT
Partition:
ID-1: / raw-size: 238.17 GiB size: 233.38 GiB (97.99%)
used: 13.62 GiB (5.8%) fs: ext4 dev: /dev/nvme0n1p2
maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB
size: 299.4 MiB (99.80%) used: 296 KiB (0.1%) fs: vfat
dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 69.0 C mobo: 30.0 C
gpu: nvidia temp: 37 C
Fan Speeds (RPM): N/A gpu: nvid[quote="bogdancovaciu, post:2, topic:64824, full:true"]
Provide from terminal:
`inxi -Fazi`
and
`mhwd -li`
[/quote]
ia fan: 20%
Info:
Processes: 197 Uptime: 28m wakeups: 0 Memory: 7.74 GiB
used: 1.64 GiB (21.1%) Init: systemd v: 247
tool: systemctl Compilers: gcc: 10.2.0 clang: 11.1.0
Packages: pacman: 1200 lib: 324 flatpak: 0 Shell: Bash
v: 5.1.0 running-in: konsole inxi: 3.3.04
mhwd -li
Installed PCI configs:
NAME VERSION FREEDRIVER TYPE
video-nvidia 2020.11.30 false PCI
Warning: No installed USB configs!
I might be wrong, but i think the CUDA 11 actually requires the latest 465.27 nvidia drivers that are available in unstable branch to work properly with xmrig-cuda
You could switch the branch, update, reboot and do the test again …
Thank you so much. I’ll give that a try asap
i am now running linux52. uninstalled the lts i was running updated and rebooted but still getting the same results.
anon42197439:
linux52
Is EOL … please update to either a LTS or to the latest 5.12
Getting the same error as the driver is not compatible / update driver?
Maybe there is a bug in xmrig, or you have to do this
opened 02:50AM - 03 Dec 19 UTC
closed 03:03PM - 31 Aug 20 UTC
**Running XMRIG By CLI:** ./xmrig --donate-level 3 --cuda -o pool.minexmr.com:44… 3 -u <WalletAddress> --coin monero -k --tls
**OS:** Ubuntu 18.04
**CUDA:** Cuda compilation tools, release 10.1, V10.1.243
**NVIDIA Driver:**
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 435.21 Driver Version: 435.21 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 NVS 510 Off | 00000000:03:00.0 N/A | N/A |
| 28% 34C P8 N/A / N/A | 184MiB / 1998MiB | N/A Default |
+-------------------------------+----------------------+----------------------+
| 1 NVS 510 Off | 00000000:04:00.0 N/A | N/A |
| 28% 29C P8 N/A / N/A | 1MiB / 1999MiB | N/A Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 Not Supported |
| 1 Not Supported |
+-----------------------------------------------------------------------------+
**Compile CUDA Plugin:**
~/xmrig-cuda/build$ cmake .. -DCUDA_LIB=/usr/local/cuda/lib64/stubs/libcuda.so
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for __builtin___clear_cache
-- Looking for __builtin___clear_cache - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found CUDA: /usr/local/cuda (found suitable version "10.1", minimum required is "8.0")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/Miner/xmrig-cuda/build
miner@miner:~/xmrig-cuda/build$ make -j$(nproc)
[ 16%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/xmrig-cu_generated_cuda_extra.cu.o
[ 16%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/RandomX/monero/xmrig-cu_generated_randomx_monero.cu.o
[ 25%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/RandomX/wownero/xmrig-cu_generated_randomx_wownero.cu.o
[ 33%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/xmrig-cu_generated_cuda_core.cu.o
[ 41%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/RandomX/xmrig-cu_generated_randomx.cu.o
[ 50%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/RandomX/arqma/xmrig-cu_generated_randomx_arqma.cu.o
[ 58%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/RandomX/loki/xmrig-cu_generated_randomx_loki.cu.o
/home/miner/xmrig-cuda/src/RandomX/randomx_cuda.hpp(319): warning: pointless comparison of unsigned integer with zero
/home/miner/xmrig-cuda/src/RandomX/randomx_cuda.hpp(319): warning: pointless comparison of unsigned integer with zero
/home/miner/xmrig-cuda/src/RandomX/randomx_cuda.hpp(319): warning: pointless comparison of unsigned integer with zero
/home/miner/xmrig-cuda/src/RandomX/randomx_cuda.hpp(319): warning: pointless comparison of unsigned integer with zero
/home/miner/xmrig-cuda/src/RandomX/randomx_cuda.hpp(319): warning: pointless comparison of unsigned integer with zero
/home/miner/xmrig-cuda/src/cuda_extra.cu: In function ‘int cuda_get_deviceinfo(nvid_ctx*)’:
/home/miner/xmrig-cuda/src/cuda_extra.cu:586:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ctx->device_blocks > max_blocks) {
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-class-memaccess’
Scanning dependencies of target xmrig-cu
[ 66%] Linking CXX static library libxmrig-cu.a
[ 66%] Built target xmrig-cu
Scanning dependencies of target xmrig-cuda
[ 75%] Building C object CMakeFiles/xmrig-cuda.dir/src/crypto/cn/c_blake256.c.o
[ 83%] Building CXX object CMakeFiles/xmrig-cuda.dir/src/CudaCryptonightR_gen.cpp.o
[ 91%] Building CXX object CMakeFiles/xmrig-cuda.dir/src/xmrig-cuda.cpp.o
[100%] Linking CXX shared library libxmrig-cuda.so
[100%] Built target xmrig-cuda
**Now I move the 2 files and run xmrig but xmrig says**:
* ABOUT XMRig/5.1.0 gcc/7.4.0
* LIBS libuv/1.18.0 OpenSSL/1.1.1 hwloc/1.11.9
* CPU Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz (1) x64 AES
L2:1.0 MB L3:10.0 MB 4C/8T NUMA:1
* MEMORY 3.2/15.6 GB (21%)
* DONATE 3%
* ASSEMBLY auto:intel
* POOL #1 ca.minexmr.com:443 coin monero
* COMMANDS hashrate, pause, resume
* OPENCL disabled
* CUDA disabled (failed to load CUDA plugin)
**Can anyone help me get the CUDA Plugin to work on this?**
I was running 510 now I’m running 512. I keep getting driver does not support cuda 11.3 API Update your nVidia driver
Looks like this, but in your case with even newer API …
opened 02:25AM - 01 Jan 21 UTC
Getting this error every time I run XMRig
```
Driver does not support CUDA 11.… 2 API! Update your nVidia driver!
* CUDA disabled (no devices)
```
Driver is up to date as is everything else, this is what I get when running nvidia-smi
```
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 455.45.01 Driver Version: 455.45.01 CUDA Version: 11.1 |
|-------------------------------+----------------------+----------------------+
| 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 GTX 970 Off | 00000000:1D:00.0 On | N/A |
| 2% 48C P8 18W / 163W | 304MiB / 4041MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 500 G /usr/lib/Xorg 120MiB |
| 0 N/A N/A 698 G /usr/bin/plasmashell 119MiB |
| 0 N/A N/A 1325 G ...gAAAAAAAAA --shared-files 14MiB |
| 0 N/A N/A 1576 G ...AAAAAAAAA= --shared-files 32MiB |
| 0 N/A N/A 2647 G /usr/lib/firefox/firefox 2MiB |
| 0 N/A N/A 4321 G /usr/lib/firefox/firefox 2MiB |
+-----------------------------------------------------------------------------+
```
I'm running a 970 which is still supported by CUDA 11 so I have no idea what the issue is. I know CUDA 11.2 is very new so that may have broke somthing
system
Closed
18 May 2021 13:38
14
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.