Closed deshi-basara closed 7 years ago
The same code is working just fine on Windows. Probably some wierd behaviour of the gcc compiler. I think gcc 6.x is not being supported by Nvidia. http://docs.nvidia.com/cuda/cuda-installation-guide-linux/#system-requirements
Hi, gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) I'm not using gcc 6.x and the problem persists.
I also can confirm, that the ggc version does not cause the problem on my side. During the cuda installation under Archlinux, symbolic links to ggc5 are created in /opt/cuda/bin/
... sorry for the confusion, didn't check the ggc-version properly.
I'm out of ideas then. Is it possible to use gcc 5.3.1 ? I'm not sure if 5.4 works. Since I don't use Linux I can't test it here.
The issues is not connected with gcc at all, I will try to debug and see what function is calling cpu validation and how...
https://github.com/KlausT/ccminer-cryptonight/blob/master/cryptonight/cryptonight.cu#L208 https://github.com/KlausT/ccminer-cryptonight/blob/master/cryptonight.c#L192
But I didn't touch this part of the code at all.
Hello, Added -gencode=arch=compute_61,code=\"sm_61,compute_61\" -gencode=arch=compute_62,code=\"sm_62,compute_62\" to Makefile.am and CPU validation errors disappeared but hashrate went back to 650H/s...
[2017-01-20 11:21:21] Stratum detected new block [2017-01-20 11:21:21] GPU #0: GeForce GTX 1070, 651.98 H/s [2017-01-20 11:21:21] GPU #4: GeForce GTX 1070, 653.52 H/s [2017-01-20 11:21:21] GPU #2: GeForce GTX 1070, 653.98 H/s [2017-01-20 11:21:21] GPU #5: GeForce GTX 1070, 653.20 H/s [2017-01-20 11:21:21] GPU #3: GeForce GTX 1070, 652.62 H/s [2017-01-20 11:21:21] GPU #1: GeForce GTX 1070, 654.30 H/s [2017-01-20 11:21:46] GPU #1: GeForce GTX 1070, 653.22 H/s [2017-01-20 11:21:46] accepted: 12/12 (100.00%), 3918.53 H/s (yay!!!)
Further information: I compiled the latest version with ggc 5.3 and g++ 5.3 and without the compute_61
- and compute_62
-option, but the error still occurs.
It's not gcc issue, it's architecture problem, compile with compute_61 and the error will be gone but hash speed is decreased to normal...well +1/2%
os: Archlinux gcc: 6.3.1 (Wrong: Symlink to gcc5 is set) cuda: 8.0.44 card: GTX 1060 version: 2.0
Since your latest updates for Pascal cards, my hash/s went from 420 to 600, but the old
nonce $number does not validate on CPU!
-problem is back:Any ideas how to fix this problem?