Author

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

legendary
Activity: 1764
Merit: 1024
So I assume pretty much everyone here uses MSI afterburner for tweaking and monitoring (with GPUZ thrown in on the side). Is there a skin that makes the program more usable? I've been using it for years and it's always a PITA scrolling throw the graphs on the right and changing between cards for tweaking. Not to mention the graphs get messed up and aren't always organized by card.
newbie
Activity: 16
Merit: 0
i've stayed with older nvidia drivers because my system is stable.  can anyone that is running the newest drivers under linux tell me if nvidia-settings works over SSH?  that was one big failure of the older drivers. all configuration of setup and overclocking had to be done locally with a monitor attached, and then the rig could be deployed headless.

My rig was configured over ssh completely headless.
newbie
Activity: 26
Merit: 0
Testing out cuda 7.5 now. Managed to increase the hashrate in the lyra2v2 +50khash on the 750ti with some modification of the code..

But the other algos are down..

quark is bleeding. 5,5 MHASH vs 6.MHASH on the 750ti.

edit:

retuning x11 now. Managed 2860 in cuda7.5(x86)  vs (2940 in 6.5)  getting closer... Low profile 750ti 38w tdp
1.5.66 LAST
ASUS GTX750Ti 1421/2850 = 7Mh QUARK, 3.3Mh X11, 5Mh Lyra2v2

PS. And how about benchmark with all algo? Example: 5min QUARK, 5min X11, 5min Lyra and etc. And small table with result. Or maybe 2min... After some time your have bench in all algo for compare.
sp_
legendary
Activity: 2954
Merit: 1087
Team Black developer
Testing out cuda 7.5 now. Managed to increase the hashrate in the lyra2v2 +50khash on the 750ti with some modification of the code..

But the other algos are down..

quark is bleeding. 5,5 MHASH vs 6.MHASH on the 750ti.

edit:

retuning x11 now. Managed 2860 in cuda7.5(x86)  vs (2940 in 6.5)  getting closer... Low profile 750ti 38w tdp
legendary
Activity: 2002
Merit: 1051
ICO? Not even once.
I will implement a benchmark mode wich will exit after a given interval.

--benchmark 1000

 (run for 1000 seconds and display the average rate in the end.)

This way I can compare small changes in the hashing algorithm with a higher precition.

Also useful for performance regression tests.

Cuda 7.5 seems to run a little bit slower than cuda 7.0.

It will convert your titanx to a 980ti card.  Performance wise..


If it's about precision, can I recommend the benchmark ignoring hashrate results in the first few minutes or so? Giving time for the cards to ramp up (temps/fan speed).
legendary
Activity: 2716
Merit: 1094
Black Belt Developer
I will implement a benchmark mode wich will exit after a given interval.

--benchmark 1000

 (run for 1000 seconds and display the average rate in the end.)

This way I can compare small changes in the hashing algorithm with a higher precition.

Also useful for performance regression tests.

Thanks, I was going to ask for something like this or do it myself.
This + fixed fan speed will help a lot.
sp_
legendary
Activity: 2954
Merit: 1087
Team Black developer
I will implement a benchmark mode wich will exit after a given interval.

--benchmark 1000

 (run for 1000 seconds and display the average rate in the end.)

This way I can compare small changes in the hashing algorithm with a higher precition.

Also useful for performance regression tests.

Cuda 7.5 seems to run a little bit slower than cuda 7.0.

It will convert your titanx to a 980ti card.  Performance wise..
sp_
legendary
Activity: 2954
Merit: 1087
Team Black developer
It may be time for me to use multiple work items on one Lyra2 execution... but I'm worried the increased memory accesses for the matrix (which I've worked to eliminate) will eat me alive.
In my latests fixes I added more memory accesses and speed.. Smiley
Perhaps this is the opposite of what you are supposed to do when doing a modded kernal, but I think it was fun..
Only latency wankers working for NVIDIA it seems...
Still slow though. You know the opensource is slow, because the market makes it not profitable to mine.
Your optimized kernals might end up here wolf0, And I think they can afford to pay you enough:

Shit, that's massive.

This picture is taken from the inside of the largest bitcoinfarm in the world. (in china)
legendary
Activity: 2716
Merit: 1094
Black Belt Developer
tried:

sudo nvidia-xconfig -a --cool-bits=28 --allow-empty-initial-configuration

+ the cool_cpu2.sh script and it works! :-)

(latest drivers)
sr. member
Activity: 427
Merit: 250
i've stayed with older nvidia drivers because my system is stable.  can anyone that is running the newest drivers under linux tell me if nvidia-settings works over SSH?  that was one big failure of the older drivers. all configuration of setup and overclocking had to be done locally with a monitor attached, and then the rig could be deployed headless.
legendary
Activity: 1797
Merit: 1028
Or maybe on windows it's different...

Yeps. On Windows it is extremely simple to set fixed clocks, fans, overclocking, so you can easily have a "benchmark platform".

With a headless Linux system I don't think there's any solution for fixed fans yet, others might know differently. I previously had fixed fans and clocks on Linux, but I perfectly recall that I specifically had to configure/attach a monitor in order to get that working at the time.

to set the fan on linux just test this

https://gist.github.com/squadbox/e5b5f7bcd86259d627ed

Thanks, but I fear it needs a monitor or the x session will not start... Or will it?

NOT ANY MORE--

If you have one of the latest driver packages, you can use nvidia-config to enable cards without monitors to be adjusted:

"sudo nvidia-xconfig -a --cool-bits=28 --allow-empty-initial-configuration" (Source: https://bitcointalksearch.org/topic/m.12279696)

The numbeer "28" is a bitsum that signifies clocks, fanspeed, and power controls.

This was in this thread, earlier.  I think that "-a" and the longer "--allow-empty-initial-configuration" are equivalent.

--scryptr

-a is equivalent to --enable-all-gpus, which configures an X screen on every GPU in the system.

I've tested the sctipt on Ubuntu 14.04 with two 750 Ti.

To set fixed fan speeds
Code:
sudo ./cool_gpu2.sh 72
To reset to default
Code:
sudo ./cool_gpu2.sh stop

THANK YOU! --

For correcting me.  I should have read the manual first.  Smiley       --scryptr
newbie
Activity: 16
Merit: 0
Or maybe on windows it's different...

Yeps. On Windows it is extremely simple to set fixed clocks, fans, overclocking, so you can easily have a "benchmark platform".

With a headless Linux system I don't think there's any solution for fixed fans yet, others might know differently. I previously had fixed fans and clocks on Linux, but I perfectly recall that I specifically had to configure/attach a monitor in order to get that working at the time.

to set the fan on linux just test this

https://gist.github.com/squadbox/e5b5f7bcd86259d627ed

Thanks, but I fear it needs a monitor or the x session will not start... Or will it?

NOT ANY MORE--

If you have one of the latest driver packages, you can use nvidia-config to enable cards without monitors to be adjusted:

"sudo nvidia-xconfig -a --cool-bits=28 --allow-empty-initial-configuration" (Source: https://bitcointalksearch.org/topic/m.12279696)

The numbeer "28" is a bitsum that signifies clocks, fanspeed, and power controls.

This was in this thread, earlier.  I think that "-a" and the longer "--allow-empty-initial-configuration" are equivalent.

--scryptr

-a is equivalent to --enable-all-gpus, which configures an X screen on every GPU in the system.

I've tested the sctipt on Ubuntu 14.04 with two 750 Ti.

To set fixed fan speeds
Code:
sudo ./cool_gpu2.sh 72
To reset to default
Code:
sudo ./cool_gpu2.sh stop
legendary
Activity: 1797
Merit: 1028
 sp  could you please put the http protocol back in the source code. I can't wallet mine. And djm lyra2v2 is the same. thx    
Well I still can't wallet mine with latest versions.  http protocol failed.

Does it work in the 1.6.6 fork by tvpruvot?
I don't know sp . Do you mean 1.5.64   ?
my version works with solomining (and was tested with...) so it is probably on your hand (wrong rpc port, username or password)
I know someone who is using your older version because the new ones won't work solo mining.
maybe cuda build app files have changed ..because about the same time sp releases aren't working either.
I'm going to try an older version of lyra2v2  of yours djm.
older ? there are 4 releases which are mostly bug correction (and compatibility issues) and none of these changes are related to solo mining.
all are there, and all are working: https://github.com/djm34/ccminer-lyra/releases

regarding solo mining, I don't know what is the default vtc port, I use a custom config file to define which port are used and some other settings.
(make sure as well, that you are using the latest wallet...  Grin)

also I am using --api-bind 0 (as it becomes problematic when there are several instances) and obviously don't use the same port for api-bind and the wallet

edit: there was a changed pushed by pallas to bmw256, however I don't think it would break solo mining, you can probably test that with testnet
Ok thank you djm. The other person had to use your version before ver4 to make it work.
But still something happened , related?, to solo mining about the time your oldest version was released I think. Will try your oldest tomorrow.
But to clarify ... sp r43 solo mining a coin works....now with exactly the same bat file and using r55 or r60 or r62 it won't work.
Will try again tomorrow. thx
I have tested solo mining Quarkcoin with release 64 now on my system.
Command line: ccminer -O name:password -o http://localhost:8372 -a quark --no-gbt
This happened:


ccminer actually crashed:
Quote
Unhandled exception at 0x00C99824 in ccminer.exe: Stack cookie instrumentation code detected a stack-based buffer overrun.

SOLO MINING VERTCOIN--

The question was asked a few pages back about solo mining VertCoin.  I was able to set-up and mine VTC with CCminer release dot 66 on Windows.  Here is what I learned:

     1) The VertCoin wallet looks for a file called "vertcoin.conf" BY DEFAULT on startup.
     2) The VertCoin configuration file "vertcoin.conf" only needs to be minimal.
     3) The folder to place "vertcoin.conf" is in ...appdata/roaming/vertcoin in windows, under the login user files.

Here is my vertcoin.conf file:
=======CUT LINE=======
server=1

daemon=1

rpcuser=username

rpcpassword=x

rpcallowip=127.0.0.1
=======CUT LINE=======

Notice that no ports are mentioned here!

Here is my CCminer command line:

ccminer.exe -c solo-vtc.conf

I use a configuration file to launch.  Here is my configuration file, solo-vtc.conf:

========CUT LINE=========
{
   "url" : "127.0.0.1:5888",
   "user" : "username",
   "pass" : "x",
   "algo" : "lyra2v2",
   "devices" : "0",
   "intensity" : "19",
   "cpu-priority" : 5,
   "cpu-mining" : "true",
      
   "api-bind" : "0",
   "statsavg" : 20,
   "quiet" : false,
   "debug" : false,
   "protocol" : false
}
========CUT LINE=========

Leave the cut lines out, but don't forget the curly brackets.  THERE IS A PORT HERE!  It is the default RPCport (5888) for VertCoin.  You may want to lower the cpu-priority or intensity for your hardware.

It works for me.       --scryptr

EDIT:  MINE ON A LAN--

For those of you that have a "work" or "home" computer with a wallet, and one or more mining rigs, the setup is a little different.  In "vertcoin.conf", set the "rpcallowip" line to "rpcallowip=192.168.1.*", or similar if your local net uses a different configuration.  The asterisk is a "wildcard" that will allow any rig on the local net to link to the wallet on the home computer.  On the mining rig(s), for the url use the physical, numerical address of the home computer, i.e. "192.168.1.111:5888".  If you are using a command line only, use "ccminer -a lyra2v2 -o http://192.168.1.111:5888 -u username -p x".  You can get the lan address of the home computer from your router; I set this example to "111".

There may be a looong pause on miner lanch, but if you don't see red, just wait.  Hash results for your cards should appear within 90 seconds.  Of course, you can tweak the command line with performance flags.  If you also mine with a card on the home computer, make sure you use the lan address for the wallet, just as in the previous paragraph, not "localhost" or "127.0.0.1".  There is still a long pause before hash results.


Local GTX 960 card on Win 7 work computer and Linux 750ti mining rig on LAN


The cards will hash until an "accept" is received.  Then your wallet will be 50 VTC fatter.       --scryptr
member
Activity: 95
Merit: 10
Noticed something interesting on my 6 card EVGA 750ti SC miner.  When I use -C I get about 39250 Kh/s (No OC).   If I do not use it I get about 39000-39190 Kh/s.  Now if I mine Axiom with the nicehash cpu launch miner with just one thread running (No -C 30% load on CPU).  https://github.com/nicehash/cpuminer-multi/releases  I get 39235-39240 Kh/s  I am running a Intel i3 4330 (dual Core 4 thread CPU)

This is with 1.5.66 commit. 1056  Cuda 6.5 Windows 8.1 Pro Driver 355.60

my command line is ccminer.exe -o stratum+tcp://stratum.nicehash.com:3345 -a quark -q -u bitcoinaddress.2 -p d=0.04 --cpu-priority 3

 



legendary
Activity: 1260
Merit: 1008
anybody got the standard and sp_ mod hashrate for Monero on the new 950?

and anyone know if there's a way in linux to get this card to overclock?

http://www.newegg.com/Product/Product.aspx?Item=N82E16814121980&ignorebbr=1&cm_re=PPSSKQKDFPGTFN-_-14-121-980-_-Product



LINUX OVERCLOCKING--

You will need to do some web research.  It depends on your Linux drivers.  HashBrown has written and posted on this topic in the Kopiemtu blog thread, his work is for slightly older drivers.  Only a few posts back in this thread, I mentioned how to use nvidia-xconfig to set CoolBits.  This is possible with the very latest nVidia drivers.

Frankly, I would write a tutorial but I haven't updated my drivers and actually done it myself.  My system is stable, my 970 cards are getting 16.5-17Mh/s on Quark as is.  I have been reading all over the web about Linux overclocking, though.  Useful search terms include CoolBits, nvidia-smi,  nvidia-xconfig.  The very latest nVidia drivers simplify things; some of the posts that are 2-3 years old are outdated and involve more complicated configuration editing.

Apparently, the "nvidia-xconfig" command will write out a config for your system, but only with the latest drivers.       --scryptr

awesome, thanks for the leads. Hrm, forgot the 950 needs a 6 pin power line...
legendary
Activity: 1797
Merit: 1028
Question from a friend: He have a couple of Nvidia GT 9600. Can he mine anything with them?

I have a 9800 GTX+ card, the top of the line for the series.  It mined script at 14kh/s using CudaMiner.  My 550ti got 90kh/s, and the 520 that came in the system got 21kh/s.        --scryptr


Good old cudaminer Smiley I assume that ccminer don't work with old cards like that?

COMPUTE 1.0 -

CCminer works with compute 2.0 and up, depending on the coder who wrote it.  A 550ti is "Compute 2.1".  SP_ codes for compute 5.0 (Maxwell, 750ti) and later. A 9800 is Compute 1.0.  So, no luck, for any practical mining with the 9XXX series.  You could play Tomb Raider with ease, though.         --scryptr
newbie
Activity: 58
Merit: 0
Question from a friend: He have a couple of Nvidia GT 9600. Can he mine anything with them?

I have a 9800 GTX+ card, the top of the line for the series.  It mined script at 14kh/s using CudaMiner.  My 550ti got 90kh/s, and the 520 that came in the system got 21kh/s.        --scryptr


Good old cudaminer Smiley I assume that ccminer don't work with old cards like that?
legendary
Activity: 1797
Merit: 1028
Question from a friend: He have a couple of Nvidia GT 9600. Can he mine anything with them?

I have a 9800 GTX+ card, the top of the line for the series.  It mined script at 14kh/s using CudaMiner.  My 550ti got 90kh/s, and the 520 that came in the system got 21kh/s.        --scryptr
newbie
Activity: 58
Merit: 0
Question from a friend: He have a couple of Nvidia GT 9600. Can he mine anything with them?
legendary
Activity: 1797
Merit: 1028
anybody got the standard and sp_ mod hashrate for Monero on the new 950?

and anyone know if there's a way in linux to get this card to overclock?

http://www.newegg.com/Product/Product.aspx?Item=N82E16814121980&ignorebbr=1&cm_re=PPSSKQKDFPGTFN-_-14-121-980-_-Product



LINUX OVERCLOCKING--

You will need to do some web research.  It depends on your Linux drivers.  HashBrown has written and posted on this topic in the Kopiemtu blog thread, his work is for slightly older drivers.  Only a few posts back in this thread, I mentioned how to use nvidia-xconfig to set CoolBits.  This is possible with the very latest nVidia drivers.

Frankly, I would write a tutorial but I haven't updated my drivers and actually done it myself.  My system is stable, my 970 cards are getting 16.5-17Mh/s on Quark as is.  I have been reading all over the web about Linux overclocking, though.  Useful search terms include CoolBits, nvidia-smi,  nvidia-xconfig.  The very latest nVidia drivers simplify things; some of the posts that are 2-3 years old are outdated and involve more complicated configuration editing.

Apparently, the "nvidia-xconfig" command will write out a config for your system, but only with the latest drivers.       --scryptr
Jump to: