Bitcoin Forum
December 29, 2025, 10:11:22 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)
Tolsi
Full Member
***
Offline Offline

Activity: 170
Merit: 100



View Profile WWW
February 19, 2011, 03:13:23 PM
 #521

I run bitcoin (bitcoin.exe -server), then I start poclb.exe, the poclb connected to my "bitcoin-server?

this means that I connect to my own server?

Where I see what I created?

excuse torture Smiley...
If you register for pool.yyz.us and want to use it, you have to specify it  after "-host".
If you do not specify - connects to your personal server.
If you create block - you'll see it in your Bitcoin client (and get it after 100 (120?) confirmations).

Like what am I doing? 1FzSgYpLG4fpy2Q9fKXQsuLxHN81m4P3dR
dany74q
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
February 19, 2011, 06:37:35 PM
 #522

Just a quick question here ,

I misunderstood the username & password part , is it the user name and password for the OS ? for this forum ?
Am confused a bit .

And by the way - what would be better KHash/s wise - a 2600k @ 5Ghz or a 5450 ?

Thanks ,

Danny.
N12
Donator
Legendary
*
Offline Offline

Activity: 1610
Merit: 1011



View Profile
February 19, 2011, 06:51:22 PM
 #523

Just a quick question here ,

I misunderstood the username & password part , is it the user name and password for the OS ? for this forum ?
Am confused a bit .
Use any arbitrary combination. It’s just for the miner to communicate with your bitcoin client, so it doesn’t matter as long as they are identical at both places.

I got this error:
19/02/2011 18:10:44, verification failed, check hardware!

What does this mean? Did i find a block and it couldn’t be verified or was it just an attempt? It happened once in almost two hours, and for the first time now.
Dude65535
Full Member
***
Offline Offline

Activity: 126
Merit: 101


View Profile
February 19, 2011, 07:54:17 PM
 #524

verification failed means the program though it found a block but after trying the hash again got a different result. Most likely that means you have your GPU overclocked too much.

1DCj8ZwGZXQqQhgv6eUEnWgsxo8BTMj3mT
pantherx12
Full Member
***
Offline Offline

Activity: 322
Merit: 100


The All-in-One Cryptocurrency Exchange


View Profile
February 20, 2011, 03:57:24 PM
 #525

When I try to set the .exe via command prompt to use my 6870 I get an error message.

IO:error errno 2 no such file or directory : bitcoinminer.cl



It is there though, tried putting poclbm in the bitcoin root and in a sepperate folder.

「   B e a x y   」   THE ALL-IN-ONE CRYPTOCURRENCY EXCHANGE
[ WHITEPAPER ]              Instant Deposit                   24/7 Support                    Referral Program              [ LIGHTPAPER ]
ANN THREAD     ●     BOUNTY THREAD     ●     FACEBOOK     ●   TWITTER     ●     TELEGRAM
Fractality
Newbie
*
Offline Offline

Activity: 47
Merit: 0



View Profile WWW
February 21, 2011, 01:33:10 AM
 #526

Is there a way to monitor this miner? Like I have it running on a PC in the cellar that I ssh into. Can I check the current hash rates and success rates somehow?
Mahkul
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


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


View Profile
February 21, 2011, 01:51:11 AM
 #527

Is there a way to monitor this miner? Like I have it running on a PC in the cellar that I ssh into. Can I check the current hash rates and success rates somehow?

If you scroll up a few posts you will find the answer to my question about the miner sending an email every time it finds a block (and it's accepted). At least this way I know when a block was found. I think the best thing to do would be having some kind of an interface similar to the one bitcoind has (getbalance, getdifficulty etc.) - just having a few of such features on the miner would be cool (gethashrate, listfoundblocks etc.). As for the temperature (you were asking about it in the other thread) it's easy to check it via the aticonfig tool (unless you're using nvidia, I don't know how to do it for nvidia cards). You could have a script monitoring the output from: sudo aticonfig --odgc

The problem with that is when you login via ssh not all features of aticonfig work (they only work properly if you're using it directly from the machine which has the screen connected). I am sure Raulo will be able to shed some light here. Wink
uck
Member
**
Offline Offline

Activity: 94
Merit: 10


View Profile
February 21, 2011, 02:05:44 AM
 #528

I am seeing this exact same error. Let me know if you solve it...

Raulo
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
February 21, 2011, 07:14:18 AM
 #529

The problem with that is when you login via ssh not all features of aticonfig work (they only work properly if you're using it directly from the machine which has the screen connected). I am sure Raulo will be able to shed some light here. Wink

Everything works exactly the same with ssh as it works via console if you have DISPLAY=:0 set and you are the user that "owns" the display. If the latter is not fulfilled, being root and having DISPLAY=:0 is all you need.

1HAoJag4C3XtAmQJAhE9FTAAJWFcrvpdLM
Fractality
Newbie
*
Offline Offline

Activity: 47
Merit: 0



View Profile WWW
February 21, 2011, 11:53:57 AM
 #530

Quote
the answer to my question about the miner sending an email every time it finds a block

I saw that, but I think it involves changing the code of poclbm? While doable, it would be a nuisance if new versions of poclbm appear and the modifications had to be repeated.

I think m0mchil mentioned something about hooks into poclbm?

@Raulo thanks for the info about the DISPLAY variable. I urgently need to get an understanding of that display stuff.
Raulo
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
February 21, 2011, 12:16:48 PM
 #531

I saw that, but I think it involves changing the code of poclbm? While doable, it would be a nuisance if new versions of poclbm appear and the modifications had to be repeated.

Do you know how to use git? You can make a modification in your copy and each time m0mchill changes poclbm, you simply pull git changes and if it does not conflict with your version, the changes apply without any fuss. This is a very convenient and standard way of keeping a fork of a program up to date.

1HAoJag4C3XtAmQJAhE9FTAAJWFcrvpdLM
Fractality
Newbie
*
Offline Offline

Activity: 47
Merit: 0



View Profile WWW
February 21, 2011, 01:03:11 PM
 #532

Yeah, I'll probably fork poclbm on GitHub.
rogalik
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
February 21, 2011, 02:36:45 PM
 #533

I'm running at ca. 42 Mhps on Mobility Radeon HD 5650, OpenCL SDK 2.3. Best options so far: -d 0 --user=XXX --pass=XXX -w 128 -v -f 5 (I'm not sure what does -f parameter do really, I'm a dummy).
Do you think that individual mining with laptop GPU is worth it? Note: I'm not paying for the electricity.
thejode
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
February 21, 2011, 03:04:12 PM
 #534

Ok, usually I start the miner on slush's server with regular settings, just not specifying the -w value.
I read about it somewhere else, so I decided to mess around with it.
I'm running a Nvidia GeForce 8600M GT, and generally get about 5000 khash/s without specifying the -w value.
Then, when I set -w to 512, I got a hash rate of 1880356953 khash/s! I'm pretty sure that's messed up. And it ran like that for about 30 seconds before it crashed.
Glitch....or what?
On win7, btw.
LobsterMan
Member
**
Offline Offline

Activity: 73
Merit: 10


View Profile
February 21, 2011, 07:59:40 PM
 #535

I too am getting intermittent errors while using slush's pool with win7-64:


Code:
21/02/2011 13:34:44, Unexpected error:
Traceback (most recent call last):
  File "BitcoinMiner.pyc", line 210, in mine
  File "BitcoinMiner.pyc", line 187, in getwork
  File "httplib.pyc", line 974, in getresponse
  File "httplib.pyc", line 391, in begin
  File "httplib.pyc", line 355, in _read_status
BadStatusLine

Code:
21/02/2011 13:34:45, Unexpected error:
Traceback (most recent call last):
  File "BitcoinMiner.pyc", line 210, in mine
  File "BitcoinMiner.pyc", line 187, in getwork
  File "httplib.pyc", line 974, in getresponse
  File "httplib.pyc", line 391, in begin
  File "httplib.pyc", line 355, in _read_status
BadStatusLine

Those are both from approximately around the same time, but each one occurred on its own graphics card (I am running 2 nvidia gtx 275 cards). It seems that they occur very chronologically close to one another. Further, it either occurs on only one card, or it happens on both of them, one within a few seconds of the other.

Here is another example, each paste is from a miner running on its own gpu:

Code:
21/02/2011 13:53:46, Unexpected error:
Traceback (most recent call last):
  File "BitcoinMiner.pyc", line 210, in mine
  File "BitcoinMiner.pyc", line 187, in getwork
  File "httplib.pyc", line 974, in getresponse
  File "httplib.pyc", line 391, in begin
  File "httplib.pyc", line 355, in _read_status
BadStatusLine

Code:
21/02/2011 13:53:44, Unexpected error:
Traceback (most recent call last):
  File "BitcoinMiner.pyc", line 210, in mine
  File "BitcoinMiner.pyc", line 187, in getwork
  File "httplib.pyc", line 974, in getresponse
  File "httplib.pyc", line 391, in begin
  File "httplib.pyc", line 355, in _read_status
BadStatusLine
slush
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
February 21, 2011, 08:04:01 PM
 #536

I too am getting intermittent errors while using slush's pool with win7-64:

If you hit that before hour or two, I was upgrading the pool servers and many connections were cut.

Code:
BadStatusLine

This just means that data from connection were corrupted (probably because connection was forcibly closed) and poclbm don't catch it. It is just cosmetic.

aistto
Legendary
*
Offline Offline

Activity: 1001
Merit: 1005


View Profile
February 21, 2011, 08:21:32 PM
 #537

MB MSI Socket-AM3 870A-G54 (pci-e x16 in dual cross work as 8/8 (but someone says that as 16/4))
catalyst 11.1
stream 2.2
1. hd5870 gigabyte
2. hd5870 his
I used 2 crossfire bridge
not overclocked

In my crossfire system doesn't work second card. it's look like below
Quote
F:\MySpace\btc\poclbm_py2exe_20110204>poclbm.exe
No device specified or device not found, use -d to specify one of the following

  •     Cypress
  • [1]     Cypress
    [2]     AMD Athlon(tm) II X2 220 Processor

    F:\MySpace\btc\poclbm_py2exe_20110204>poclbm.exe -u usr --pass=pswrd -o 178.79.147.99 -p 8332 -d 0 -v -w 128 -f 30
    21/02/2011 23:07, b2ca3069, accepted
    21/02/2011 23:07, 818e219a, accepted
    312424 khash/s
    Compilation terminated.
    (work as usual)

    F:\MySpace\btc\poclbm_py2exe_20110204>poclbm.exe -u usr --pass=pswrd-o 178.79.147.99 -p 8332 -d 1 -v -w 128 -f 30
    21/02/2011 23:08, 5f141da2, accepted (Here always accepting first block)
    verification failed, check hardware!
    verification failed, check hardware!
    verification failed, check hardware!
Why? Huh

sorry for my english:)
CD-RW
Jr. Member
*
Offline Offline

Activity: 56
Merit: 22


View Profile
February 21, 2011, 08:48:14 PM
Last edit: February 21, 2011, 09:07:02 PM by Jeroenz0r
 #538

Had some errors too.

poclbm should had used a catch elseif for this error, to make more clear that something went wrong.
Or at least make it less scary, just make it print 'Could not fetch new work' Tongue
~


Code:
File "poclbm.py", line 25  print 'No device specified or device not found, use -d to specify one of the following\n'
            ^
SyntaxError: invalid syntax

Using python 3.2 on windows  Undecided
Quantumboredom
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
February 21, 2011, 09:01:59 PM
 #539

I'm running at ca. 42 Mhps on Mobility Radeon HD 5650, OpenCL SDK 2.3. Best options so far: -d 0 --user=XXX --pass=XXX -w 128 -v -f 5 (I'm not sure what does -f parameter do really, I'm a dummy).
Do you think that individual mining with laptop GPU is worth it? Note: I'm not paying for the electricity.
From what I've read, "-f x" is "framerate", i.e. the program will try to balance the kernel so that the kernel is run x times per second. This means that a lower value makes the kernel run for longer (-f 5 means the kernel takes about 0.2 seconds). If your OS feels sluggish (windows lag when you drag them on the desktop, videos seem choppy etc.) you can try to set -f higher. I use -f 120. At -f 60 I get slight lag when playing back HD videos, and the performance difference is only about 6% so I would much rather have a fully working machine. At -f 120 I notice no slowdown.

At least that is how I've understood it, I'm sure someone will correct me if I am wrong.

Edit: And if you're not paying anything for the electricity and it does not bother you to have it running in the background (presumably when the laptop is plugged in!) then it's free money, so why not? If you think bitcoin is interesting I see no reason why you wouldn't mine Smiley
m0mchil (OP)
Full Member
***
Offline Offline

Activity: 171
Merit: 127


View Profile
February 21, 2011, 09:33:51 PM
 #540

@aistto

Switch crossfire off for now. Until I found why versions until and including 20101126 work with crossfire and later ones don't.

Using python 3.2 on windows  Undecided

No, no, no... use python 2.6

poclbm is not compatible with python 3. Actually python 2 and python 3 are quite different and not compatible with each other.

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!