Bitcoin Forum
November 13, 2024, 08:52:42 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: « 1 ... 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 [125] 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 ... 1240 »
  Print  
Author Topic: CCminer(SP-MOD) Modded GPU kernels.  (Read 2347577 times)
bathrobehero
Legendary
*
Offline Offline

Activity: 2002
Merit: 1051


ICO? Not even once.


View Profile
April 28, 2015, 12:54:51 AM
 #2481

Further, the Windows batch command "taskkill" will not find the imagename "ccminer*" if a user closes the "ccminer.exe" with a "control-c" keystroke, because ccminer has abruptly been closed.  This abrupt closing triggers a Windows error response frequently, and disrupts the loop on the ccminer launch batch file.  If running ccminer in a round-robin batch file, the Windows error response prevents ccminer from reconnecting and mining until a manual intervention occurs.

Closing out of ccminer.exe in a clean fashion under Windows may require some changes to the source code of ccminer itself.

--scryptr

I have the windows error reporting completely disabled on my rigs so crashing apps just silently close without throwing error messages. But I've just tested it on my main rig and it crashes due to this line:

https://github.com/sp-hash/ccminer/blob/windows/ccminer.cpp#L2383

That proper_exit(0); is not so proper I guess. Replacing it simply to exit(0); prevents the crash when you use ctrl+c. It asks if you want to termiate the batch file and pressing N let it continue.

And if taskkill doesn't find it's target it doesn't do anything.

ROUND-ROBIN--

Yaamp adapted the round-robin switch to rotate between the highest-paying algo, and it works until Windows kicks out that error.  I was experimenting with a simple batch file that calls a JSON.conf file.  I'll work your code into my Yaamp round-robin file and see if it will run well.  I suppose that means I will have to compile under Windows.  If I get that far, maybe it will rotate for me.

I did try to disable all the Windows error-reporting.        --scryptr

The error I described should only happen if you use ctrl+c. I don't use yaamp but as I see it they only let you connect to their highest paying algo and disconnect you if you try to connect with any other algo. With -r 0 ccminer won't reconnect so it just closes cleanly then the next line of the batch file gets executed. I've tried the yaamp example loop and it's working flawlessly. So now I'm completely confused as to what is the problem with the loop.  Grin

Not your keys, not your coins!
scryptr
Legendary
*
Offline Offline

Activity: 1797
Merit: 1028



View Profile WWW
April 28, 2015, 01:15:47 AM
 #2482

Further, the Windows batch command "taskkill" will not find the imagename "ccminer*" if a user closes the "ccminer.exe" with a "control-c" keystroke, because ccminer has abruptly been closed.  This abrupt closing triggers a Windows error response frequently, and disrupts the loop on the ccminer launch batch file.  If running ccminer in a round-robin batch file, the Windows error response prevents ccminer from reconnecting and mining until a manual intervention occurs.

Closing out of ccminer.exe in a clean fashion under Windows may require some changes to the source code of ccminer itself.

--scryptr

I have the windows error reporting completely disabled on my rigs so crashing apps just silently close without throwing error messages. But I've just tested it on my main rig and it crashes due to this line:

https://github.com/sp-hash/ccminer/blob/windows/ccminer.cpp#L2383

That proper_exit(0); is not so proper I guess. Replacing it simply to exit(0); prevents the crash when you use ctrl+c. It asks if you want to termiate the batch file and pressing N let it continue.

And if taskkill doesn't find it's target it doesn't do anything.

ROUND-ROBIN--

Yaamp adapted the round-robin switch to rotate between the highest-paying algo, and it works until Windows kicks out that error.  I was experimenting with a simple batch file that calls a JSON.conf file.  I'll work your code into my Yaamp round-robin file and see if it will run well.  I suppose that means I will have to compile under Windows.  If I get that far, maybe it will rotate for me.

I did try to disable all the Windows error-reporting.        --scryptr

The error I described should only happen if you use ctrl+c. I don't use yaamp but as I see it they only let you connect to their highest paying algo and disconnect you if you try to connect with any other algo. With -r 0 ccminer won't reconnect so it just closes cleanly then the next line of the batch file gets executed. I've tried the yaamp example loop and it's working flawlessly. So now I'm completely confused as to what is the problem with the loop.  Grin

TASKKILL--

I inserted your taskkill lines of code between every launch line in the Windows batch file for Yaamp.  I still get Windows error reports, not every time, but enough to render the batch file useless for a long-running script.  Maybe I haven't completely shutdown the error reports in my system.   I haven't compiled ccminer with your suggested correction.  I need to set up a Windows build toolchain...

--scryptr

SCRYPTR'S NOTEBOOK: https://bitcointalk.org/index.php?topic=5035515.msg46035530#msg46035530
GITHUB: "github.com/scryptr"  MERIT is appreciated, also.  Thanks!
bathrobehero
Legendary
*
Offline Offline

Activity: 2002
Merit: 1051


ICO? Not even once.


View Profile
April 28, 2015, 01:19:21 AM
 #2483

TASKKILL--

I inserted your taskkill lines of code between every launch line in the Windows batch file for Yaamp.  I still get Windows error reports, not every time, but enough to render the batch file useless for a long-running script.  Maybe I haven't completely shutdown the error reports in my system.   I haven't compiled ccminer with your suggested correction.  I need to set up a Windows build toolchain...

--scryptr

So it sometimes crashes for you. In that case I doubt the code change will help you. The batch file doesn't call ctrl+c on its own.

Not your keys, not your coins!
scryptr
Legendary
*
Offline Offline

Activity: 1797
Merit: 1028



View Profile WWW
April 28, 2015, 02:06:21 AM
 #2484

TASKKILL--

I inserted your taskkill lines of code between every launch line in the Windows batch file for Yaamp.  I still get Windows error reports, not every time, but enough to render the batch file useless for a long-running script.  Maybe I haven't completely shutdown the error reports in my system.   I haven't compiled ccminer with your suggested correction.  I need to set up a Windows build toolchain...

--scryptr

So it sometimes crashes for you. In that case I doubt the code change will help you. The batch file doesn't call ctrl+c on its own.

ERROR REPORTING--

I redid my Error Reporting configuration in Win 7 x64.  I selected "ccminer.exe" as a program to specifically be ignored.  I saved this as an administrator.  I still get "ccminer.exe has stopped working" between every few algo changes in the Yaamp batch file.     If there is another way to shut the error reporting off, I haven't found it yet.         --scryptr

SCRYPTR'S NOTEBOOK: https://bitcointalk.org/index.php?topic=5035515.msg46035530#msg46035530
GITHUB: "github.com/scryptr"  MERIT is appreciated, also.  Thanks!
mendoza1468
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile
April 28, 2015, 02:10:25 AM
Last edit: April 28, 2015, 02:28:05 AM by mendoza1468
 #2485

I have a question, if sometimes on yaamp the connection is lost and isn't restarting, i would like to add another pool. How can i do this. (with last ccminer1.5.47)
Am i the only one who lost connection on yaamp?
For now i use :
ccminer.exe -R 5 -T 5 -q -a quark -o stratum+tcp://yaamp.com:4033 -u 5LA1mw7JZKKVf3LK9KLAJSzQZzNwU9Z3Rp -p d=0.002

Can someone explain me what i should add to insert another pool after this one? (round robin, failover or someting else)

P.S sometime if i closed ccminer and restart it im able to log again and mine ...

Thanks for the help
flipclip
Member
**
Offline Offline

Activity: 111
Merit: 10


View Profile
April 28, 2015, 02:19:45 AM
 #2486

If flipclip would share his script, perhaps it would be more simple to adapt.

--scryptr
Unfortunately I don't believe my spaghetti code will be simple for anyone to adapt (I'm not a programmer, and I took the idea on as a lark to try out bash).  Let me see if I can clean it up a little so someone else could get it running.
chrysophylax
Legendary
*
Offline Offline

