Author

Topic: [ANN] cudaMiner & ccMiner CUDA based mining applications [Windows/Linux/MacOSX] - page 291. (Read 3426976 times)

newbie
Activity: 36
Merit: 0
djm34, I don't understand.  That's basically what I was already doing -- I cloned your github tree and tried to build  ( https://github.com/djm34/ccminer ).  But to be sure, I used these steps with the same result:

This is OP right?  https://bitcointalksearch.org/topic/m.7555847

Steps from history:

 1007  wget https://github.com/djm34/ccminer/archive/master.zip
 1008  unzip master
 1009  dir
 1010  cd ccminer-master/
 1011  dir
 1012  chmod +x configure autogen.sh
 1013  ./autogen.sh
 1014  ./configure
 1015  make
 1016  history

I'm building in CentOS 6 with CUDA 5.0.  Versions, directly from the tools:  

[root@localhost ccminer-master]# gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)
[root@localhost ccminer-master]# nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2012 NVIDIA Corporation
Built on Fri_Sep_21_17:28:58_PDT_2012
Cuda compilation tools, release 5.0, V0.2.1221

I've read online that some people have had these nvcc problems go away by changing version of gcc (to 4.6.4).  That seems really odd to me.  Also - in playing around, one time I got it to not give me a signal 4 (Illegal Instruction) and instead give me a signal 11 (Invalid memory reference).  But all I was doing was essentially trying to build more cleanly.  Not quite sure what is going on.  Still searching google but I am a cuda newbie  Smiley

..edit.. Now going to download the significantly newer cuda 6.x release, and retry.


legendary
Activity: 1400
Merit: 1050
Hey djm34,

I'm getting this error trying to build under linux:  never seen this one before/never had trouble before, so not quite sure how to debug.  Tried various permutations of "autoreconf -fi", "./autogen.sh", "./configure", "make clean", "make" and couldn't make progress.


Any thoughts or advice?

-----------

gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -msse2  -fopenmp -pthread -fno-strict-aliasing  -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME   -g -O2 -MT ccminer-scrypt.o -MD -MP -MF .deps/ccminer-scrypt.Tpo -c -o ccminer-scrypt.o `test -f 'scrypt.c' || echo './'`scrypt.c
scrypt.c: In function âscanhash_scryptâ:
scrypt.c:724: warning: implicit declaration of function âscrypt_1024_1_1_256_4wayâ
scrypt.c:729: warning: implicit declaration of function âscrypt_1024_1_1_256_12wayâ
scrypt.c:739: warning: implicit declaration of function âscrypt_1024_1_1_256_3wayâ
mv -f .deps/ccminer-scrypt.Tpo .deps/ccminer-scrypt.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -msse2  -fopenmp -pthread -fno-strict-aliasing  -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME   -g -O2 -MT ccminer-sha2.o -MD -MP -MF .deps/ccminer-sha2.Tpo -c -o ccminer-sha2.o `test -f 'sha2.c' || echo './'`sha2.c
mv -f .deps/ccminer-sha2.Tpo .deps/ccminer-sha2.Po
nvcc -g -O2 -I . -Xptxas "-abi=no -v" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" --maxrregcount=80 --ptxas-options=-v  -o heavy/heavy.o -c heavy/heavy.cu
nvcc error   : 'cicc' died due to signal 4 (Illegal Instruction)
nvcc error   : 'cicc' core dumped
make[2]: *** [heavy/heavy.o] Error 132
make[2]: Leaving directory `/root/miners/ccminer-x15'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/miners/ccminer-x15'
make: *** [all] Error 2

from the OP
"Linux compilation is also possible now:
chmod +x configure autogen.sh     (.zip does not preserve the x bit)
./autogen.sh
./configure
make
legendary
Activity: 1400
Merit: 1050
try the old driver rather than cuda 6 (especially as you didn't compiled)

My previous driver was already old and nothing worked Wink (old cuda and old driver)

Now i have the same problem with the latest display driver and cuda.
I am running out of idea...
From whom did you get the ccminer you were able to run ?
newbie
Activity: 28
Merit: 0
try the old driver rather than cuda 6 (especially as you didn't compiled)

My previous driver was already old and nothing worked Wink (old cuda and old driver)

Now i have the same problem with the latest display driver and cuda.
legendary
Activity: 1400
Merit: 1050
try the old driver rather than cuda 6 (especially as you didn't compiled)
newbie
Activity: 28
Merit: 0
From the device manager: 9.18.13.2660, dated 9.8.2013.

I installed the CUDA 6.0 toolkit with the included drivers, but it seems the GPU driver part didn't go through.

I install CUDA 6.0 now, it's my last chance.
ahu
newbie
Activity: 15
Merit: 0
I installed the last nvidia driver and ccminer x15 still not working on my GTX690

Works for me. Getting around 5500 khash/s with a pair of GTX690's. I'm using an old driver though. GPU utilization fluctuates between 70% and 99%.

What is your command line?

 Cool

Pretty much a copypaste of the test.bat file that was included in the binary package. Which was:

Code:
x86\ccminer.exe -a x15 -o stratum+tcp://bbl.suprnova.cc:3663 -u Miyu.1 -p x

So even this doesn't work for you? My GPU kernel delay (TdrDelay) was modified to 40s, don't know if this helped here.
which driver version are you using (may-be that will help)

From the device manager: 9.18.13.2660, dated 9.8.2013.

I installed the CUDA 6.0 toolkit with the included drivers, but it seems the GPU driver part didn't go through.
newbie
Activity: 36
Merit: 0
Hey djm34,

I'm getting this error trying to build under linux:  never seen this one before/never had trouble before, so not quite sure how to debug.  Tried various permutations of "autoreconf -fi", "./autogen.sh", "./configure", "make clean", "make" and couldn't make progress.


Any thoughts or advice?

-----------

gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -msse2  -fopenmp -pthread -fno-strict-aliasing  -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME   -g -O2 -MT ccminer-scrypt.o -MD -MP -MF .deps/ccminer-scrypt.Tpo -c -o ccminer-scrypt.o `test -f 'scrypt.c' || echo './'`scrypt.c
scrypt.c: In function âscanhash_scryptâ:
scrypt.c:724: warning: implicit declaration of function âscrypt_1024_1_1_256_4wayâ
scrypt.c:729: warning: implicit declaration of function âscrypt_1024_1_1_256_12wayâ
scrypt.c:739: warning: implicit declaration of function âscrypt_1024_1_1_256_3wayâ
mv -f .deps/ccminer-scrypt.Tpo .deps/ccminer-scrypt.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -msse2  -fopenmp -pthread -fno-strict-aliasing  -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME   -g -O2 -MT ccminer-sha2.o -MD -MP -MF .deps/ccminer-sha2.Tpo -c -o ccminer-sha2.o `test -f 'sha2.c' || echo './'`sha2.c
mv -f .deps/ccminer-sha2.Tpo .deps/ccminer-sha2.Po
nvcc -g -O2 -I . -Xptxas "-abi=no -v" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" --maxrregcount=80 --ptxas-options=-v  -o heavy/heavy.o -c heavy/heavy.cu
nvcc error   : 'cicc' died due to signal 4 (Illegal Instruction)
nvcc error   : 'cicc' core dumped
make[2]: *** [heavy/heavy.o] Error 132
make[2]: Leaving directory `/root/miners/ccminer-x15'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/miners/ccminer-x15'
make: *** [all] Error 2
legendary
Activity: 1400
Merit: 1050
I installed the last nvidia driver and ccminer x15 still not working on my GTX690

Works for me. Getting around 5500 khash/s with a pair of GTX690's. I'm using an old driver though. GPU utilization fluctuates between 70% and 99%.

What is your command line?

 Cool

Pretty much a copypaste of the test.bat file that was included in the binary package. Which was:

Code:
x86\ccminer.exe -a x15 -o stratum+tcp://bbl.suprnova.cc:3663 -u Miyu.1 -p x

So even this doesn't work for you? My GPU kernel delay (TdrDelay) was modified to 40s, don't know if this helped here.
which driver version are you using (may-be that will help)
newbie
Activity: 28
Merit: 0

Pretty much a copypaste of the test.bat file that was included in the binary package. Which was:

Code:
x86\ccminer.exe -a x15 -o stratum+tcp://bbl.suprnova.cc:3663 -u Miyu.1 -p x

So even this doesn't work for you? My GPU kernel delay (TdrDelay) was modified to 40s, don't know if this helped here.

How can i change the TdrDelay?

Thanks

It was mentioned in some bounty thread here. Save this in a .reg file and open it in Windows exporer:

Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers]
"TdrDelay"=dword:00000028

