Bitcoin Forum
April 19, 2024, 09:44:22 PM *
News: Latest Bitcoin Core release: 26.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 1238793 times)
adv
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
December 14, 2010, 04:01:13 PM
 #261

May be add "silent" or "demonize" switch?

U may thank me here: 14Js1ng1SvYBPgUJnjNAEPYH4d6SHF79UF
1713563062
Hero Member
*
Offline Offline

Posts: 1713563062

View Profile Personal Message (Offline)

Ignore
1713563062
Reply with quote  #2

1713563062
Report to moderator
1713563062
Hero Member
*
Offline Offline

Posts: 1713563062

View Profile Personal Message (Offline)

Ignore
1713563062
Reply with quote  #2

1713563062
Report to moderator
1713563062
Hero Member
*
Offline Offline

Posts: 1713563062

View Profile Personal Message (Offline)

Ignore
1713563062
Reply with quote  #2

1713563062
Report to moderator
"I'm sure that in 20 years there will either be very large transaction volume or no volume." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713563062
Hero Member
*
Offline Offline

Posts: 1713563062

View Profile Personal Message (Offline)

Ignore
1713563062
Reply with quote  #2

1713563062
Report to moderator
SmokeTooMuch
Legendary
*
Offline Offline

Activity: 860
Merit: 1021


View Profile
December 14, 2010, 06:00:40 PM
 #262

Nice, with Bitcoin 0.3.19, poclbm 20101214 and catalyst 10.12 I get around 82000 khash/s now instead of 78000 with the old versions.

Date Registered: 2009-12-10 | I'm using GPG, pm me for my public key. | Bitcoin on Reddit: https://www.reddit.com/r/btc
Mahkul
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


Every saint has a past. Every sinner has a future.


View Profile
December 14, 2010, 07:00:51 PM
 #263

Regarding my previous post about the "host out of memory" error - I figured that on some systems if you install ATI Catalyst into C:\Program Files\Ati Technologies there is some sort of an error and it is not possible to open the Catalyst Control Centre (this was causing my issue).

The solution to this is to completely uninstall all ATI software and put it into a different directory - I put it into C:\Program Files\Ati and the problem was solved.

Apparently AMD are aware of this issue.
LobsterMan
Member
**
Offline Offline

Activity: 73
Merit: 10


View Profile
December 14, 2010, 09:30:16 PM
 #264

The new version seems like it may be running at 1-2mhash more than the previous version  Grin
ciuciu
Donator
Hero Member
*
Offline Offline

Activity: 588
Merit: 500


View Profile
December 16, 2010, 09:50:35 PM
 #265

Hi,

I try to install the GPU miner under Ubuntu and I get this error:

Traceback (most recent call last):
  File "poclbm.py", line 23, in <module>
    platform = cl.get_platforms()[0]
pyopencl.LogicError: clGetPlatformIDs failed: invalid/unknown error code

I would appreciate some help.

I'm using an 5850 and Ubuntu 10.4.

Thank you.

davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
December 16, 2010, 11:03:38 PM
 #266

Hey momchil, i'm getting loads of these while running your latest git code, weird thing is that I'm getting these messages on only one of the two cores of my 5970, I don't really know what it means, should I downclock it a bit ?

Code:
16/12/2010 23:57, 1a8eed81, invalid or stale
16/12/2010 23:57, 68c13670, invalid or stale
16/12/2010 23:59, 910435fc, invalid or stale
290592 khash/s

btchris
Hero Member
*****
Offline Offline

Activity: 672
Merit: 504

a.k.a. gurnec on GitHub


View Profile WWW
December 18, 2010, 01:38:29 AM
 #267

... on only one of the two cores of my 5970 ... should I downclock it a bit ?
Code:
290592 khash/s
So you're the reason I can't mine any coin...  Wink

*jealously sulks off*
m0mchil (OP)
Full Member
***
Offline Offline

Activity: 171
Merit: 127


View Profile
December 18, 2010, 11:29:30 AM
 #268

Moved actual search to separate thread to avoid IO overhead. It wasn't a problem when used with local bitcoin client, but become a problem with slush's mining pool.

Davout, check if crossfire is switched off. Or try with lower clock. Xelister reported on #bitcoin-dev similar issues with 5970 and Diablo's miner.

Elanthius
Newbie
*
Offline Offline

Activity: 45
Merit: 0


View Profile
December 18, 2010, 12:44:07 PM
 #269

D:\Bitcoin\poclbm_20101218>poclbm.exe --help
Traceback (most recent call last):
  File "poclbm.py", line 3, in <module>
  File "pyopencl\__init__.pyc", line 3, in <module>
  File "pyopencl\_cl.pyc", line 12, in <module>
  File "pyopencl\_cl.pyc", line 10, in __load
ImportError: DLL load failed: The specified procedure could not be found.

Maybe missing a dll?
slush
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
December 18, 2010, 12:46:15 PM
 #270

Hey momchil, i'm getting loads of these while running your latest git code, weird thing is that I'm getting these messages on only one of the two cores of my 5970, I don't really know what it means, should I downclock it a bit ?

Code:
16/12/2010 23:57, 1a8eed81, invalid or stale
16/12/2010 23:57, 68c13670, invalid or stale
16/12/2010 23:59, 910435fc, invalid or stale
290592 khash/s

Oh! It is exactly what I reported you! I find in server logs that one of your miner is sending corrupted results. Only one, second one is OK. Please try to downclock it a bit.

m0mchil (OP)
Full Member
***
Offline Offline

Activity: 171
Merit: 127


View Profile
December 18, 2010, 01:54:00 PM
 #271

Elanthius, in previous version I forgot to remove OpenCL.dll from the py2exe distribution. It is not there in current version and you should check that you have Stream SDK 2.2 installed and proper version of OpenCL.dll loadable by miner. Be sure there aren't multiple versions - for example if an nvidia one from previous drivers load first it could give you this error.

Elanthius
Newbie
*
Offline Offline

Activity: 45
Merit: 0


View Profile
December 18, 2010, 03:24:26 PM
Last edit: December 18, 2010, 03:42:07 PM by Elanthius
 #272

Elanthius, in previous version I forgot to remove OpenCL.dll from the py2exe distribution. It is not there in current version and you should check that you have Stream SDK 2.2 installed and proper version of OpenCL.dll loadable by miner. Be sure there aren't multiple versions - for example if an nvidia one from previous drivers load first it could give you this error.

Hmm, I have an nvidia card that is OpenCL capable. I tried copying over the OpenCL.dll from system32 but that still crashes. In the end I just copied the dll out of the previous version and that seems fine. I'm getting 20Mh/s on a GeForce 8800 so its definitely using OpenCL appropriately.
BitLex
Hero Member
*****
Offline Offline

Activity: 532
Merit: 505


View Profile
December 19, 2010, 03:01:00 PM
 #273

Hey momchil, i'm getting loads of these while running your latest git code, weird thing is that I'm getting these messages on only one of the two cores of my 5970, I don't really know what it means, should I downclock it a bit ?

Code:
16/12/2010 23:57, 1a8eed81, invalid or stale
16/12/2010 23:57, 68c13670, invalid or stale
16/12/2010 23:59, 910435fc, invalid or stale
290592 khash/s


just got a HD5970 and of course had to try all kinds of settings, drivers and sdk versions to see what works best for me and i came across some similar problems.


running poclbm_py2exe_20101218, or poclbm_py2exe_20101214 pre-compiled binaries (on XP64),
device=1 works fine as usual (<300M),
device=2 though, as soon as it finds the first winning hash, gets this
Code:
19/12/2010 14:56, 0cfc0e17, accepted
19/12/2010 14:56, fbe37df7, invalid or stale
19/12/2010 14:56, fbe37df7, invalid or stale
19/12/2010 14:56, fbe37df7, invalid or stale
19/12/2010 14:56, fbe37df7, invalid or stale
19/12/2010 14:56, fbe37df7, invalid or stale
19/12/2010 14:56, fbe37df7, invalid or stale
19/12/2010 14:56, fbe37df7, invalid or stale
19/12/2010 14:56, fbe37df7, invalid or stale
19/12/2010 14:56, fbe37df7, invalid or stale
19/12/2010 14:56, fbe37df7, invalid or stale
19/12/2010 14:56, fbe37df7, invalid or stale
19/12/2010 14:56, fbe37df7, invalid or stale
19/12/2010 14:56, fbe37df7, invalid or stale
19/12/2010 14:56, fbe37df7, invalid or stale
...
...
this only happens on device=2, no matter if device=1 is used or not, no matter what clock-speed, even below stock-settings device=2 floods its "invalid or stale"-msg


running device=2 (or both devices) on poclbm_py2exe_20101126 works perfect, both GPUs get <300M, find hashes, which are added to different "pool.Worker-shares" as expected, no troubles at all.

it seems something happened in between 20101126 - 20101214, which effects HD5970s, or multi-gpu-cards,
had no problems before running 2 single-gpu cards.

think i'll keep 20101126 running for now, or am i missing some new required features here?
don't need to know if any single hash has been accepted, as long as >95% are, but i need to run both GPUs, not just one.  Wink





davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
December 19, 2010, 03:18:59 PM
 #274

I'm getting these too, didn't get them at all before git pulling latest miner version...

slush
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
December 19, 2010, 03:19:27 PM
 #275

Are you still using separate workers for each chip/gpu?

To m0mchil - how many getworks() do you prefetch now? I probably have to tune "max_jobs" for those cards.

I see _this_ problem is on my side, because I register every getwork for later checks. Due to optimizations, I have 10 jobs per worker, which worked very well for all miners and 5970. But when m0mchil made some changes, maybe he is prefetching more jobs and I throw away oldest one; it leads to 'stale' errors.

I will increase max_jobs to 20 for your card. Please report if it goes better.

this only happens on device=2, no matter if device=1 is used or not, no matter what clock-speed, even below stock-settings device=2 floods its "invalid or stale"-msg


running device=2 (or both devices) on poclbm_py2exe_20101126 works perfect, both GPUs get <300M, find hashes, which are added to different "pool.Worker-shares" as expected, no troubles at all.

it seems something happened in between 20101126 - 20101214, which effects HD5970s, or multi-gpu-cards,
had no problems before running 2 single-gpu cards.

think i'll keep 20101126 running for now, or am i missing some new required features here?
don't need to know if any single hash has been accepted, as long as >95% are, but i need to run both GPUs, not just one.  Wink






slush
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
December 19, 2010, 03:20:49 PM
 #276


I'm getting these too, didn't get them at all before git pulling latest miner version...

Your limit is already over 20 parallel jobs (increased before days). I hope m0mchil's miner is not so hungry Smiley.

davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
December 19, 2010, 03:27:32 PM
 #277

I was getting the very same messages even before trying pooled mining

BitLex
Hero Member
*****
Offline Offline

Activity: 532
Merit: 505


View Profile
December 19, 2010, 03:37:50 PM
 #278

its not only the pool, its the same on local getwork-servers, aka mainline-clients.

slush
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
December 19, 2010, 03:56:37 PM
 #279

its not only the pool, its the same on local getwork-servers, aka mainline-clients.

Oh! Good to know! I didn't realized that. So it should not be related to 'max_jobs' solution in pool.


BitLex
Hero Member
*****
Offline Offline

Activity: 532
Merit: 505


View Profile
December 19, 2010, 04:09:26 PM
 #280

Oh! Good to know!
i guess it is, should have mentioned that earlier.

i tried -testnet, cuz i didnt want to wait a day or 2 to let it happen and it's the exact same invalid-floods as soon as the first hash is found (the first one even makes it to the wallet sometimes).

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!