Activity: 2912
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
April 28, 2015, 02:24:29 AM
 #2487

If flipclip would share his script, perhaps it would be more simple to adapt.

--scryptr
Unfortunately I don't believe my spaghetti code will be simple for anyone to adapt (I'm not a programmer, and I took the idea on as a lark to try out bash).  Let me see if I can clean it up a little so someone else could get it running.

that would be awesome ...

as im less of a programmer than most ...

but i know enough to get me into LOADS of trouble ...

Smiley ...

#crysx

chrysophylax
Legendary
*
Offline Offline

Activity: 2912
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
April 28, 2015, 02:27:58 AM
 #2488

I have a question, if sometimes on yaamp the connection is lost and isn't restarting, i would like to add another pool how can i do it. (with last ccminer1.5.47)
Am i the only one who lost connection on yaamp?
for now i use :
ccminer.exe -R 5 -T 5 -q -a quark -o stratum+tcp://yaamp.com:4033 -u 5LA1mw7JZKKVf3LK9KLAJSzQZzNwU9Z3Rp -p d=0.002
Can someone explain me what i should add to insert another pool after this one? (round robin, failover or someting else)

P.S sometime if i closed ccminer and restart it im able to log again and mine ...

Thanks for the help


ccminer itself doesnt have this facility mate ... unlike sgminer which has that feature built in ... but we are talking two different miners here ...

in the current discussion about scripts and such with flipclip and scryptr - that is pretty much what is on par with what you are asking ...

a way of making ccminer continue mining - albiet different algos and such - but to continue mining in the event of a crash or a timed close then reopen of ccminer ...

there is no real easy way at the moment but it will eventually happen i believe ...

#crysx

scryptr
Legendary
*
Offline Offline

Activity: 1797
Merit: 1028



View Profile WWW
April 28, 2015, 04:10:55 AM
 #2489

I have a question, if sometimes on yaamp the connection is lost and isn't restarting, i would like to add another pool. How can i do this. (with last ccminer1.5.47)
Am i the only one who lost connection on yaamp?
For now i use :
ccminer.exe -R 5 -T 5 -q -a quark -o stratum+tcp://yaamp.com:4033 -u 5LA1mw7JZKKVf3LK9KLAJSzQZzNwU9Z3Rp -p d=0.002

Can someone explain me what i should add to insert another pool after this one? (round robin, failover or someting else)

P.S sometime if i closed ccminer and restart it im able to log again and mine ...

Thanks for the help


LOOPER--

This is how:

:loop

ccminer.exe -r 1 -R 5 -a quark   -o stratum+tcp://us-west01.miningrigrentals.com:3333 -u me -p x  -d 0,1,2

taskkill -t -f /im ccminer*
timeout -t 1

ccminer.exe -r 1 -R 5 -a quark   -o stratum+tcp://us-central01.miningrigrentals.com:3333 -u me  -p x  -d 0,1,2

taskkill -t -f /im ccminer*
timeout -t 1

goto loop

This is a slight revision of Bathrobehero's script.  Use the "-R" switch, and the "-r" switch.  The script above puts in a 5 second delay (-R 5) before switching to the lower pool in the batch file, and to try to reconnect once (-r 1).  Yaamp uses it to switch between algos.  As used above, it switches between pools.  Yamp.com has an example script linked on the homepage for algo switching.

If you execute the command "ccminer --help >> help.txt" in a windows command box, you will get a text file explaining all the ccminer commands.

--scryptr

SCRYPTR'S NOTEBOOK: https://bitcointalk.org/index.php?topic=5035515.msg46035530#msg46035530
GITHUB: "github.com/scryptr"  MERIT is appreciated, also.  Thanks!
sp_ (OP)
Legendary
*
Offline Offline

Activity: 2954
Merit: 1087

Team Black developer


View Profile
April 28, 2015, 04:28:47 AM
 #2490

COMMIT 749--
I just cloned git and compiled build 749.  The 2x970 FTW+ rig  is now mining Quark at 30.6Mh/s, an improvement of 1.5Mh/s for the rig.  Each card is now hashing at more than 15Mh/s.  

...

my 5x 750ti + 1x 280x rig went from 41.5 MHASH to 44.5MHASH Smiley (standard clocks, no overclock)
520 watt in the wall. Msi gaming z97 motherboard/ celeron cpu/

Release 47 used 510 watt,

Commit 749 is a good one, the gain is even bether on the 980, but it uses more power.
My 5 750ti+980 reports +1MHASH (45.5MHASH) and use 5 watt more  510 -> 515

Team Black Miner (ETHB3 ETH ETC VTC KAWPOW FIROPOW EVRPROGPOW MEOWPOW + dual mining + tripple mining.. https://github.com/sp-hash/TeamBlackMiner
chrysophylax
Legendary
*
Offline Offline

Activity: 2912
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
April 28, 2015, 04:32:41 AM
 #2491

I have a question, if sometimes on yaamp the connection is lost and isn't restarting, i would like to add another pool. How can i do this. (with last ccminer1.5.47)
Am i the only one who lost connection on yaamp?
For now i use :
ccminer.exe -R 5 -T 5 -q -a quark -o stratum+tcp://yaamp.com:4033 -u 5LA1mw7JZKKVf3LK9KLAJSzQZzNwU9Z3Rp -p d=0.002

Can someone explain me what i should add to insert another pool after this one? (round robin, failover or someting else)

P.S sometime if i closed ccminer and restart it im able to log again and mine ...

Thanks for the help


LOOPER--

This is how:

:loop

ccminer.exe -r 1 -R 5 -a quark   -o stratum+tcp://us-west01.miningrigrentals.com:3333 -u me -p x  -d 0,1,2

taskkill -t -f /im ccminer*
timeout -t 1

ccminer.exe -r 1 -R 5 -a quark   -o stratum+tcp://us-central01.miningrigrentals.com:3333 -u me  -p x  -d 0,1,2

taskkill -t -f /im ccminer*
timeout -t 1

goto loop

This is a slight revision of Bathrobehero's script.  Use the "-R" switch, and the "-r" switch.  The script above puts in a 5 second delay (-R 5) before switching to the lower pool in the batch file, and to try to reconnect once (-r 1).  Yaamp uses it to switch between algos.  As used above, it switches between pools.  Yamp.com has an example script linked on the homepage for algo switching.

If you execute the command "ccminer --help >> help.txt" in a windows command box, you will get a text file explaining all the ccminer commands.

--scryptr

nice - windows batch in dos ... been way too long for me ...

#crysx

Star65
Member
**
Offline Offline

Activity: 109
Merit: 13


View Profile
April 28, 2015, 12:11:12 PM
Last edit: April 28, 2015, 05:29:26 PM by Star65
 #2492

Nice hashrate on quark & skein btw! Nice work sp_! My hashrate on quark: 2x750ti=3x280x!!! 100W=450W?!  Grin
Cпacибo! I will mine for you! I have 2x750ti atm, but there is a slot for another one (in the daughter comp's).  Wink
BitcoinRichman
Full Member
***
Offline Offline

Activity: 196
Merit: 100



View Profile
April 28, 2015, 12:23:09 PM
 #2493

Shocked W
how many $$ must i burn to get that speed
bathrobehero
Legendary
*
Offline Offline

Activity: 2002
Merit: 1051


ICO? Not even once.


View Profile
April 28, 2015, 12:23:48 PM
 #2494

TASKKILL--

I inserted your taskkill lines of code between every launch line in the Windows batch file for Yaamp.  I still get Windows error reports, not every time, but enough to render the batch file useless for a long-running script.  Maybe I haven't completely shutdown the error reports in my system.   I haven't compiled ccminer with your suggested correction.  I need to set up a Windows build toolchain...

--scryptr

So it sometimes crashes for you. In that case I doubt the code change will help you. The batch file doesn't call ctrl+c on its own.

ERROR REPORTING--

I redid my Error Reporting configuration in Win 7 x64.  I selected "ccminer.exe" as a program to specifically be ignored.  I saved this as an administrator.  I still get "ccminer.exe has stopped working" between every few algo changes in the Yaamp batch file.     If there is another way to shut the error reporting off, I haven't found it yet.         --scryptr

If I remember correctly I used a reg key like this (Option two):
http://www.sevenforums.com/tutorials/194181-windows-error-reporting-disable-windows.html

Not your keys, not your coins!
chrysophylax
Legendary
*
Offline Offline

Activity: 2912
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
April 28, 2015, 12:30:22 PM
 #2495

Nice hashrate on quark & skein btw! Nice work sp_! My hashrate on quark: 2x750ti=3x280x!!! 100W=450W?!  Grin
Cпacибo! I will mine for you! I have 2x750ti atm, but there is slot for another one (in the daughter comp's).  Wink

we have a proposal ...

we have setup a donation system FOR sp which we are currently testing and mining via yaamp as i write this ...

this has NOT been discussed with sp - nor authorized by sp ... in fact - he knows nothing about it as yet - as we have just finished the setup a few minutes ago ...

currently the test is specifically on x11 - but other algos will follow to sp's btc address ... this can be seen via yaamp currently which will show that it has just started a few minutes ago ...

http://yaamp.com/?address=1CTiNJyoUmbdMRACtteRWXhGqtSETYd6Vd ...

it is the test system we have running with 2 x gigabyte 750ti oc lp cards running fedora 19 x64 and sp's latest ccminer v47 ( with intensity -i 20.6 as its the highest these cards will do ) ...

as this is the usual way we donate - we thought possibly we might not be the only ones that would want to do it this way ...

if you are interested in donating via mining and it is agreeable that a mining system for donation for sp be setup - we shall supply the details of the server and setup of the mining system and you too can join in ...

also - if this is a 'good' way of donating - and everyone can pitch in a small amount of hashpower ( no matter how small ) we will keep this system running for donations AND setup various other ones in different algorithms ... all of which can be publicly checked and seen on yaamp via sp's btc address ...

this is obviously based on a trust system - as donations are the lifeblood of the development process ...

please let us know your thoughts ...

#crysx

Epsylon3
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
April 28, 2015, 03:21:47 PM
 #2496

Quote
small contribution--

I sent you, KlausT, and tpruvot each a bit.  I have to mow the lawn, I will get back to "git and compile" this evening.  I am still running the release build of v46 on all my rigs.  The release behaved well, the charts on the pool were trending up.

Please don't lower my rates...       --scryptr

Thanks for the 10 mBTC (first gift from the forum since... a long time)

For Cuda 7.0, its not compatible yet, but i submitted a bug report to nvidia which fixed the problem in their dev version. I didnt get details about the fix... but should be in next CUDA release, maybe 7.1, 7.5, 8 (no idea)

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
scryptr
Legendary
*
Offline Offline

Activity: 1797
Merit: 1028



View Profile WWW
April 28, 2015, 04:18:17 PM
 #2497

Quote
small contribution--

I sent you, KlausT, and tpruvot each a bit.  I have to mow the lawn, I will get back to "git and compile" this evening.  I am still running the release build of v46 on all my rigs.  The release behaved well, the charts on the pool were trending up.

Please don't lower my rates...       --scryptr

Thanks for the 10 mBTC (first gift from the forum since... a long time)

For Cuda 7.0, its not compatible yet, but i submitted a bug report to nvidia which fixed the problem in their dev version. I didnt get details about the fix... but should be in next CUDA release, maybe 7.1, 7.5, 8 (no idea)

CUDA 7.x--

I downloaded and installed CUDA 6.5 on one of my rigs running nVidia driver v349.16.  The Cuda toolkit install reverted some of the driver components to v343.  The system compiles and runs, but my driver is reported as v343 now.       --scryptr

SCRYPTR'S NOTEBOOK: https://bitcointalk.org/index.php?topic=5035515.msg46035530#msg46035530
GITHUB: "github.com/scryptr"  MERIT is appreciated, also.  Thanks!
DougB62
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500


Banned: For Your Protection


View Profile
April 28, 2015, 04:37:01 PM
 #2498

Quote
small contribution--

I sent you, KlausT, and tpruvot each a bit.  I have to mow the lawn, I will get back to "git and compile" this evening.  I am still running the release build of v46 on all my rigs.  The release behaved well, the charts on the pool were trending up.

Please don't lower my rates...       --scryptr

Thanks for the 10 mBTC (first gift from the forum since... a long time)

For Cuda 7.0, its not compatible yet, but i submitted a bug report to nvidia which fixed the problem in their dev version. I didnt get details about the fix... but should be in next CUDA release, maybe 7.1, 7.5, 8 (no idea)

CUDA 7.x--

I downloaded and installed CUDA 6.5 on one of my rigs running nVidia driver v349.16.  The Cuda toolkit install reverted some of the driver components to v343.  The system compiles and runs, but my driver is reported as v343 now.       --scryptr

Yeah - Unfortunately, it doesn't allow you to keep your current driver set.  Undecided
flipclip
Member
**
Offline Offline

Activity: 111
Merit: 10


View Profile
April 28, 2015, 05:13:58 PM
 #2499

Quote
small contribution--

I sent you, KlausT, and tpruvot each a bit.  I have to mow the lawn, I will get back to "git and compile" this evening.  I am still running the release build of v46 on all my rigs.  The release behaved well, the charts on the pool were trending up.

Please don't lower my rates...       --scryptr

Thanks for the 10 mBTC (first gift from the forum since... a long time)

For Cuda 7.0, its not compatible yet, but i submitted a bug report to nvidia which fixed the problem in their dev version. I didnt get details about the fix... but should be in next CUDA release, maybe 7.1, 7.5, 8 (no idea)

CUDA 7.x--

I downloaded and installed CUDA 6.5 on one of my rigs running nVidia driver v349.16.  The Cuda toolkit install reverted some of the driver components to v343.  The system compiles and runs, but my driver is reported as v343 now.       --scryptr

Scryptr I can't remember if you are on linux but:

if you use the "run" installer (from the download page: https://developer.nvidia.com/cuda-toolkit-65) and not the rpm/deb, you are given the option not to install the driver associated with that version of the toolkit, so you can keep your more recent driver. (at least in Ubuntu, though I assume other distros are equivalent.)
5w00p
Hero Member
*****
Offline Offline

Activity: 644
Merit: 502



View Profile
April 28, 2015, 05:15:04 PM
 #2500

Quote
small contribution--

I sent you, KlausT, and tpruvot each a bit.  I have to mow the lawn, I will get back to "git and compile" this evening.  I am still running the release build of v46 on all my rigs.  The release behaved well, the charts on the pool were trending up.

Please don't lower my rates...       --scryptr

Thanks for the 10 mBTC (first gift from the forum since... a long time)

For Cuda 7.0, its not compatible yet, but i submitted a bug report to nvidia which fixed the problem in their dev version. I didnt get details about the fix... but should be in next CUDA release, maybe 7.1, 7.5, 8 (no idea)

CUDA 7.x--

I downloaded and installed CUDA 6.5 on one of my rigs running nVidia driver v349.16.  The Cuda toolkit install reverted some of the driver components to v343.  The system compiles and runs, but my driver is reported as v343 now.       --scryptr


Yeah - Unfortunately, it doesn't allow you to keep your current driver set.  Undecided


Actually, the Windows CUDA 6.5 Toolkit does allow you to keep your current driver set, if you just uncheck the options after having chosen a Custom Install.





It worked for me.
Pages: « 1 ... 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 [125] 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 ... 1240 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!