Bitcoin Forum
June 20, 2018, 10:33:03 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 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 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 ... 847 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.10.0  (Read 5756336 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
btc_artist
Full Member
***
Offline Offline

Activity: 154
Merit: 100


Bitcoin!


View Profile WWW
January 25, 2012, 07:00:14 PM
 #3141

Con, thanks for the hard work on the 5970/fan issue.

Also, the new API commands look awesome.  I have a slick web interface for displaying information (with the previous API), now I'll plan to expand it to take advantage of the new API commands.  Once it's ready, I'll share it with everyone.

BTC: 1CDCLDBHbAzHyYUkk1wYHPYmrtDZNhk8zf
LTC: LMS7SqZJnqzxo76iDSEua33WCyYZdjaQoE
1529490783
Hero Member
*
Offline Offline

Posts: 1529490783

View Profile Personal Message (Offline)

Ignore
1529490783
Reply with quote  #2

1529490783
Report to moderator
1529490783
Hero Member
*
Offline Offline

Posts: 1529490783

View Profile Personal Message (Offline)

Ignore
1529490783
Reply with quote  #2

1529490783
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1529490783
Hero Member
*
Offline Offline

Posts: 1529490783

View Profile Personal Message (Offline)

Ignore
1529490783
Reply with quote  #2

1529490783
Report to moderator
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2562
Merit: 1092


Ruu \o/


View Profile WWW
January 26, 2012, 01:00:22 AM
 #3142

I committed a little more 79x0 specific code and built a windows binary. Again, no idea if it works, nor if it performs, but here is a windows build:
http://ck.kolivas.org/apps/cgminer/temp/cgminer.exe

Just drop it into a 2.1.2 directory, replacing the existing exe.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
Roadhog2k5
Full Member
***
Offline Offline

Activity: 129
Merit: 100



View Profile
January 26, 2012, 01:08:36 AM
 #3143

I committed a little more 79x0 specific code and built a windows binary. Again, no idea if it works, nor if it performs, but here is a windows build:
http://ck.kolivas.org/apps/cgminer/temp/cgminer.exe

Just drop it into a 2.1.2 directory, replacing the existing exe.

Pretty slow at stock settings. 390mh/s about, and it's not producing valid shares.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2562
Merit: 1092


Ruu \o/


View Profile WWW
January 26, 2012, 01:11:08 AM
 #3144

I committed a little more 79x0 specific code and built a windows binary. Again, no idea if it works, nor if it performs, but here is a windows build:
http://ck.kolivas.org/apps/cgminer/temp/cgminer.exe

Just drop it into a 2.1.2 directory, replacing the existing exe.

Pretty slow at stock settings. 390mh/s about, and it's not producing valid shares.
I hope you deleted any .bins first. That means it's not working at all then. Oh well guess I wait till I get one myself to figure out wtf is wrong.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
Roadhog2k5
Full Member
***
Offline Offline

Activity: 129
Merit: 100



View Profile
January 26, 2012, 01:13:04 AM
 #3145

I committed a little more 79x0 specific code and built a windows binary. Again, no idea if it works, nor if it performs, but here is a windows build:
http://ck.kolivas.org/apps/cgminer/temp/cgminer.exe

Just drop it into a 2.1.2 directory, replacing the existing exe.

Pretty slow at stock settings. 390mh/s about, and it's not producing valid shares.
I hope you deleted any .bins first. That means it's not working at all then. Oh well guess I wait till I get one myself to figure out wtf is wrong.

Yeah, I downloaded the fresh 2.1.2 and unpacked it to its own directory. Then I just put the EXE in you posted. Any specific settings you want me to try?
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2562
Merit: 1092


Ruu \o/


View Profile WWW
January 26, 2012, 01:14:46 AM
 #3146

Yeah, I downloaded the fresh 2.1.2 and unpacked it to its own directory. Then I just put the EXE in you posted. Any specific settings you want me to try?
Try combinations manually with other vectors and worksize, -v 1, -v 2, -v 4, -w 64 -w 128 , -w 256
But if it fails by default there's a good change it's simply broken for now.

Oh and start it with -D -T and post output please?

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
Roadhog2k5
Full Member
***
Offline Offline

Activity: 129
Merit: 100



View Profile
January 26, 2012, 01:24:25 AM
 #3147

Yeah, I downloaded the fresh 2.1.2 and unpacked it to its own directory. Then I just put the EXE in you posted. Any specific settings you want me to try?
Try combinations manually with other vectors and worksize, -v 1, -v 2, -v 4, -w 64 -w 128 , -w 256
But if it fails by default there's a good change it's simply broken for now.

Oh and start it with -D -T and post output please?

I tried the vectors, -v 2, and -v 4, result in <100mh/s speeds. -w doesn't seem to affect the speed any.

Here is -D -T
http://pastebin.com/pNYkeAHh
sveetsnelda
Hero Member
*****
Offline Offline

Activity: 637
Merit: 500


View Profile
January 26, 2012, 02:02:27 AM
 #3148

I'm getting some pretty weird results.  Here is some food for thought.  Keep in mind I'm running these at 1075Mhz:

I get about 440 per GPU if I make sure to specify the poclbm kernel, --vectors 1, and a worksize of 256.  Here's the odd thing though -- the only way to get this is to have the intensity maxed at 10.  If I use 9, the hash rate drops by over 100Mhash/sec.

Here's where it gets even more weird.  If I move the mouse all over the place or move a window all over the place to make the GPU a little more busy, hashrate goes *up*.  I get about 495 per GPU and can get them to bump past 500 for short periods of time.

To top it off...?  After doing this, the hashrate doesn't go back down when I stop screwing with the GUI.  It stays steady.  There's some sort of throttling going on and I'm guessing CGMiner isn't keeping the cards busy enough.  Is it possible to make the intensity even more aggressive and see if this makes a difference?

14u2rp4AqFtN5jkwK944nn741FnfF714m7
sveetsnelda
Hero Member
*****
Offline Offline

Activity: 637
Merit: 500


View Profile
January 26, 2012, 02:05:38 AM
 #3149

Also, I'm not sure why Roadhog isn't getting valid shares.  Mine are.

14u2rp4AqFtN5jkwK944nn741FnfF714m7
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2562
Merit: 1092


Ruu \o/


View Profile WWW
January 26, 2012, 02:26:08 AM
 #3150

Interesting. Redownload the .exe, I've made a few minor changes and now you can increase intensity to 14. The other thing to try is increase the threads from 2 to 3 or more with -g 3

oops hang on, intensity doesnt work yet, but try -g 3
Now it should work (redownload exe).

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
jjiimm_64
Legendary
*
Offline Offline

Activity: 1876
Merit: 1000


View Profile
January 26, 2012, 02:54:14 AM
 #3151

I'm getting some pretty weird results.  Here is some food for thought.  Keep in mind I'm running these at 1075Mhz:

I get about 440 per GPU if I make sure to specify the poclbm kernel, --vectors 1, and a worksize of 256.  Here's the odd thing though -- the only way to get this is to have the intensity maxed at 10.  If I use 9, the hash rate drops by over 100Mhash/sec.

Here's where it gets even more weird.  If I move the mouse all over the place or move a window all over the place to make the GPU a little more busy, hashrate goes *up*.  I get about 495 per GPU and can get them to bump past 500 for short periods of time.

To top it off...?  After doing this, the hashrate doesn't go back down when I stop screwing with the GUI.  It stays steady.  There's some sort of throttling going on and I'm guessing CGMiner isn't keeping the cards busy enough.  Is it possible to make the intensity even more aggressive and see if this makes a difference?

How about trying more threads?  I haven't downloaded yet

1jimbitm6hAKTjKX4qurCNQubbnk2YsFw
sveetsnelda
Hero Member
*****
Offline Offline

Activity: 637
Merit: 500


View Profile
January 26, 2012, 03:53:55 AM
 #3152

Interesting. Redownload the .exe, I've made a few minor changes and now you can increase intensity to 14. The other thing to try is increase the threads from 2 to 3 or more with -g 3

Increasing the thread count to 3 definitely smooths out the hashrate, but it doesn't increase it.

I just thought of something else.  I haven't seen anyone else mention it yet, but I noticed when I'm using Diablominer and I run Afterburner, my hash rate slows down dramatically until I close it.  It's like the hardware polling that Afterburner does actually interrupts the GPU.  Is there a way to turn off ADL polling?  Edit:  Why yes -- there is.

Intensity still seemed to be capped at 10 on that binary (unless it lets you change it but doesn't show the change?)

If it were intensity related, I'm sure adding more threads would have cleared it up though.  Sad   Probably no need to recompile again to test it.

Another thing that is odd is the hash rate (not the long average) seems to increase very slowly with time before capping.  In other words, I run cgminer and get anywhere from 400 to 430 per card.  Once I let it run for a good 5 minutes or so, they eventually get up to around 460 and stop rising.  It takes ages to get there though.

Lastly, the GPUs tend to all hash at significantly different rates until cgminer has run for a long enough period of time.  There are 4 GPUs in this rig and they'll differ by 10 percent or so between cards until it has run a while.

14u2rp4AqFtN5jkwK944nn741FnfF714m7
sveetsnelda
Hero Member
*****
Offline Offline

Activity: 637
Merit: 500


View Profile
January 26, 2012, 03:54:52 AM
 #3153

I tried running with --no-adl and there was little to no change.  Bah.  I thought that would be it.

14u2rp4AqFtN5jkwK944nn741FnfF714m7
sveetsnelda
Hero Member
*****
Offline Offline

Activity: 637
Merit: 500


View Profile
January 26, 2012, 04:04:05 AM
 #3154

Unrelated -- I tried to compile cgminer in Windows last night.  You weren't kidding.  Pain in the ass.  I finally got everything to configure and almost everything complied, and then I ran into some screwy incompatibilities between the Windows SDK Winsock includes and the Winsock includes supplied by MinGW.  It was a brutal night.  Props for getting the thing to run in Windows in the first place without a substantial rewrite.  Smiley

14u2rp4AqFtN5jkwK944nn741FnfF714m7
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2562
Merit: 1092


Ruu \o/


View Profile WWW
January 26, 2012, 04:40:59 AM
 #3155

Thanks. By the way, I reuploaded the exe after that first message so perhaps you got the dud build. Please try re-downloading it.

Increasing threads is nothing like increasing intensity so it will not have the same effect.

Finally, we are never going to get there with the poclbm kernel. The one it is loading is ancient and numerous improvements have happened since then, most of which are in the phatk kernel. Unless I can get the existing phatk kernel working it's going to be nigh on useless trying to mine on 79x0 until I can create an entirely new kernel...

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
sveetsnelda
Hero Member
*****
Offline Offline

Activity: 637
Merit: 500


View Profile
January 26, 2012, 05:38:56 AM
 #3156

Ah.  Gotcha.  I'll give it another go.

I see.  I just assumed if a GPU wasn't at full utilization, a 2nd thread would be able to chew up the unused cycles.  I've never written anything for OpenCL though, so I certainly don't claim to fully understand it.

Well, in that case, there's another thing to sort out that doesn't make any damn sense (of course).  The phatk kernel doesn't always run on GPU0.  It's fairly random.  It always runs on the other 3 cards every time.  CGMiner pauses with a message about closing other apps that use the GPU (like Afterburner).  If I close CGMiner and restart it with the same command line, it'll run.  It's probably 50/50.  The poclbcm kernel seems to always compile/run.

Also, all shares created with the phatk kernel are invalid and just get marked as hardware errors.

14u2rp4AqFtN5jkwK944nn741FnfF714m7
sveetsnelda
Hero Member
*****
Offline Offline

Activity: 637
Merit: 500


View Profile
January 26, 2012, 05:48:42 AM
 #3157

Starting CGMiner with 14 intensity (with poclbm) causes all of the cards to start at just above 500Mhash/sec and slowly creep down to around 420Mhash.  It seems to have no effect when using the phatk kernel.

14u2rp4AqFtN5jkwK944nn741FnfF714m7
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2562
Merit: 1092


Ruu \o/


View Profile WWW
January 26, 2012, 06:00:34 AM
 #3158

Ah.  Gotcha.  I'll give it another go.Well, in that case, there's another thing to sort out that doesn't make any damn sense (of course).  The phatk kernel doesn't always run on GPU0.  It's fairly random.  It always runs on the other 3 cards every time.  CGMiner pauses with a message about closing other apps that use the GPU (like Afterburner).  If I close CGMiner and restart it with the same command line, it'll run.  It's probably 50/50.  
Yes this is the never ending mindfuck that is windows creating a binary that reports size zero after it's built. Then it changes its mind and works the next time around. It's a bug that's plagued cgminer on windows for 6 months now and makes no sense whatsoever to anyone.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2562
Merit: 1092


Ruu \o/


View Profile WWW
January 26, 2012, 06:42:55 AM
 #3159

Further investigation reveals the phatk kernel included with the current cgminer basically ONLY works with the  bfi int patching. That means the kernel itself needs fixing to even work in its current intended form, so there's still some work to go... However for those brave, at least you have an exe you can use with the kernel and you can delete the .bin files and manually fiddle with the code in the phatk*.cl file included. Other kernels taken from other projects diablo, diapolo, phoenix etc will NOT under ANY circumstances work directly as the API is different so don't waste your time trying that.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
kano
Legendary
*
Online Online

Activity: 2492
Merit: 1042


Linux since 1997 RedHat 4


View Profile
January 26, 2012, 07:27:32 AM
 #3160

Further investigation reveals the phatk kernel included with the current cgminer basically ONLY works with the  bfi int patching. That means the kernel itself needs fixing to even work in its current intended form, so there's still some work to go... However for those brave, at least you have an exe you can use with the kernel and you can delete the .bin files and manually fiddle with the code in the phatk*.cl file included. Other kernels taken from other projects diablo, diapolo, phoenix etc will NOT under ANY circumstances work directly as the API is different so don't waste your time trying that.
... and of course if anyone was confused about the domain of that statement - it is of course only referring to the new 7970 cards Smiley
Nothing else.

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
Pages: « 1 ... 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 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 ... 847 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!