Author

Topic: [ANN] ccminer 2.3 - opensource - GPL (tpruvot) - page 159. (Read 500193 times)

newbie
Activity: 6
Merit: 0
1.6.4 compiled fine with my machine, ubuntu 15.04 x64

just wondering if the password are parsed in a different way between 1.6.3 and 1.6.4? I am mining with nicehash with the option (multialgo weightings)
Code:
--pass="f0=0;f2=0;f3=2.7;f4=1.9;f5=99;f6=1.8;f7=7.9;f8=0;f9=0.45;f10=0;f11=4.3;f12=3.9"

under ccminer 1.6.3 i get assigned quark with their multialgo, but i get assigned lyre2re under ccminer 1.6.4

the pool option doesn't respect the "algo" parameter set inside the pool, guess it haven't been implemented yet?

legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
i guess you have an old version of jansson... there is the 2.6 in compat folder

compat/jansson/jansson.h:151:#define json_array_foreach(array, index, value) \


edit: i build with the 2.5 on my ubuntu 14.04.2 machine :
libjansson-dev:amd64                                  2.5-2

edit2: my debian 7 machine also build fine with the 2.3.1-2
newbie
Activity: 1
Merit: 0
In the latest code, v1.6.4, I'm getting the following build error:

Code:
g++ -DHAVE_CONFIG_H -I.  -fopenmp  -pthread -fno-strict-aliasing  -I/usr/local/cuda/include -DUSE_WRAPNVML -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME   -O3 -march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16 -MT ccminer-api.o -MD -MP -MF .deps/ccminer-api.Tpo -c -o ccminer-api.o `test -f 'api.cpp' || echo './'`api.cpp
ccminer.cpp: In function 'void show_usage_and_exit(int)':
ccminer.cpp:2583:15: warning: format not a string literal and no format arguments [-Wformat-security]
ccminer.cpp:2585:22: warning: format not a string literal and no format arguments [-Wformat-security]
ccminer.cpp: In function 'bool parse_pool_array(json_t*)':
ccminer.cpp:3042:32: error: 'json_array_foreach' was not declared in this scope
ccminer.cpp:3043:2: error: expected ';' before '{' token
ccminer.cpp:3513:1: error: expected '}' at end of input
make[2]: *** [ccminer-ccminer.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/ccminer-hefty1.Tpo .deps/ccminer-hefty1.Po
mv -f .deps/ccminer-api.Tpo .deps/ccminer-api.Po
mv -f .deps/ccminer-util.Tpo .deps/ccminer-util.Po
make[2]: Leaving directory `/home/ubuntu/ccminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ubuntu/ccminer'
make: *** [all] Error 2
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
indeed thanks... dont had the problem here but seems logic.
member
Activity: 111
Merit: 10
From a fresh git clone I'm getting a compiling error (Ubuntu 14.04: compiled before, and can compile other current branches).  I'm not sure if it is from my wonky machine but:

Code:
nvcc -I. -I/usr/local/cuda/include  -gencode=arch=compute_20,code=\"sm_21,compute_20\" -o scrypt/salsa_kernel.o -c scrypt/salsa_kernel.cu
nvcc -I. -I/usr/local/cuda/include  -gencode=arch=compute_20,code=\"sm_20,compute_20\" -o scrypt/test_kernel.o -c scrypt/test_kernel.cu
In file included from scrypt/salsa_kernel.h:10:0,
                 from scrypt/salsa_kernel.cu:13:
./miner.h:14:21: fatal error: jansson.h: No such file or directory
 #include
                     ^
compilation terminated.
make[2]: *** [scrypt/salsa_kernel.o] Error 1
make[2]: *** Waiting for unfinished jobs....

If I updated the Makefile.am with:

line 130:
-    $(NVCC) -I. @CUDA_INCLUDES@ @CUDA_CFLAGS@ -gencode=arch=compute_20,code=\"sm_21,compute_20\" -o $@ -c $<
+      $(NVCC) -gencode=arch=compute_20,code=\"sm_21,compute_20\" @CUDA_INCLUDES@ -I. @CUDA_CFLAGS@ $(JANSSON_INCLUDES) -o $@ -c $<

It compiled, up to the next part of the Makefile.am "scrypt/test_kernel.o: scrypt/test_kernel.cu", which failed, but when edited similarily, along with the next three kernels, everything compiled.  Again, not sure if it is just my wonky machine but wanted to mention it.

newbie
Activity: 2
Merit: 0
Getting roughly 6370kH/s out of a 780 ti:

http://i.imgur.com/nZvxdup.png
legendary
Activity: 1456
Merit: 1006
Mining Pool Hub
We are running http://miningpoolhub.com

As we provide auto switching between multi algo like this batch file.



:start

ccminer-30-35-50-52.exe -r 0 -a x11 -o stratum+tcp://hub.miningpoolhub.com:12007 -u coincoin.ccminer -p x
ccminer-30-35-50-52.exe -r 0 -a x13 -o stratum+tcp://hub.miningpoolhub.com:12008 -u coincoin.ccminer -p x
ccminer-30-35-50-52.exe -r 0 -a myr-gr -o stratum+tcp://hub.miningpoolhub.com:12005 -u coincoin.ccminer -p x


sleep 3000
timeout 3
goto start


ccminer crashes when connection is refused. It works time to time but crashes time to time.
Actually https://github.com/cbuchner1/ccminer doesn't crashes
but https://github.com/tpruvot/ccminer crashes.

Our server send authorize failure message and disconnect when multi algo switching need to work.
Please fix this bug.


'coincoin' is our test username. You can test it right away without setting hub or anything on our site.
legendary
Activity: 1764
Merit: 1024
Would you consider adding support for Cryptonote? TSIV hasn't updated his miner in ages and Monero is still very lucrative.
member
Activity: 116
Merit: 10
hmm right, you need to checkout a previous tagged version, 1.6.3 is still under dev... for this reason (neoscrypt is not compatible with SM 3.0)

Aha, well now I don't feel so confused, haha. Surely I can get it working now! Thanks for the help and good work on the project Smiley
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
hmm right, you need to checkout a previous tagged version, 1.6.3 is still under dev... for this reason (neoscrypt is not compatible with SM 3.0)
member
Activity: 116
Merit: 10
read the last messages in the thread (12 Apr)

Lol, can't believe I missed that in the search Roll Eyes But I did that and the build resulted with this:

...[lots more sm_32 errors]
Code:
ptxas /tmp/tmpxft_00001194_00000000-5_cuda_neoscrypt.ptx, line 10135; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas fatal   : Ptx assembly aborted due to errors
make[2]: *** [neoscrypt/cuda_neoscrypt.o] Error 255

It seems to compile fine other than a few algos. I tried a few things until I got the compile to work with changing the nvcc arch command to
Code:
nvcc_ARCH = -gencode=arch=compute_32,code=\"sm_32,compute_32\"

Which compiles, but still throws the same error on runtime, obviously because my arch is compute_30. Same thing happens if I specify compute_35/sm_35. So I tried a few other things, like leaving the rest of the Makefile.am alone, and only changing the arch target for skein:
Code:
skein2.o: skein2.cu
        $(NVCC) -I. @CUDA_INCLUDES@ @CUDA_CFLAGS@ -gencode=arch=compute_30,code=\"sm_30,compute_30\" --maxrregcount=64 -o $@ -c $<

Same thing. Compile runs without a hitch, but the crash still happens with skein512_cpu_setBlock_80. Any other ideas?  Cheesy
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
read the last messages in the thread (12 Apr)
legendary
Activity: 2002
Merit: 1051
ICO? Not even once.
Code:
Cuda error in func 'skein512_cpu_setBlock_80' at line 957 : invalid device symbol.

That usually means the binaries are not compatible with your card's compute version. Probably 3.5 is required for the binaries. Not 100% sure though.
member
Activity: 116
Merit: 10
I'm having an issue here with the error:

Code:
Cuda error in func 'skein512_cpu_setBlock_80' at line 957 : invalid device symbol.

Strangely enough, I'm running a 660ti (Compute 3.0) and have ccminer compiling/running x11 just fine with the same setup. Although I don't think it's quite the latest version(Edit: It's actually quite old, but still uses cuda 6.5), it works with nvidia-331 and nvidia-346. All I have to do is export the cuda lib64 path before running. Here are the juicy infos:

Code:
nobody@abyss:~$ uname -a
Linux abyss 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
"Ubuntu 14.04"

Code:
nobody@abyss:~$ lspci
06:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 660 Ti] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Device 196e:1000
        Flags: bus master, fast devsel, latency 0, IRQ 45
        Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d8000000 (64-bit, prefetchable) [size=128M]
        Memory at e6000000 (64-bit, prefetchable) [size=32M]
        I/O ports at 6c00 [size=128]
        [virtual] Expansion ROM at e0000000 [disabled] [size=512K]
        Capabilities:
        Kernel driver in use: nvidia

Code:
nobody@abyss:~$ /usr/local/cuda/bin/nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2014 NVIDIA Corporation
Built on Thu_Jul_17_21:41:27_CDT_2014
Cuda compilation tools, release 6.5, V6.5.12

Installed packages(no errors):
Code:
nobody@abyss:~$ dpkg -l | grep 'ii  nvidia'
ii  nvidia-346                                346.46-0ubuntu1                                     amd64        NVIDIA binary driver - version 346.46
ii  nvidia-346-dev                            346.46-0ubuntu1                                     amd64        NVIDIA binary Xorg driver development files
ii  nvidia-346-uvm                            346.46-0ubuntu1                                     amd64        NVIDIA Unified Memory kernel module
ii  nvidia-modprobe                           346.46-0ubuntu1                                     amd64        Load the NVIDIA kernel driver and create device files
ii  nvidia-opencl-icd-346                     346.46-0ubuntu1                                     amd64        NVIDIA OpenCL ICD
ii  nvidia-prime                              0.6.2                                               amd64        Tools to enable NVIDIA's Prime
ii  nvidia-settings                           346.46-0ubuntu1                                     amd64        Tool for configuring the NVIDIA graphics driver

nobody@abyss:~$ dpkg -l | grep 'ii  cuda'
ii  cuda-6-5                                  6.5-14                                              amd64        CUDA 6.5 meta-package
ii  cuda-command-line-tools-6-5               6.5-14                                              amd64        CUDA command-line tools
ii  cuda-core-6-5                             6.5-14                                              amd64        CUDA core tools
ii  cuda-cublas-6-5                           6.5-14                                              amd64        CUBLAS native runtime libraries
ii  cuda-cublas-dev-6-5                       6.5-14                                              amd64        CUBLAS native dev links, headers
ii  cuda-cudart-6-5                           6.5-14                                              amd64        CUDA Runtime native Libraries
ii  cuda-cudart-dev-6-5                       6.5-14                                              amd64        CUDA Runtime native dev links, headers
ii  cuda-cufft-6-5                            6.5-14                                              amd64        CUFFT native runtime libraries
ii  cuda-cufft-dev-6-5                        6.5-14                                              amd64        CUFFT native dev links, headers
ii  cuda-curand-6-5                           6.5-14                                              amd64        CURAND native runtime libraries
ii  cuda-curand-dev-6-5                       6.5-14                                              amd64        CURAND native dev links, headers
ii  cuda-cusparse-6-5                         6.5-14                                              amd64        CUSPARSE native runtime libraries
ii  cuda-cusparse-dev-6-5                     6.5-14                                              amd64        CUSPARSE native dev links, headers
ii  cuda-documentation-6-5                    6.5-14                                              amd64        CUDA documentation
ii  cuda-driver-dev-6-5                       6.5-14                                              amd64        CUDA Driver native dev stub library
ii  cuda-drivers                              346.46-1                                            amd64        CUDA Driver meta-package
ii  cuda-license-6-5                          6.5-14                                              amd64        CUDA licenses
ii  cuda-misc-headers-6-5                     6.5-14                                              amd64        CUDA misc headers
ii  cuda-npp-6-5                              6.5-14                                              amd64        NPP native runtime libraries
ii  cuda-npp-dev-6-5                          6.5-14                                              amd64        NPP native dev links, headers
ii  cuda-runtime-6-5                          6.5-14                                              amd64        CUDA Runtime 6.5 meta-package
ii  cuda-samples-6-5                          6.5-14                                              amd64        CUDA example applications
ii  cuda-toolkit-6-5                          6.5-14                                              amd64        CUDA Toolkit 6.5 meta-package
ii  cuda-visual-tools-6-5                     6.5-14                                              amd64        CUDA visual tools

Here is the full output of your ccminer branch:
Code:
nobody@abyss:~$ ./log-mine-nv-suprnova.sh 
*** ccminer 1.6.3-git for nVidia GPUs by tpruvot@github ***
    Built with the nVidia CUDA SDK 6.5

  Originally based on Christian Buchner and Christian H. project
  Include some of the work of djm34, sp, tsiv and klausT.

BTC donation address: 1AJdfCpLWPNoAMDfHF1wD5y8VgKSSTHxPo (tpruvot)

[2015-05-08 02:00:37] Starting on stratum+tcp://wood.suprnova.cc:1158
[2015-05-08 02:00:37] restart_threads
[2015-05-08 02:00:37] NVML application clock feature is allowed
[2015-05-08 02:00:37] CUDA GPU#0 matches NVML GPU 0 by busId 6
[2015-05-08 02:00:37] NVML GPU monitoring enabled.
[2015-05-08 02:00:37] 1 miner thread started, using 'skein2' algorithm.
[2015-05-08 02:00:37] Stratum difficulty set to 0.00390625
[2015-05-08 02:00:38] sleeptime: 500 ms
[2015-05-08 02:00:38] DEBUG: job_id=54c50fd 193e xnonce2=00000000 time=02:00:29
[2015-05-08 02:00:38] job 54c50fd 193e target change: ffff000000 (1.0)
[2015-05-08 02:00:38] GPU #0: start=00000000 end=000fffff range=000fffff
[2015-05-08 02:00:38] DEBUG: job_id=54c50fd 193e xnonce2=01000000 time=02:00:29
[2015-05-08 02:00:38] wood.suprnova.cc:1158 skein2 block 136203
[2015-05-08 02:00:38] restart_threads
Cuda error in func 'skein512_cpu_setBlock_80' at line 957 : invalid device symbol.

And here is the script to produce the output.
Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64
src/ccminer-skein/ccminer -a skein2 -o stratum+tcp://wood.suprnova.cc:1158 -u tryphe.w0 -p x --debug

'ccminer --version' outputs:
(x11 miner)
Code:
ccminer 2014.06.15
libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
(tpruvot miner)
Code:
ccminer v1.6.3-git
libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3

It doesn't matter if I use 331 or 346 to compile/run (either or both). It doesn't matter if I set CUDA_paths or the LD_LIB paths to either the 'cuda-6.5' or 'cuda' directories because they point to the same data.

Any ideas?  Smiley Thanks in advance.
member
Activity: 111
Merit: 10
auto is without the param
OK, that is what I thought.  Thanks.
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
auto is without the param
member
Activity: 111
Merit: 10
I was just wondering if there was a way to set auto intensity?  Before I was able to set it with --intensity=0 but that doesn't seem to work any more.  Thanks.
sr. member
Activity: 330
Merit: 252
Hey Epsylon,
  I want to thank you very much for all the fantastic work on you ccminer git!

  • first open source ZRC miner
  • brand new integration of scrypt-jane stuff in ccminer
  • last but not least - your github is the base for most of the other ccminer dev's - I hope they donate for your work too

"awsome" is the right expression for what you do!

Have send a bunch of dash for you - and hope some of the other miners will join!
sr. member
Activity: 299
Merit: 250
1.6.1 released...
thanks!
before i have 1830kh -->> after 2030kh! awesome!
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
1.6.1 released...
Jump to: