You are not logged in.

#1 2025-12-26 03:26:59

jojo06
Member
Registered: 2023-11-04
Posts: 349

[SOLVED]CUDA is not working(disabled)

When try to launch GPU related processing it says:

 * OPENCL       disabled
 * CUDA         disabled (/usr/bin/libxmrig-cuda.so: cannot open shared object file: No such file or directory)

CUDA was needed before as well. But as far as I understand, it's a bit problematic, externally.

---
Why do I even need it ?: (beside its unavailable)

I'm testing the mining potential of my graphics card. I'm considering buying graphics cards proportionally and getting into mining. It seems like I have no other way to test it. Or if there is (at least if it's easier than solving the CUDA issue), I can go straight for that.
I've seen a few sites, but they vary greatly depending on the type of crypto and the network. But I still have a script that will calculate profitability (adjusted weekly and monthly).
Additionally, in such cases, the need for CUDA may arise.

Since it's the hardware section, I guess I can ask this too:

Is it possible to earn $500 a month with a $5,000 system?
I can't access it right now, but (maybe a specific model) I was told something like this: it's possible to earn $400-450 per month from mining with 12 (or max 20) of the mentioned graphics cards.
Is this possible ? If not, how many cards do I need to run to earn $500 a month?

Last edited by jojo06 (2025-12-29 14:43:34)

Offline

#2 2025-12-26 09:04:14

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,317

Re: [SOLVED]CUDA is not working(disabled)

You can earn $500/h on a 500$ system - depending how you're using it.

What is "GPU related processing"? libxmrig-cuda.so doesn't seem to be in the repos, looks like it's https://aur.archlinux.org/packages?O=0&K=xmrig ?
Did you rebuild those after your GPU shenanigans?
It's also extremely odd for the program to check /usr/bin for a plugin (but maybe that's an artifact of the debug output and it tests other paths before)

To see whether cuda works: https://wiki.archlinux.org/title/Genera … elopment_3

Offline

#3 2025-12-26 09:35:49

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,497
Website

Re: [SOLVED]CUDA is not working(disabled)

Also which exact command are you running in order to get that output? Does a basic cuda program work or is it just your miner that is failing?

Offline

#4 2025-12-27 07:27:36

jojo06
Member
Registered: 2023-11-04
Posts: 349

Re: [SOLVED]CUDA is not working(disabled)

You can earn $500/h on a 500$ system - depending how you're using it.
Did you rebuild those after your GPU shenanigans?

Yeah big_smile I meant mining.
Yes i did reinstall after GPU problem.

xmrig --cuda -o pool.supportxmr.com:3333 -u 'wallet_address' -p worker1

 * ABOUT        XMRig/6.24.0 gcc/15.1.1 (built for Linux x86-64, 64 bit)
 * LIBS         libuv/1.51.0 OpenSSL/3.5.1 hwloc/2.12.2
 * HUGE PAGES   supported
 * 1GB PAGES    disabled
 * CPU          Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz (1) 64-bit AES
                L2:1.5 MB L3:9.0 MB 6C/6T NUMA:1
 * MEMORY       8.4/15.6 GB (54%)
 * DONATE       1%
 * ASSEMBLY     auto:intel
 * POOL #1      pool.supportxmr.com:3333 algo auto
 * COMMANDS     hashrate, pause, resume, results, connection
 * OPENCL       disabled
 * CUDA         disabled (/usr/bin/libxmrig-cuda.so: cannot open shared object file: No such file or directory)
[2025-12-27 10:25:29.406]  net      use pool pool.supportxmr.com:3333  141.95.72.60
[2025-12-27 10:25:29.406]  net      new job from pool.supportxmr.com:3333 diff 75000 algo rx/0 height 3574473 (20 tx)
[2025-12-27 10:25:29.406]  cpu      use argon2 implementation AVX2
[2025-12-27 10:25:29.419]  msr      cannot read MSR 0x000001a4
[2025-12-27 10:25:29.419]  msr      FAILED TO APPLY MSR MOD, HASHRATE WILL BE LOW
[2025-12-27 10:25:29.419]  randomx  init dataset algo rx/0 (6 threads) seed 491c63749eea49f1...
[2025-12-27 10:25:29.420]  randomx  allocated 2336 MB (2080+256) huge pages 0% 0/1168 +JIT (0 ms)
[2025-12-27 10:25:32.465]  randomx  dataset ready (3045 ms)
[2025-12-27 10:25:32.465]  cpu      use profile  rx  (5 threads) scratchpad 2048 KB
 * CUDA         disabled (/usr/bin/libxmrig-cuda.so: cannot open shared object file: No such file or directory)
[2025-12-27 10:25:32.468]  cpu      READY threads 5/5 (5) huge pages 0% 0/5 memory 10240 KB (3 ms)
[2025-12-27 10:25:33.658]  cpu      accepted (1/0) diff 75000 (86 ms)
[2025-12-27 10:25:34.278]  cpu      accepted (2/0) diff 75000 (86 ms)
[2025-12-27 10:25:34.883]  net      new job from pool.supportxmr.com:3333 diff 75000 algo rx/0 height 3574473 (21 tx)

Offline

#5 2025-12-27 10:29:20

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,317

Re: [SOLVED]CUDA is not working(disabled)

for pkg in $(pacman -Qsq xmrig); do pacman -Qikk $pkg; done
printenv
strace xmrig --cuda -o pool.supportxmr.com:3333 -u 'wallet_address' -p worker1 |& grep libxmrig-cuda.so

Offline

#6 2025-12-27 10:59:05

jojo06
Member
Registered: 2023-11-04
Posts: 349

Re: [SOLVED]CUDA is not working(disabled)

for pkg in $(pacman -Qsq xmrig); do pacman -Qikk $pkg; done

Name            : xmrig
Version         : 6.24.0-2
Description     : RandomX, KawPow, CryptoNight, AstroBWT and GhostRider unified CPU/GPU miner and RandomX benchmark
Architecture    : x86_64
URL             : [url]https://github.com/xmrig/xmrig[/url]
Licenses        : GPL-3.0-only
Groups          : None
Provides        : None
Depends On      : glibc  hwloc  libssl.so=3-64  libuv
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 4.26 MiB
Packager        : Robin Candau <antiz@archlinux.org>
Build Date      : Thu 17 Jul 2025 04:51:18 PM +03
Install Date    : Wed 24 Dec 2025 06:35:57 AM +03
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

xmrig: 12 total files, 0 altered files

printenv

COLORFGBG=15;0
COLORTERM=truecolor
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=plasma
DISPLAY=:0
GDMSESSION=plasma
GDM_LANG=en_US.UTF-8
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/guns/.gtkrc-2.0:/home/guns/.config/gtkrc-2.0
GTK_RC_FILES=/etc/gtk/gtkrc:/home/guns/.gtkrc:/home/guns/.config/gtkrc
HOME=/home/guns
ICEAUTHORITY=/run/user/1000/iceauth_rUHdYf
INVOCATION_ID=efe9fc8ddde4482bb2481655dd1ffec4
JOURNAL_STREAM=9:24701
KDE_APPLICATIONS_AS_SCOPE=1
KDE_FULL_SESSION=true
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=6
KONSOLE_DBUS_ACTIVATION_COOKIE=xMSwSP5833XTWFyIHoY7RFvhaPY1lUEBCHBGM+bMijk=
KONSOLE_DBUS_SERVICE=:1.135
KONSOLE_DBUS_SESSION=/Sessions/1
KONSOLE_DBUS_WINDOW=/Windows/1
KONSOLE_VERSION=251200
LANG=en_US.UTF-8
LANGUAGE=
LOGNAME=guns
MAIL=/var/spool/mail/guns
MANAGERPID=1690
MANAGERPIDFDID=1691
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service/memory.pressure
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
MOTD_SHOWN=pam
PATH=/opt/cuda/bin:/home/guns/.nvm/versions/node/v18.20.8/bin:/home/guns/.pyenv/shims:/usr/local/bin:/usr/bin:/var/lib/snapd/snap/bin
PROFILEHOME=
PWD=/home/guns
QT_WAYLAND_RECONNECT=1
SESSION_MANAGER=local/roses:@/tmp/.ICE-unix/1998,unix/roses:/tmp/.ICE-unix/1998
SHELL=/usr/bin/zsh
SHELL_SESSION_ID=182c381a1b1b469a8cbc803269eccf31
SYSTEMD_EXEC_PID=2017
TERM=xterm-256color
USER=guns
USERNAME=guns
WAYLAND_DISPLAY=wayland-0
WINDOWID=94747844536000
XAUTHORITY=/run/user/1000/xauth_wTwDei
XDG_CONFIG_DIRS=/home/guns/.config/kdedefaults:/etc/xdg
XDG_CURRENT_DESKTOP=KDE
XDG_DATA_DIRS=/home/guns/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_MENU_PREFIX=plasma-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=plasma
XDG_SESSION_ID=3
XDG_SESSION_TYPE=wayland
XDG_VTNR=2
XKB_DEFAULT_LAYOUT=us
_JAVA_AWT_WM_NONREPARENTING=1
SHLVL=1
OLDPWD=/home/guns
PS1=%F{green}%n%f %F{yellow}@%f %F{red}%M%f:%F{blue}%~%f %# 
HISTFILE=/home/guns/.zsh_history
PYENV_ROOT=/home/guns/.pyenv
PYENV_SHELL=zsh
NVM_DIR=/home/guns/.nvm
NVM_CD_FLAGS=-q
NVM_BIN=/home/guns/.nvm/versions/node/v18.20.8/bin
NVM_INC=/home/guns/.nvm/versions/node/v18.20.8/include/node
_=/usr/bin/printenv

