Bitcoin Forum
December 30, 2025, 10:27:45 AM *
News: Latest Bitcoin Core release: 30.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 1239738 times)
fasti
Member
**
Offline Offline

Activity: 92
Merit: 10


View Profile
April 28, 2011, 12:15:38 PM
 #801

http://support.amd.com/us/kbarticles/Pages/AMDCatalyst114ReleaseNotes.aspx

Quote
GPU Compute enhancements:

    The OpenCL runtime (included in AMD Catalyst 11.4) includes performance enhancements supporting zero-copy on APUs and increased performance for PCIe transfers between a CPU and discrete GPU.

Wonder if this can improve mining...

1QCcAR3e3wdxr7CcJ8ND1NmWuvLttCJScH
kindle
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
April 28, 2011, 03:38:37 PM
 #802

Hi m0mchil thanks for keeping your miner up to speed with the bit_int support. Out of curiosity does your latest version activate the bit_int support automatically? Is there a flag I have to add to activate it.

Also I noticed similar performance to that of phoenix. I guess essentially both miners are the same as it is running the same kernel, however is the hash checking the same for both?

JWU42
Legendary
*
Offline Offline

Activity: 1666
Merit: 1000


View Profile
April 28, 2011, 04:23:37 PM
 #803

I am seeing same performance as Phoenix 1.3 as well - fwiw

Seems BFI_INT is on by default

m0mchil (OP)
Full Member
***
Offline Offline

Activity: 171
Merit: 127


View Profile
April 28, 2011, 07:20:28 PM
 #804

@kindle
Yes, it is on by default if the hardware supports it.

Both miners are now the same in terms of hash checking. Phoenix has far better documented and structured code. It also cares about 'efficiency', something I'm tired of explaining that actually doesn't matter.

Also, Phoenix seems to have different way of load tuning (aggression) which on my particular setup results in more laggy behavior... and perhaps slightly better performance for dedicated mining rigs, not sure.

I hope I won't attract anger with blatantly copying their BFI_INT support. I tried something like this a month ago but didn't understand there is "elf within elf".

TheShoura
Member
**
Offline Offline

Activity: 98
Merit: 10

Testing


View Profile
April 28, 2011, 10:56:50 PM
 #805

How do you use the --platform flag?

http://asktom.cf/index.php?topic=6745.0

If you would like to send me a tip: 1HVGGWGWgHkyh9K8sntkZmXoiopX8Bsvv8

Security: 8452BCD9
ALWAYS gpg ident the person you're about to exchange with!
marcus_of_augustus
Legendary
*
Offline Offline

Activity: 3920
Merit: 2350


Eadem mutata resurgo


View Profile
April 28, 2011, 11:41:39 PM
 #806

New version is up. Changes:

- BFI_INT (~10% performance improvement)
- TCP keep-alive

thanks for the update.

Can confirm that poclbm is now up to speed with phoenix (maybe even slightly better but will have to watch shares found over time to confirm).

HD 5970, ubuntu 10.10, SDK 2.1, fglrx 11.2
seems that mem. under-clock speeds (775/300) with linux now works with m0mchill ... yay. Was this connected to the BFI_INT capability?

Faster, cooler, quieter.

Cablesaurus
Sr. Member
****
Offline Offline

Activity: 302
Merit: 250



View Profile WWW
April 29, 2011, 05:31:32 PM
 #807

I can confirm I'm getting greatly increased speeds.
On my XFX 5870's I went from ~330MHash to ~365MHash, each card, with no noticeable increase in temperature.

PCIe Extender Cables; Dummy Plugs, Fans; PSU Cables; Cases & More
Visit www.Cablesaurus.com and our forum thread at http://asktom.cf/index.php?topic=6128.0
error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
April 29, 2011, 05:47:25 PM
Last edit: April 29, 2011, 06:05:39 PM by error
 #808

After updating to 20110428 I have the following error (Fedora 15 x86_64; Python 2.7.1). Previous version ran fine.

EDIT: Nevermind, I just git cloned the repo instead of downloading stuff manually as this outdated guide suggests (maybe it should be updated). Everything is working.

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
CoinMan
Member
**
Offline Offline

Activity: 104
Merit: 10



View Profile
April 29, 2011, 10:53:30 PM
 #809

@m0mchil Thank you for the recent update to your miner!  It added 30 Mh/s to my miner.  How sweet that is!

My Bitcoin Identity
Bitcoin: 183DFFQXR4xCyseBXzmh3XWc22izDWE5Dw
IlbiStarz
Full Member
***
Offline Offline

Activity: 336
Merit: 100



View Profile
April 30, 2011, 01:21:49 AM
 #810

How can you tell what version you are running?

Also, how come in cmd, I'm getting about 320Mhash/s (I have 2 cores), but in deeptbit, the average is only 400Mhash/s.
LightRider
Legendary
*
Offline Offline

Activity: 1500
Merit: 1022


I advocate the Zeitgeist Movement & Venus Project.


View Profile WWW
April 30, 2011, 07:39:25 AM
 #811

Holy crap, I haven't updated in a whole month!

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.
wiktor
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
April 30, 2011, 09:59:58 AM
 #812

I know this is a tired subject, but I'm another victim of the "100% CPU" problem. Though everyone else seemed to have it with AMD cards, and I have an nVidia 9500 running on amd64 Linux.

Code:
./poclbm.py --host=<...> --port=8332 --user=<...> --pass=<...> --frames=76 --vectors --device=0 --platform=0

It is actually using the GPU since it goes up to 5.5 Mhps (my CPUs only go up to 2 Mhps on their own, also I was running minerd at the same time on those CPUs), but still uses a large chunk of my CPU (1 whole CPU), so it's not that I have somehow selected the CPU driver.

I've tried playing with some of the settings, turning off vectors only made it worse (it ate 1 CPU and a bit of another), changing the value of frames to 0 or 30 had no difference.
I have tried running it without minerd hogging the CPUs but that made no difference…


If I get this to work I'll be able to pull off over 13 Mhps (4×2Mhps + 5.5 Mhps - rounding), but if the script itself takes up a whole CPU the minerd's performance halves, so I get hardly 9-10 Mhps.


Oh, and hi!, BTW ;-)
LightRider
Legendary
*
Offline Offline

Activity: 1500
Merit: 1022


I advocate the Zeitgeist Movement & Venus Project.


View Profile WWW
April 30, 2011, 11:33:05 AM
 #813

I'm getting Long Poll Exceptions on BTCMine.com's pool.

Code:
30/04/2011 06:29:35, long poll exception:
Traceback (most recent call last):
  File "BitcoinMiner.pyo", line 259, in longPollThread
  File "BitcoinMiner.pyo", line 222, in request
  File "httplib.pyo", line 974, in getresponse
  File "httplib.pyo", line 391, in begin
  File "httplib.pyo", line 349, in _read_status
  File "socket.pyo", line 397, in readline
timeout: timed out

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.
JackSparrow
Member
**
Offline Offline

Activity: 116
Merit: 10



View Profile
April 30, 2011, 07:27:28 PM
 #814

Quote
Q: Does my video card / driver supports OpenCL?

AMD - 4xxx and up.

You mean HD-4xxx and up, do you?

https://secure.wikimedia.org/wikipedia/en/wiki/Radeon#Processor_generations
RustyShackleford
Newbie
*
Offline Offline

Activity: 43
Merit: 0



View Profile
April 30, 2011, 11:42:24 PM
 #815

m0mchil, I've been using your miner for months now with no issues, but the latest version seems to be causing me an issue:

Exception in thread Thread-2:
Traceback (most recent call last):
  File "threading.pyo", line 525, in __bootstrap_inner
  File "threading.pyo", line 477, in run
  File "BitcoinMiner.pyo", line 272, in miningThread
  File "BitcoinMiner.pyo", line 373, in loadKernel
IOError: [Errno 13] Permission denied: '4cd591f539230b2adbff06c9d1a53ce6.elf'


Windows, 9800GTX+, using all the same flags I always have. Tried on two different pools just to make sure it wasn't a pool problem & both pools work fine with the version I was using before (3/11)

Any ideas? Smiley
RustyShackleford
Newbie
*
Offline Offline

Activity: 43
Merit: 0



View Profile
May 01, 2011, 12:40:33 AM
 #816

m0mchil, I've been using your miner for months now with no issues, but the latest version seems to be causing me an issue:

Exception in thread Thread-2:
Traceback (most recent call last):
  File "threading.pyo", line 525, in __bootstrap_inner
  File "threading.pyo", line 477, in run
  File "BitcoinMiner.pyo", line 272, in miningThread
  File "BitcoinMiner.pyo", line 373, in loadKernel
IOError: [Errno 13] Permission denied: '4cd591f539230b2adbff06c9d1a53ce6.elf'


Windows, 9800GTX+, using all the same flags I always have. Tried on two different pools just to make sure it wasn't a pool problem & both pools work fine with the version I was using before (3/11)

Any ideas? Smiley

I solved this myself, It was a permissions/folder attributes issue. I don't know exactly what the correct permissions are, but an xcopy /O /K of the previous version's folder; subsequently updated with the contents of the new version; works fine.
bitcool
Legendary
*
Offline Offline

Activity: 1441
Merit: 1000

Live and enjoy experiments


View Profile
May 01, 2011, 12:44:49 AM
 #817


m0mchill,

just sent you a donation for all the sterling work that your miner has done for me .... moved over to phoenix now but your efforts were appreciated.

cheers,

moa
+1, such a wonderful job. I have been using your miner for months now, sent some coins via youtipit to show my appreciation.
marcus_of_augustus
Legendary
*
Offline Offline

Activity: 3920
Merit: 2350


Eadem mutata resurgo


View Profile
May 01, 2011, 01:10:37 AM
 #818


actually with the latest m0mchill release i'm back using it again  Undecided ... got some on phoenix also ... racing! ... the competition is great.

(hashkill looks like a bit of dark horse, but has a good pedigree on hash track course, so keep an eye on that one)

Grinder
Legendary
*
Offline Offline

Activity: 1284
Merit: 1001


View Profile
May 02, 2011, 09:45:19 AM
 #819

I just got this error while it was mining:
02/05/2011 11:39:32, 0cfa6185, accepted
02/05/2011 11:39:48, warning: job finished, miner is idle
02/05/2011 11:39:49, Unexpected error:
Traceback (most recent call last):
  File "/home/user/poclbm/BitcoinMiner.py", line 172, in mine
    self.sendResult(self.resultQueue.get(False))
  File "/home/user/poclbm/BitcoinMiner.py", line 197, in sendResult
    d = result['work']['data']
TypeError: 'NoneType' object is unsubscriptable
02/05/2011 11:40:04, dacd0ae0, accepted
kwarab
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
May 03, 2011, 10:53:13 AM
 #820

What ought to be the problem? when i run this script it says thatdevice could not bee found.  I use ati radeon HD 4850
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!