Giter VIP home page Giter VIP logo

ccminer's Introduction

ccminer with mtp support

djm34 2017-2018

donation addresses:

BTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze

XZC: aChWVb8CpgajadpLmiwDZvZaKizQgHxfh5

Based on Christian Buchner's & Christian H.'s CUDA project and tpruvot@github.

Building on windows

Required: msvc2015 and cuda 9.2 or higher (cuda 10.1 prefered) Dependencies for windows are included in compat directory, using a different version of msvc will most likely require to recompile those libraries.

In order to build ccminer, choose "Release" and "x64" (this version won't work with win32) Then click "generate"

Building on Linux (tested on Ubuntu 16.04)

* sudo apt-get update && sudo apt-get -y dist-upgrade
* sudo apt-get -y install gcc g++ build-essential automake linux-headers-$(uname -r) git gawk libcurl4-openssl-dev libjansson-dev xorg libc++-dev libgmp-dev python-dev

* Installing CUDA 10.1 and compatible drivers from nvidia website and not from ubuntu package is usually easier

* Compiling ccminner:

./autogen.sh
./configure
./make

About source code dependencies for windows

This project requires some libraries to be built :

  • OpenSSL (prebuilt for win)

  • Curl (prebuilt for win)

  • pthreads (prebuilt for win)

The tree now contains recent prebuilt openssl and curl .lib for both x86 and x64 platforms (windows).

To rebuild them, you need to clone this repository and its submodules : git clone https://github.com/peters/curl-for-windows.git compat/curl-for-windows

Running ccminer with mtp and requirement

mtp requires 4.4Gb of vram, hence cards with less than 4.5Gb of vram won't work. The program uses also around 500Mb and 4.4xCard Number of swap/virtual memory

*Instruction to mine on zcoin wallet (solo mining)

command line structure

ccminer -a mtp -o http://127.0.0.1:rpcport -u rpcuser -p rpcpassword --coinbase-addr zcoin-address -d listofcards --no-getwork

Example (RUN-ZCOIN-MTP.cmd)

ccminer -a mtp -o http://127.0.0.1:8382 -u djm34 -p password --coinbase-addr aChWVb8CpgajadpLmiwDZvZaKizQgHxfh5 --no-getwork -d 0,1,2 -i 22

zcoin wallet should also be run with "server=1" option and "rpcport,rpcuser,rpcpassword" should match those of zcoin.conf

*Instruction for mining on pool: ccminer -a mtp -o stratum+tcp://zcoin.mintpond.com:3000 -u aChWVb8CpgajadpLmiwDZvZaKizQgHxfh5.worker -p 0,strict,verbose,d=500 -i 20

ccminer's People

Contributors

djm34 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ccminer's Issues

ccminer exited

Miner falls after 1-4 shars found.
Killcx script close TCP and miner restart.
Use four cards 1080ti ubuntu 16.04\396.54 driver\i7 3770\32 RAM

Full list of nvidia gpu hash rate ?

Hello, i'm currently using 1070 for mining, and it is about 2.5MH/s same as announcement. The announcement also say about 1080 and 2080ti.

I would like to know hash rate about 1660, 1660ti, 2060, 2060S, 2070, 2070S. How do i get that result ? In whattomine, it said that 1070 only 2.1MH/s, and 1660 = 1.95 MH/s > 1660Ti = 1.85 MH/s ( I don't know this result is joking or what, non Ti weak than Ti )

make error after git clone latest release with latest commit 01cbc4a on Ubuntu 16.04

Hello!
Thanks for all !!!
Make error after git clone latest release with latest commit 01cbc4a on Ubuntu 16.04

......
nvcc -gencode=arch=compute_61,code="sm_61,compute_61" -I/usr/local/cuda/include -I. -I./compat/bos-jansson -std=c++11 --ptxas-options="-v" --maxrregcount=128 -o cuda_mtp/mtp.o -c cuda_mtp/mtp.cu
cuda_mtp/mtp.cu(256): warning: variable "lenMax" was declared but never referenced

cuda_mtp/mtp.cu(257): warning: variable "len" was declared but never referenced

cuda_mtp/mtp.cu(59): warning: variable "diff" was declared but never referenced

cuda_mtp/mtp.cu(60): warning: variable "TheNonce" was declared but never referenced

cuda_mtp/mtp.cu(443): warning: variable "lenMax" was declared but never referenced

cuda_mtp/mtp.cu(444): warning: variable "len" was declared but never referenced

cuda_mtp/mtp.cu(401): error: transfer of control bypasses initialization of:
variable "TotHash"
(404): here

cuda_mtp/mtp.cu(314): warning: variable "diff" was declared but never referenced

cuda_mtp/mtp.cu(315): warning: variable "TheNonce" was declared but never referenced

cuda_mtp/mtp.cu(30): warning: variable "fillGpu" was declared but never referenced

1 error detected in the compilation of "/tmp/tmpxft_000033c4_00000000-6_mtp.cpp1.ii".

Best regards

Version 1.1.1 builds with errors

Ubuntu 16.04
CUDA 9.1

cuda_mtp/mtp.cu: In function ‘int scanhash_mtp(int, int, work*, uint32_t, long unsigned int*, mtp*)’:
cuda_mtp/mtp.cu:220:1: error: jump to label ‘TheEnd’ [-fpermissive]
TheEnd:
^
cuda_mtp/mtp.cu:149:44: note: from here
if (work_restart[thr_id].restart) goto TheEnd;
^
cuda_mtp/mtp.cu:152:5: note: crosses initialization of ‘int order’
int order = 0;
^
Makefile:2505: recipe for target 'cuda_mtp/mtp.o' failed
make[2]: *** [cuda_mtp/mtp.o] Error 1
make[2]: Leaving directory '/DBC/MTP/ccminer-1.1.1-test'
Makefile:2043: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/DBC/MTP/ccminer-1.1.1-test'
Makefile:617: recipe for target 'all' failed
make: *** [all] Error 2

No problem building earlier version in the same environment.
Built what is displayed as v0.0.4-djm34 on December 7.
Still running it with zero problems since launch of mainnet.

Execution fail on GTX960M

Hello!

I am trying to get the code working on a machine with a GTX960M. Since I see the last tag has a "test" label, I stuck with the 1.1.17. I am targeting the MTP algorithm, for the moment.
The code compiling went fine, but I get the error "cudaErrorInvalidValue" on this line. I backtracked the problem and it seems (at least for my architecture, that has 2 GB of dedicated VRAM) the problem initially originated here, sinche the resulting pointer is 0x00000000.
I tried to reverse to version 1.1.12, but then issue #28 arise, giving the error "Result for 000000000 does not validate on CPU", even if I suspect the issue is not the same

However, setting argon_memcost e memcost to a value of 441024 (meaning 16 MB of RAM) instead of 410241024 (meaning 4 GB of RAM) allows the memory to be created, but fails shortly after (obviously, that memory is not allocated!).

Before I invest too much energy in these issues, I'd like to ask you if 1-2GB of VRAM could (at least in theory) be sufficient, but the actual code configuration requires more than that. I'd like to contribute but I can't be so helpful if my hardware just does not support the algorithm 😄

ccminer 1.2.2 terminates without error after ~20 minutes of mining on EVGA GTX 1080 Ti SC2 HYBRID

I am using ccminer 1.2.2 on a rig with 4 x EVGA GTX 1080 Ti SC2 HYBRID (11G-P4-6598-KR) running Windows 10. Power is set to 75% and clocks are +135/+550. No matter what I try, I cannot mine Zcoin (MTP algo) with these GPUs. The miner will mine along for about 20 minutes and then just die without any error. The logs (excerpts from 3 of them) look like this:

...
[2019-09-14 15:51:34]�[01;30m DEBUG: job_id=4437d5d 62040000 xnonce2=0000000000000000 time=05:37:33�[0m
[2019-09-14 15:51:35] GPU #2: EVGA GTX 1080 Ti, 3730.89 kH/s�[0m
[2019-09-14 15:51:35]�[01;30m DEBUG: job_id=4437d5d 62040000 xnonce2=0000000000000000 time=05:37:33�[0m
[2019-09-14 15:51:35]�[01;30m DEBUG: job_id=4437d5d 62040000 xnonce2=0000000000000000 time=05:37:33�[0m
[2019-09-14 15:51:35]�[01;30m DEBUG: job_id=4437d5d 62040000 xnonce2=0000000000000000 time=05:37:33�[0m
[2019-09-14 15:51:36]�[01;30m DEBUG: job_id=4437d5d 62040000 xnonce2=0000000000000000 time=05:37:33�[0m
[2019-09-14 15:51:36]�[36m mtp block 197471, diff 6189.502�[0m
[2019-09-14 15:51:36]�[01;30m restart_threads�[0m
[2019-09-14 15:51:36]�[01;30m DEBUG: job_id=8447d5d 63040000 xnonce2=0000000000000000 time=22:22:21�[0m
[2019-09-14 15:51:36]�[01;30m job 8447d5d 63040000 target change: 3f90831a9 (0.3)�[0m
[2019-09-14 15:51:36]�[01;30m DEBUG: job_id=8447d5d 63040000 xnonce2=0000000000000000 time=22:22:21�[0m
[2019-09-14 15:51:36]�[01;30m job 8447d5d 63040000 target change: 3f90831a9 (0.3)�[0m
[2019-09-14 15:51:37]�[01;30m DEBUG: job_id=8447d5d 63040000 xnonce2=0000000000000000 time=22:22:21�[0m
[2019-09-14 15:51:37]�[01;30m job 8447d5d 63040000 target change: 3f90831a9 (0.3)�[0m
[2019-09-14 15:51:37]�[01;30m DEBUG: job_id=8447d5d 63040000 xnonce2=0000000000000000 time=22:22:21�[0m
[2019-09-14 15:51:37]�[01;30m job 8447d5d 63040000 target change: 3f90831a9 (0.3)�[0m

and
...
[2019-09-14 14:20:33] GPU #1: EVGA GTX 1080 Ti, 3715.78 kH/s�[0m
[2019-09-14 14:20:33]�[01;30m DEBUG: job_id=62f7d5d 4e040000 xnonce2=0000000000000000 time=14:45:49�[0m
[2019-09-14 14:20:34] GPU #0: EVGA GTX 1080 Ti, 3694.84 kH/s�[0m
[2019-09-14 14:20:34]�[01;30m DEBUG: job_id=62f7d5d 4e040000 xnonce2=0000000000000000 time=14:45:49�[0m
[2019-09-14 14:20:34]�[01;30m DEBUG: job_id=62f7d5d 4e040000 xnonce2=0000000000000000 time=14:45:49�[0m
[2019-09-14 14:20:34]�[36m zcoin-us.mintpond.com:3000 asks job 1325662208 for block 197446�[0m
[2019-09-14 14:20:34]�[01;30m DEBUG: job_id=22f7d5d 4f040000 xnonce2=0000000000000000 time=11:01:49�[0m
[2019-09-14 14:20:34]�[33m Stratum difficulty set to 0.0877991�[0m
[2019-09-14 14:20:34]�[01;30m job 22f7d5d 4f040000 target change: b63b4300c (0.1)�[0m
[2019-09-14 14:20:34]�[01;30m DEBUG: job_id=22f7d5d 4f040000 xnonce2=0000000000000000 time=11:01:49�[0m
[2019-09-14 14:20:34]�[01;30m job 22f7d5d 4f040000 target change: b63b4300c (0.1)�[0m
[2019-09-14 14:20:35]�[01;30m DEBUG: job_id=22f7d5d 4f040000 xnonce2=0000000000000000 time=11:01:49�[0m
[2019-09-14 14:20:35]�[01;30m job 22f7d5d 4f040000 target change: b63b4300c (0.1)�[0m
[2019-09-14 14:20:35]�[01;30m DEBUG: job_id=22f7d5d 4f040000 xnonce2=0000000000000000 time=11:01:49�[0m
[2019-09-14 14:20:35]�[01;30m job 22f7d5d 4f040000 target change: b63b4300c (0.1)�[0m

and
...
[2019-09-14 13:42:48] GPU #1: EVGA GTX 1080 Ti, 3688.89 kH/s�[0m
[2019-09-14 13:42:48]�[01;30m DEBUG: job_id=d267d5d 4a040000 xnonce2=0000000000000000 time=21:41:33�[0m
[2019-09-14 13:42:48]�[01;30m DEBUG: job_id=d267d5d 4a040000 xnonce2=0000000000000000 time=21:41:33�[0m
[2019-09-14 13:42:48]�[36m mtp block 197441, diff 6164.300�[0m
[2019-09-14 13:42:48]�[01;30m restart_threads�[0m
[2019-09-14 13:42:48]�[01;30m DEBUG: job_id=8267d5d 4b040000 xnonce2=0000000000000000 time=11:01:33�[0m
[2019-09-14 13:42:48]�[01;30m job 8267d5d 4b040000 target change: bf3418a5c (0.1)�[0m
[2019-09-14 13:42:49]�[01;30m DEBUG: job_id=8267d5d 4b040000 xnonce2=0000000000000000 time=11:01:33�[0m
[2019-09-14 13:42:49]�[01;30m job 8267d5d 4b040000 target change: bf3418a5c (0.1)�[0m
[2019-09-14 13:42:49]�[01;30m DEBUG: job_id=8267d5d 4b040000 xnonce2=0000000000000000 time=11:01:33�[0m
[2019-09-14 13:42:49]�[01;30m job 8267d5d 4b040000 target change: bf3418a5c (0.1)�[0m
[2019-09-14 13:42:49]�[01;30m DEBUG: job_id=8267d5d 4b040000 xnonce2=0000000000000000 time=11:01:33�[0m
[2019-09-14 13:42:49]�[01;30m job 8267d5d 4b040000 target change: bf3418a5c (0.1)�[0m

It seems as though a "job target change" causes the miner to just stop. I encounter the same issue with 100% power and no OC. I am using HWInfo for monitoring and see these maximums:

GPU Memory Usage: 41%
Physical Memory Used: 5305 MB

I have several other rigs mining MTP without issue including ones with the EVGA GTX 1080 Ti SC2 and EVGA GTX 1080 Ti SC (non hybrid). I have also tried Ubuntu 18 and the T-Rex miner on this rig and it also crashes after a few minutes of mining (sometimes, it crashes the entire OS). I also tried using a different motherboard using a single EVGA GTX 1080 Ti SC2 HYBRID (11G-P4-6598-KR) and get the same result. I have had this rig for over 2 years and mined numerous other coins on various algos with these same power and clock settings and have never had any stability issues. It seems that the only common thread is the MTP algo and theEVGA GTX 1080 Ti SC2 HYBRID (11G-P4-6598-KR) GPU.

Any ideas?

Start failed on GTX1060: Unable to query number of CUDA devices!

Hi!

I downloaded MTP miner, I have GTX 1060 on board.
I have the following issue when started ccminer:
Unable to query number of CUDA devices! Is an nVidia driver installed?

I think I have all drivers installed. What I need to check ? What can me missed ?

Different hashrate for Windows 10 and Windows 7

Different hashrate for identical video cards with the same overclocking settings for Windows 10 and Windows 7. Is it normal?

For Win7

[2019-01-21 15:54:09] GPU #0: Gigabyte GTX 1080 Ti, 1724.50 kH/s
[2019-01-21 15:54:13] GPU #0: Gigabyte GTX 1080 Ti, 1724.54 kH/s
[2019-01-21 15:54:17] GPU #0: Gigabyte GTX 1080 Ti, 1771.15 kH/s
Found a solution. Nonce=0ba27651 Hash:0761a9f6b8256b62cec940cd44f45b51170a2f7497d1f42f88e05a62038306fd
[2019-01-21 15:54:20] accepted: 33/33 (diff 0.000), 1725.34 kH/s yes!
[2019-01-21 15:54:21] GPU #0: Gigabyte GTX 1080 Ti, 1724.54 kH/s
[2019-01-21 15:54:25] GPU #0: Gigabyte GTX 1080 Ti, 1724.54 kH/s
[2019-01-21 15:54:29] GPU #0: Gigabyte GTX 1080 Ti, 1724.54 kH/s

For Win10

[2019-01-21 15:54:33] GPU #0: Gigabyte GTX 1080 Ti, 2814.82 kH/s
[2019-01-21 15:54:38] GPU #0: Gigabyte GTX 1080 Ti, 2868.68 kH/s
Found a solution. Nonce=163a3241 Hash:a10123a995a63358a0ea1761f4add4f87369e48fdbc5995438fe5a930d8a39e0
[2019-01-21 15:54:42] accepted: 60/60 (diff 0.000), 2843.54 kH/s yes!
[2019-01-21 15:54:42] GPU #0: Gigabyte GTX 1080 Ti, 2957.64 kH/s
[2019-01-21 15:54:46] GPU #0: Gigabyte GTX 1080 Ti, 2872.60 kH/s
[2019-01-21 15:54:51] GPU #0: Gigabyte GTX 1080 Ti, 2826.21 kH/s
[2019-01-21 15:54:55] GPU #0: Gigabyte GTX 1080 Ti, 2824.29 kH/s

Segmentation Fault

Compiled from git on Ubuntu 16 which complied, although there were warnings about unused entries. When trying to run agains 2miners pool, the miner starts up, but then dies listing 28477 Segmentation fault (core dumped). Running with the debug switch does not output any information related to the segmentation fault.

Can't build v 1.1.9 in Ubuntu 16.04

Code downloaded Dec 31 17:.00 UTC + 1
Output:

g++ -DHAVE_CONFIG_H -I. -fopenmp -pthread -fno-strict-aliasing -std=c++11 -I./compat/bos-jansson -I/usr/local/cud a/include -g -O2 -MT ccminer-util.o -MD -MP -MF .deps/ccminer-util.Tpo -c -o ccminer-util.o test -f 'util.cpp' || echo './'util.cpp
util.cpp: In function ‘bool stratum_notify_bos(stratum_ctx*, json_t*)’:
util.cpp:2537:1: error: jump to label ‘out’ [-fpermissive]
out:
^
util.cpp:2477:9: note: from here
goto out;
^
util.cpp:2494:8: note: crosses initialization of ‘char* JobID’
char* JobID = (char*)malloc(2 * job_idsize + 1);
^
util.cpp:2537:1: error: jump to label ‘out’ [-fpermissive]
out:
^
util.cpp:2466:8: note: from here
goto out;
^
util.cpp:2494:8: note: crosses initialization of ‘char* JobID’
char* JobID = (char*)malloc(2 * job_idsize + 1);
^
util.cpp:2537:1: error: jump to label ‘out’ [-fpermissive]
out:
^
util.cpp:2450:8: note: from here
goto out;
^
util.cpp:2494:8: note: crosses initialization of ‘char* JobID’
char* JobID = (char*)malloc(2 * job_idsize + 1);
^
Makefile:1775: recipe for target 'ccminer-util.o' failed
make[2]: *** [ccminer-util.o] Error 1
make[2]: Leaving directory '/DBC/MTP/ccminer-1.1.9'
Makefile:2047: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/DBC/MTP/ccminer-1.1.9'
Makefile:621: recipe for target 'all' failed
make: *** [all] Error 2

Result for XXXXXXXX does not validate on CPU!

[2019-01-19 08:27:40] GPU #1: Gigabyte GTX 1080 Ti, 1848.42 kH/s
Found a solution. Nonce=149c3a8b Hash:49f5a33aa60021f77780284b2a116ef07acec704d7b69b8bc8acdc39ac21a7f3
[2019-01-19 08:27:45] GPU #1: Gigabyte GTX 1080 Ti, 1817.97 kH/s
[2019-01-19 08:27:46] accepted: 9/9 (diff 0.000), 1838.64 kH/s yes!
[2019-01-19 08:27:49] GPU #1: Gigabyte GTX 1080 Ti, 1840.31 kH/s
[2019-01-19 08:27:54] GPU #1: result for 15580ba5 does not validate on CPU!
[2019-01-19 08:27:54] GPU #1: Gigabyte GTX 1080 Ti, 1821.53 kH/s
[2019-01-19 08:27:58] GPU #1: Gigabyte GTX 1080 Ti, 1841.93 kH/s
[2019-01-19 08:28:03] GPU #1: Gigabyte GTX 1080 Ti, 1840.71 kH/s

Please, add if possible, --no-cpu-verify don't verify the found results feature like KlausT ccminer.

Rtx / cuda10 support?

Adding

nvcc_ARCH += -gencode=arch=compute_75,code="sm_75,compute_75"

Results in successful build, but when running I get nothing but "does not validate on cpu".

Before I continue, is it possible to compile with cuda 10, or is it failing because official release does not support rtx cards / cuda 10?

runaway memory usage on Win10

Win10 Pro, 64-Bit
ccminer 1.1.23
launched via nicehash miner 1.9.1.5

After running for a while, ccminer.exe is using a tremendous amount of memory (11Gi+). I had noticed that after updating NHML to the most recent version that I was getting weird system crashes and instability. I couldn't figure it out. Then I dug into the system error log and saw some out-of-memory type errors. I fired up task manager and noticed that ccminer.exe was using nearly all of the system memory after running for a while.

Just now after only a minute or two memory usage was 450Mi+

I'm not totally sure what's going on here but happy to add more debug flags or help troubleshoot otherwise.

ubuntu 18.04 build error

cuda_mtp/cuda_mtp.cu(177): warning: variable "thread" was declared but never referenced

cuda_mtp/cuda_mtp.cu(236): warning: variable "thread" was declared but never referenced

cuda_mtp/cuda_mtp.cu(335): warning: variable "unmatch_block" was set but never used

cuda_mtp/cuda_mtp.cu(307): warning: variable "NonceNumber" was declared but never referenced

cuda_mtp/cuda_mtp.cu(42): warning: variable "blakeInit" was declared but never referenced

ptxas info : 0 bytes gmem, 512 bytes cmem[3]
ptxas info : Compiling entry function '_Z9mtp_yloopjjjPK5uint4Pj' for 'sm_61'
ptxas info : Function properties for _Z9mtp_yloopjjjPK5uint4Pj
304 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info : Used 106 registers, 352 bytes cmem[0], 88 bytes cmem[2]
ptxas info : Function properties for _ZN65_INTERNAL_43_tmpxft_000038ad_00000000_6_cuda_mtp_cpp1_ii_eda8948b22blake2b_compress2c_256EP5uint2PKS0_S3_j
0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
cuda_mtp/cuda_mtp.cu(177): warning: variable "thread" was declared but never referenced

cuda_mtp/cuda_mtp.cu(236): warning: variable "thread" was declared but never referenced

cuda_mtp/cuda_mtp.cu(335): warning: variable "unmatch_block" was set but never used

cuda_mtp/cuda_mtp.cu(307): warning: variable "NonceNumber" was declared but never referenced

cuda_mtp/cuda_mtp.cu(42): warning: variable "blakeInit" was declared but never referenced

nvcc -gencode=arch=compute_61,code="sm_61,compute_61" -I/usr/local/cuda/include -I. -O3 -lineno -Xcompiler -Wall -D_FORCE_INLINES -I./compat/bos-jansson -std=c++11 --ptxas-options="-v" --maxrregcount=128 -o cuda_mtp/mtp.o -c cuda_mtp/mtp.cu
/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9220): error: argument of type "const void *" is incompatible with parameter of type "const float *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9231): error: argument of type "const void *" is incompatible with parameter of type "const float *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9244): error: argument of type "const void *" is incompatible with parameter of type "const double *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9255): error: argument of type "const void *" is incompatible with parameter of type "const double *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9268): error: argument of type "const void *" is incompatible with parameter of type "const float *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9279): error: argument of type "const void *" is incompatible with parameter of type "const float *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9292): error: argument of type "const void *" is incompatible with parameter of type "const double *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9303): error: argument of type "const void *" is incompatible with parameter of type "const double *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9316): error: argument of type "const void *" is incompatible with parameter of type "const int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9327): error: argument of type "const void *" is incompatible with parameter of type "const int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9340): error: argument of type "const void *" is incompatible with parameter of type "const long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9352): error: argument of type "const void *" is incompatible with parameter of type "const long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9365): error: argument of type "const void *" is incompatible with parameter of type "const int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9376): error: argument of type "const void *" is incompatible with parameter of type "const int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9389): error: argument of type "const void *" is incompatible with parameter of type "const long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9401): error: argument of type "const void *" is incompatible with parameter of type "const long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9410): error: argument of type "void *" is incompatible with parameter of type "float *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9419): error: argument of type "void *" is incompatible with parameter of type "float *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9428): error: argument of type "void *" is incompatible with parameter of type "double *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9437): error: argument of type "void *" is incompatible with parameter of type "double *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9445): error: argument of type "void *" is incompatible with parameter of type "float *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9454): error: argument of type "void *" is incompatible with parameter of type "float *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9463): error: argument of type "void *" is incompatible with parameter of type "double *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9472): error: argument of type "void *" is incompatible with parameter of type "double *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9481): error: argument of type "void *" is incompatible with parameter of type "int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9490): error: argument of type "void *" is incompatible with parameter of type "int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9499): error: argument of type "void *" is incompatible with parameter of type "long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9508): error: argument of type "void *" is incompatible with parameter of type "long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9517): error: argument of type "void *" is incompatible with parameter of type "int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9526): error: argument of type "void *" is incompatible with parameter of type "int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9535): error: argument of type "void *" is incompatible with parameter of type "long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9544): error: argument of type "void *" is incompatible with parameter of type "long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512pfintrin.h(55): error: argument of type "const void *" is incompatible with parameter of type "const long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512pfintrin.h(63): error: argument of type "const void *" is incompatible with parameter of type "const int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512pfintrin.h(73): error: argument of type "const void *" is incompatible with parameter of type "const long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512pfintrin.h(81): error: argument of type "const void *" is incompatible with parameter of type "const int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512pfintrin.h(91): error: argument of type "void *" is incompatible with parameter of type "const long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512pfintrin.h(100): error: argument of type "void *" is incompatible with parameter of type "const int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512pfintrin.h(109): error: argument of type "void *" is incompatible with parameter of type "const long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512pfintrin.h(117): error: argument of type "void *" is incompatible with parameter of type "const int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512pfintrin.h(127): error: argument of type "void *" is incompatible with parameter of type "const long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512pfintrin.h(136): error: argument of type "void *" is incompatible with parameter of type "const int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512pfintrin.h(145): error: argument of type "void *" is incompatible with parameter of type "const long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512pfintrin.h(153): error: argument of type "void *" is incompatible with parameter of type "const int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(10799): error: argument of type "const void *" is incompatible with parameter of type "const float *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(10811): error: argument of type "const void *" is incompatible with parameter of type "const float *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(10823): error: argument of type "const void *" is incompatible with parameter of type "const double *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(10835): error: argument of type "const void *" is incompatible with parameter of type "const double *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(10847): error: argument of type "const void *" is incompatible with parameter of type "const float *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(10859): error: argument of type "const void *" is incompatible with parameter of type "const float *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(10871): error: argument of type "const void *" is incompatible with parameter of type "const double *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(10883): error: argument of type "const void *" is incompatible with parameter of type "const double *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(10895): error: argument of type "const void *" is incompatible with parameter of type "const int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(10907): error: argument of type "const void *" is incompatible with parameter of type "const int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(10919): error: argument of type "const void *" is incompatible with parameter of type "const long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(10931): error: argument of type "const void *" is incompatible with parameter of type "const long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(10943): error: argument of type "const void *" is incompatible with parameter of type "const int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(10955): error: argument of type "const void *" is incompatible with parameter of type "const int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(10967): error: argument of type "const void *" is incompatible with parameter of type "const long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(10979): error: argument of type "const void *" is incompatible with parameter of type "const long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(10989): error: argument of type "void *" is incompatible with parameter of type "float *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11000): error: argument of type "void *" is incompatible with parameter of type "float *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11009): error: argument of type "void *" is incompatible with parameter of type "float *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11020): error: argument of type "void *" is incompatible with parameter of type "float *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11029): error: argument of type "void *" is incompatible with parameter of type "double *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11040): error: argument of type "void *" is incompatible with parameter of type "double *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11049): error: argument of type "void *" is incompatible with parameter of type "double *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11060): error: argument of type "void *" is incompatible with parameter of type "double *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11069): error: argument of type "void *" is incompatible with parameter of type "float *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11080): error: argument of type "void *" is incompatible with parameter of type "float *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11089): error: argument of type "void *" is incompatible with parameter of type "float *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11100): error: argument of type "void *" is incompatible with parameter of type "float *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11109): error: argument of type "void *" is incompatible with parameter of type "double *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11120): error: argument of type "void *" is incompatible with parameter of type "double *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11129): error: argument of type "void *" is incompatible with parameter of type "double *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11140): error: argument of type "void *" is incompatible with parameter of type "double *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11149): error: argument of type "void *" is incompatible with parameter of type "int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11160): error: argument of type "void *" is incompatible with parameter of type "int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11169): error: argument of type "void *" is incompatible with parameter of type "int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11180): error: argument of type "void *" is incompatible with parameter of type "int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11189): error: argument of type "void *" is incompatible with parameter of type "long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11200): error: argument of type "void *" is incompatible with parameter of type "long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11209): error: argument of type "void *" is incompatible with parameter of type "long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11220): error: argument of type "void *" is incompatible with parameter of type "long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11229): error: argument of type "void *" is incompatible with parameter of type "int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11240): error: argument of type "void *" is incompatible with parameter of type "int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11249): error: argument of type "void *" is incompatible with parameter of type "int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11260): error: argument of type "void *" is incompatible with parameter of type "int *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11269): error: argument of type "void *" is incompatible with parameter of type "long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11280): error: argument of type "void *" is incompatible with parameter of type "long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11289): error: argument of type "void *" is incompatible with parameter of type "long long *"

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512vlintrin.h(11300): error: argument of type "void *" is incompatible with parameter of type "long long *"

cuda_mtp/mtp.cu(175): warning: variable "lenMax" was declared but never referenced

cuda_mtp/mtp.cu(176): warning: variable "len" was declared but never referenced

cuda_mtp/mtp.cu(150): warning: variable "TheBlocksAndProofs" was declared but never referenced

cuda_mtp/mtp.cu(51): warning: variable "diff" was declared but never referenced

cuda_mtp/mtp.cu(52): warning: variable "TheNonce" was declared but never referenced

cuda_mtp/mtp.cu(33): warning: variable "rwlock" was declared but never referenced

92 errors detected in the compilation of "/tmp/tmpxft_000038c7_00000000-6_mtp.cpp1.ii".
Makefile:2505: recipe for target 'cuda_mtp/mtp.o' failed
make[2]: *** [cuda_mtp/mtp.o] Error 1
make[2]: Leaving directory '/home/ubuntu/ccminer'
Makefile:2043: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ubuntu/ccminer'
Makefile:617: recipe for target 'all' failed
make: *** [all] Error 2

cuda 9.2 not supported? didnt compile

version 1.2.1 - do not compile with CUDA 9.2:
nvcc fatal : Unsupported gpu architecture 'compute_75'

With CUDA 10.0 compiled successfully.

Compiled using this line:
export PATH=$PATH:/usr/local/cuda/bin && ./autogen.sh && ./configure && make -j12

Can You help me or definitely dropped cuda 9.2 support?

I dont remember is 1.2.0 I compiled manually or get official binary, but older versions always compiled ok under 9.2 and 10.0

Virus blocker

Every time I try to download eith CCMINER or Cryptodredge both Windows defender and AVG detect trojan or malware and terminate the download. What do I need to do

Lower hashrate

In version 1.1.4 Lower hashrate then 1.1.3
Im teseted this on 1080Ti for 2 hour. Hashrate lower on 100 kh/s

Error: filling memory cudaErrorInvalidValue

Hi.
Ubuntu 14.04, cuda 10, Driver Version: 410.57

This release: https://github.com/zcoinofficial/ccminer/releases/tag/1.1.1-test-2

[2018-12-16 03:56:35] 5 miner threads started, using 'mtp' algorithm.
[2018-12-16 03:56:35] Starting on stratum+tcp://xzc.2miners.com:8080
[2018-12-16 03:56:36] Stratum difficulty set to 1 (0.00000)
[2018-12-16 03:56:36] GPU #0: Intensity set to 16, 65536 cuda threads
[2018-12-16 03:56:36] GPU #3: Intensity set to 16, 65536 cuda threads
[2018-12-16 03:56:36] GPU #1: Intensity set to 16, 65536 cuda threads
[2018-12-16 03:56:36] GPU #2: Intensity set to 16, 65536 cuda threads
[2018-12-16 03:56:36] GPU #4: Intensity set to 16, 65536 cuda threads
Step 1 : Compute F(I) and store its T blocks X[1], X[2], ..., X[T] in the memory
Step 2 : Compute the root Φ of the Merkle hash tree
end Step 2 : Compute the root Φ of the Merkle hash tree
filling memory
cudaErrorInvalidValue

Core Dumping

[2019-02-21 07:27:04] Starting on stratum+tcp://mtp.usa.nicehash.com:3374
[2019-02-21 07:27:04] 1 miner thread started, using 'mtp' algorithm.
[2019-02-21 07:27:08] Stratum difficulty set to 1 (0.00000)
[2019-02-21 07:27:08] GPU #0: Intensity set to 16, 65536 cuda threads
Step 1 : Compute F(I) and store its T blocks X[1], X[2], ..., X[T] in the memory
Step 2 : Compute the root Φ of the Merkle hash tree
[2019-02-21 07:27:10] GPU #0: GeForce RTX 2080, 31.33 kH/s
[2019-02-21 07:27:14] GPU #0: GeForce RTX 2080, 2882.10 kH/s
Found a solution. Nonce=010c13fe Hash:c502f95199848b52fee6f76419fa86fb0ed5c786d770d72d850f61f49bbd8eb4
*** buffer overflow detected ***: ./ccminer terminated
Aborted (core dumped)

same nonce being generated more than once within a single block

I'm adding lines with letters in brackets below for reference.

I'm not intimately familiar with the inner workings of mining code but this didn't seem right. If I got something wrong, I'd appreciate a brief explanation of what that is.

I was Solo mining.

The first part [A] [B] seems logical. I was surprised that that's the way it works, but it is logical and obviously works - there appear to be a set of nonces that will be used over and over for each block; for illustration, I've highlighted nonce 8317fffe on GPU #3 as a repeating nonce for each block but as described below, it also repeats within a block.

Every time, if a block made it to the 80th nonce (in this case in block 149225 [C]) before it was solved, I would get an OUT OF NONCE error message (not the topic of this issue but possibly another issue)

...BUT THEN...

after recovering from these series of error messages, and still in block the same block, 149225, the nonces would begin again as they would if it were a new block, but it's still in the same block; hence, every nonce after the error recovery is a duplicate within the same block and cannot solve the block since it was tried before.

I show an example with [B] [C] and [D] [E] and it happened over and over again.

[A]
[2019-03-30 18:41:53] Current block is 149224
[2019-03-30 18:41:53] mtp block 149224, target 0.000
[2019-03-30 18:42:19] GPU #3: MSI GTX 1070: 2237.2 Kh/s nonce 8317fffe
[2019-03-30 18:42:19] GPU #1: MSI GTX 1070: 2232.1 Kh/s nonce 2dc2aaaa
[2019-03-30 18:42:20] GPU #2: MSI GTX 1070: 2210.8 Kh/s nonce 586d5554

[B]
[2019-03-30 18:45:23] Current block is 149225
[2019-03-30 18:45:23] mtp block 149225, target 0.000
[2019-03-30 18:45:50] GPU #3: MSI GTX 1070: 2206.5 Kh/s nonce 8317fffe
[2019-03-30 18:45:50] GPU #1: MSI GTX 1070: 2208.9 Kh/s nonce 2dc2aaaa
[2019-03-30 18:45:50] GPU #4: MSI GTX 1070: 2175.2 Kh/s nonce adc2aaa8
[2019-03-30 18:45:50] GPU #2: MSI GTX 1070: 2169.4 Kh/s nonce 586d5554

[C]
[2019-03-30 18:50:44] GPU #5: MSI GTX 1070: 2138.7 Kh/s nonce fded5552
[2019-03-30 18:50:50] GPU #3: OUT OF NONCE aaaffffe >= aaaaaaa8 incrementing extra nonce at next chance
[2019-03-30 18:50:50] GPU #3: MSI GTX 1070, 2187.73 kH/s
[2019-03-30 18:50:50] Current block is 149225
[2019-03-30 18:50:51] GPU #1: OUT OF NONCE 555aaaaa >= 55555554 incrementing extra nonce at next chance
[2019-03-30 18:50:51] GPU #1: MSI GTX 1070, 2186.23 kH/s
[2019-03-30 18:50:55] GPU #4: OUT OF NONCE d55aaaa8 >= d5555552 incrementing extra nonce at next chance
[2019-03-30 18:50:55] GPU #4: MSI GTX 1070, 2159.00 kH/s
[2019-03-30 18:50:56] GPU #2: OUT OF NONCE 80055554 >= 7ffffffe incrementing extra nonce at next chance
[2019-03-30 18:50:56] GPU #2: MSI GTX 1070, 2152.28 kH/s
[2019-03-30 18:50:56] GPU #0: OUT OF NONCE 2ab00000 >= 2aaaaaaa incrementing extra nonce at next chance
[2019-03-30 18:50:56] GPU #0: MSI GTX 1070, 2149.93 kH/s
[2019-03-30 18:51:09] GPU #5: MSI GTX 1070: 2138.6 Kh/s nonce 010d5552
[2019-03-30 18:51:18] GPU #3: MSI GTX 1070: 2204.7 Kh/s nonce 8317fffe
[2019-03-30 18:51:19] GPU #1: MSI GTX 1070: 2207.5 Kh/s nonce 2dc2aaaa
[2019-03-30 18:51:23] GPU #4: MSI GTX 1070: 2175.6 Kh/s nonce adc2aaa8

[D]
[2019-03-30 19:23:56] Current block is 149234
[2019-03-30 19:23:56] mtp block 149234, target 0.000
[2019-03-30 19:24:22] GPU #3: MSI GTX 1070: 2204.1 Kh/s nonce 8317fffe
[2019-03-30 19:24:22] GPU #1: MSI GTX 1070: 2198.2 Kh/s nonce 2dc2aaaa
[2019-03-30 19:24:23] GPU #4: MSI GTX 1070: 2176.1 Kh/s nonce adc2aaa8
[2019-03-30 19:24:23] GPU #2: MSI GTX 1070: 2169.0 Kh/s nonce 586d5554

[E]
[2019-03-30 19:29:17] GPU #5: MSI GTX 1070: 2138.7 Kh/s nonce fded5552
[2019-03-30 19:29:23] GPU #3: OUT OF NONCE aaaffffe >= aaaaaaa8 incrementing extra nonce at next chance
[2019-03-30 19:29:23] GPU #3: MSI GTX 1070, 2188.64 kH/s
[2019-03-30 19:29:23] Current block is 149234
[2019-03-30 19:29:24] GPU #1: OUT OF NONCE 555aaaaa >= 55555554 incrementing extra nonce at next chance
[2019-03-30 19:29:24] GPU #1: MSI GTX 1070, 2181.38 kH/s
[2019-03-30 19:29:27] GPU #4: OUT OF NONCE d55aaaa8 >= d5555552 incrementing extra nonce at next chance
[2019-03-30 19:29:27] GPU #4: MSI GTX 1070, 2159.69 kH/s
[2019-03-30 19:29:28] GPU #2: OUT OF NONCE 80055554 >= 7ffffffe incrementing extra nonce at next chance
[2019-03-30 19:29:28] GPU #2: MSI GTX 1070, 2152.96 kH/s
[2019-03-30 19:29:29] GPU #0: OUT OF NONCE 2ab00000 >= 2aaaaaaa incrementing extra nonce at next chance
[2019-03-30 19:29:29] GPU #0: MSI GTX 1070, 2149.63 kH/s
[2019-03-30 19:29:42] GPU #5: MSI GTX 1070: 2138.6 Kh/s nonce 010d5552
[2019-03-30 19:29:53] GPU #3: MSI GTX 1070: 2204.6 Kh/s nonce 8317fffe
[2019-03-30 19:29:53] GPU #1: MSI GTX 1070: 2203.9 Kh/s nonce 2dc2aaaa
[2019-03-30 19:29:56] GPU #4: MSI GTX 1070: 2175.5 Kh/s nonce adc2aaa8

Nvidia 104-100 Support (Cuda 8.))

Any plans to support Nvidia P104-100 (basically a GTX1060 without video output)? Needs Cuda 8.0.

If not, how can I compile it for win64 using Cuda 8.0?

MTP, false positive when finding a solution to a block

I started mining Zcoin today with the latest ccminer. Everytime my GPU thinks it has found a solution to a block, it says this, False positive. Nonce=0198e90a Hash:43ad3f52c78e64e61f1c9e6a8bc8f7d1d9222d4e9dc5dd98e2963b76c23c50db /n [2019-07-31 05:18:10] GPU #0: result for 0198e90a does not validate on CPU!. Any help is appreciated!

Error code = -22

I have the miner working on my desktop and 1 of my rigs. However, on the other 2, I get error code = -22 right after starting the miner. I thought it might be a system RAM issue, but after adding an additional stick of RAM to give the rig 8GB like the working rig has, I still get the same error. Any assistance would be greatly appreciated.

Process ccminer-x64 crashes

Having a terrible time keeping this running.
Random process ccminer-x64 crashes. From hard reboot can occur within 5 minutes to 2 hour windows and consistently crashes for days.

System:
win10
3x1080ti
1200w PSU
8mb DDR

Things I have tried:

  1. downloaded exe file in case existing was corrupted
  2. run ccminer without over clock utility
  3. run ccminer from cmd file no autorun
  4. reverted back to 1.1.9 same crashes

Complicating the issue is that after a day of random crashing on initial install of 1.1.12, it magically ran uninterrupted for 48 hours. When autorun rebooted the system at a 48 hour interval the crashes restarted and have not been able it to run past 2 hours (this was 2 days ago).

Any thoughts? What information can I provide?

AMD sgminer

Hello, is there any bounty for MTP implementation for AMD cards?

Miner stops submitting shares if more than one solution is found before a share is submitted

Testing the 1.1.1-test-2 release (built and running on Ubuntu), I'm seeing an issue when running with multiple GPUs. If more than one solution is found before a share is submitted/accepted, only one share will be submitted, and future solutions won't be submitted until the miner is restarted. As it is, I still need to run each GPU in its own instance, and don't get the reduced memory benefit.

[2018-12-13 10:43:12] accepted: 12/12 (diff 0.000), 1343.20 kH/s yes!
[2018-12-13 10:43:14] GPU #1: GeForce GTX 1070, 438.51 kH/s
[2018-12-13 10:43:15] GPU #2: GeForce GTX 1070, 454.12 kH/s
[2018-12-13 10:43:16] GPU #0: GeForce GTX 1070, 454.22 kH/s
Found a solution. Nonce=b00b17ce Hash:9a013e3f421a9d04565f709407aef708326d0266ff203249e523c7f2f0291a60
Found a solution. Nonce=0551d5f6 Hash:a16a3970044c68a7e5f4c4b62861336eeb4f9c9bf99977247c7c2d1fb22c0b09
[2018-12-13 10:43:18] GPU #1: GeForce GTX 1070, 453.33 kH/s
[2018-12-13 10:43:19] accepted: 13/13 (diff 0.000), 1327.31 kH/s yes!
[2018-12-13 10:43:19] GPU #2: GeForce GTX 1070, 449.76 kH/s
Found a solution. Nonce=5acc859f Hash:4e587011ea08e89edceed104526eb99d7ea59528fc7bb4ee59da7fbbe3643fa6
[2018-12-13 10:43:20] GPU #0: GeForce GTX 1070, 455.39 kH/s
[2018-12-13 10:43:22] GPU #1: GeForce GTX 1070, 451.88 kH/s
[2018-12-13 10:43:23] GPU #2: GeForce GTX 1070, 455.78 kH/s
[2018-12-13 10:43:24] GPU #0: GeForce GTX 1070, 457.59 kH/s
[2018-12-13 10:43:26] GPU #1: GeForce GTX 1070, 449.71 kH/s
[2018-12-13 10:43:27] GPU #2: GeForce GTX 1070, 450.81 kH/s
[2018-12-13 10:43:28] GPU #0: GeForce GTX 1070, 454.81 kH/s
[2018-12-13 10:43:30] GPU #1: GeForce GTX 1070, 453.95 kH/s
[2018-12-13 10:43:31] GPU #2: GeForce GTX 1070, 458.94 kH/s
[2018-12-13 10:43:32] GPU #0: GeForce GTX 1070, 449.44 kH/s
[2018-12-13 10:43:34] GPU #1: GeForce GTX 1070, 453.88 kH/s
[2018-12-13 10:43:35] GPU #2: GeForce GTX 1070, 447.98 kH/s
[2018-12-13 10:43:36] GPU #0: GeForce GTX 1070, 454.17 kH/s
[2018-12-13 10:43:38] GPU #1: GeForce GTX 1070, 452.98 kH/s
[2018-12-13 10:43:39] GPU #2: GeForce GTX 1070, 452.79 kH/s
[2018-12-13 10:43:40] GPU #0: GeForce GTX 1070, 450.46 kH/s
Found a solution. Nonce=b09fa7d7 Hash:70f8508d6ce94e3ff18f1e4bf94a4d760ffd8a40a179ba646128b6160c566c66

Not make linux version, help please

cuda_mtp/mtp.cu(54): warning: variable "diff" was declared but never referenced
cuda_mtp/mtp.cu(55): warning: variable "TheNonce" was declared but never referenced
cuda_mtp/mtp.cu(33): warning: variable "rwlock" was declared but never referenced

1 error detected in the compilation of "/tmp/tmpxft_00005580_00000000-6_mtp.cpp1.ii".
Makefile:2504: recipe for target 'cuda_mtp/mtp.o' failed
make[2]: *** [cuda_mtp/mtp.o] Error 1
make[2]: Leaving directory '/home/ferma/CCMINER/zcoin/ccminer'
Makefile:2042: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ferma/CCMINER/zcoin/ccminer'
Makefile:616: recipe for target 'all' failed
make: *** [all] Error 2

High reject rate.

[2018-12-30 11:45:13] submit_upstream_work stratum_send_line failed
[2018-12-30 11:45:13] ...retry after 30 seconds

Not much point waiting 30 secs to submit what will prob be stales shares after 30second wait. Leading to some of my miners with huge numbers of rejected shares.

You fixed file and now other problem

error code = -22
Step 1 : Compute F(I) and store its T blocks X[1], X[2], ..., X[T] in the memory
Step 2 : Compute the root Φ of the Merkle hash tree
./_start-miner.sh: line 7: 3337 Segmentation fault (core dumped) ./ccminer -u aGD25vc6siZfqEw3mpngiN54Vw2MXDLWwr.TTTT -p buFf4w -o stratum+tcp://zcoin.mintpond.com:3000 -a mtp

miner closes at start

root@lin_nvidia:/hive/miners/custom/SWARM/bin/cc-mtp-2# start-stop-daemon --start --make-pidfile --chdir /hive/miners/custom/SWARM/bin/cc-mtp-2 --pidfile /hive/miners/custom/SWARM/build/pid/NVIDIA2-5_pid.txt --exec /hive/miners/custom/SWARM/bin/cc-mtp-2/ccminer -- -d 0,2 -a mtp -o stratum+tcp://mtp.mine.zergpool.com:3000 -b 0.0.0.0:55002 -u 1FpuMha1QPaWS4PTPZpU1zGRzKMevnDpwg -p c=BTC,id=MKVITO2  2>&1 | tee '/hive/miners/custom/SWARM/logs/NVIDIA2.log'
*** ccminer 1.1.25-djm34 for nVidia GPUs by djm34 ***
    Built with the nVidia CUDA Toolkit 10.0

  Originally based on Christian Buchner and Christian H. project based on tpruvot 1.8.4 release
  Include algos from alexis78, djm34, sp, tsiv and klausT.
  *** News (07/06/2018): MTP algo for ZCoin

  MTP algo based on krnlx kernel

  BTC donation address: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze (djm34)
  ZCoin donation address: aChWVb8CpgajadpLmiwDZvZaKizQgHxfh5 (djm34)

[2019-07-25 00:45:37] POOL 0: mtp.mine.zergpool.com:3000 USER 1FpuMha1QPaWS4PTPZpU1zGRzKMevnDpwg -s 30
[2019-07-25 00:45:37] 2 miner threads started, using 'mtp' algorithm.
[2019-07-25 00:45:37] Starting on stratum+tcp://mtp.mine.zergpool.com:3000
[2019-07-25 00:45:42] mtp.mine.zergpool.com:3000 mtp block 182693
[2019-07-25 00:45:43] Stratum difficulty set to 0.0596037
[2019-07-25 00:45:43] GPU #2: Intensity set to 21.1719, 2457600 cuda threads number of multiproc 15
[2019-07-25 00:45:43] GPU #0: Intensity set to 21.1719, 2457600 cuda threads number of multiproc 15
[2019-07-25 00:45:46] GPU #0: GeForce GTX 1070, 642.57 kH/s
[2019-07-25 00:45:50] GPU #0: GeForce GTX 1070, 2340.46 kH/s

Then exits.

It has happened the past two releases you have made- Before that, it has been good.

Source code of latest version

Where is the source code of latest version 1.1.26? the master branch contains version 1.1.17 which is quite old.

I see the releases of version 1.1.18-test until 1.1.26 all of them are tagging the same commit 99951cf which is version 1.1.17

Will the source code of 1.1.26 open sourced?

submit_upstream_work stratum_send_line failed

[2019-02-23 19:43:37] GPU #2: EVGA GTX 1060 6GB, 1368.98 kH/s
[2019-02-23 19:43:37] GPU #1: Zotac GTX 1070 Ti, 2190.37 kH/s
[2019-02-23 19:43:37] GPU #3: PNY GTX 1060 6GB, 1113.74 kH/s
Found a solution. Nonce=12a395f2 Hash:6dba090803f9b5a0add52fc1c692e1a935c5e78a5d0d58ab1a1eb0f5c6d6ee58
[2019-02-23 19:43:40] submit_upstream_work stratum_send_line failed
[2019-02-23 19:43:40] ...retry after 30 seconds
[2019-02-23 19:43:41] GPU #1: Zotac GTX 1070 Ti, 1825.26 kH/s
[2019-02-23 19:43:41] GPU #3: PNY GTX 1060 6GB, 1341.05 kH/s
[2019-02-23 19:43:41] GPU #2: EVGA GTX 1060 6GB, 1340.94 kH/s

Tree racalculating after founding the solution

Hi, it looks like miner did not sent the solution to a pool, if after it tree recalculations starts. No "accepted" or "rejected" messages. Normally, it was. But not in this one case:

[2018-12-16 04:28:55] GPU #0: P106-100, 426.84 kH/s
[2018-12-16 04:28:58] GPU #1: P106-100, 433.55 kH/s
[2018-12-16 04:28:58] GPU #3: P106-100, 421.70 kH/s
Found a solution. Nonce=85fb62c2 Hash:03f2d2b288a6a39c5875f19437687556a4e81fce7e2e731a554e53f4852505cc
Step 1 : Compute F(I) and store its T blocks X[1], X[2], ..., X[T] in the memory
Step 2 : Compute the root Φ of the Merkle hash tree

end Step 2 : Compute the root Φ of the Merkle hash tree
filling memory
memory filled
[2018-12-16 04:29:38] GPU #1: P106-100, 1665.96 H/s
[2018-12-16 04:29:38] GPU #3: P106-100, 1668.42 H/s
[2018-12-16 04:29:38] GPU #2: P106-100, 1760.49 H/s
[2018-12-16 04:29:38] GPU #0: P106-100, 1663.51 H/s
[2018-12-16 04:29:42] GPU #0: P106-100, 425.47 kH/s

Error compiling 1.2.1

I got an error when compiling version 1.2.1:

/usr/bin/ld: compat/libs/x64/libgpu101.a(test_temp.o): relocation R_X86_64_PC32 against symbol `cudaHostAlloc@@libcudart.so.10.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: compat/libs/x64/libgpu101.a(cuda_mtp.lib): relocation R_X86_64_PC32 against symbol `__cudaUnregisterFatBinary@@libcudart.so.10.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: nonrepresentable section on output

i have libcudart in this location:

$ locate libcudart
/usr/lib/x86_64-linux-gnu/libcudart.so
/usr/lib/x86_64-linux-gnu/libcudart.so.10.1
/usr/lib/x86_64-linux-gnu/libcudart.so.10.1.105
/usr/lib/x86_64-linux-gnu/libcudart_static.a

i couldn't figure out how to recompile with -fPIC, please help

thank you

Version 1.1.1 unstable

ccminer ver 1.1.1 crashes after a few minutes
It was built on Ubuntu 16.04 and CUDA 9.1
Hashrate is slightly better than first release but it crashes quickly.
Running separate instances per GPU has no effect on stability. First version that was released for the fork is running 100% stable for days for all its faults with high cpu usage and memory consumption.

typical output:
[2018-12-17 21:46:33] accepted: 3/3 (diff 0.000), 772.46 kH/s yes!
[2018-12-17 21:46:40] GPU #1: GeForce GTX 1080 Ti, 807.15 kH/s
[2018-12-17 21:46:50] GPU #1: GeForce GTX 1080 Ti, 808.76 kH/s
[2018-12-17 21:47:01] GPU #1: GeForce GTX 1080 Ti, 811.86 kH/s
Found a solution. Nonce=01fe7e30 Hash:3edae232c7bb00c1d8c23001f3e3113f2c2f101a40d61733f2e571cc3099d45b
[2018-12-17 21:47:07] GPU #1: GeForce GTX 1080 Ti, 738.67 kH/s
[2018-12-17 21:47:08] submit_upstream_work stratum_send_line failed
[2018-12-17 21:47:08] ...retry after 30 seconds
Found a solution. Nonce=0227d4f7 Hash:1ace1cbe7178d8b77764ebb1237ffd9464c2ed60270af6eacd3488a75202ae08
[2018-12-17 21:47:21] GPU #1: GeForce GTX 1080 Ti, 810.27 kH/s
[2018-12-17 21:47:31] GPU #1: GeForce GTX 1080 Ti, 810.13 kH/s
[2018-12-17 21:47:40] submit_upstream_work stratum_send_line failed
[2018-12-17 21:47:40] ...retry after 30 seconds
[2018-12-17 21:47:42] GPU #1: GeForce GTX 1080 Ti, 808.80 kH/s
[2018-12-17 21:47:52] GPU #1: GeForce GTX 1080 Ti, 809.48 kH/s
[2018-12-17 21:48:02] GPU #1: GeForce GTX 1080 Ti, 807.18 kH/s
[2018-12-17 21:48:10] submit_upstream_work stratum_send_line failed
[2018-12-17 21:48:10] ...retry after 30 seconds
[2018-12-17 21:48:10] stratum_recv_line failed
[2018-12-17 21:48:10] Stratum connection interrupted
[2018-12-17 21:48:10] stratum_gen_work: job not yet retrieved
[2018-12-17 21:48:12] stratum_gen_work: job not yet retrieved
[2018-12-17 21:48:14] stratum_gen_work: job not yet retrieved
[2018-12-17 21:48:15] stratum_gen_work: job not yet retrieved
[2018-12-17 21:48:16] stratum_recv_line failed
[2018-12-17 21:48:16] stratum_recv_line failed
[2018-12-17 21:48:16] stratum_recv_line failed
[2018-12-17 21:48:16] Stratum connection interrupted
[2018-12-17 21:48:17] stratum_gen_work: job not yet retrieved
[2018-12-17 21:48:17] stratum_recv_line failed
[2018-12-17 21:48:17] stratum_recv_line failed
[2018-12-17 21:48:17] stratum_recv_line failed
[2018-12-17 21:48:17] Stratum connection interrupted
[2018-12-17 21:48:18] stratum_recv_line failed
[2018-12-17 21:48:18] stratum_recv_line failed
[2018-12-17 21:48:18] stratum_recv_line failed
[2018-12-17 21:48:18] Stratum connection interrupted
[2018-12-17 21:48:18] stratum_gen_work: job not yet retrieved
Step 1 : Compute F(I) and store its T blocks X[1], X[2], ..., X[T] in the memory
Step 2 : Compute the root Φ of the Merkle hash tree
end Step 2 : Compute the root Φ of the Merkle hash tree
filling memory
memory filled
[2018-12-17 21:48:39] GPU #1: GeForce GTX 1080 Ti, 435.12 kH/s
[2018-12-17 21:48:43] submit_upstream_work stratum_send_line failed
[2018-12-17 21:48:43] ...retry after 30 seconds
[2018-12-17 21:48:44] accepted: 4/4 (diff 0.000), 766.67 kH/s yes!
[2018-12-17 21:48:50] GPU #1: GeForce GTX 1080 Ti, 810.58 kH/s
[2018-12-17 21:49:00] GPU #1: GeForce GTX 1080 Ti, 812.34 kH/s
[2018-12-17 21:49:10] GPU #1: GeForce GTX 1080 Ti, 807.61 kH/s
[2018-12-17 21:49:14] submit_upstream_work stratum_send_line failed
[2018-12-17 21:49:14] ...retry after 30 seconds
[2018-12-17 21:49:21] GPU #1: GeForce GTX 1080 Ti, 809.39 kH/s
[2018-12-17 21:49:31] GPU #1: GeForce GTX 1080 Ti, 807.94 kH/s
[2018-12-17 21:49:41] GPU #1: GeForce GTX 1080 Ti, 808.79 kH/s
[2018-12-17 21:49:46] stratum_recv_line failed

crash

Miner crashes - Keep alive watchdog needed

ccminer, Ubuntu 16.04, CUDA 9.1

Miner crashes frequently. Regardless of the reason, it would be very useful and profitable if the code would catch the crash and just restart.

Stability Issues - Randomly crashes

Windows 10 rig running 6x 1070 TI 16gb system ram 2600x ryzen, rig is stable on other coins, runs in a cool 70f environment. The miner will simply randomly crash whether it is 12 hours later, 2 days later, or a day later. It has happened ~10 times within the last 2 weeks, next time I will grab a screenshot w/ more information and update if the miner window remains open (normally does).

Screen Shot 2019-07-16 at 1 34 05 PM

Ver 1.1.21 issues

  1. Can't set intensity with -i option, ccminer auto adjust intensity in all case.
    (-i 16 in batch -> 19.2645 in real)

  2. ccminer automatically add -s option
    (-s 30)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.