strace xmrig --cuda -o pool.supportxmr.com:3333 -u 'wallet_address' -p worker1 |& grep libxmrig-cuda.so

openat(AT_FDCWD, "/usr/lib/glibc-hwcaps/x86-64-v3/libxmrig-cuda.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/glibc-hwcaps/x86-64-v2/libxmrig-cuda.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libxmrig-cuda.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/libxmrig-cuda.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
write(1, "\33[1;32m * \33[0m\33[1;37mCUDA       "..., 160 * CUDA         disabled (/usr/bin/libxmrig-cuda.so: cannot open shared object file: No such file or directory)
write(1, "\33[1;32m * \33[0m\33[1;37mCUDA       "..., 160 * CUDA         disabled (/usr/bin/libxmrig-cuda.so: cannot open shared object file: No such file or directory)

Offline

#7 2025-12-27 14:19:08

loqs
Member
Registered: 2014-03-06
Posts: 18,796

Re: [SOLVED]CUDA is not working(disabled)

What is the output of `pacman -Qi xmrig-cuda`?

Offline

#8 2025-12-27 15:49:41

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,317

Re: [SOLVED]CUDA is not working(disabled)

Spoiler: ¯\_(ツ)_/¯

for pkg in $(pacman -Qsq xmrig); do pacman -Qikk $pkg; done

It's missing and on top of that

Build Date      : Thu 17 Jul 2025 04:51:18 PM +03

from what I can tell xmrig also wasn't rebuilt after the driver shenanigans, but that's likely irrelevant.

Offline

#9 2025-12-27 17:17:33

loqs
Member
Registered: 2014-03-06
Posts: 18,796

Re: [SOLVED]CUDA is not working(disabled)

seth wrote:

Spoiler: ¯\_(ツ)_/¯

for pkg in $(pacman -Qsq xmrig); do pacman -Qikk $pkg; done

Sorry I missed the s in your `pacman` invocation.

You can find multiple online profit calculators for mining requiring only the electricity cost in USD/kWH. Note in many parts of the US GPU mining can not cover the electricity costs no what GPU or number of GPUs is considered, which is why mining rigs sit idle.

Last edited by loqs (2025-12-27 17:18:00)

Offline

#10 2025-12-28 08:46:05

jojo06
Member
Registered: 2023-11-04
Posts: 349

Re: [SOLVED]CUDA is not working(disabled)

Okay. Closed will be proper ?

Offline

#11 2025-12-28 08:52:30

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,317

Re: [SOLVED]CUDA is not working(disabled)

Your problem wasn't solved?

Offline

Board footer

Powered by FluxBB