Bitcoin Forum
April 25, 2024, 07:37:15 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 [445] 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5805212 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. (3 posts by 1+ user deleted.)
-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
March 07, 2013, 08:03:53 PM
Last edit: March 08, 2013, 11:29:48 AM by ckolivas
 #8881

New release: v2.11.1, March 7th 2013

Keep building on the changes required for BFL SC when it comes out, adding new features and fixing bugs with the new 2.11 branch... This is still the unstable development version but is proving quite stable for my testing so far.
Heh whoops, I just got a crash so it's not quite there yet   Tongue

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
1714030635
Hero Member
*
Offline Offline

Posts: 1714030635

View Profile Personal Message (Offline)

Ignore
1714030635
Reply with quote  #2

1714030635
Report to moderator
1714030635
Hero Member
*
Offline Offline

Posts: 1714030635

View Profile Personal Message (Offline)

Ignore
1714030635
Reply with quote  #2

1714030635
Report to moderator
1714030635
Hero Member
*
Offline Offline

Posts: 1714030635

View Profile Personal Message (Offline)

Ignore
1714030635
Reply with quote  #2

1714030635
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Radacoin
Sr. Member
****
Offline Offline

Activity: 255
Merit: 250


View Profile
March 07, 2013, 08:22:27 PM
 #8882

I am using cgminer 2.10.4 for Litecoin mining. win7x64. AMD 7970. various versions of Catalyst (12.10, ... , 13.1, 13.2)

On https://github.com/litecoin-project/litecoin/wiki/Mining-hardware-comparison there's a 7970 with 682 kHash/s
clock: 1000MHz, mem clock: 1600MHz
command line args are: --shaders 2048 --thread-concurrency 8192 -I 13 -g 2 -w 256

I'm not getting more than 550 kHash/s with the exact same settings.

Is 682 a typo (-> 582) - or is it really possible?
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
March 07, 2013, 10:30:24 PM
 #8883

I have a system that utilizes both gpus and fpgas and I want to run one cgminer instance for gpus and another for fpgas.  Starting in 2.11.0 with the new usb subsystem, I am unable to start an instance of cgminer for just the gpus.  Whenever I try to start the instance for gpus only, cgminer displays "MTX: BitForce USB failed to get cgminer-usb..." and exits.  Is there any way to disable the usb detection like how "-S noauto" used to work?

--hotplug 0

tried that and still had the same problem
Yep at the moment all BFL/MMQ devices are detected immediately.

--hotplug 0 will only stop it finding new devices when you plug them in.

I've decided on how to handle this already but not implemented it yet.
I'll move it further up the todo list Smiley

In the mean time, if you start the cgminer that uses the FPGAs first (with -G), then start the GPU cgminer 2nd with --hotplug 0 then the GPU miner won't pick them up at startup or later via hotplug.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
March 07, 2013, 10:33:27 PM
 #8884

I am using cgminer 2.10.4 for Litecoin mining. win7x64. AMD 7970. various versions of Catalyst (12.10, ... , 13.1, 13.2)

On https://github.com/litecoin-project/litecoin/wiki/Mining-hardware-comparison there's a 7970 with 682 kHash/s
clock: 1000MHz, mem clock: 1600MHz
command line args are: --shaders 2048 --thread-concurrency 8192 -I 13 -g 2 -w 256

I'm not getting more than 550 kHash/s with the exact same settings.

Is 682 a typo (-> 582) - or is it really possible?
I'd say it's unlikely, but I don't really play with scrypt much any more. Perhaps you just need more system ram.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Radacoin
Sr. Member
****
Offline Offline

Activity: 255
Merit: 250


View Profile
March 07, 2013, 10:46:18 PM
 #8885

I am using cgminer 2.10.4 for Litecoin mining. win7x64. AMD 7970. various versions of Catalyst (12.10, ... , 13.1, 13.2)

On https://github.com/litecoin-project/litecoin/wiki/Mining-hardware-comparison there's a 7970 with 682 kHash/s
clock: 1000MHz, mem clock: 1600MHz
command line args are: --shaders 2048 --thread-concurrency 8192 -I 13 -g 2 -w 256

I'm not getting more than 550 kHash/s with the exact same settings.

Is 682 a typo (-> 582) - or is it really possible?
I'd say it's unlikely, but I don't really play with scrypt much any more. Perhaps you just need more system ram.

How much would I need for 2 x 7970 ?
-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
March 07, 2013, 10:54:02 PM
 #8886

I am using cgminer 2.10.4 for Litecoin mining. win7x64. AMD 7970. various versions of Catalyst (12.10, ... , 13.1, 13.2)

On https://github.com/litecoin-project/litecoin/wiki/Mining-hardware-comparison there's a 7970 with 682 kHash/s
clock: 1000MHz, mem clock: 1600MHz
command line args are: --shaders 2048 --thread-concurrency 8192 -I 13 -g 2 -w 256

I'm not getting more than 550 kHash/s with the exact same settings.

Is 682 a typo (-> 582) - or is it really possible?
I'd say it's unlikely, but I don't really play with scrypt much any more. Perhaps you just need more system ram.

How much would I need for 2 x 7970 ?
No idea, I only ever got 575kH out of my 7970s but I had 4 of them and ran them at stock memclocks with 4GB ram.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
420
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
March 08, 2013, 05:24:49 AM
 #8887

what is the difference between win32.zip version and cgminer-2.11.1-x86_64-built.tar.lrz

Donations: 1JVhKjUKSjBd7fPXQJsBs5P3Yphk38AqPr - TIPS
the hacks, the hacks, secure your bits!
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
March 08, 2013, 05:25:31 AM
 #8888

what is the difference between win32.zip version and cgminer-2.11.1-x86_64-built.tar.lrz
cgminer-2.11.1-x86_64-built.tar.lrz is the linux build ...

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
PatMan
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
March 08, 2013, 11:16:10 AM
 #8889

New release: v2.11.1, March 7th 2013

Keep building on the changes required for BFL SC when it comes out, adding new features and fixing bugs with the new 2.11 branch... This is still the unstable development version but is proving quite stable for my testing so far.
Heh whoops, I just got a crash so it's not quit there yet   Tongue

Yup, me too........

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://bitcointalk.org/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
March 08, 2013, 11:29:07 AM
 #8890

New release: v2.11.1, March 7th 2013

Keep building on the changes required for BFL SC when it comes out, adding new features and fixing bugs with the new 2.11 branch... This is still the unstable development version but is proving quite stable for my testing so far.
Heh whoops, I just got a crash so it's not quite there yet   Tongue

Yup, me too........
Working on it. There're some fixes in git already which should prevent the crash.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Radacoin
Sr. Member
****
Offline Offline

Activity: 255
Merit: 250


View Profile
March 08, 2013, 05:59:26 PM
 #8891

I am using cgminer 2.10.4 for Litecoin mining. win7x64. AMD 7970. various versions of Catalyst (12.10, ... , 13.1, 13.2)

On https://github.com/litecoin-project/litecoin/wiki/Mining-hardware-comparison there's a 7970 with 682 kHash/s
clock: 1000MHz, mem clock: 1600MHz
command line args are: --shaders 2048 --thread-concurrency 8192 -I 13 -g 2 -w 256

I'm not getting more than 550 kHash/s with the exact same settings.

Is 682 a typo (-> 582) - or is it really possible?
I'd say it's unlikely, but I don't really play with scrypt much any more. Perhaps you just need more system ram.

Hmmm ... talking about memory: The 7970s that I use have 6GB each. Might this be a problem? 7970s usually only have 3GB.
Evan
Hero Member
*****
Offline Offline

Activity: 507
Merit: 500



View Profile
March 08, 2013, 06:37:52 PM
 #8892

I am stupid:
Mining with a 5550 SFF:

Can anyone help me with my issue:

C:\Users\Galaxy\Desktop\Hashing\guiminer\miners\cgminer-2.10.5-win32\cgminer.exe -u Galaxy10 -p ******** -o http://25.174.60.33:8332 d 0 -l 1 -T

This is a sub net within a closed network, but i get the following after 30 seconds, and I know the addressee works, also made a local host and it still fails with -o http://127.0.0.1:8332  but CG miner crashes (hard) after loading strantum.

Galaxy10  Password: *******
 [2013-03-08 13:33:49] Press any key to exit, or cgminer will try again in 15s.
 [2013-03-08 13:35:07] Pool 0 slow/down or URL or credentials invalid
 [2013-03-08 13:35:07] Unable to get work from pool 0 http://25.174.60.33:8332
 [2013-03-08 13:35:07] No servers were found that could be used to get work from
