Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot start xmrig with cuda plugin, why? #204

Open
marsohod4you opened this issue Nov 27, 2024 · 1 comment
Open

Cannot start xmrig with cuda plugin, why? #204

marsohod4you opened this issue Nov 27, 2024 · 1 comment

Comments

@marsohod4you
Copy link

Hello

I am trying to start xmrig with cuda plugin.
Windows 10, Nvidia Geforce GTX1050.
Installed CUDA from
https://developer.download.nvidia.com/compute/cuda/12.6.3/network_installers/cuda_12.6.3_windows_network.exe

Downloaded xmrig-6.22.2-msvc-win64.zip and unpacked.
Same dir downloaded and unpacked xmrig-cuda-6.22.0-cuda12_4-win64.zip

Starting xmrig for benchmark on RandomX algo

`user@DESKTOP-35IRTBM MINGW64 /d/svn/xmrig-native/xmrig-6.22.2
$ ls -l
total 115307
-rw-r--r-- 1 nick 197121 748 Nov 3 14:41 SHA256SUMS
-rwxr-xr-x 1 nick 197121 14544 Nov 3 14:40 WinRing0x64.sys*
-rw-r--r-- 1 nick 197121 61 Nov 3 14:40 benchmark_10M.cmd
-rw-r--r-- 1 nick 197121 60 Nov 3 14:40 benchmark_1M.cmd
-rw-r--r-- 1 nick 197121 2344 Nov 26 20:46 config.json
-rwxr-xr-x 1 nick 197121 5559296 Aug 12 01:19 nvrtc-builtins64_124.dll*
-rwxr-xr-x 1 nick 197121 44733952 Aug 12 01:19 nvrtc64_120_0.dll*
-rw-r--r-- 1 nick 197121 1023 Nov 3 14:40 pool_mine_example.cmd
-rw-r--r-- 1 nick 197121 1220 Nov 3 14:40 rtm_ghostrider_example.cmd
-rw-r--r-- 1 nick 197121 821 Nov 3 14:40 solo_mine_example.cmd
-rw-r--r-- 1 nick 197121 44 Nov 3 14:41 start.cmd
-rwxr-xr-x 1 nick 197121 61320704 Aug 12 01:19 xmrig-cuda.dll*
-rwxr-xr-x 1 nick 197121 6412800 Nov 3 14:41 xmrig.exe*

user@DESKTOP-35IRTBM MINGW64 /d/svn/xmrig-native/xmrig-6.22.2
$ ./xmrig --algo=rx/0 --bench=1M --verbose --cuda

  • ABOUT XMRig/6.22.2 MSVC/2019 (built for Windows x86-64, 64 bit)
  • LIBS libuv/1.49.2 OpenSSL/3.0.15 hwloc/2.11.2
  • HUGE PAGES permission granted
  • 1GB PAGES unavailable
  • CPU Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (1) 64-bit AES
    L2:1.0 MB L3:6.0 MB 4C/8T NUMA:1
  • MEMORY 5.5/15.9 GB (35%)
    DIMM_A0: 16 GB DDR4 @ 2400 MHz MSI24D4S7D8MB-16
    DIMM_B0:
  • MOTHERBOARD Micro-Star International Co., Ltd. - MS-1799
  • DONATE 0%
  • ASSEMBLY auto:intel
  • POOL Cleanup everything in GPU context when releasing it #1 benchmark algo auto
  • COMMANDS 'h' hashrate, 'p' pause, 'r' resume, 's' results, 'c' connection
  • OPENCL disabled
  • CUDA disabled
    [2024-11-27 07:34:11.044] bench start benchmark hashes 1M algo rx/0
    [2024-11-27 07:34:11.045] cpu use argon2 implementation AVX2
    [2024-11-27 07:34:11.045] msr to access MSR registers Administrator privileges required.
    [2024-11-27 07:34:11.045] msr FAILED TO APPLY MSR MOD, HASHRATE WILL BE LOW
    [2024-11-27 07:34:11.045] randomx init dataset algo rx/0 (8 threads) seed 0000000000000000...
    [2024-11-27 07:34:11.480] randomx allocated 2336 MB (2080+256) huge pages 11% 128/1168 +JIT (435 ms)
    [2024-11-27 07:34:17.531] randomx dataset ready (6051 ms)
    [2024-11-27 07:34:17.531] cpu use profile rx (3 threads) scratchpad 2048 KB
    [2024-11-27 07:34:17.557] cpu READY threads 3/3 (3) huge pages 100% 3/3 memory 6144 KB (26 ms)
    `

I see from this log that CUDA is not used, disabled. Can I do log move verbose? Cmdline Flag "--verbose" does not help.
What I am doing wrong? Is it critical that Nvidia CUDA version is 12.6 but plugin is targeted 12.4? I do not see choice on NVIDIA web site to select CUDA version. Seem it installs always latest?

My questions are:

  1. what I am doing wrong?
  2. do You have any GPU (CUDA or OpenCL) plugin really working on RandomX or not? I see that both are modified a years ago. Maybe GPU support for RandomX no longer is hold?
@marsohod4you
Copy link
Author

I had build from sources xmrig-cuda.dll (against CUDA 12.6 which I have installed).
But still xmrig cannot get it and no messages which can describe issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant