Author

Topic: CCminer(SP-MOD) Modded NVIDIA Maxwell / Pascal kernels. - page 1075. (Read 2347601 times)

legendary
Activity: 1470
Merit: 1114
Cuda 7.0 is not supported. Use cuda 6.5

no problem I dl 6.5 and tried to install... it said no compatible hardware found... i installed anyway..

now I get 41 errors when trying to compile.. 

I am sure I did something wrong here because if it can get messed up I will find a way to do just that.

No compatible hardware error is a driver installation issue. The cuda package include drivers but
they can, and should, be skipped during cuda installation. You probably already have a newer driver
that will get overwritten. In fact you can install cuda and compile ccminer without any GPU HW.

The compile problems and driver error are either not related or may have the same root cause.
If you have a compatible Nvidia GPU in your system and the driver install fails you should try
to fix that before trying anything with cuda.

Keep in mind I am also a newbie when it comes to compiling on Windows. If the procedure I posted
doesn't work I'm as lost as anyone.
member
Activity: 75
Merit: 10
I am very curious to see what changed between 50 and 51 for quark because 51 just does not hash as fast as 50 for me... by at least 500 h/s over time
member
Activity: 75
Merit: 10
Cuda 7.0 is not supported. Use cuda 6.5

no problem I dl 6.5 and tried to install... it said no compatible hardware found... i installed anyway..

now I get 41 errors when trying to compile.. 

I am sure I did something wrong here because if it can get messed up I will find a way to do just that.
sp_
legendary
Activity: 2926
Merit: 1087
Team Black developer
Cuda 7.0 is not supported. Use cuda 6.5
member
Activity: 75
Merit: 10
when I try to load the project I get an error
ccminer-windows\ccminer-windows\ccminer.vcxproj : error  : Unable to read the project file "ccminer.vcxproj".

C:\ccminer-windows\ccminer.vcxproj(57,5): The imported project "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\CUDA 6.5.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

I opened up the vcxproj in notepad and edited the two lines to reference CUDA 7.0.props

Now I can open the project....
and compile seemed to work and runs but I am not getting any of the hashes to validate on CPU

So I have a couple of questions.

in your list of steps you say to verify release, 32   ( not sure what you mean here. ) ?? EDIT 5/31/15 ( NM I found it)

then in the device > Code generation> Specifies the names of the NVIDIA GPUs to generate code for and the class of the NVIDIA GPU architectures for which the input files must be compiled..

it specifies that Valid Values for each code are compute_20, compute_30, compute_35, compute_50, sm_20, sm_30, sm_35, sm_50

is there a more complete list ?? because when I look in the properties>Device>Code Generation :
I see compute_50,sm_50,compute_52,sm_52

where is the list of compute codes and their associated cards ??


legendary
Activity: 1470
Merit: 1114
@sp_

I'm getting nothing. No shares are being solved. According to GPUTweak..the power % is jumping all over the scale, voltage is constant 1093mV, temp does rise as if it is working, vram usage is very low yet GPU usage would indicate it is mining, but I get no shares accepted. Did get a couple rejects /w reason...H-not-zero.

ASUS GTX750Ti DFseries 2GB /w 6pin ribbon. Ran in OC as well as stock. Just -a blake.  Not a very good pool tho. Had trouble getting into, ..slow. Will look for a better pool.

edit: just tried to solo and again nothing, no connect. is port 8772 correct?  Oh, when I say nothing, I mean that the .bat runs, but isn't giving much info. I did get the one above tho. Maybe that will help.

      reject reason......H-not-zero

I think a lot of these tweaks to algos are done intentionally to break compatibility with current miners,
particularly ASIC miners.
hero member
Activity: 1064
Merit: 500
MOBU
@sp_

I'm getting nothing. No shares are being solved. According to GPUTweak..the power % is jumping all over the scale, voltage is constant 1093mV, temp does rise as if it is working, vram usage is very low yet GPU usage would indicate it is mining, but I get no shares accepted. Did get a couple rejects /w reason...H-not-zero.

ASUS GTX750Ti DFseries 2GB /w 6pin ribbon. Ran in OC as well as stock. Just -a blake.  Not a very good pool tho. Had trouble getting into, ..slow. Will look for a better pool.

edit: just tried to solo and again nothing, no connect. is port 8772 correct?  Oh, when I say nothing, I mean that the .bat runs, but isn't giving much info. I did get the one above tho. Maybe that will help.

      reject reason......H-not-zero
