Bitcoin Forum
December 29, 2025, 11:38:58 PM *
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 1239737 times)
IlbiStarz
Full Member
***
Offline Offline

Activity: 336
Merit: 100



View Profile
May 28, 2011, 11:12:47 AM
 #881

HELP :O

On my new rig, I've installed bitcoin and the poclbm miner. But whenever I run the batch, it freezes and stops responding. Right now it looks like:

start /DC:\bitcoin\poclbm poclbm.exe -d1 --host=deepbit.net --port=8332 --user=(user) --pass=(pass) --device=0 -v -w 128

While running bitcoin.exe -server

I've tried different pools, taking out the -d1, putting the poclbm in a different folder, but it just freezes the second I start it up.

What am I doing wrong? The format looks the exact same as my main rig but it's not working for some reason...
IlbiStarz
Full Member
***
Offline Offline

Activity: 336
Merit: 100



View Profile
May 28, 2011, 06:01:52 PM
 #882

Traceback (most recent call last):
File "poclbm.py", line 3, in <module>
File "pyopencl\_init_.pyo.", line 3, in <module>
---
---
Import Error: DLL load failed: the specified modeul could not be found.

Huh
xanatos
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
May 29, 2011, 07:26:12 PM
 #883

Was anyone able to recompile the program under Windows? I would try to modify some things (to thinker a little), but I don't have a linux box with a good graphical adaptor... I tried a little under Win but there are too many dependancies that need compiling, and I don't want to begin installing VS2008 just to recompile the pyopencl.
KnuttyD
Member
**
Offline Offline

Activity: 109
Merit: 11



View Profile
May 29, 2011, 07:29:35 PM
 #884

Was anyone able to recompile the program under Windows? I would try to modify some things (to thinker a little), but I don't have a linux box with a good graphical adaptor... I tried a little under Win but there are too many dependancies that need compiling, and I don't want to begin installing VS2008 just to recompile the pyopencl.

I was; you only need python and the dependencies. I had MSVC8 already, so that helped a great deal.

If I helped you in some way, and you feel obligated to do so, you can tip me some coin!
1KVadqbELY3KuJhkm9rDtcwxZknhRsfPHY
CubedRoot
Sr. Member
****
Offline Offline

Activity: 291
Merit: 250


View Profile
May 30, 2011, 08:46:46 PM
 #885

I am having some problems running this on multiple GPUs.
Heres my setup:

Ubuntu 10.10 32 bit
running 3 Sapphire 5850's
when I run poclbm without any arguments it will list all of my GPUs as such:
Quote
  •    Cypress
  • [1]   Cypress
    [2]   Cypress
    [3]   AMD Sempron(tm) 140 Process
So, i think great, its running! I then open a new terminal window and do the following:

Quote
./poclbm.py -d 0 --host=btcguild.com --port=8332 --user=MINER_gpu0 --pass=RPCPASS -v -w 128

It will fire up and run great, and give me decent hashrates since I have not overclocked them yet For example, I am getting about 250,000 Khash/s

So, I open up  second terminal window to get a miner running on the second GPU. I run the following in it:
Quote
./poclbm.py -d 1 --host=btcguild.com --port=8332 --user=MINER_gpu1 --pass=RPCPASS -v -w 128

It connects and works like normal, but the hasrate is off... it starts off slow, about 20,000 khash/sec, but then it will get to about 125,000 khash/sec.  Its also at this point that I notice the first miner I ran earlier is also dropping its hasrate to about the same.  Eventually both terminals will get to a point where their hasrates are equal and total up to about 250,000 Khash/sec...which is about what I get on one card!

So, I am thinking that both miners are computing on the same GPU regardless of which device I specifiy in the command.

What am I doing wrong? 
AngelusWebDesign
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
May 30, 2011, 08:54:45 PM
 #886

Traceback (most recent call last):
File "poclbm.py", line 3, in <module>
File "pyopencl\_init_.pyo.", line 3, in <module>
---
---
Import Error: DLL load failed: the specified modeul could not be found.

Huh

That was happening for me, too, until I installed the ATI Catalyst 11.5 graphics drivers (which includes the SDK). Install the full package from their website.
xf2_org
Member
**
Offline Offline

Activity: 98
Merit: 13


View Profile
May 31, 2011, 03:29:37 AM
 #887


Feature request:  add server failover support (if one pool fails, fall back to the second pool)

I've created a new thread covering a bounty for this new feature, that would be greatly appreciated by poclbm users.

SchizophrenicX
Member
**
Offline Offline

Activity: 112
Merit: 100

"I'm not psychic; I'm just damn good"


View Profile
May 31, 2011, 03:43:22 AM
 #888

Hi I'm sorry but I can't follow up on every thread. Is the >1 GPU, CPU@100% issue solved yet?

dds
Newbie
*
Offline Offline

Activity: 7
Merit: 0



View Profile
June 01, 2011, 09:51:02 AM
 #889

Could anyone tell how to configure poclbm miner long-polling with pushpool?
I already asked about this in pushpool thread, but no answer.
Looks like long-polling doesn't work. Miner reports "long poll exception" and "invalid or stale" shares from time to time.
Also miner occasionally reports
Code:
2011-06-01_09:31:57.70506 Traceback (most recent call last):
2011-06-01_09:31:57.71616   File "/poclbm/BitcoinMiner.py", line 259, in longPollThread
2011-06-01_09:31:57.71623     (connection, result) = self.request(connection, url, self.headers)
2011-06-01_09:31:57.71626   File "/poclbm/BitcoinMiner.py", line 222, in request
2011-06-01_09:31:57.71629     response = connection.getresponse()
2011-06-01_09:31:57.71631   File "/usr/lib/python2.6/httplib.py", line 990, in getresponse
2011-06-01_09:31:57.71634     response.begin()
2011-06-01_09:31:57.71637   File "/usr/lib/python2.6/httplib.py", line 391, in begin
2011-06-01_09:31:57.71639     version, status, reason = self._read_status()
2011-06-01_09:31:57.71642   File "/usr/lib/python2.6/httplib.py", line 349, in _read_status
2011-06-01_09:31:57.71645     line = self.fp.readline()
2011-06-01_09:31:57.71647   File "/usr/lib/python2.6/socket.py", line 427, in readline
2011-06-01_09:31:57.71650     data = recv(1)
2011-06-01_09:31:57.71652 timeout: timed out
btw, I have "longpoll.disable" : false in pushpool config.
veoeluz
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
June 03, 2011, 03:50:44 AM
 #890

Guys. I've got a problem.

Does anyone know of a way to limit the videocard usage to like 50% or so in guiminer? My 4870x2 just can't take the heat (seriously!).  With the fan at 80-100%, I'm very quickly reaching temps of 90-95C when mining with even just one gpu. I'd love to run both but it would undoubtedly destroy my card.

Yes. I've cleaned out the video card. I do so every two or three months anyhow, and I don't see temps higher than 55C playing games, and not usually higher than 50C at idle.

Underclocking doesn't seem to help, and i've had limited succes with -f.  Just messing around adding 0's to -f100, I can get it to drop to about 65mh/s per gpu, but it still makes my card sit around 80C.  I have a thermaltake armor case, so airflow really isn't my problem (I runs games like eq2, ddo, and the like and never have a temp issue).

What can I do?

Thanks!
MyNameIsCrake
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
June 03, 2011, 09:37:31 PM
 #891

I've just started using this method of pooling a few hours ago and I was wondering: When do the first results typically appear on the "My account" page of mining.bitcoin.cz?
It's been stuck at absolute 0 for a while now and I'm starting to wonder if I've done anything wrong, despite the black window displaying a steady 55000 khash/s for quite some time now.
dishwara
Legendary
*
Offline Offline

Activity: 1855
Merit: 1016



View Profile
June 04, 2011, 05:33:26 PM
 #892

Guys. I've got a problem.

Does anyone know of a way to limit the videocard usage to like 50% or so in guiminer? My 4870x2 just can't take the heat (seriously!).  With the fan at 80-100%, I'm very quickly reaching temps of 90-95C when mining with even just one gpu. I'd love to run both but it would undoubtedly destroy my card.

Yes. I've cleaned out the video card. I do so every two or three months anyhow, and I don't see temps higher than 55C playing games, and not usually higher than 50C at idle.

Underclocking doesn't seem to help, and i've had limited succes with -f.  Just messing around adding 0's to -f100, I can get it to drop to about 65mh/s per gpu, but it still makes my card sit around 80C.  I have a thermaltake armor case, so airflow really isn't my problem (I runs games like eq2, ddo, and the like and never have a temp issue).

What can I do?

Thanks!

use WORKSIZE = 128 or 64, which will hash less, which will reduce temp.
Allenssmart
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
June 04, 2011, 05:46:35 PM
 #893

I followed the guide completely.

I am having a big problem. I followed everything that you have done but I can't get bitcoin.exe to open with -server. Every time, I get
 
Warning: to use the '-server' option, you must set rpcpassword = <password> in the configuration file 'C:/Users/Nick/AppData/Roaming/Bitcoin/bitcoin.conf. If the file does not exist, create it with owner-readable-only file permissions"
 
I have already made the bitcoin.conf file in C:\Users\Allen\AppData\Roaming\Bitcoin
 multiple times. This is what's inside it
rpcuser=youruser
rpcpassword=password

No matter what I do I can't start it. I've redeleted and remade the files several times over. I've restarted my computer. I've quadruple checked the directories and I'm 100% sure that the bitcoin.conf file is in the right spot. However, everytime I start bitcoin -server I get the above message saying I have not set that yet I have!!!Thank you.
MyNameIsCrake
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
June 04, 2011, 09:16:21 PM
 #894

No matter what I do I can't start it. I've redeleted and remade the files several times over. I've restarted my computer. I've quadruple checked the directories and I'm 100% sure that the bitcoin.conf file is in the right spot. However, everytime I start bitcoin -server I get the above message saying I have not set that yet I have!!!Thank you.

Have you filled it in as username.workername or just as username?
Allenssmart
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
June 05, 2011, 12:20:55 AM
Last edit: June 05, 2011, 02:31:51 AM by Allenssmart
 #895

No matter what I do I can't start it. I've redeleted and remade the files several times over. I've restarted my computer. I've quadruple checked the directories and I'm 100% sure that the bitcoin.conf file is in the right spot. However, everytime I start bitcoin -server I get the above message saying I have not set that yet I have!!!Thank you.

Have you filled it in as username.workername or just as username?
NVM i got it working. I put it as a text file, not a conf file,  i named it bitcoin.conf.txt so it was actually still a txt file.

Anyways, Now i've gotten this working with a mining pool at BTC Guild.
Im getting around 500mhash/s with my stock 5970.



Also, how do I quit the mining. Do I just close the command prompt, does it automatically save? What do I do? Thank you!
@theman
Newbie
*
Offline Offline

Activity: 107
Merit: 0


View Profile
June 05, 2011, 03:28:32 PM
 #896

Ok so the GUI verson of this program is not detecting my GPU (Radeon HD 4870) I am pretty sure that my hardware does not support OpenCL. How can I get this settup on my rig and will it even utilize my GPU since it does not dupport OpenCL. Other important specs: Windows 7 64-bit, Intel Core i5, latest version of Python, latest version of ATI-SDK with opencl.
ROFISH
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
June 06, 2011, 03:51:10 AM
 #897

I'm getting lots of "warning: job finished, miner is idle". Note that I'm using a Mac Pro on OS X. (The hardware is expensive and not mine, might as well use it. Wink ) It's an official 2006 Mac Pro with an official Apple 5770. (No hacks or flashes heres, all genuine hardware.)

Also I'm getting about 100MHash/s and the exact hardware when rebooted into Windows gets 180MHash/s. Although I think it's a driver issue, since, for example, I know that Apple's OpenCL compiler doesn't support vector mode or changing the work size, since all it does is Seg Fault.

Code:
ROFISH-Mac-Pro:m0mchil-poclbm-06cf386 rofish$ python poclbm.py -d0 --host pit.deepbit.net --port 8332 --user ******** --pass ********
05/06/2011 20:09:25, warning: job finished, miner is idle   
05/06/2011 20:10:08, warning: job finished, miner is idle   
05/06/2011 20:10:08, 4fef1847, accepted                     
05/06/2011 20:10:40, 7387d642, accepted                     
05/06/2011 20:10:52, warning: job finished, miner is idle   
05/06/2011 20:11:35, da9a3947, accepted                     
05/06/2011 20:11:35, warning: job finished, miner is idle   
05/06/2011 20:11:50, f707e2b6, accepted                     
05/06/2011 20:12:19, warning: job finished, miner is idle   
05/06/2011 20:12:55, 4f350e4f, accepted                     
05/06/2011 20:13:02, warning: job finished, miner is idle   
05/06/2011 20:13:45, warning: job finished, miner is idle   
05/06/2011 20:13:45, a83c9dda, accepted                     
05/06/2011 20:14:29, warning: job finished, miner is idle   
05/06/2011 20:15:12, warning: job finished, miner is idle   
05/06/2011 20:15:38, 90a203f4, accepted                     
05/06/2011 20:15:55, warning: job finished, miner is idle   
05/06/2011 20:16:38, warning: job finished, miner is idle   
05/06/2011 20:16:38, long poll: new block 00001fffc5774fc8 
05/06/2011 20:17:34, long poll: new block 00000af5ee70ada2 
05/06/2011 20:18:16, 2ab2b784, accepted                     
05/06/2011 20:18:37, warning: job finished, miner is idle   
05/06/2011 20:19:00, 1bf23de9, accepted                     
05/06/2011 20:19:20, warning: job finished, miner is idle   
05/06/2011 20:19:20, cbb5f6b5, accepted                     
05/06/2011 20:19:37, d401deda, accepted                     
05/06/2011 20:20:05, warning: job finished, miner is idle   
05/06/2011 20:20:47, warning: job finished, miner is idle   
05/06/2011 20:21:24, long poll: new block 0000250f577a2b04 
05/06/2011 20:22:16, 2204773b, accepted                     
05/06/2011 20:22:29, warning: job finished, miner is idle   
05/06/2011 20:22:29, acac83c9, accepted                     
05/06/2011 20:22:40, 07a0c1c5, accepted                     
05/06/2011 20:23:08, b7dec4b5, accepted                     
05/06/2011 20:23:13, warning: job finished, miner is idle   
05/06/2011 20:23:49, a37c555a, accepted                     
05/06/2011 20:23:56, warning: job finished, miner is idle   
05/06/2011 20:24:39, warning: job finished, miner is idle   
05/06/2011 20:24:39, 2afeef2f, accepted                     
05/06/2011 20:25:04, 1f5ce4fe, accepted                     
05/06/2011 20:25:24, warning: job finished, miner is idle   
05/06/2011 20:26:04, 4098353e, accepted                     
05/06/2011 20:26:07, warning: job finished, miner is idle   
05/06/2011 20:26:30, long poll: new block 00002016309d4628 
05/06/2011 20:27:21, ecba5adb, accepted                     
05/06/2011 20:27:34, warning: job finished, miner is idle   
05/06/2011 20:27:34, ae4d2ea1, accepted                     
05/06/2011 20:28:10, caa1efdf, accepted                     
05/06/2011 20:28:18, warning: job finished, miner is idle   
05/06/2011 20:29:01, warning: job finished, miner is idle   
05/06/2011 20:29:01, 7fe4524c, accepted                     
05/06/2011 20:29:10, 8198dd14, accepted                     
05/06/2011 20:29:45, 143fb309, invalid or stale             
05/06/2011 20:29:45, long poll: new block 00001e214348cdd2 
05/06/2011 20:30:09, b34339cd, accepted                     
05/06/2011 20:30:28, warning: job finished, miner is idle   
05/06/2011 20:30:28, 0aeed10d, accepted                     
05/06/2011 20:30:43, e6d534af, accepted                     
05/06/2011 20:31:12, warning: job finished, miner is idle   
05/06/2011 20:31:12, 2c3d4d68, accepted                     
05/06/2011 20:31:50, c1dabc4a, accepted                     
05/06/2011 20:31:56, warning: job finished, miner is idle   
05/06/2011 20:32:39, warning: job finished, miner is idle   
05/06/2011 20:33:22, warning: job finished, miner is idle   
05/06/2011 20:33:22, 92079fb8, accepted                     
05/06/2011 20:34:05, 40b4ac3c, accepted                     
05/06/2011 20:34:06, warning: job finished, miner is idle   
05/06/2011 20:34:50, warning: job finished, miner is idle   
05/06/2011 20:35:07, db7b1427, accepted                     
05/06/2011 20:35:29, b9310cb9, accepted                     
05/06/2011 20:35:33, warning: job finished, miner is idle   
05/06/2011 20:36:15, warning: job finished, miner is idle   
05/06/2011 20:36:58, warning: job finished, miner is idle   
05/06/2011 20:37:41, warning: job finished, miner is idle   
05/06/2011 20:38:24, warning: job finished, miner is idle   
05/06/2011 20:38:24, 920a180f, accepted                     
05/06/2011 20:39:08, warning: job finished, miner is idle   
05/06/2011 20:39:08, 3e992d12, accepted                     
05/06/2011 20:39:53, warning: job finished, miner is idle   
05/06/2011 20:40:36, warning: job finished, miner is idle   
05/06/2011 20:41:19, warning: job finished, miner is idle   
05/06/2011 20:41:19, 35893536, accepted                     
05/06/2011 20:42:04, warning: job finished, miner is idle   
05/06/2011 20:42:04, long poll: new block 00000cf715b916ce 
05/06/2011 20:43:07, warning: job finished, miner is idle   
05/06/2011 20:43:50, warning: job finished, miner is idle   
05/06/2011 20:44:21, 7bb86cdc, accepted                     
05/06/2011 20:44:33, warning: job finished, miner is idle

Code:
Hardware Overview:

  Model Name: Mac Pro
  Model Identifier: MacPro1,1
  Processor Name: Dual-Core Intel Xeon
  Processor Speed: 2.66 GHz
  Number Of Processors: 2
  Total Number Of Cores: 4
  L2 Cache (per processor): 4 MB
  Memory: 8 GB
  Bus Speed: 1.33 GHz
  Boot ROM Version: MP11.005C.B08
  SMC Version (system): 1.7f10
  Serial Number (system): ******
  Hardware UUID: *******


ATI Radeon HD 5770:

  Chipset Model: ATI Radeon HD 5770
  Type: GPU
  Bus: PCIe
  Slot: Slot-2
  PCIe Lane Width: x8
  VRAM (Total): 1024 MB
  Vendor: ATI (0x1002)
  Device ID: 0x68b8
  Revision ID: 0x0000
  ROM Revision: 113-C0160C-155
  EFI Driver Version: 01.00.436
  Displays:
Display Connector:
  Status: No Display Connected
Display Connector:
  Status: No Display Connected
Display Connector:
  Status: No Display Connected
MCWey8
Member
**
Offline Offline

Activity: 81
Merit: 10

[ Poor Miner ]


View Profile
June 06, 2011, 04:40:59 AM
 #898

Anybody know how to fix this error, or what is causing it??

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


LobsterMan
Member
**
Offline Offline

Activity: 73
Merit: 10


View Profile
June 07, 2011, 08:31:15 AM
 #899

It seems that bitcoin 0.3.22 does not work with the 4-28 version of poclbm for mining locally
willebra
Jr. Member
*
Offline Offline

Activity: 56
Merit: 10


View Profile
June 07, 2011, 07:33:14 PM
 #900

Anybody know how to fix this error, or what is causing it??

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

I get this same error, when using poclbm.py under linuxcoin
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!