Ok thanks but it doesn't work again.

I will work on my problem i come back tomorrow.

 Cool
ahu
newbie
Activity: 15
Merit: 0

Pretty much a copypaste of the test.bat file that was included in the binary package. Which was:

Code:
x86\ccminer.exe -a x15 -o stratum+tcp://bbl.suprnova.cc:3663 -u Miyu.1 -p x

So even this doesn't work for you? My GPU kernel delay (TdrDelay) was modified to 40s, don't know if this helped here.

How can i change the TdrDelay?

Thanks

It was mentioned in some bounty thread here. Save this in a .reg file and open it in Windows exporer:

Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers]
"TdrDelay"=dword:00000028
newbie
Activity: 28
Merit: 0

Pretty much a copypaste of the test.bat file that was included in the binary package. Which was:

Code:
x86\ccminer.exe -a x15 -o stratum+tcp://bbl.suprnova.cc:3663 -u Miyu.1 -p x

So even this doesn't work for you? My GPU kernel delay (TdrDelay) was modified to 40s, don't know if this helped here.

How can i change the TdrDelay?

Thanks
legendary
Activity: 2282
Merit: 1051
unnamed.Exchange, join the Cool Kids!!!
short question :-)

https://bitcointalk.org/index.php?topic=644601.new#new

