Bitcoin Forum
December 06, 2016, 02:19:16 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 [43] 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4819617 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.
jamesg
VIP
Legendary
*
Offline Offline

Activity: 1330


AKA: gigavps


View Profile
August 15, 2011, 09:33:10 AM
 #841

Okay so I had some generous people offer me BTC online to get the windows binary version working, and I DID see someone offer a BTC bounty to get the windows binary working, so I've fluffed around for the last 2 days on a windows virtual machine to build some win32 binaries.

http://ck.kolivas.org/apps/cgminer/cgminer-1.5.4-win32.zip

Hopefully people appreciate the effort.

I will send the 1 BTC bounty promised after I test the binary. Thanks for taking care of this!
1481033956
Hero Member
*
Offline Offline

Posts: 1481033956

View Profile Personal Message (Offline)

Ignore
1481033956
Reply with quote  #2

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

Activity: 10


View Profile
August 15, 2011, 09:36:29 AM
 #842

Okay so I had some generous people offer me BTC online to get the windows binary version working, and I DID see someone offer a BTC bounty to get the windows binary working, so I've fluffed around for the last 2 days on a windows virtual machine to build some win32 binaries.

http://ck.kolivas.org/apps/cgminer/cgminer-1.5.4-win32.zip

Hopefully people appreciate the effort.

Actually the only binary that works correctly with CPU mining (for me at least) is 1.4.1.

1.5.1 only generates stales for me. And 1.5.4 doesn't work at all with any of the algo's. When I compile it for windows myself I do have the 4way algo, but it also crashes, so Ycros must have some magic wand to make it work or something like that.
LightRider
Legendary
*
Offline Offline

Activity: 1488


I advocate the Zeitgeist Movement & Venus Project.


View Profile WWW
August 15, 2011, 09:52:22 AM
 #843

Okay so I had some generous people offer me BTC online to get the windows binary version working, and I DID see someone offer a BTC bounty to get the windows binary working, so I've fluffed around for the last 2 days on a windows virtual machine to build some win32 binaries.

http://ck.kolivas.org/apps/cgminer/cgminer-1.5.4-win32.zip

Hopefully people appreciate the effort.

Actually the only binary that works correctly with CPU mining (for me at least) is 1.4.1.

1.5.1 only generates stales for me. And 1.5.4 doesn't work at all with any of the algo's. When I compile it for windows myself I do have the 4way algo, but it also crashes, so Ycros must have some magic wand to make it work or something like that.

I've been noticing the same thing. Guess I'll have to use a different miner for cpu.

Bitcoin combines money, the wrongest thing in the world, with software, the easiest thing in the world to get wrong.
Visit www.thevenusproject.com and www.theZeitgeistMovement.com.
phase
Jr. Member
*
Offline Offline

Activity: 49



View Profile
August 15, 2011, 11:03:53 AM
 #844

Personally I would just avoid CPU mining unless you don't have to pay for the electricity, it introduces a bunch of extra power usage and heat for little added MH/s, bringing down your profitability (assuming you do pay for electricity). In my case it went so far as that the added heat from CPU mining caused my GPU's to throttle to the point where I had a better MH/s yield and less heat (issues) by just leaving the CPU alone. But that doesn't fix the problem of course.
ZombieDeity
Member
**
Offline Offline

Activity: 91


View Profile
August 15, 2011, 01:18:56 PM
 #845

Personally I would just avoid CPU mining unless you don't have to pay for the electricity, it introduces a bunch of extra power usage and heat for little added MH/s, bringing down your profitability (assuming you do pay for electricity). In my case it went so far as that the added heat from CPU mining caused my GPU's to throttle to the point where I had a better MH/s yield and less heat (issues) by just leaving the CPU alone. But that doesn't fix the problem of course.

I agree.  Do away with CPU mining altogether in CGMiner.  You'd be doing people a favor by not letting them waste electricity on an unprofitable venture.
phase
Jr. Member
*
Offline Offline

Activity: 49



View Profile
August 15, 2011, 02:17:31 PM
 #846

I agree.  Do away with CPU mining altogether in CGMiner.  You'd be doing people a favor by not letting them waste electricity on an unprofitable venture.
True, if you're mining with GPU's and augmenting with CPU, it will decrease your profitability, but if you're mining with CPU's only, it will be at a loss. Even with very conservative electric prices, take for instance an Intel Core i7 950 @ 130W producing 18 MH/s, enter those numbers in the BitcoinX Profitability Calculator with an electric rate of 0.08 and exchange rate of 7.5 (I'm using EUR instead of USD in this example), you would be losing about 5.50 EUR per month on electricity costs (and mind you that this example is a "social rate", it is the very cheapest electric rate available). CPU mining is at this point (marginally) profitable only for those who don't pay for the electricity it uses (that is, those who use others' resources - it would have been more efficient to just outright steal real money directly from them).

If stripping it out improves portability of the code, then why not? Though it is a shame of all the work that went into it. But at the very least it would prevent malicious 'users' from embedding it in their malware and getting cgminer taken up into anti-virus definitions, just look at what happened to Ufasoft's SSE2 miner.
Meatball
Sr. Member
****
Offline Offline

Activity: 322



View Profile
August 15, 2011, 02:34:20 PM
 #847

I agree CPU mining is unprofitable, and I don't do it, but you can't rule it out entirely.  I'm sure there's some people that mine regardless of the cost do it for the sake of helping the project along.

You don't make profit from Folding @ Home or SETI, but people do it all the same.  
Matoking
Sr. Member
****
Offline Offline

Activity: 352

Firstbits: 1m8xa


View Profile WWW
August 15, 2011, 02:42:56 PM
 #848

The latest CGMiner Windows executable fails to start mining giving these errors

Code:
Error: clSetKernelArg of all params failed.

Thread 0 failure, exiting
Error: clSetKernelArg of all params failed.

Thread 1 failure, exiting

et cetera et cetera...

BTC : 1CcpmVDLvR7DgA5deFGScoNhiEtiJnh6H4 - LTC : LYTnoXAHNsemMB2jhCSi1znQqnfupdRkSy
Bitcoin-otc
BitBin - earn bitcoins with your pastes!
ace24
Newbie
*
Offline Offline

Activity: 12


View Profile
August 15, 2011, 07:03:08 PM
 #849

The latest CGMiner Windows executable fails to start mining giving these errors

Code:
Error: clSetKernelArg of all params failed.

Thread 0 failure, exiting
Error: clSetKernelArg of all params failed.

Thread 1 failure, exiting

et cetera et cetera...

Same problem on self-compiled OSX (10.7) version. Linux 1.5.4 appears to be working well.
Internet151
Full Member
***
Offline Offline

Activity: 174



View Profile
August 15, 2011, 07:14:55 PM
 #850

Is cgminer 1.5.4 using the latest phatk kernel update (2011-08-11) from https://bitcointalk.org/index.php?topic=25860.0 ?
c_k
Donator
Sr. Member
*
Offline Offline

Activity: 242



View Profile
August 15, 2011, 07:30:33 PM
 #851

Can we please get a detailed explanation of how the queue option works ?

I mine on a pool that pays for stales and gets communication errors now and then, would it help to bump up the queue option?

c_k
Donator
Sr. Member
*
Offline Offline

Activity: 242



View Profile
August 15, 2011, 07:40:55 PM
 #852

Is there anything we can do to help with this sort of problem where it discards shares on a pool that pays for stales?

Quote
[2011-08-16 07:38:09] Accepted 2941f9b6 GPU 1 thread 3 pool 0
[2011-08-16 07:38:15] Pool 0 communication failure, caching submissions
[2011-08-16 07:38:16] Pool 0 communication resumed, submitting work
[2011-08-16 07:38:16] Accepted d21542b5 GPU 0 thread 2 pool 0
[2011-08-16 07:38:19] Accepted 6c815828 GPU 1 thread 3 pool 0
[2011-08-16 07:38:21] Pool 0 communication failure, caching submissions
[2011-08-16 07:38:22] Pool 0 communication resumed, submitting work
[2011-08-16 07:38:22] Accepted 0e489e50 GPU 1 thread 3 pool 0
[2011-08-16 07:38:23] Accepted f0db8f2c GPU 0 thread 0 pool 0
[2011-08-16 07:38:24] Accepted 636c7d35 GPU 1 thread 1 pool 0
[2011-08-16 07:38:26] Pool 0 communication failure, caching submissions
[2011-08-16 07:38:35] Pool 0 communication resumed, submitting work
[2011-08-16 07:38:35] Accepted 3d884dcc GPU 0 thread 2 pool 0
[2011-08-16 07:38:37] Pool 0 communication failure, caching submissions
[2011-08-16 07:38:43] Stale share detected, discarding
[2011-08-16 07:39:21] Pool 0 communication resumed, submitting work
[2011-08-16 07:39:21] Accepted eacb1dcd GPU 1 thread 1 pool 0
[2011-08-16 07:39:30] Accepted 47fabe52 GPU 0 thread 2 pool 0

LightRider
Legendary
*
Offline Offline

Activity: 1488


I advocate the Zeitgeist Movement & Venus Project.


View Profile WWW
August 15, 2011, 08:05:35 PM
 #853

The latest CGMiner Windows executable fails to start mining giving these errors

Code:
Error: clSetKernelArg of all params failed.

Thread 0 failure, exiting
Error: clSetKernelArg of all params failed.

Thread 1 failure, exiting

et cetera et cetera...

My GPU threads were constantly sick and dying. I had to revert to an earlier version. Something might be wrong with this latest build.

Bitcoin combines money, the wrongest thing in the world, with software, the easiest thing in the world to get wrong.
Visit www.thevenusproject.com and www.theZeitgeistMovement.com.
c_k
Donator
Sr. Member
*
Offline Offline

Activity: 242



View Profile
August 15, 2011, 08:07:48 PM
 #854

The latest CGMiner Windows executable fails to start mining giving these errors

Code:
Error: clSetKernelArg of all params failed.

Thread 0 failure, exiting
Error: clSetKernelArg of all params failed.

Thread 1 failure, exiting

et cetera et cetera...

My GPU threads were constantly sick and dying. I had to revert to an earlier version. Something might be wrong with this latest build.

The latest windows build works okay for me, what hardware and software configuration do you have?

LightRider
Legendary
*
Offline Offline

Activity: 1488


I advocate the Zeitgeist Movement & Venus Project.


View Profile WWW
August 15, 2011, 09:40:11 PM
 #855

The latest CGMiner Windows executable fails to start mining giving these errors

Code:
Error: clSetKernelArg of all params failed.

Thread 0 failure, exiting
Error: clSetKernelArg of all params failed.

Thread 1 failure, exiting

et cetera et cetera...

My GPU threads were constantly sick and dying. I had to revert to an earlier version. Something might be wrong with this latest build.

The latest windows build works okay for me, what hardware and software configuration do you have?

Win7 x64
Nvidia Drivers: 275.33 Edit: I just looked and there are updated drivers out right now. Will see if that makes a difference.
AMD Phenom 9750
Nvidia Gefoce 9600
Nvidia Geforce 9500

Impressive, no?

Bitcoin combines money, the wrongest thing in the world, with software, the easiest thing in the world to get wrong.
Visit www.thevenusproject.com and www.theZeitgeistMovement.com.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
August 15, 2011, 11:29:14 PM
 #856

Is there anything we can do to help with this sort of problem where it discards shares on a pool that pays for stales?

Quote
[2011-08-16 07:38:37] Pool 0 communication failure, caching submissions
[2011-08-16 07:38:43] Stale share detected, discarding
Well it's the wrong thing for the pool to be accepting stale shares since that work is likely useless, so it's in the pool's best interest to not do so. On the other hand, if you're mining for such a pool, I guess you get to "cheat" with this useless work, so I can see how it would be an advantage to you. I could easily add another switch to the command line such as --submit-stale .

edit: This option has been committed to the tree.

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

Activity: 17


View Profile
August 16, 2011, 05:42:34 AM
 #857

Has anyone built successfully cgminer on Mac OS X 10.6.8 or 10.7?
I have tried it myself, and got this error:

Code:
./configure: line 11004: syntax error near unexpected token `PKG_CHECK_MODULES'
./configure: line 11004: `PKG_CHECK_MODULES(LIBCURL, libcurl >= 7.15.6, AC_DEFINE([CURL_HAS_SOCKOPT], [1], [Defined if version of curl supports sockopts.]),'

On Lion there is curl version 7.21.4 installed, see:
Code:
curl --version
curl 7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM SSL libz

Any ideas or suggestions?
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
August 16, 2011, 05:46:28 AM
 #858

You need pkg-config installed.

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

Activity: 1988


Ruu \o/


View Profile WWW
August 16, 2011, 07:17:31 AM
 #859

New version. NOTE the windows binary should CPU mine again (-O3 was unstable, but -O2 works) and includes a cpumine only executable as well.

Source:
http://ck.kolivas.org/apps/cgminer/cgminer-1.5.5.tar.bz2
http://ck.kolivas.org/apps/cgminer/cgminer-1.5.5.tar.lrz

Ubuntu:
http://ck.kolivas.org/apps/cgminer/cgminer-1.5.5-x86_64-built.tar.bz2
http://ck.kolivas.org/apps/cgminer/cgminer-1.5.5-x86_64-built.tar.lrz

Windows 32 bit binary:
http://ck.kolivas.org/apps/cgminer/cgminer-1.5.5-win32.zip


Version 1.5.5 - August 16, 2011

- Rework entirely the GPU restart code. Strike a balance between code that
re-initialises the GPU entirely so that soft hangs in the code are properly
managed, but if a GPU is completely hung, the thread restart code fails
gracefully, so that it does not take out any other code or devices. This will
allow cgminer to keep restarting GPUs that can be restarted, but continue
mining even if one or more GPUs hangs which would normally require a reboot.
- Add --submit-stale option which submits all shares, regardless of whether they
would normally be considered stale.
- Keep options in alphabetical order.
- Probe for slightly longer for when network conditions are lagging.
- Only display the CPU algo when we're CPU mining.
- As we have keepalives now, blaming network flakiness on timeouts appears to
have been wrong.     Set a timeout for longpoll to 1 hour, and most other
network connectivity to 1 minute.
- Simplify output code and remove HW errors from CPU stats.
- Simplify code and tidy output.
- Only show cpu algo in summary if cpu mining.
- Log summary at the end as per any other output.
- Flush output.
- Add a linux-usb-cgminer guide courtesy of Kano.

Courtesy of znort:
    Add automated benchmark of the CPU hashers
   
        The --algo switch now accepts the "auto" argument.
   
        When "auto" is passed to --algo, cgminer starts by benchmarking
        all the CPU algorithms it nows about and picks the fastest.
   
        This is useful for benchmarking, but also for folks who run
        cgminer on a large number of heterogeneous computers because
        it saves them from having to configure each instance optimally.
   
        Caveat emptor: depending on the platform, some algorithms will
        fail with "illegal instruction" (e.g. via padlock code on non via
        platforms, or SSE4 code on non SSE4 platforms).
   
        To protect against this, cgminer runs the benchmarks in a child
        process. The crash, if any occurs in the child, and the parent
        marks this algo as "fails" and continues benchmarking the next
        algorithm.

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

Activity: 1488


I advocate the Zeitgeist Movement & Venus Project.


View Profile WWW
August 16, 2011, 08:14:09 AM
 #860

Works for me, thanks!

Bitcoin combines money, the wrongest thing in the world, with software, the easiest thing in the world to get wrong.
Visit www.thevenusproject.com and www.theZeitgeistMovement.com.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 [43] 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 ... 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!