Bitcoin Forum
April 24, 2024, 06:35:20 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
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 »
  Print  
Author Topic: python OpenCL bitcoin miner  (Read 1238799 times)
qed
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
March 27, 2011, 06:14:13 AM
 #721

Version 20110325 is a good 5%-10% slower on my 2nd and 3rd card compared to version 20110311.

On the contrary, on my 2x5970 Linux mining rig, no difference in hashspeed compared to older versions. Everything works fine.

Crossfire disabled?

Mobile App (Android)

Monitor miners, exchange rates and Bitcoin network stats.
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713983720
Hero Member
*
Offline Offline

Posts: 1713983720

View Profile Personal Message (Offline)

Ignore
1713983720
Reply with quote  #2

1713983720
Report to moderator
1713983720
Hero Member
*
Offline Offline

Posts: 1713983720

View Profile Personal Message (Offline)

Ignore
1713983720
Reply with quote  #2

1713983720
Report to moderator
1713983720
Hero Member
*
Offline Offline

Posts: 1713983720

View Profile Personal Message (Offline)

Ignore
1713983720
Reply with quote  #2

1713983720
Report to moderator
Raulo
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
March 27, 2011, 07:29:30 AM
 #722

On the contrary, on my 2x5970 Linux mining rig, no difference in hashspeed compared to older versions. Everything works fine.

Crossfire disabled?

Yes, disabled.

1HAoJag4C3XtAmQJAhE9FTAAJWFcrvpdLM
zoro
Full Member
***
Offline Offline

Activity: 226
Merit: 100


View Profile
March 27, 2011, 11:41:27 AM
 #723

try sdk 2.2 instead

"killer app" of BTC = MasterCoin https://bitcointalk.org/index.php?topic=265488.0Mastercoin(A new protocol layer on top of Bitcoin)
kindle
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
March 27, 2011, 08:39:10 PM
 #724

Hi does anyone know if the accepted shares should be shown?

I am running solo with the latest poclbm client and unlike mining in pool the command prompt doesn't show any accepted shares or rejected shares. Is this normal?

Cheers!

Beremat
Full Member
***
Offline Offline

Activity: 263
Merit: 100


YGOLD is a Defi platform


View Profile
March 27, 2011, 08:42:16 PM
 #725

Hi does anyone know if the accepted shares should be shown?

I am running solo with the latest poclbm client and unlike mining in pool the command prompt doesn't show any accepted shares or rejected shares. Is this normal?

Cheers!
There are no shares when mining solo, only found blocks.

kindle
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
March 27, 2011, 08:43:50 PM
 #726

Oh thanks for the prompt reply, will overclocking failure reflect rejected?

m4rkiz
Full Member
***
Offline Offline

Activity: 170
Merit: 100


View Profile
March 29, 2011, 11:38:30 AM
 #727

Version 20110325 is a good 5%-10% slower on my 2nd and 3rd card compared to version 20110311.

i have a drop of ~2000 khash/s on 6950 and ~1000 khash/s on 5970 and 5870, nothing major, not even 1%
nelisky
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001


View Profile
March 29, 2011, 05:30:01 PM
 #728

