KlausT / ccminer

Software for mining various cryptocoins
GNU General Public License v3.0
403 stars 312 forks source link

Lyra2rev2, result does not validate on CPU #231

Closed eLvErDe closed 5 years ago

eLvErDe commented 6 years ago

Hello Klaus,

8.21 stills fails when mining XVG:

[2018-03-28 16:33:39] GPU #0: result does not validate on CPU!
[2018-03-28 16:33:41] GPU #0: result does not validate on CPU!
[2018-03-28 16:33:47] GPU #0: result does not validate on CPU!
[2018-03-28 16:33:48] GPU #0: Gigabyte GTX 1080 Ti, 59.85 MH/s
[2018-03-28 16:33:57] Received new lyra2v2 block header
[2018-03-28 16:33:57] block height 1989683, 0 transactions
[2018-03-28 16:33:57] GPU #0: Gigabyte GTX 1080 Ti, 59.80 MH/s
[2018-03-28 16:34:15] Received new lyra2v2 block header
[2018-03-28 16:34:15] block height 1989684, 4 transactions
[2018-03-28 16:34:15] GPU #0: Gigabyte GTX 1080 Ti, 59.81 MH/s
eLvErDe commented 6 years ago

If I add --no-cpu-verify, shares are rejected:

[2018-03-28 16:38:56] reject reason: job not found
[2018-03-28 16:39:13] GPU #0: Gigabyte GTX 1080 Ti, 60.35 MH/s
[2018-03-28 16:39:13] accepted: 0/19 (0.00%), 60.38 MH/s booooo
[2018-03-28 16:39:13] reject reason: low difficulty share of 2.1739998080985274e-7
[2018-03-28 16:39:38] GPU #0: Gigabyte GTX 1080 Ti, 60.30 MH/s
[2018-03-28 16:39:39] GPU #0: Gigabyte GTX 1080 Ti, 60.46 MH/s
[2018-03-28 16:39:39] accepted: 0/20 (0.00%), 60.39 MH/s booooo
[2018-03-28 16:39:39] reject reason: low difficulty share of 7.939433126774938e-8
[2018-03-28 16:39:39] GPU #0: Gigabyte GTX 1080 Ti, 60.29 MH/s
[2018-03-28 16:39:39] accepted: 0/21 (0.00%), 60.44 MH/s booooo
[2018-03-28 16:39:39] reject reason: low difficulty share of 1.905172181133722e-7
KlausT commented 6 years ago

Verge can be mined with many algos. Is the pool using lyra2v2?

eLvErDe commented 6 years ago

Yes, tpruvot is working fine

KlausT commented 6 years ago

It works for me:

lyolyalya commented 6 years ago

batfile?

KlausT commented 6 years ago

?

cd somewhere\on\my\drive
ccminer -a lyra2v2 -o stratum+tcp://xvg-lyra.suprnova.cc:2595 -O name.worker:password
pause
lyolyalya commented 6 years ago

i'm asking elverde=)

eLvErDe commented 6 years ago
ccminer 8.21-KlausT (64bit) for nVidia GPUs
Compiled with GCC 6.3 using Nvidia CUDA Toolkit 9.0

Based on pooler cpuminer 2.3.2 and the tpruvot@github fork
CUDA support by Christian Buchner, Christian H. and DJM34
Includes optimizations implemented by sp-hash, klaust, tpruvot and tsiv.

[2018-03-29 17:54:09] Starting Stratum on stratum+tcp://xvg-lyra.suprnova.cc:2595
[2018-03-29 17:54:09] NVML GPU monitoring enabled.
0 
1 
[2018-03-29 17:54:09] 4 miner threads started, using 'lyra2v2' algorithm.
[2018-03-29 17:54:09] Stratum difficulty set to 32
[2018-03-29 17:54:09] Received new lyra2v2 block header
[2018-03-29 17:54:09] block height 1992435, 4 transactions
[2018-03-29 17:54:09] GPU #0: using default intensity 20.375
[2018-03-29 17:54:09] GPU #2: using default intensity 20.375
[2018-03-29 17:54:09] GPU #1: using default intensity 20.375
[2018-03-29 17:54:09] GPU #3: using default intensity 20.375
[2018-03-29 17:54:13] GPU #2: result does not validate on CPU!
[2018-03-29 17:54:13] GPU #2: result does not validate on CPU!
[2018-03-29 17:54:14] GPU #0: result does not validate on CPU!
[2018-03-29 17:54:15] GPU #2: result does not validate on CPU!
[2018-03-29 17:54:16] GPU #3: result does not validate on CPU!
[2018-03-29 17:54:17] GPU #0: result does not validate on CPU!
/usr/bin/ccminer -a lyra2v2 -o stratum+tcp://xvg-lyra.suprnova.cc:2595 -u greenie.rig1 -p x
KlausT commented 6 years ago

CUDA 9.0 didn't work for me sometimes either. Please use CUDA 9.1

74hawksfan commented 6 years ago

I switched to cuda 9.1 and am getting invalid share errors...tried several different pools and just same thing

KlausT commented 6 years ago

I really have no explanation for this. It's working just fine here. Do you overclock your cards? Do you use the latest ccminer version?

Also, there's this wierd output on some Linux systems:

[2018-03-29 17:54:09] NVML GPU monitoring enabled.
0 
1 
[2018-03-29 17:54:09] 4 miner threads started, using 'lyra2v2' algorithm.

I have no explanation for this either.

eLvErDe commented 6 years ago

For me building with cuda 9.1 fixed the issue, but that does not make much sense. The 0 1 lines look like debug print statement forgotten somewhere to me ;)

74hawksfan commented 6 years ago

Yeah very minimally +100/+200 1080ti x8 on windows 10, tried 3 dif CCminer versions all w same issue. Just went back to mining btcp w ewbf for the night, then switch to Raven tomorrow

platinum4 commented 5 years ago

Close this issue lyra2rev2 is not profitable on NVIDIA anymore; nobody mines it.