sp_
legendary
Activity: 2926
Merit: 1087
Team Black developer
Try -a blake. 250mhash on the 750ti
hero member
Activity: 1064
Merit: 500
MOBU
What do ya know...ccminer.exe compile worked. Next question....what do I delete now...everything in that dir or do I keep it.

Thank you again....think I'll copy those instructions and save 'em someplace.

That was fast. You only really need ccminer.exe. You can delete the rest of the tree.

Edit: For the really addventurous you can also compile in a VM. The only difference is don't
install the drivers with cuda. Probably shouln't do that in any case if you already have
newer drivers already iinstalled. I do that on a linux host because that system has the fastest cpu.

As I said in an earlier post, I've tried to compile in the past, but I musta missed a step or something. Your explanation was very good, easy to follow. Already had the needed programs installed. I tired it with git-work ( or whatever it is) a few times also..didn't work out well. I've saved the instructions...we'll see if I can get it to work, in the future.  Thanks....


edit: now if I could just find out what the difference is between scryptN, scryptNf (same or not), and blake, blake2b (same or not)? And do those use the same miner setup? It gets confusing when the names are so close.   Angry

scrypt is good old scrypt with n factor of 1
scrypt-N uses double the memory per hash and this is fixed.(n factor fixed at 2)
scrypt-N factor has changing/increasing memory requirement with time and you have to change your .bat every time as GPU's memory is fixed.(N factor 2-16 with time, most i have seen)

Does this help? I dont know about blake.

Hmmm no.
Plain scrypt has an n-factor of 10.
Scrypt-n, as in vertcoin and many others, starts at 11 and goes up with time (see the vertcoin thread).
Scrypt with adaptive n-factor, or scrypt-jane, like in yacoin, has a different algorithm for the n-factor and different hash.

OK ?  Back to my question.....are these algos able to be mined with ccminer (/w adjustments)? And does something similar go on /w the 2 blake algos. I don't think I'll ever mine any of them (/w the exception of scrypt) but it would be nice to know if I could.
legendary
Activity: 2716
Merit: 1094
Black Belt Developer
What do ya know...ccminer.exe compile worked. Next question....what do I delete now...everything in that dir or do I keep it.

Thank you again....think I'll copy those instructions and save 'em someplace.

That was fast. You only really need ccminer.exe. You can delete the rest of the tree.

Edit: For the really addventurous you can also compile in a VM. The only difference is don't
install the drivers with cuda. Probably shouln't do that in any case if you already have
newer drivers already iinstalled. I do that on a linux host because that system has the fastest cpu.

As I said in an earlier post, I've tried to compile in the past, but I musta missed a step or something. Your explanation was very good, easy to follow. Already had the needed programs installed. I tired it with git-work ( or whatever it is) a few times also..didn't work out well. I've saved the instructions...we'll see if I can get it to work, in the future.  Thanks....


edit: now if I could just find out what the difference is between scryptN, scryptNf (same or not), and blake, blake2b (same or not)? And do those use the same miner setup? It gets confusing when the names are so close.   Angry

scrypt is good old scrypt with n factor of 1
scrypt-N uses double the memory per hash and this is fixed.(n factor fixed at 2)
scrypt-N factor has changing/increasing memory requirement with time and you have to change your .bat every time as GPU's memory is fixed.(N factor 2-16 with time, most i have seen)

Does this help? I dont know about blake.

Hmmm no.
Plain scrypt has an n-factor of 10.
Scrypt-n, as in vertcoin and many others, starts at 11 and goes up with time (see the vertcoin thread).
Scrypt with adaptive n-factor, or scrypt-jane, like in yacoin, has a different algorithm for the n-factor and different hash.
hero member
Activity: 1064
Merit: 500
MOBU
What do ya know...ccminer.exe compile worked. Next question....what do I delete now...everything in that dir or do I keep it.

Thank you again....think I'll copy those instructions and save 'em someplace.

That was fast. You only really need ccminer.exe. You can delete the rest of the tree.

Edit: For the really addventurous you can also compile in a VM. The only difference is don't
install the drivers with cuda. Probably shouln't do that in any case if you already have
newer drivers already iinstalled. I do that on a linux host because that system has the fastest cpu.

As I said in an earlier post, I've tried to compile in the past, but I musta missed a step or something. Your explanation was very good, easy to follow. Already had the needed programs installed. I tired it with git-work ( or whatever it is) a few times also..didn't work out well. I've saved the instructions...we'll see if I can get it to work, in the future.  Thanks....


edit: now if I could just find out what the difference is between scryptN, scryptNf (same or not), and blake, blake2b (same or not)? And do those use the same miner setup? It gets confusing when the names are so close.   Angry

scrypt is good old scrypt with n factor of 1
scrypt-N uses double the memory per hash and this is fixed.(n factor fixed at 2)
scrypt-N factor has changing/increasing memory requirement with time and you have to change your .bat every time as GPU's memory is fixed.(N factor 2-16 with time, most i have seen)

Does this help? I dont know about blake.

Some....does that mean that they can be mined with the same program (ie, ccminer), but you have to use the 'switches' to adjust for the (sounds like) slight differences (mem requirements) in algo?
hero member
Activity: 840
Merit: 1000
What do ya know...ccminer.exe compile worked. Next question....what do I delete now...everything in that dir or do I keep it.

Thank you again....think I'll copy those instructions and save 'em someplace.

That was fast. You only really need ccminer.exe. You can delete the rest of the tree.

Edit: For the really addventurous you can also compile in a VM. The only difference is don't
install the drivers with cuda. Probably shouln't do that in any case if you already have
newer drivers already iinstalled. I do that on a linux host because that system has the fastest cpu.

As I said in an earlier post, I've tried to compile in the past, but I musta missed a step or something. Your explanation was very good, easy to follow. Already had the needed programs installed. I tired it with git-work ( or whatever it is) a few times also..didn't work out well. I've saved the instructions...we'll see if I can get it to work, in the future.  Thanks....


edit: now if I could just find out what the difference is between scryptN, scryptNf (same or not), and blake, blake2b (same or not)? And do those use the same miner setup? It gets confusing when the names are so close.   Angry

scrypt is good old scrypt with n factor of 1
scrypt-N uses double the memory per hash and this is fixed.(n factor fixed at 2)
scrypt-N factor has changing/increasing memory requirement with time and you have to change your .bat every time as GPU's memory is fixed.(N factor 2-16 with time, most i have seen)

Does this help? I dont know about blake.
hero member
Activity: 1064
Merit: 500
MOBU
Anyone using some 960s? What are you getting for Quark/X11/Neo?
I assume ccminer doesn't scale and needs to be tailored to each cards gen.

you can get 10mhash if you overclock. With standard clocks around 9.2 Mhash



GTX 960--

Mining Quark, I get 10.5Mh/s with +80mhz/240mhz core/mem on the 2gb 960 SSC card with default intensity.  It runs on Win 7 x64.

--scryptr

Thanks for the replies, so it's pretty much on par with it's price point ($200 vs $300 970).

Still looks like the 750tis are the best buy, but they suck balls for density.

Does it pay to OC memory at all? It doesn't seem like memory clocks matter at all with Nvidia compared to AMD.

I can tell you that on my 750Ti...what you do with the mem clock matters quite a bit. Surprisingly, I underclock the mem on 1 of my settings to keep it stable.
legendary
Activity: 1764
Merit: 1024
Anyone using some 960s? What are you getting for Quark/X11/Neo?
I assume ccminer doesn't scale and needs to be tailored to each cards gen.

you can get 10mhash if you overclock. With standard clocks around 9.2 Mhash



GTX 960--

Mining Quark, I get 10.5Mh/s with +80mhz/240mhz core/mem on the 2gb 960 SSC card with default intensity.  It runs on Win 7 x64.

--scryptr

Thanks for the replies, so it's pretty much on par with it's price point ($200 vs $300 970).

Still looks like the 750tis are the best buy, but they suck balls for density.

Does it pay to OC memory at all? It doesn't seem like memory clocks matter at all with Nvidia compared to AMD.
hero member
Activity: 1064
Merit: 500
MOBU
What do ya know...ccminer.exe compile worked. Next question....what do I delete now...everything in that dir or do I keep it.

Thank you again....think I'll copy those instructions and save 'em someplace.

That was fast. You only really need ccminer.exe. You can delete the rest of the tree.

Edit: For the really addventurous you can also compile in a VM. The only difference is don't
install the drivers with cuda. Probably shouln't do that in any case if you already have
newer drivers already iinstalled. I do that on a linux host because that system has the fastest cpu.

As I said in an earlier post, I've tried to compile in the past, but I musta missed a step or something. Your explanation was very good, easy to follow. Already had the needed programs installed. I tired it with git-work ( or whatever it is) a few times also..didn't work out well. I've saved the instructions...we'll see if I can get it to work, in the future.  Thanks....