Not sure if this was discussed before, I didn't find anything on my 5 seconds search. I needed to use ssl for remote miners and while bitcoind now supports that out of the box, poclbm didn't seem to, at least not the version I was using (and I'm too lazy to try and upgrade a perfectly running system) so here's a patch to allow for that. Patch is for BitcoinMiner.py and you just supply the host part with 'https://' prefix to make it use ssl.

Code:
158,159c158,162
<
< self.host = '%s:%s' % (host.replace('http://', ''), port)
---
> if host.find('https:') >= 0:
> self.connector = httplib.HTTPSConnection
> else:
> self.connector = httplib.HTTPConnection
> self.host = '%s:%s' % (host.replace('http://', '').replace('https://', ''), port)
220c223
< self.connection = httplib.HTTPConnection(self.host, strict=True, timeout=5)
---
> self.connection = self.connector(self.host, strict=True, timeout=5)
m0mchil (OP)
Full Member
***
Offline Offline

Activity: 171
Merit: 127


View Profile
March 29, 2011, 07:43:09 PM
 #729

Thanks nelisky! I'll add this in next version.

Elanzer
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
March 31, 2011, 01:29:21 AM
 #730

try sdk 2.2 instead

Using SDK 2.2 instead of 2.3 or 2.4, I still get 2 cores put to 100% load using a HD 5870 and HD 5670 on Win7.

For the meanwhile anyone with this problem can set CPU affinity to only 1 (same for all) core for all poclbm processes so only one core is fully loaded, that way less electricity is used and less heat is made until a proper solution arises.. it doesn't seem to effect hash rate at all.
niooron
Full Member
***
Offline Offline

Activity: 193
Merit: 100


View Profile
April 03, 2011, 03:28:43 AM
 #731

A while ago I installed opensuse 11.4, what exactly I need to do to use poclbm? The source only has 4 files and no makefile.
CD-RW
Jr. Member
*
Offline Offline

Activity: 56
Merit: 22


View Profile
April 03, 2011, 12:31:51 PM
 #732

Still have the CTRL+c error

Code:
03/04/2011 14:29:26, Unexpected error:
Traceback (most recent call last):
  File "BitcoinMiner.pyo", line 142, in mine
IOError: [Errno 4] Interrupted function call

bye

Doesn't look like a graceful shutdown to me Tongue
kelp
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
April 04, 2011, 07:55:43 PM
 #733

I'm getting a crash on Mac OS X 10.6.7 with m0mchil-poclbm-b981138. It doesn't crash with m0mchil-poclbm-74a5442.

I've posted the stack trace here:
https://gist.github.com/902241

I'm running it like this:

python poclbm.py -o deepbit.net -p 8332 -u <email> --pass=<password> -d 0 -f 120

This is with Python 2.6.6 installed from MacPorts. All dependencies were also installed from MacPorts.

Anyone else running into this and found a fix?
FnuGk
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
April 05, 2011, 04:28:54 PM
 #734

I'm getting a crash on Mac OS X 10.6.7 with m0mchil-poclbm-b981138. It doesn't crash with m0mchil-poclbm-74a5442.

I've posted the stack trace here:
https://gist.github.com/902241

I'm running it like this:

python poclbm.py -o deepbit.net -p 8332 -u <email> --pass=<password> -d 0 -f 120

This is with Python 2.6.6 installed from MacPorts. All dependencies were also installed from MacPorts.

Anyone else running into this and found a fix?

how do i run it on mac?

sanchaz
Member
**
Offline Offline

Activity: 90
Merit: 10


View Profile
April 05, 2011, 05:30:46 PM
Last edit: April 05, 2011, 05:59:28 PM by sanchaz
 #735

Hi,

I have a HD5850, and installed the AMD STREAM SDK 2.2.
But whenever i try to launch the miner i get my cpu's being used at 100% and no activity from the GPU.

Quote
Q: Why it uses 100% CPU?

You probably selected the CPU as OpenCL device. Or you are using it on Linux with AMD Stream SDK 2.2. Use 2.1 instead.

So how do i select the GPU as OpenCL device?

thank you.

EDIT: never mind just changed -d 0 to -d1 and the gpu was used.

Is there an option to limit the usage of the GPU to 50%?

Anonymous Cash-By-Mail Exchange: https://www.bitcoin2cash.com
kelp
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
April 05, 2011, 05:31:28 PM
 #736

I'm getting a crash on Mac OS X 10.6.7 with m0mchil-poclbm-b981138. It doesn't crash with m0mchil-poclbm-74a5442.

I've posted the stack trace here:
https://gist.github.com/902241

I'm running it like this:

python poclbm.py -o deepbit.net -p 8332 -u <email> --pass=<password> -d 0 -f 120

This is with Python 2.6.6 installed from MacPorts. All dependencies were also installed from MacPorts.

Anyone else running into this and found a fix?

Oddly, now it's working fine for me with b981138.
Mongol
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
April 05, 2011, 08:22:41 PM
 #737



AMD 5xxx and up
use '-v -w 128'

Hi miners!

This should be "-v -w 128" or "-v -w128" without quote of course?
kelp
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
April 05, 2011, 11:26:53 PM
 #738


how do i run it on mac?



This is what I had to do.

Download and install Xcode

Install MacPorts from: http://www.macports.org/install.php

Install the dependences for poclbm. This step may take a long time while it downloads and compiles stuff:

sudo port install py26-pyopencl

Download the sources for m0mchil-poclbm, from https://github.com/m0mchil/poclbm

then open a terminal and extract it, and give it a try.

mkdir Bitcoin
cd Bitcoin
tar zxvf ~/Downloads/m0mchil-poclbm-b981138.tar
cd m0mchil-poclbm-b981138/
python2.6 poclbm.py -d 0 -o yourfavoriteminer -p 8332 -u user@example.com --pass=something

Be aware, that for what ever reason, OS X is FAR slower for mining than Linux or Windows. I run this on a Mac Pro with a pair of ATI Radeon HD 5770s. In OS X I get about 65Mhash/s on one and 95Mhash/s on the other. I installed  Ubuntu 10.10 and boot into it through Bootcamp. There I get 170Mhash/s on each card, over 2x the performance.
laykaka
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
April 07, 2011, 03:57:12 AM
 #739

ขอบคุณมาก ครับ
nster
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
April 07, 2011, 04:00:27 AM
 #740

ขอบคุณมาก ครับ

That is Thai for Thank you very much

167q1CHgVjzLCwQwQvJ3tRMUCrjfqvSznd Donations are welcome Smiley Please be kind if I helped
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 »
  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!