MoneroOcean / xmrig

Monero (rx/0, rx/wow, rx/loki, defyx, rx/arq, rx/sfx, rx/keva, cn/0, cn/1, cn/2, cn/r, cn/fast, cn/half, cn/xao, cn/rto, cn/rwz, cn/zls, cn/double, cn/gpu, cn-lite/0, cn-lite/1, cn-heavy/0, cn-heavy/tube, cn-heavy/xhv, cn-pico, cn-pico/tlo, argon2/chukwa, argon2/wrkz, astrobwt) CPU/GPU miner
https://moneroocean.stream
GNU General Public License v3.0
274 stars 84 forks source link

No Shares when Mining Kawpow, CUDA #129

Open BakaJzon opened 4 months ago

BakaJzon commented 4 months ago

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

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 commented 4 months ago

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 commented 4 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

Worked, proof: image

PR incoming