edit: now if I could just find out what the difference is between scryptN, scryptNf (same or not), and blake, blake2b (same or not)? And do those use the same miner setup? It gets confusing when the names are so close.   Angry
legendary
Activity: 1470
Merit: 1114
What do ya know...ccminer.exe compile worked. Next question....what do I delete now...everything in that dir or do I keep it.

Thank you again....think I'll copy those instructions and save 'em someplace.

That was fast. You only really need ccminer.exe. You can delete the rest of the tree.

Edit: For the really addventurous you can also compile in a VM. The only difference is don't
install the drivers with cuda. Probably shouln't do that in any case if you already have
newer drivers already iinstalled. I do that on a linux host because that system has the fastest cpu.
hero member
Activity: 1064
Merit: 500
MOBU
What do ya know...ccminer.exe compile worked. Next question....what do I delete now...everything in that dir or do I keep it.

Thank you again....think I'll copy those instructions and save 'em someplace.
legendary
Activity: 1510
Merit: 1003
2 CapnBDL
It's ok )))
hero member
Activity: 1064
Merit: 500
MOBU

ultimately its about building - compiling - rolling out - streamlining ... all clones of one worker ... all with linux - all with exact same hardware - all with ccminer-spmod

Hey Guys...for some of us...this stuff is all greek.   Huh   I made no sense of any of it and would really like to keep up with the Jones here. It would be nice to see some Win-install files, just like you had release #s before. So much love would come your way!    Shocked

Thanks

A little quotation error corrected.

If you mean precompiled Windows binaries, they are still produced and available on the release page as
posted by SP. If you want to compile your own Windows binaries it not too difficult but very long and I might
be able to help. I've gone through it a couple of times and it can be done with all freeware, except for the OS of course.

In short you need Visual Studio Community and Cuda Tools, cminer source and lots of disk space. ccminer.sln is
the configuration file and you double click on it to open the "Solution" in VS. You can edit the properties to add
compute versions (similar to what Linux folks do with makefiles). Then Build Solution. Eventually if everything
works you should find a release directory with a freshly minted ccminer.exe file in it.

I can write up a better tutorial if you like but it will take some time.



that actually would be good ... and highly beneficial jo ...

i for one would like to learn how to build under windows ... hell - ill build a windows machine JUST for it ...

tutor me / us please ...

#crysx
@joblo

Yes!  How much disk space do I need and will I be able to use the system while it compiles? I only have 1 and it's my mining machine, but I'd really like to learn to Windows compile.  

ASUS x77pro, Intel i7 3770, 16GB, 256 SSD, 1TB SSHD, 1TB HD, 2 TB NAS, Win8.1 pro, CUDA6.5 (have 7 too but not running). None of the HDs are completely empty tho, but I have combined space of ~.75 TB available on computer and ~1 TB on NAS. Running mine equipment is one S3+, three r-Box110s, two 1.3Mh Fury/Zeus, five RedFury USB sticks, three Gridseed duals, and I vid card mine (naturally) as well.

I think that's it. What else do I need to D/L, and install for Windows compiling? Thanks much joblo

I can post a very rough draft outline which might get you going if you're resourcefull, but be patient.
I don't have specific numbers for disk space but vs_comunity seems to insist on it being on the
system partition although it states "accross all drives" in its requirements. It is probably better to put cuda on that
drive as well. Probably 10 GB combined but that might not take into account temporary bloat during installation.
The ccminer files can be on another drive. How much space
you require depends on how many compute versions are coded and how many old compiles you
leave lying around. Your PC will be usable while compiling unless you are running other CPU intensive stuff.
You can easily be mining while compiling.

Disclaimer: Use at your own risk. I am not responsible for any loss or damage to your computer or your sanity. Grin

1. need at least 20 GB disk space

2. download vs_community, cudatools

3. install vs_community

4. install cuda

5. download and unpack ccminer

6. open ccminer.sln

7. verify release, 32

8. change config to customize compute version
   project->properties->configuration properties->cuda c/c++->device
   select code generation, edit

9 build solution

10 find ccminer.exe in release dir




Yeah...sounds easy, huh? Thanks...I'll give it a go. Should be interesting. Now...let's see...time to D/L a few things. Thank you for the help  !!!
legendary
Activity: 1470
Merit: 1114

you suggested centos 7 from memory ... is that straightforward enough to get cuda installed and running within centos? ...


I did succesfully compile ccminer on Centos 7 with Cuda 7 as a test but never actually ran it.
Given Epsylon3's recent post about cuda 7 I'd wait a while for that part of the upgrade. Your
experience with Centos 7 should be identical to Fedora, it's based on F19 IIRC.
Jump to: