Bitcoin Forum
April 27, 2024, 11:59:12 AM *
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)
L29Ah
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
October 23, 2010, 10:09:27 AM
 #101

  File "/usr/lib64/python2.6/site-packages/pyopencl/__init__.py", line 158, in kernel_call
    self.set_arg(i, arg)
TypeError: expected a readable buffer object

Upgrade to pyopencl-0.92.

Thank you! Getting 31MH/s from GeForce 9800 GTX if run with -f 10.
1714219152
Hero Member
*
Offline Offline

Posts: 1714219152

View Profile Personal Message (Offline)

Ignore
1714219152
Reply with quote  #2

1714219152
Report to moderator
"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714219152
Hero Member
*
Offline Offline

Posts: 1714219152

View Profile Personal Message (Offline)

Ignore
1714219152
Reply with quote  #2

1714219152
Report to moderator
1714219152
Hero Member
*
Offline Offline

Posts: 1714219152

View Profile Personal Message (Offline)

Ignore
1714219152
Reply with quote  #2

1714219152
Report to moderator
1714219152
Hero Member
*
Offline Offline

Posts: 1714219152

View Profile Personal Message (Offline)

Ignore
1714219152
Reply with quote  #2

1714219152
Report to moderator
xxmalouinxx
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
October 23, 2010, 01:29:15 PM
 #102

It finally work on my side !
Without optimisation, I got around 265000 khash/sec. I got an i7 920 oc to 3.6ghz with a radeon 5970. I'm gonna look to do some tweak to speed up this thing a bit Wink If you have any comment or something you want me to try don't hesitate. By the way, I've been running this thing tonight, and in 8 hours, my wallet is still at 0. Is it normal ? Do I need to restart it? Or it's just like the way it should work, which mean it's still pretty long to generate? Thanks for your OpenCL gui Moo, I really appreciate it !

Malouin

P-S I think I only got 265000 khash/sec on my 5970 because i'm only using 1 heart. When I'm at the point I need to choose the device, I see 3 option, 0 = my cpu, and 1 and 2 is the same thing. is it possible ?
LZ
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
October 23, 2010, 01:39:14 PM
 #103

265 mhps? Shocked

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
xxmalouinxx
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
October 23, 2010, 01:47:30 PM
Last edit: October 23, 2010, 02:12:45 PM by xxmalouinxx
 #104

Yes, just took you a screenshot

http://img835.imageshack.us/img835/2157/bitcoin.jpg

I'm pretty sure I can get the 500 by using my 2 heart, or maybe i'm totally wrong XD


Malouin
xxmalouinxx
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
October 23, 2010, 02:31:16 PM
 #105

The 4 that you see was just after I finished installing it. It was still downloading block. About the public or the test, I supose i'm on the public network. I simply did the bitcoin -server, and started the poclbm. While I was reading, I heard about a shared pool. Is it really that good ? If you have any info you can help me don't hesitate, I'm open to anything =) Btw i'm on irc ( Malouin ) presently if you wanna talk !

Malouin
xxmalouinxx
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
October 23, 2010, 02:53:57 PM
 #106

I see

Thanks for the info and for the help david, I really appreciate it. If you want me to do some test or help you on something, don't hesitate.

Malouin
m0mchil (OP)
Full Member
***
Offline Offline

Activity: 171
Merit: 127


View Profile
October 23, 2010, 04:43:32 PM
 #107

The miner should display 'bitcoin is downloading blocks...' until all blocks are downloaded. Please test. This was added in the SVN 163 patched client.

David, I removed usage of vectors. So the '-w 128' is not relevant anymore. Of course you can grab the vectors version from git and use it like before. It is really difficult to optimize for all possible devices. Current version is kind of best for all.

m0mchil (OP)
Full Member
***
Offline Offline

Activity: 171
Merit: 127


View Profile
October 23, 2010, 04:59:26 PM
 #108

From now on I'll post latest versions only in the initial post of this thread.

xxmalouinxx
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
October 23, 2010, 05:51:00 PM
 #109

Tried the -f 35 and -w 128. I get around 270m khash/s. And yes, I can load 2 separate poclbm, using device 1 and device 2, both are doing around 268m khash/s. Total of 536m khash/s.

And yes, it display the bitcoin is downloading blocks... Thanks !

Malouin
xxmalouinxx
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
October 23, 2010, 06:57:37 PM
 #110

Update : I Oc'ed my 5970 GPU clock from 725 MHZ to 800 MHZ and my memory clock from 1000 to 1305MHZ.

I'm now at 295m on each heart, total of 590m. Everything seem to be fine, I will let you know about futur update and how much I can get with the 5970.

Malouin
LZ
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
October 23, 2010, 09:21:08 PM
 #111

590 mhps!!! Shocked Shocked Shocked

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
xxmalouinxx
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
October 24, 2010, 03:31:59 AM
 #112

hehehe thanks guys =P

I was speaking with Art on irc today, and my next step will be to OC my 5970 from 800 to 910mhz. I should reach the 320mhash/s on each heart, which mean a big total of 640mhash/s.

I restarted my client at 15h30 EAST time, and will stop it tomorrow at the same time. It gonna give me some data to work on. After that, i'm going to OC it at 910mhz and see the result and report here with some screenshots.

Malouin
bethel
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
October 24, 2010, 07:02:35 AM
 #113

bethel, what are 5870s showing at stock frequency (850 MHz)? Perhaps one of the cards throttles down?

Latest version has new parameter, -w, to set work group size. I have best results on 5770 with -w 128 -f 35.

Latest py2exe version is http://github.com/downloads/m0mchil/poclbm/poclbm.7z

Sorry for the late reply, I have been away for a while.

I found my problem and it was so simple it is silly. I had not yet enabled the -frames switch to crunch faster. I still don't know why one card was faster without the switch but they are about equal now.

As for the mhash @ 850mhz I get about 265mhps.
bethel
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
October 24, 2010, 07:05:04 AM
 #114

Tried the -f 35 and -w 128. I get around 270m khash/s. And yes, I can load 2 separate poclbm, using device 1 and device 2, both are doing around 268m khash/s. Total of 536m khash/s.

And yes, it display the bitcoin is downloading blocks... Thanks !

Malouin

xxmalouinxx, what OS, SDK, and driver version are you on?

I can't seem to get my two cards to both run at the same time under Windows 7. Any hints?
xxmalouinxx
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
October 24, 2010, 11:47:45 AM
 #115

Windows 7 Ultimate / ATI SDK 2.2 for Win7 64 / Catalyst 10.7

I got a radeon 5970, so I don't have 2 cards, but 2 hearts on it. Art got 4 cards on 1 motherboard doing this, I'm gonna ask him when I see him.

Malouin
xxmalouinxx
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
October 24, 2010, 08:52:07 PM
 #116

Update :

Here's a screenshot of my last setting

http://img143.imageshack.us/img143/2157/bitcoin.jpg

640mhash/s - radeon 5970 870mhz/1305mhz - temp : 83c

Presently it run fine, but i'm not sure it gonna be stable, gonna update here if I have any news.

Malouin
LZ
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
October 25, 2010, 09:22:59 AM
 #117

I want it! Grin

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
October 25, 2010, 10:24:54 AM
 #118

incredible hashes/sec are incredible
do you think a Radeon 5970 would work fine with linux ?

fergalish
Sr. Member
****
Offline Offline

Activity: 440
Merit: 250


View Profile
October 25, 2010, 10:47:52 AM
 #119

core i7 quad, nvidia GT240, 64bit ubuntu 10.04

CPU: 7000 khps
GPU: 20000 khps

Should I be getting more?  I have python 2.6.5 installed.
xxmalouinxx
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
October 25, 2010, 11:10:49 AM
 #120

Davout : Yea it should work without any problem on linux. ArtForz actually use that.

Fergalish : the Nvidia GT240 got 385 Gflops, the radeon 5970 got 4640. If we base it on the fact that the 5970 got 230 000khash/s per core without being OC, it should be around 20 000 khash/s yes.

Malouin
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!