.
 [2013-03-08 13:35:07] Please check the details from the list below of the serve
rs you have input
 [2013-03-08 13:35:07] Most likely you have input the wrong URL, forgotten to ad
d a port, or have not set up workers
 [2013-03-08 13:35:07] Pool: 0  URL: http://25.174.60.33:8332  User:Galaxy10  Password: ********
 [2013-03-08 13:35:07] Press any key to exit, or cgminer will try again in 15s.

Contversely this string works:
C:\Users\Galaxy\Desktop\Hashing\guiminer\miners\Coin\coin-miner.exe -u Galaxy10 -p ******** -o http://25.174.60.33:8332

Updated to 11.1 adn now strantum:

C:\Users\Galaxy\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\mi
ning_proxy_1.2.0.exe\twisted\internet\win32eventreactor.py:64: UserWarning: Reli
able disconnection notification requires pywin32 215 or later
C:\Users\Galaxy\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\mi
ning_proxy_1.2.0.exe\twisted\web\util.py:372: DeprecationWarning: Passing filena
mes or file objects to XMLFile is deprecated since Twisted 12.1.  Pass a FilePat
h instead.
2013-03-08 13:42:20,914 INFO proxy jobs.<module> # C extension for midstate not
available. Using default implementation instead.
2013-03-08 13:42:20,917 INFO proxy mining_proxy.main # Stratum proxy version: 1.
2.0
2013-03-08 13:42:20,917 INFO proxy mining_proxy.main # Trying to connect to Stra
tum pool at stratum.bitcoin.cz:3333
2013-03-08 13:42:21,029 INFO stats stats.print_stats # 1 peers connected, state
changed 1 times
2013-03-08 13:42:21,029 INFO proxy mining_proxy.on_connect # Connected to Stratu
m pool at stratum.bitcoin.cz:3333
2013-03-08 13:42:21,029 INFO proxy mining_proxy.on_connect # Subscribing for min
ing jobs
2013-03-08 13:42:21,151 INFO proxy mining_proxy.main # -------------------------
----------------------------------------------
2013-03-08 13:42:21,151 INFO proxy mining_proxy.main # PROXY IS LISTENING ON ALL
 IPs ON PORT 3333 (stratum) AND 8332 (getwork)
2013-03-08 13:42:21,151 INFO proxy mining_proxy.main # -------------------------
----------------------------------------------
2013-03-08 13:42:21,153 INFO proxy client_service.handle_event # New job b for p
revhash a01b50b9, clean_jobs=True
2013-03-08 13:42:34,239 INFO stats stats.print_stats # 2 peers connected, state
changed 1 times
2013-03-08 13:42:34,240 ERROR protocol protocol.process_failure # [Failure insta
nce: Traceback: <type 'exceptions.TypeError'>: subscribe() takes exactly 1 argum
ent (2 given)
stratum\protocol.pyo:166:dataReceived
stratum\protocol.pyo:191:lineReceived
stratum\services.pyo:13:_handle_event
stratum\services.pyo:81:call
--- <exception caught here> ---
twisted\internet\defer.pyo:134:maybeDeferred
stratum\services.pyo:78:_run
twisted\internet\defer.pyo:1178:unwindGenerator
]
None




I am poor, but i do work for Coin Smiley
1PtHcavXoakgNkQfEQdvnvEksEY2NvwaLM
skeeterskeeter
Full Member
***
Offline Offline

Activity: 160
Merit: 100


View Profile
March 08, 2013, 07:17:48 PM
 #8893

I am stupid:
Mining with a 5550 SFF:

Can anyone help me with my issue:

C:\Users\Galaxy\Desktop\Hashing\guiminer\miners\cgminer-2.10.5-win32\cgminer.exe -u Galaxy10 -p ******** -o http://25.174.60.33:8332 d 0 -l 1 -T

This is a sub net within a closed network, but i get the following after 30 seconds, and I know the addressee works, also made a local host and it still fails with -o http://127.0.0.1:8332  but CG miner crashes (hard) after loading strantum.

Galaxy10  Password: *******
 [2013-03-08 13:33:49] Press any key to exit, or cgminer will try again in 15s.
 [2013-03-08 13:35:07] Pool 0 slow/down or URL or credentials invalid
 [2013-03-08 13:35:07] Unable to get work from pool 0 http://25.174.60.33:8332
 [2013-03-08 13:35:07] No servers were found that could be used to get work from
.
 [2013-03-08 13:35:07] Please check the details from the list below of the serve
rs you have input
 [2013-03-08 13:35:07] Most likely you have input the wrong URL, forgotten to ad
d a port, or have not set up workers
 [2013-03-08 13:35:07] Pool: 0  URL: http://25.174.60.33:8332  User:Galaxy10  Password: ********
 [2013-03-08 13:35:07] Press any key to exit, or cgminer will try again in 15s.

Contversely this string works:
C:\Users\Galaxy\Desktop\Hashing\guiminer\miners\Coin\coin-miner.exe -u Galaxy10 -p ******** -o http://25.174.60.33:8332

Updated to 11.1 adn now strantum:

C:\Users\Galaxy\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\mi
ning_proxy_1.2.0.exe\twisted\internet\win32eventreactor.py:64: UserWarning: Reli
able disconnection notification requires pywin32 215 or later
C:\Users\Galaxy\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\mi
ning_proxy_1.2.0.exe\twisted\web\util.py:372: DeprecationWarning: Passing filena
mes or file objects to XMLFile is deprecated since Twisted 12.1.  Pass a FilePat
h instead.
2013-03-08 13:42:20,914 INFO proxy jobs.<module> # C extension for midstate not
available. Using default implementation instead.
2013-03-08 13:42:20,917 INFO proxy mining_proxy.main # Stratum proxy version: 1.
2.0
2013-03-08 13:42:20,917 INFO proxy mining_proxy.main # Trying to connect to Stra
tum pool at stratum.bitcoin.cz:3333
2013-03-08 13:42:21,029 INFO stats stats.print_stats # 1 peers connected, state
changed 1 times
2013-03-08 13:42:21,029 INFO proxy mining_proxy.on_connect # Connected to Stratu
m pool at stratum.bitcoin.cz:3333
2013-03-08 13:42:21,029 INFO proxy mining_proxy.on_connect # Subscribing for min
ing jobs
2013-03-08 13:42:21,151 INFO proxy mining_proxy.main # -------------------------
----------------------------------------------
2013-03-08 13:42:21,151 INFO proxy mining_proxy.main # PROXY IS LISTENING ON ALL
 IPs ON PORT 3333 (stratum) AND 8332 (getwork)
2013-03-08 13:42:21,151 INFO proxy mining_proxy.main # -------------------------
----------------------------------------------
2013-03-08 13:42:21,153 INFO proxy client_service.handle_event # New job b for p
revhash a01b50b9, clean_jobs=True
2013-03-08 13:42:34,239 INFO stats stats.print_stats # 2 peers connected, state
changed 1 times
2013-03-08 13:42:34,240 ERROR protocol protocol.process_failure # [Failure insta
nce: Traceback: <type 'exceptions.TypeError'>: subscribe() takes exactly 1 argum
ent (2 given)
stratum\protocol.pyo:166:dataReceived
stratum\protocol.pyo:191:lineReceived
stratum\services.pyo:13:_handle_event
stratum\services.pyo:81:call
--- <exception caught here> ---
twisted\internet\defer.pyo:134:maybeDeferred
stratum\services.pyo:78:_run
twisted\internet\defer.pyo:1178:unwindGenerator
]
None






Sorry I can't help. But you mine on a Galaxy? Isn't that a tablet/phone? How fast does it go?
loshia
Legendary
*
Offline Offline

Activity: 1610
Merit: 1000


View Profile
March 08, 2013, 08:37:02 PM
 #8894

Guy's
There is a problem with pool authorization with 2.11.1 tried latest commit (81567e515707891837f52bc3aac7d5916dfff5a2). When i start cgminer it says pool rejected share error unauthorized. After a couple of restarts it is ok. This happens for the first time though and was ok all the way up to 2.10.5
Best

Please help the Led Boy aka Bicknellski to make us a nice Christmas led tree and pay WASP membership fee here:
https://bitcointalk.org/index.php?topic=643999.msg7191563#msg7191563
And remember Bicknellski is not collecting money from community;D
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
March 08, 2013, 11:28:39 PM
 #8895

...
Sorry I can't help. But you mine on a Galaxy? Isn't that a tablet/phone? How fast does it go?
Yeah the ASIC MiniRig will be using an ASUS Nexus7 (I have a Nexus7 already given to me by BFL while I was there)
I also have a Samsung Galaxy S III (free with my contract renewal on my phone a week before I went to BFL)
So yeah I'll be messing with testing cgminer on android soon ... and hoping at least the Nexus7 can handle 1.5TH/s ... so a GSIII 'should' handle an FPGA or a Single ASIC easily enough Smiley
"George" at BFL of course is the one doing it - but I'll try getting it to work on the command line on the Nexus7 (and my phone) myself as well once we have some ASIC hardware and cgminer working with it.
ckolivas current git (and mine also - but nothing extra in my git at the moment) are all the new USB code with hotplug etc.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
March 09, 2013, 01:21:03 AM
 #8896

Guy's
There is a problem with pool authorization with 2.11.1 tried latest commit (81567e515707891837f52bc3aac7d5916dfff5a2). When i start cgminer it says pool rejected share error unauthorized. After a couple of restarts it is ok. This happens for the first time though and was ok all the way up to 2.10.5
Best
Working hard to fix remaining showstopper bugs in 2.11... new version out today sometime.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Evan
Hero Member
*****
Offline Offline

Activity: 507
Merit: 500



View Profile
March 09, 2013, 05:36:22 AM
 #8897

I am still having issues.. Card is clocked at stock speeds and everything is up to date...



Keep getting Invalid Nonce - HW error.... Sad


Any ideas?

I am poor, but i do work for Coin Smiley
1PtHcavXoakgNkQfEQdvnvEksEY2NvwaLM
dishwara
Legendary
*
Offline Offline

Activity: 1855
Merit: 1016



View Profile
March 09, 2013, 05:50:47 AM
 #8898

...
Sorry I can't help. But you mine on a Galaxy? Isn't that a tablet/phone? How fast does it go?
Yeah the ASIC MiniRig will be using an ASUS Nexus7 (I have a Nexus7 already given to me by BFL while I was there)
I also have a Samsung Galaxy S III (free with my contract renewal on my phone a week before I went to BFL)
So yeah I'll be messing with testing cgminer on android soon ... and hoping at least the Nexus7 can handle 1.5TH/s ... so a GSIII 'should' handle an FPGA or a Single ASIC easily enough Smiley
"George" at BFL of course is the one doing it - but I'll try getting it to work on the command line on the Nexus7 (and my phone) myself as well once we have some ASIC hardware and cgminer working with it.
ckolivas current git (and mine also - but nothing extra in my git at the moment) are all the new USB code with hotplug etc.
Mining in mobile, tablet?
My head spinning.
-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
March 09, 2013, 06:00:31 AM
Last edit: March 09, 2013, 11:02:10 PM by ckolivas
 #8899

New version: 2.11.2, 9th March 2013

Keep on quashing bugs in 2.11 series and developing further, hopefully a stable release soonish (this one if we're lucky!).


Human readable changelog:

Numerous fixes to the parallel pool test startup code which should work robustly now, including fixes for crashes and failure to fall back to pools when they come back to life.
Ability to start work on a backup pool much sooner once a stratum pool gets an interrupted connection.
Hopefully fixes for API related crashes.
Fixed a memory leak with GPU share submission.
More named threads on operating systems that support them.
Make AMD APP SDK 2.8 GPUs use diablo kernel for non-Tahiti chipsets.
Fixed an ancient bug where if you have multiple OpenCL platforms installed (eg Intel and AMD) with no devices on the highest numbered one, cgminer would refuse to work on any devices.


Full changelog:

- Whitelist AMD APP SDK 2.8 for diablo kernel.
- Cope with the highest opencl platform not having usable devices.
- Fix memory leak with share submission on GPU work structures as discovered by
twobitcoins.
- usb_cleanup() without locking.
- Use curl_easy_cleanup to close any open stratum sockets. (Spotted by luke-Jr)
- Show pool number in switch message
- Don't start testing any pools with the watchpool thread if any of the test
threads are still active.
- Set sockd to false should curl setup fail on stratum.
- Close any open sockets when reusing a curl handle and reopen the socket
whenever we're retrying stratum.
- Set pool died on failed testing to allow idle flag and time to be set.
- Remove unused pthread_t typedefs from struct pool.
- Perform pool_resus on all pools that are found alive with the test pool
threads.
- Use pool_unworkable in select_balanced as well.
- Differentiate pool_unusable from pool_unworkable.
- Keep a connection open on higher priority stratum pools to fail back to them.
- Rename threads according to what pool they're associated with as well.
- Set the wrong bool in pool_active
- Start the stratum thread only if we successfully init and authorise it,
otherwise unset the init flag.
- Make the initialisation of the stratum thread more robust allowing the
watchpool thread safe access to it after the stratum thread is started.
- API no longer ignore send() status
- API make the main socket non-static

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
March 09, 2013, 07:41:22 AM
 #8900

2.11.2a 2.11.2 recompiled on 64 bit xubuntu 11.04 (as usual) and also on the RPi 32 (2012-12-16-wheezy-raspbian)

https://github.com/kanoi/cgminer-binaries
(the 64 bit version also works on Fedora 16 and 17)

To get the 64 bit xubuntu 11.04 binary:
wget https://github.com/kanoi/cgminer-binaries/raw/master/Ubuntu_11.04_x86_64/cgminer-2.11.2a
chmod +x cgminer-2.11.2a
md5sum cgminer-2.11.2a

f8ed7b7718d98084ed4baacf6b31d6bb  cgminer-2.11.2a

To get the RPi 32bit binary:
wget https://github.com/kanoi/cgminer-binaries/raw/master/RPi_32/cgminer-2.11.2a
chmod +x cgminer-2.11.2a
md5sum cgminer-2.11.2a

fa9d9320acf7cd3d39881e29648618d1  cgminer-2.11.2a

For anyone who didn't realise, it's just the executable file to put in place of 'cgminer'
Nothing else needs changing
On xubuntu 11.04 - first get and extract the full binary release from ckolivas and then copy my file in place of 'cgminer'

I've run both binaries without any problems with 1x6950 (yep I've started using one again Tongue) 1xBFL, 2xICA and 1xMMQ

The same configure options as cvolivas' binary version for 64 bit xubuntu 11.04
In case anyone was wondering:
CFLAGS="-g -W -Wall" ./autogen.sh --enable-icarus --enable-bitforce --enable-ztex --enable-modminer --enable-scrypt
make clean
make

However, the -g (instead of -O2) means it's a debug build so if anyone finds a problem and has core dumps enabled, it will dump a much more useful debug core.

All FPGAs (only) for the RPi 32bit version
CFLAGS="-g -W -Wall" ./autogen.sh --enable-icarus --enable-bitforce --enable-modminer --enable-ztex
make clean
make

You will need to install libusb-1.0.0

Reminders from before:

1
Important re-paste from before:
Now some important information about the BFL USB driver.
On linux, if you wish to switch back to the 2.10.5a, 2.10.4a or earlier version, you'll need to unplug and re-plug in your FPGAs or reboot your rig.
On windows (as described in FPGA-README) you'll need to update your windows USB driver to use the new cgminer


2
OK, if you are running cgminer 2.11.0 (or later) on linux as non-root user you may need to do the following also:

Create /etc/udev/rules.d/01-cgminer.rules
With:
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6014", SUBSYSTEMS=="usb", ACTION=="add", MODE="0666", GROUP="plugdev"
ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0003", SUBSYSTEMS=="usb", ACTION=="add", MODE="0666", GROUP="plugdev"


And also:
sudo usermod -G plugdev -a `whoami`

Then reboot ... (or use udevadm to reload the rules and retrigger the devices - but I couldn't get that to work on my RPi without rebooting)

That is a bit overkill, but for now that's what I suggest unless I come up with a simpler set of rules.

Edit: if your linux distro doesn't have the 'plugdev' group, you can create it like:
sudo groupadd plugdev


3
If you read the FPGA-README, it mentions you need to use the WinUSB driver - not the FTDI one.
As per:
Code:
For ModMinerQuad (MMQ) and BitForce (BFL)
-----------------------------------------

...

The best solution for this is to use a tool called Zadig to set the driver:
 http://sourceforge.net/projects/libwdi/files/zadig/

This allows you set the driver for the device to be WinUSB which is usually
required to make it work if your having problems
Cgminer no longer uses the specific drivers - it's direct USB using the single libusb driver
(for everything 'USB' except Icarus - until I get around to changing that ... possibly one day in the far future Tongue)

Edit: 2 suggestions about zadig:
1) Run it as administrator
2) Menu: Options -> List all devices

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Pages: « 1 ... 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 [445] 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 ... 843 »
  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!