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

No Shares when Mining Kawpow, CUDA #129

Open
BakaJzon opened this issue May 16, 2024 · 5 comments · May be fixed by #146
Open

No Shares when Mining Kawpow, CUDA #129

BakaJzon opened this issue May 16, 2024 · 5 comments · May be fixed by #146

Comments

@BakaJzon
Copy link

Describe the bug
The -mo fork of xmrig can't mine with algo Kawpow.
It just runs ~15MH/s and NO SHARE for 20 min, diff is reduced to 76443K.

I mean, my GPU actually runs heavily. Network is normal. Fans are functioning. But diff is becoming lower and lower.
There's no share, not rejected, just no share.

To Reproduce
run xmrig-mo -a kawpow ... see below

Expected behavior
As original edition, mining kawpow-based crypto normally

Required data

  • XMRig version
    This is the -mo edition below, original edition is XMRig/6.21.2 with xmrig-mo-cuda-6.21.1-mo1
 * ABOUT        XMRig/6.21.3-mo1 gcc/14.1.1 (built for Linux x86-64, 64 bit)
 * LIBS         libuv/1.48.0 OpenSSL/3.3.0 hwloc/2.10.0
 * ASSEMBLY     auto:intel
 * POOL #1      sg.moneroocean.stream:20032 algo kawpow
 * COMMANDS     hashrate, pause, resume, results, connection
 * OPENCL       disabled
 * CUDA         12.4/12.4/6.21.1-mo1
 * NVML         12.550.78/550.78 press e for health report
 * CUDA GPU     #0 01:00.0 NVIDIA GeForce RTX 4060 Laptop GPU 2370/8001 MHz smx:24 arch:89 mem:7608/7721 MB
  • Miner log as text or screenshot (log time modified)
[52.512]  miner    KawPow light cache for epoch 99 calculated (3078ms)
[58.454]  nvidia   KawPow DAG for epoch 99 calculated (5942ms)
[1.551]  nvidia   #0 01:00.0 103W 69C 2520/8000 MHz
[1.551]  miner    speed 10s/60s/15m 15.46 n/a n/a MH/s max 15.46 MH/s
[5.831]  net      new job from sg.moneroocean.stream:20032 diff 564M algo kawpow height 749155
[7.144]  net      new job from sg.moneroocean.stream:20032 diff 564M algo kawpow height 749156
[1.586]  nvidia   #0 01:00.0 104W 72C 2520/8000 MHz
[1.586]  miner    speed 10s/60s/15m 15.46 15.46 n/a MH/s max 15.46 MH/s
[1.633]  nvidia   #0 01:00.0 105W 73C 2505/8000 MHz
[1.633]  miner    speed 10s/60s/15m 15.45 15.46 n/a MH/s max 15.46 MH/s
[7.647]  net      new job from sg.moneroocean.stream:20032 diff 378M algo kawpow height 749156
[51.241] no results yet
...
[4:11.665]  nvidia   #0 01:00.0 105W 74C 2505/8000 MHz
[4:11.665]  miner    speed 10s/60s/15m 15.46 15.46 n/a MH/s max 15.46 MH/s
[4:47.645]  net      new job from sg.moneroocean.stream:20032 diff 190M algo kawpow height 749156
[5:11.717]  nvidia   #0 01:00.0 105W 74C 2505/8000 MHz
[5:11.717]  miner    speed 10s/60s/15m 15.46 15.46 n/a MH/s max 15.46 MH/s
[5:47.602]  net      new job from sg.moneroocean.stream:20032 diff 76443K algo kawpow height 749156
[5:48.548]  net      new job from sg.moneroocean.stream:20032 diff 76443K algo kawpow height 749157
[5:53.425]  no results yet
[5:55.055]  signal   Ctrl+C received, exiting
  • Config file or command line (without wallets)
xmrig-mo --no-cpu --cuda -o gulf.moneroocean.stream:20032 -u <wallet> -p test --tls -k -a kawpow
  • OS: Arch Linux
  • For GPU related issues: (just in cause you need it)
    nvidia-open 550.78 & CUDA 12.4

Additional Log
Here's part of original edition log:

[xxx]  nvidia   #0 01:00.0 107W 75C 2520/8000 MHz
[xxx]  miner    speed 10s/60s/15m 15.29 15.29 n/a MH/s max 15.46 MH/s
[xxx]  nvidia   accepted (21/0) diff 549M (97 ms)
[xxx]  net      new job from sg.moneroocean.stream:20032 diff 549M algo kawpow height 3324246
[xxx]  nvidia   accepted (22/0) diff 549M (102 ms)
[xxx]  nvidia   accepted (23/0) diff 549M (98 ms)
[xxx]  nvidia   accepted (24/0) diff 549M (97 ms)
@realsetvin
Copy link

at this time xmrig is a cpu optimized open source miner - there are issues with using gpus on xmrig - most people use something like gminer for NVIDIA or teamredminer.

you're invited to discover the community discord server in the future for more expedited service! apologize for the delay!

we can close this ticket!

@Spudz76
Copy link

Spudz76 commented May 29, 2024

I gave up on the Kawpow "support" in xmrig a while ago and use meta-miner along with T-Rex and that combo works good. Besides that T-Rex has a memtweak (-mt) option which adds some Mhashes making it pointless to bother with xmrig even if it worked perfectly (the gains more than make up for the 1% fee).

@Spudz76
Copy link

Spudz76 commented Jun 4, 2024

I do find it interesting that (allegedly) the upstream xmrig still works. There isn't really much difference in the kawpow parts of the miner. I had assumed upstream was just as broken, this may help find whatever is wrong in this fork.

Suspect it is around here, I never really understood what these mods are even for... investigating

@Spudz76
Copy link

Spudz76 commented Jun 4, 2024

Definitely the logic whatever it was supposed to do is broken because every algo would be "not KawPow OR not GhostRider" that should at a minimum be AND like the original code earlier in the file.

I have removed all MO-mods to this file and am testing if it still works for all algos.

@Spudz76
Copy link

Spudz76 commented Jun 4, 2024

Worked, proof:
image

PR incoming

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

Successfully merging a pull request may close this issue.

3 participants