About Script-N-Fixed

Why Script-N-Fixed instead of Script-N-Adaptive?

1. Script-N-Adaptive might not match the advancement of semiconductor technology.
   We expect the evolution of miniaturization technology to clog up at around 12nm.

2. When the N-Factor increments, there is a possibility that the failure occurs in the network.
   We expect significant disruption will occur.

So we adopted the Script-N-Fixed.

You can use FujiCoin in peace forever.  Wink




this would be => --algo=scrypt:2048 is this correct ?
newbie
Activity: 2
Merit: 0
So i've been trying to start my cudaminer, I am running a EVGA GTX 590, but ran into a very very frustrating problem.
I already updated my drivers to the latest 337.88 WHQL, also running latest cudaminer and made sure my bat file lines are correct.
Well when i run my cudaminer here is what pops up
http://i58.tinypic.com/2wgf21y.jpg
Well when i run it, it doesnt display anything else and soon starts to freeze/lock up and have to force a restart.

If anyone can assist please do! In need of help!!
legendary
Activity: 914
Merit: 1001
ok, I have released the source of the x15 ccminer.

It can be found here: https://github.com/djm34/ccminer
compilation on windows takes forever (sorry for that).
It should compile on linux (I fixed the Makefile.am), if anything is missing let me know...

To run x15 "ccminer -a x15"
as previously said, it is far from perfect (gpu usage rather low around 80%, so there are room for optimisation... and exceptionally the 780ti runs at 74°C).
I get at the moment (started on the previous compilation):

1467MHash/s for the 750ti
2900MHash/s for the 780ti (on supernova...)

which repository did you use as base? the official one, or the one from tsiv with cryptonight? anyway, thanks for you work, I'll test it when I have time (if it compiles on my ubuntu os ^^)

ok, tested the x15 implementation:

5x750Ti under Ubuntu 14.10 = ~6.9MH @ 350Watt
legendary
Activity: 2282
Merit: 1051
unnamed.Exchange, join the Cool Kids!!!
ahu
newbie
Activity: 15
Merit: 0
I installed the last nvidia driver and ccminer x15 still not working on my GTX690

Works for me. Getting around 5500 khash/s with a pair of GTX690's. I'm using an old driver though. GPU utilization fluctuates between 70% and 99%.

What is your command line?

 Cool

Pretty much a copypaste of the test.bat file that was included in the binary package. Which was:

Code:
x86\ccminer.exe -a x15 -o stratum+tcp://bbl.suprnova.cc:3663 -u Miyu.1 -p x

So even this doesn't work for you? My GPU kernel delay (TdrDelay) was modified to 40s, don't know if this helped here.
legendary
Activity: 1400
Merit: 1050
scrypt-jane:11 (if I remember well)
legendary
Activity: 2282
Merit: 1051
unnamed.Exchange, join the Cool Kids!!!
is there any command to specifiy N Faktor " 11 " if i was mining with the  scrypt jane algo ?
full member
Activity: 168
Merit: 100
It did the same thing to me also.
Jump to: