KlausT / ccminer

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

nist5 invalid share #176

Open cgarnier opened 6 years ago

cgarnier commented 6 years ago

Hello, I got only invalid share when i use nist5. I use ccminer builded from the cuda9 branch.

[2018-01-24 21:11:39] We found a close match!
[2018-01-24 21:11:39] GPU #0: GeForce GTX 1080 Ti, 67.26 MH/s
[2018-01-24 21:11:39] accepted: 0/3 (0.00%), 70.29 MH/s booooo
[2018-01-24 21:11:39] reject reason: Invalid share
cgarnier commented 6 years ago

It looks to works better on the tpruvot version

[2018-01-24 21:19:02] accepted: 1/1 (diff 10.013), 72.05 MH/s yes!
[2018-01-24 21:19:34] GPU #0: GeForce GTX 1080 Ti, 67.64 MH/s
[2018-01-24 21:19:34] accepted: 2/2 (diff 3.686), 70.58 MH/s yes!
KlausT commented 6 years ago

It works for me: Maybe it's a wierd pool where the difficulty is calculated differently. Try the --diff-multiplier option, like --diff-multiplier 2 or higher

cgarnier commented 6 years ago

The pool is http://bsod.pw. If i set diff multiplier to 2, i will send 2x less shares ?

KlausT commented 6 years ago

Yes, but since the shares would be rejected anyway it doesn't matter. Increase the multiplier until you don't get invalid shares. And then see what the pool says about your hash rate

cgarnier commented 6 years ago

I will try on nicehash tomorow to see if i got the same issue.

it s how i built it:

FROM nvidia/cuda:9.0-devel-ubuntu16.04

RUN groupadd -g 2000 miner && \
    useradd -u 2000 -g miner -m -s /bin/bash miner && \
    echo 'miner:miner' | chpasswd
RUN apt-get -y update \
  &&  apt-get -y install \
    git \
    automake \
    libssl-dev \
    libcurl4-openssl-dev \
    libjansson-dev

USER miner
RUN cd && git clone -b cuda9 https://github.com/KlausT/ccminer.git
RUN cd ~/ccminer && ./build.sh

ENTRYPOINT ["/home/miner/ccminer/ccminer"]
cgarnier commented 6 years ago

I got that on nicehash:

[2018-01-25 13:47:43] nist5.eu.nicehash.com:3340 nist5 block 49793
[2018-01-25 13:47:46] GPU #0: using default intensity 19
[2018-01-25 13:47:46] GPU #0: result for 001c7a3b does not validate on CPU!
[2018-01-25 13:47:47] GPU #0: result for 037976fe does not validate on CPU!
[2018-01-25 13:47:47] GPU #0: result for 047fcc51 does not validate on CPU!
[2018-01-25 13:47:52] GPU #0: result for 1a2432e7 does not validate on CPU!
[2018-01-25 13:48:08] GPU #0: result for 5f86d79d does not validate on CPU!

and with --no-cpu-verify:

[2018-01-25 13:50:29] reject reason: Share above target.
[2018-01-25 13:50:32] GPU #0: GeForce GTX 1080 Ti, 72.67 MH/s
[2018-01-25 13:50:32] accepted: 0/5 (0.00%), 72.63 MH/s booooo
[2018-01-25 13:50:32] reject reason: Share above target.
[2018-01-25 13:50:34] GPU #0: GeForce GTX 1080 Ti, 72.41 MH/s
[2018-01-25 13:50:34] accepted: 0/6 (0.00%), 72.60 MH/s booooo
[2018-01-25 13:50:34] reject reason: Share above target.
KlausT commented 6 years ago

I think the compiler is broken under Linux. Maybe try cuda 9.1

cgarnier commented 6 years ago

Works well with the 390.12 driver and cuda 9.1.

platinum4 commented 5 years ago

Close this issue nobody mines NIST5 with NVIDIA anymore; ASIC only.

juanpc2018 commented 5 years ago

Close this issue nobody mines NIST5 with NVIDIA anymore; ASIC only.

i think you should read this... login to see hidden messages: https://github.com/monero-project/monero/issues/3387