Bitcoin Forum
December 11, 2016, 02:04:10 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 [366] 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4828344 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.
P_Shep
Legendary
*
Offline Offline

Activity: 924


View Profile WWW
October 01, 2012, 07:04:15 PM
 #7301

btw, will you be including jesus-miner's GBT code?

Also, how will the selection of protocol work... Automagic or manual?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481465050
Hero Member
*
Offline Offline

Posts: 1481465050

View Profile Personal Message (Offline)

Ignore
1481465050
Reply with quote  #2

1481465050
Report to moderator
dlasher
Sr. Member
****
Offline Offline

Activity: 468



View Profile WWW
October 01, 2012, 09:42:10 PM
 #7302

Here is my guide for people like me who are not familiar with linux to get cgminer running on a Raspberry Pi.  Note that dlasher and burger did 99% of the work here.  I just verified it and added some comments.  Thanks guys!  

Well done, nicely organized, good catch on the "libudev-dev".

slush
Legendary
*
Offline Offline

Activity: 1358



View Profile WWW
October 01, 2012, 09:54:08 PM
 #7303

Also, how will the selection of protocol work... Automagic or manual?

As far as I can tell, it switch to Stratum automatically if pool advertises it, so there's no need to change of configuration. Just cgminer update is enough.

-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
October 01, 2012, 11:01:01 PM
 #7304

btw, will you be including jesus-miner's GBT code?

Also, how will the selection of protocol work... Automagic or manual?
I am implementing stratum first up as I believe going forward that it is the better suited protocol for pool mining based on a number of things I won't go into again here. The major disadvantage to stratum is that it needed a rewrite of great chunks of cgminer to work as it worked outside the bounds of all the machinery cgminer had in place for http communication and the very complex network scheduler that I had written into cgminer to make it scale. GBT is yet another competing standard which seemed to be designed  as a drop-in replacement for getwork that shared some of the ideas with it, and in the process, took on some of its disadvantages. So in actual fact it's less work to implement GBT, and while it claims to offer a lot more "features", none of those features are remotely relevant to how most of us mine. So I'm implementing stratum first as a show of support for what I believe is the better protocol.

Now Luke-jr has claimed, in his usual FUD way, that stratum is "bad for bitcoin" which is right up there for his standard of crap accusations. It seems the only reason he's so vehemently against stratum is that it was a competing protocol to what he was working on, and therefore anything he didn't do must be wrong in his eyes. As I said above, any extra features of GBT are going to be largely irrelevant to miners and there is not any point implementing them. On the other hand, GBT is yet another communication protocol that some pools are already supporting (basically because they're using his pool software so they get it by default). So in the future, after I release a stratum supporting version of cgminer, I will be implementing my own GBT support for the purposes of maintaining maximum compatibility with pools. Provided I have the time, I'm not planning on taking his code if I can help it.

Now you can try and hold Luke-jr to task over this and if he firmly believes stratum is bad for bitcoin, then he should not try and copy my implementation of it into his hostile fork and actually differentiate his software from mine, withholding support for stratum. However, he has shown that with scrypt for example, even though he was firmly opposed to litecoin mining, he took my implementation of it into his software because he was afraid he would lose his audience.

Within a few milliseconds of posting this I expect him to come and spam my forum thread with all sorts of bullshit rebuttal for what I just posted but he will do precisely what I predicted with pulling in my stratum code regardless. I have him on ignore in this forum, as I find wasting energy dealing with him absolutely pointless.


As for the selection of work, cgminer can detect stratum from either the way you input it ( stratum+tcp:// ) or if you put a stratum url in by mistake as http:// or with no prefix it will test to see if it's a stratum url first, or if the pool advertises stratum support in the getwork response it will automatically switch to it by itself. So if it all goes according to plan it should all just happen automatically.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
P_Shep
Legendary
*
Offline Offline

Activity: 924


View Profile WWW
October 01, 2012, 11:30:31 PM
 #7305

Quote
It seems the only reason he's so vehemently against stratum is that it was a competing protocol to what he was working on, and therefore anything he didn't do must be wrong in his eyes.

Essentially what it comes down to.

As far as I can tell, we have:

GBT:
+ Easier to implement in existing code
- Larger bandwidth requirements
   - Includes redundant features for miners

Stratum:
+ Tiny bandwidth
   + Streamlined features for mining
- Difficult to implement in existing code


To my mind, Stratum wins. Maybe initially more difficult to roll out, but ultimately will hold out better as hash rates continue to increase.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
October 01, 2012, 11:41:44 PM
 #7306

Quote
It seems the only reason he's so vehemently against stratum is that it was a competing protocol to what he was working on, and therefore anything he didn't do must be wrong in his eyes.

Essentially what it comes down to.

As far as I can tell, we have:

GBT:
+ Easier to implement in existing code
- Larger bandwidth requirements
   - Includes redundant features for miners

Stratum:
+ Tiny bandwidth
   + Streamlined features for mining
- Difficult to implement in existing code


To my mind, Stratum wins. Maybe initially more difficult to roll out, but ultimately will hold out better as hash rates continue to increase.
In a nutshell yes. However the bandwidth requirements of both are so small that the advantage in that regard is no big deal. Stratum has advantages across block change and in terms of network latencies.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
jamesg
VIP
Legendary
*
Offline Offline

Activity: 1330


AKA: gigavps


View Profile
October 01, 2012, 11:46:30 PM
 #7307

In a nutshell yes. However the bandwidth requirements of both are so small that the advantage in that regard is no big deal. Stratum has advantages across block change and in terms of network latencies.

Thanks for all of the effort conman. It is appreciated.
Mobius
Hero Member
*****
Offline Offline

Activity: 957



View Profile
October 01, 2012, 11:50:37 PM
 #7308

Quote
It seems the only reason he's so vehemently against stratum is that it was a competing protocol to what he was working on, and therefore anything he didn't do must be wrong in his eyes.

Essentially what it comes down to.

As far as I can tell, we have:

GBT:
+ Easier to implement in existing code
- Larger bandwidth requirements
   - Includes redundant features for miners

Stratum:
+ Tiny bandwidth
   + Streamlined features for mining
- Difficult to implement in existing code


To my mind, Stratum wins. Maybe initially more difficult to roll out, but ultimately will hold out better as hash rates continue to increase.
You forgot, their intention to reduce/eliminate pools (to paraphrase "they (pools) have too much power/influence") via GBT as an eventual p2pool way of mining. Otherwise why would they not have made bitcoind v0.7.0 backward compatible with existing pool software and allow new protocols to compete on an even playing field.
c4n10
Sr. Member
****
Offline Offline

Activity: 294



View Profile
October 02, 2012, 08:56:36 AM
 #7309

Hello everyone,

I just replaced my 9600 gt oc with a 5870 Super OC and I am having trouble getting cgminer to recognize it. Every time I try to load I get the following:

Code:
C:\Documents and Settings\HP_Administrator.YOUR-4DACD0EA75.000\Desktop\cgminer-2
.7.5-win32\cgminer-2.7.5-win32>cgminer --scrypt -o http://lc.ozco.in:9332/ -u c4
n10.3 -p Mindfield1 -D -T --verbose --intensity 16 --worksize 128 --shaders 1600

 [2012-10-02 04:54:05] Started cgminer 2.7.5
 [2012-10-02 04:54:05] Error -1001: clGetPlatformsIDs failed (no OpenCL SDK inst
alled?)
 [2012-10-02 04:54:05] clDevicesNum returned error, no GPUs usable

All devices disabled, cannot mine!

I have the latest version of CCC and the latest version of SDK, anyone know what's up here...?
Askit2
Hero Member
*****
Offline Offline

Activity: 524


View Profile
October 02, 2012, 10:23:32 AM
 #7310

Well judging by the error CL etc etc Is SDK installed I would start there.

Make sure when you installed you didn't just get a driver but the full install with the SDK. What OS are you using as that has a lot of effect on how to get it to work.

I appreciate donations at ( 1NwkQdmomQPLtdes5KuZhB1D22p7ZGRy4p )
If I am helping in the CGMiner thread give it to Con or Kano. They do the work there.
If you want to sign up for a coinbase account I would appreciate it if you use my referral link. US people now wire, 1% fee give or take a little for sending to your bank account. https://coinbase.com/?r=515bf6145682db9d11000028&utm_campaign=user-referral&src=
rahlquist
Jr. Member
*
Offline Offline

Activity: 46


View Profile
October 02, 2012, 12:10:17 PM
 #7311

ckolivas,

I know LTC is no more your favorite thing than Stratum is Luke-jr's. However a few of us are starting to see a lot of rejections with time-too-old issues. Do you have any insight what might be done to stop these? I mentioned it over at #ozcoin and Graet was kind enough to fire up an instance and he got "<@Graet> A:644 R:197 after 1.5 hours" so you can see its a ton of rejects I have seen 44-50% on my own miners with no other hardware errors etc.

Anything you can suggest?
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
October 02, 2012, 12:33:36 PM
 #7312

ckolivas,

I know LTC is no more your favorite thing than Stratum is Luke-jr's. However a few of us are starting to see a lot of rejections with time-too-old issues. Do you have any insight what might be done to stop these? I mentioned it over at #ozcoin and Graet was kind enough to fire up an instance and he got "<@Graet> A:644 R:197 after 1.5 hours" so you can see its a ton of rejects I have seen 44-50% on my own miners with no other hardware errors etc.

Anything you can suggest?
Do you get the same with 2.7.5 ?

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
c4n10
Sr. Member
****
Offline Offline

Activity: 294



View Profile
October 02, 2012, 01:54:10 PM
 #7313

Well judging by the error CL etc etc Is SDK installed I would start there.

Make sure when you installed you didn't just get a driver but the full install with the SDK. What OS are you using as that has a lot of effect on how to get it to work.

I figured SDK too which is why I went to AMD and downloaded the latest SDK version (SDK 2.7) AND the latest CCC version (version 12.Cool

I am on Windows XP 32-bit
os2sam
Legendary
*
Offline Offline

Activity: 1918


Think for yourself


View Profile
October 02, 2012, 02:23:08 PM
 #7314

version 12.Cool

Does CGMiner support a version with sunglasses?

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
rahlquist
Jr. Member
*
Offline Offline

Activity: 46


View Profile
October 02, 2012, 02:44:52 PM
 #7315

Do you get the same with 2.7.5 ?
Yes.
Here is what I am launching with, no .conf file stored, windows 7 64bit. 5770 card and Catalyst 12.7
cgminer.exe -o http://lc.ozco.in:9332/ -u username -p password --scrypt --shaders 800 --intensity 13 --worksize 256
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
October 02, 2012, 03:02:35 PM
 #7316

ckolivas,

I know LTC is no more your favorite thing than Stratum is Luke-jr's. However a few of us are starting to see a lot of rejections with time-too-old issues. Do you have any insight what might be done to stop these? I mentioned it over at #ozcoin and Graet was kind enough to fire up an instance and he got "<@Graet> A:644 R:197 after 1.5 hours" so you can see its a ton of rejects I have seen 44-50% on my own miners with no other hardware errors etc.

Anything you can suggest?
Is this new? If so, can you pinpoint which version it started from? If not, is it unique to lc.ozco.in ?

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
rahlquist
Jr. Member
*
Offline Offline

Activity: 46


View Profile
October 02, 2012, 03:26:28 PM
 #7317


Is this new? If so, can you pinpoint which version it started from? If not, is it unique to lc.ozco.in ?
Fairly recent yes. https://dl.dropbox.com/u/7490029/log2.txt  Log file with debug turned on. I haven't tried another pool lately, will try that now.

As for version I had been running bfgminer, all the way up to 2.8.1 was getting the error so switched back to cgminer then have tried cgminer 2.7.5.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
October 02, 2012, 03:30:46 PM
 #7318


Is this new? If so, can you pinpoint which version it started from? If not, is it unique to lc.ozco.in ?
Fairly recent yes. https://dl.dropbox.com/u/7490029/log2.txt  Log file with debug turned on. I haven't tried another pool lately, will try that now.

As for version I had been running bfgminer, all the way up to 2.8.1 was getting the error so switched back to cgminer then have tried cgminer 2.7.5.
Can you track down which version did *not* have this problem? cgminer only, please.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
rahlquist
Jr. Member
*
Offline Offline

Activity: 46


View Profile
October 02, 2012, 03:49:39 PM
 #7319


Can you track down which version did *not* have this problem? cgminer only, please.
Will be happy to look into that more but so far it has seemed to be occouring independant of what version I run of either .

I tried your suggestion and jumped to another pool and I am at a:276 with only r:5 and those were all prevhash-stale. So it may be pool dependent, I even have I=18 right now and no issues with rejections.
rahlquist
Jr. Member
*
Offline Offline

Activity: 46


View Profile
October 02, 2012, 03:59:23 PM
 #7320


Can you track down which version did *not* have this problem? cgminer only, please.
What was the earliest version that did -scrypt? I just tried 2.6.5 and it does it with ozcoin too. ( log https://dl.dropbox.com/u/7490029/log2.6.5.txt )
Pages: « 1 ... 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 [366] 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 ... 830 »
  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!