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

Cuda mining stops and cannot restart #123

Closed
xboxplayer9889 opened this issue Sep 7, 2021 · 2 comments
Closed

Cuda mining stops and cannot restart #123

xboxplayer9889 opened this issue Sep 7, 2021 · 2 comments

Comments

@xboxplayer9889
Copy link
Contributor

xboxplayer9889 commented Sep 7, 2021

I realized that when pool changes seeds cuda mining cannot restart.

  • ABOUT XMRig/6.15.0 gcc/10.3.0
  • LIBS libuv/1.40.0 OpenSSL/1.1.1k hwloc/2.3.0
  • CUDA 11.2/11.2/6.15.0
  • NVML 11.460.84/460.84 press e for health report
  • CUDA GPU #0 01:00.0 GeForce GTX 960 1177/3505 MHz smx:8 arch:52 mem:1866/2000 MB
    [2021-09-06 08:58:54.338] randomx init dataset algo rx/0 (4 threads) seed 7b878e250d6766c2...
    [2021-09-06 08:59:00.926] cpu use profile rx (4 threads) scratchpad 2048 KB
    [2021-09-06 08:59:00.932] nvidia use profile rx (1 thread) scratchpad 2048 KB
    [2021-09-06 08:59:00.941] cpu READY threads 4/4 (4) huge pages 100% 4/4 memory 8192 KB (9 ms)
    | # | GPU | BUS ID | INTENSITY | THREADS | BLOCKS | BF | BS | MEMORY | NAME
    | 0 | 0 | 01:00.0 | 384 | 24 | 16 | 0 | 0 | 768 | GeForce GTX 960
    [2021-09-06 08:59:01.414] nvidia READY threads 1/1 (431 ms)
    .
    .
    .
    [2021-09-06 09:27:46.492] cpu stopped (2 ms)
    [2021-09-06 09:27:47.699] nvidia stopped (1199 ms)
    [2021-09-06 09:27:47.707] randomx init dataset algo rx/0 (4 threads) seed c293f04b0f97cf76...
    [2021-09-06 09:27:54.050] randomx dataset ready (6334 ms)
    [2021-09-06 09:27:54.059] cpu use profile rx (4 threads) scratchpad 2048 KB
    [2021-09-06 09:27:54.068] nvidia use profile rx (1 thread) scratchpad 2048 KB
    | # | GPU | BUS ID | INTENSITY | THREADS | BLOCKS | BF | BS | MEMORY | NAME
    [2021-09-06 09:27:54.087] cpu READY threads 4/4 (4) huge pages 100% 4/4 memory 8192 KB (10 ms)
    | 0 | 0 | 01:00.0 | 384 | 24 | 16 | 0 | 0 | 768 | GeForce GTX 960
    [2021-09-06 09:27:54.547] nvidia READY threads 1/1 (437 ms)
    [2021-09-06 09:27:54.579] nvidia thread #0 failed with error <randomx_prepare>:36 "invalid argument"

you can simulate same error if you modify configfile while mining (something under cuda settings). If you started with cuda disabled the first enable perfectly starts but the next starts fail.

@xboxplayer9889 xboxplayer9889 changed the title Cuda mining stops and cannot restarts Cuda mining stops and cannot restart Sep 7, 2021
@Spudz76
Copy link
Contributor

Spudz76 commented Sep 7, 2021

RandomX is not for GPUs for one you should be running it in a separate xmrig via MoneroOcean so as to process algorithms which GPUs are good at, and still be paid in XMR. Otherwise it's a complete waste of watts. It could be scoring more payout than the CPU does. (My GTX970 4GB is currently scoring 16.5KH/s XMR equivalence by mining cn/gpu at 700H/s)

@xboxplayer9889
Copy link
Contributor Author

Ty, it wasn't a question... I know it will mine me near nothing, but I can say it works and #125 will repair this issue... Thanks

xmrig pushed a commit that referenced this issue Sep 18, 2021
it will ewpair nvidia thread #0 failed with error <randomx_prepare>:36 "invalid argument"

issue:#123
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

2 participants