Pages:
Author

Topic: python OpenCL bitcoin miner - page 25. (Read 1239035 times)

sr. member
Activity: 458
Merit: 250
March 06, 2011, 04:24:48 AM
Are you sure that this is "your" block?

Time?: 2010-04-04 06:12:57

Looks like a very old block to me.

Oh yes you're right going by that time - definitely wouldn't be my block. Now I am even more confused as Raulo (yesterday) seemed to think "it will happen is 23 blocks or about 3 hours from now". I'm not 100% sure how to use the Block Explorer so I refer back to my original question asking for any help understanding why I received the message "05/03/2011 05:01:13, 0000f4d2, accepted". Thanks

[edit] Ahh thank you Raulo for your above reply. Really appreciate it. Good to know that I probably don't have things set up incorrectly, and that I was probably just unlucky. Cheers.
full member
Activity: 238
Merit: 100
March 06, 2011, 04:18:57 AM

Unfortunately (for me) the 50BTC never appeared in my balance, and the recipient address shown in Block Explorer is not one in my address book. So, I'm attempting to understand better why I get this message but no bitcoin... I'm guessing that "accepted" (when solo mining using poclbm) does not always mean my miner was the first to submit the solution to the block?

I'm sorry I reassured you when indeed something is not OK because this is an old block. I searched for the "000f4d2" string but there was an old block that had the same beginning. 

It is possible (albeit rare) that you found a block but within seconds somebody else also found a block and he transmitted it to more nodes (or not necesseraly more but the node that found the next block)  and "won" the race of including it in the blockchain.  It's also possible the the network connection to the outside world was down at the time and your bitcoin daemon hasn't transmitted the block you found.

I checked my logs and it appear it's a former case. My bitcoin received your block but also the competing one:
http://blockexplorer.com/block/000000000000a3f568a8da7609081b020d13a19bb77ca59df0141148330d9aa1

The competing one was the block that the next miner included and you lost the race.

Analyze the debug.log of the bicoin daemon you are running but I'm afraid you were very unlucky.
sr. member
Activity: 378
Merit: 250
March 06, 2011, 04:14:57 AM
Are you sure that this is "your" block?

Time?: 2010-04-04 06:12:57

Looks like a very old block to me.
sr. member
Activity: 458
Merit: 250
March 06, 2011, 03:08:41 AM
Hi, I've been solo-mining for about a week with an ATI 5770 getting about 150Mhash/s using poclbm. This morning when I woke up I saw "05/03/2011 05:01:13, 0000f4d2, accepted" had appeared in the console window.. It's now going on 8 hours since then with nothing showing in the bitcoin application and I am wondering if I should be expecting 50btc or otherwise would appreciate any advice to understand what the message means. Thanks a lot Smiley

The block has been accepted and everything is OK:
http://blockexplorer.com/block/0000000000f4d21aec6a2097008556d0a8341333355ccdce76a0e5a2df083d0e

It takes 120 confirmations for the block to appear in the balance. It will happen is 23 blocks or about 3 hours from now.

Unfortunately (for me) the 50BTC never appeared in my balance, and the recipient address shown in Block Explorer is not one in my address book. So, I'm attempting to understand better why I get this message but no bitcoin... I'm guessing that "accepted" (when solo mining using poclbm) does not always mean my miner was the first to submit the solution to the block? Any info on the reasons why I got an "accepted" solution but no 50BTC would be a great help. Thanks again Smiley
sr. member
Activity: 257
Merit: 250
Not trusting third parties with my private keys
March 05, 2011, 10:00:53 PM
I'm also finding that SDK v2.1 just isn't happening for me.  I removed all ATI related apps, used Driver Sweeper to clean up the remnants, and then went with the 12.10a hotfix + ATI Stream SDK v2.1.  When I run poclbm.exe, it gives the same error message it gives when the Stream SDK isn't installed at all.

I also tried this on a laptop with an ATI HD 5730 in it.  Same thing with poclbm not recognizing the Stream SDK v2.1.  Am I missing some step to get it working?  v2.3 works just fine for me, it's just that I'm assuming in light of people saying to run 2.1, that I would get more performance out of it.  I'm getting 290mhash/s right now by overclocking it to 920mhz.  Any higher seems to just crash it. I was a little too busy to tweak with it right now, so I haven't messed with the the memory clock or voltage much yet.

does poclbm + sdk2.1 work for anyone on windows?  I cannot find a single instance of anyone posting that this works.  It throws this error:

File "poclbm.py", line 3, in
File "pyopencl\_init_.pyc", line 3, in
File "pyopencl\cl.pyc", line 12, in
File "pyopencl\_cl.pyc", line 10, in_load
ImportError: DLL load failed: The specified module could not be found

I really want it to work because 2.2 and 2.3 jack the cpu usage through the roof and they are slower.
sr. member
Activity: 378
Merit: 250
March 05, 2011, 01:33:38 PM
idk what are the best setting for a 4650, but have you tried vectors? (-v)

Yeah, tried -v. Won't go over 20Mhash/s with that. So far 23-24 is as high as I get.
full member
Activity: 126
Merit: 100
March 05, 2011, 11:23:53 AM
I got my ATI 4650 working but I only get about 23 Mhash/s. According to some tests my card should be able to to about 33Mhash/sec. I use -w32 and -f 10 as switches.
The "missing" 10Mhash, is that a result of mining in a pool, or can I do something to increase it?

idk what are the best setting for a 4650, but have you tried vectors? (-v)
sr. member
Activity: 378
Merit: 250
March 05, 2011, 10:43:25 AM
I got my ATI 4650 working but I only get about 23 Mhash/s. According to some tests my card should be able to to about 33Mhash/sec. I use -w32 and -f 10 as switches.
The "missing" 10Mhash, is that a result of mining in a pool, or can I do something to increase it?
full member
Activity: 126
Merit: 100
March 05, 2011, 10:02:14 AM
Yeah thanks mate, VLC actually works Cheesy , but still the youtube(adobe flash) does not work @.@m quite annoying
Youtube works for me, but I haven't done anything in particular to make it work. I'm using Opera 11 and 64 bit W7. It works both with and without HW acceleration, but it seems a bit less jumpy without.

Hmm, I'm using Firefox with Win 7 64 bits thought, strange, maybe I should try Opera or IE ? Btw , do you know how do disable HW acceleration for FF ?
put -f 120 in miner and downclock you card a bit... if overclocked, try getting closer to stock values.
member
Activity: 158
Merit: 10
March 05, 2011, 08:48:36 AM
Yeah thanks mate, VLC actually works Cheesy , but still the youtube(adobe flash) does not work @.@m quite annoying
Youtube works for me, but I haven't done anything in particular to make it work. I'm using Opera 11 and 64 bit W7. It works both with and without HW acceleration, but it seems a bit less jumpy without.

Hmm, I'm using Firefox with Win 7 64 bits thought, strange, maybe I should try Opera or IE ? Btw , do you know how do disable HW acceleration for FF ?
legendary
Activity: 1284
Merit: 1001
March 05, 2011, 08:20:03 AM
Yeah thanks mate, VLC actually works Cheesy , but still the youtube(adobe flash) does not work @.@m quite annoying
Youtube works for me, but I haven't done anything in particular to make it work. I'm using Opera 11 and 64 bit W7. It works both with and without HW acceleration, but it seems a bit less jumpy without.
member
Activity: 158
Merit: 10
March 05, 2011, 07:30:53 AM
@Grinder: I'm using Jet audio and I think its not hardware accelerated !
VLC seems to work with the video files I've tried. I've disabled all features using hardware because I have experienced freezes before.

Yeah thanks mate, VLC actually works Cheesy , but still the youtube(adobe flash) does not work @.@m quite annoying
donator
Activity: 2772
Merit: 1019
March 05, 2011, 06:59:53 AM
First, thanks for answering.

Unfortunately, I'm even more confused now ;(

Now 2 things strike me as odd:

1.) targetH is passed as 0xffff0000 (BitcoinMiner.py around line 293). why not 0? doesn't H have to be 0 even for a difficulty 1 block?

2.) (parts) of the calculation of G is commented out in the kernel code (likely to save some cycles, assuming that G is not going to be needed)...

...but G is used in the solution condition. So since G is some intermediary value of sha256 and targetG is 0, why does this even work?

1.) Excuse me for this mildly obfuscated code. target[0] and [1] are actually A and B of original target - I'm using them just to pass a made up 32 bit target.

Why are you passing a made up 32 bit target (0x00000000ffff0000)?

Quote
If you look at kernel parameters you'll see that target[0] (0xFFFF0000) is passed as G.

It's passed as Parameter number 16, which is in BitcoinMiner.cl, "targetG", no?
Or what do you mean by "passed as G"?

Quote
2.) G is used in belowOrEquals because I didn't managed to understand why this leads to better/faster assembler Smiley I left it there wondering when someone will ask this question.

So you're saying that "targetG" is in fact the 2nd-last value of the real target or is it 0xffff0000 or what is it and why does it work at all comparing that to some G that is not even the 2nd-last value of the hash?
legendary
Activity: 1284
Merit: 1001
March 05, 2011, 06:53:37 AM
@Grinder: I'm using Jet audio and I think its not hardware accelerated !
VLC seems to work with the video files I've tried. I've disabled all features using hardware because I have experienced freezes before.
member
Activity: 158
Merit: 10
March 05, 2011, 05:49:12 AM

The "Invalid or Stale" rejection message should be split out into two error messages if possible,

That way miner side can trouble shoot when receiving a lot of these errors. If it is string of stale then it maybe a comms. problem on miner side (or pool connection possibly down).

Computation is checked on CPU and you will see a 'verification failed' message. 'Invalid or stale' is received whenever the server rejected your result. It now is almost 100% 'stale' than 'invalid', but I didn't change the message because it would have caused more questions.

Quote
...every time I want to play a movie or youtube(flash player), my computer will hang up!

This is problem with flash itself, if not hanging it at least 'reserves' roughly half of GPU for itself.

Momchild can you explain more clearly , and its not only about the flash, my video codecs are messed up too I think(mkv,divx,xvid files)

@Grinder: I'm using Jet audio and I think its not hardware accelerated !
full member
Activity: 171
Merit: 127
March 05, 2011, 05:11:12 AM

The "Invalid or Stale" rejection message should be split out into two error messages if possible,

That way miner side can trouble shoot when receiving a lot of these errors. If it is string of stale then it maybe a comms. problem on miner side (or pool connection possibly down).

Computation is checked on CPU and you will see a 'verification failed' message. 'Invalid or stale' is received whenever the server rejected your result. It now is almost 100% 'stale' than 'invalid', but I didn't change the message because it would have caused more questions.

Quote
...every time I want to play a movie or youtube(flash player), my computer will hang up!

This is problem with flash itself, if not hanging it at least 'reserves' roughly half of GPU for itself.
legendary
Activity: 1284
Merit: 1001
March 05, 2011, 05:03:18 AM
Yeah I think it has something to do with OpenCL applications, but youtube(adobe flash) + video player codec have nothing to do with Opengl then ? Have you tried other miner mate ?
Check if it's possible to disable hardware acceleration in the players you use.
member
Activity: 158
Merit: 10
March 05, 2011, 04:28:00 AM
Thanks mate, I've fixed the lag with the f parameter, however my computer is still locked up when I play any video file ( which only use about 1-10% GPU usage) or youtube ! I'm using SDK2.2 too

Same problem here, but it happens with any opencl application in background.

Yeah I think it has something to do with OpenCL applications, but youtube(adobe flash) + video player codec have nothing to do with Opengl then ? Have you tried other miner mate ?


Ps:Just tried diablo miner, same result @.@, computer hanged up !
qed
full member
Activity: 196
Merit: 100
March 05, 2011, 04:23:07 AM
Thanks mate, I've fixed the lag with the f parameter, however my computer is still locked up when I play any video file ( which only use about 1-10% GPU usage) or youtube ! I'm using SDK2.2 too

Same problem here, but it happens with any opencl application in background.
member
Activity: 158
Merit: 10
March 05, 2011, 04:12:13 AM
Thanks mate, I've fixed the lag with the f parameter, however my computer is still locked up when I play any video file ( which only use about 1-10% GPU usage) or youtube ! I'm using SDK2.2 too
Pages:
Jump to: