Bitcoin Forum
April 25, 2014, 03:51:53 AM *
News: Due to the OpenSSL heartbleed bug, changing your forum password is recommended.
 
   Home   Help Search Donate Login Register  
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 1003194 times)
em3rgentOrdr
Sr. Member
****
Offline Offline

Activity: 434


youtube.com/ericfontainejazz now accepts bitcoin


View Profile WWW

Ignore
January 14, 2011, 06:28:13 AM
 #341

I've had  my HD5770 running for over 2 weeks and have not had anything accepted, I'm getting ~150,000 khash/s.  I am using the following with pyopencl and poclbm:

1. Ubuntu 10.04 amd64
2. ati-driver-installer-10-10-x86.x86_64.run
3. ati-opencl-runtime_2.1_amd64.deb
4. ati-opencl-dev_2.1.deb

Any thoughts on how to go about troubleshooting?


Bitcoin block generation is entirely probabilistic, where each hash attempt is completely independent on others.  According to http://www.alloscomp.com/bitcoin/calculator.php the probability of time you will have to wait to generate a block are as follows:

Quote
Difficulty Factor   16307.4828568
Hash Target   1.65320028405E+63
Hash Rate (khps)   ~150,000

Probability   Time
Average   5 days, 9 hours, 42 minutes
50%   3 days, 17 hours, 54 minutes
95%   16 days, 4 hours, 33 minutes

You will have to wait.

"We will not find a solution to political problems in cryptography, but we can win a major battle in the arms race and gain a new territory of freedom for several years.

Governments are good at cutting off the heads of a centrally controlled networks, but pure P2P networks are holding their own."
    mBitCASINOWIN BITCOINS IN OUR
24/7 LIVE DEALER CASINO

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1398397913
Hero Member
*
Offline Offline

Posts: 1398397913

View Profile Personal Message (Offline)

Ignore
1398397913
Reply with quote  #2

1398397913
Report to moderator
Raulo
Full Member
***
Offline Offline

Activity: 238


View Profile

Ignore
January 14, 2011, 07:46:12 AM
 #342

You will have to wait.

Probably. But I would try to run it on testnet and see if anything gets accepted. On testnet, you should get a block after several minutes. If it works on testnet, it's just a matter of time (and luck) on "realnet".

1HAoJag4C3XtAmQJAhE9FTAAJWFcrvpdLM
ledskof
Jr. Member
*
Offline Offline

Activity: 43


View Profile

Ignore
January 15, 2011, 06:19:30 AM
 #343

Everything is running great here except when I play a video my computer crashes.  I'm running a Radeon 6970 and as soon as I click on a video (youtube, etc) etc I get a hard lock.  If I turn off poclbm.exe no problems with the videos.  Has anyone had a similar experience?

I have exactly the same issue as you described: a complete freeze of all Windows (running Vista 64bit), not even ctrl-alt-del working anymore. And I suspect everything from Adobe: not only flash player but even opening a PDF in Acrobat Reader causes my system to freeze.

I had an ATI 4870 before which didn't show this problem.


Me too.  I have an ATI HD 6970 in a Windows 7 box.  Even at standard clock speeds, if I bring up a youtube video, the screen freezes and I can no longer toggle keyboard lights. iTunes still plays, but I haven't tested network services or anything yet.  Maybe there is some chance I could RDP into it, but I doubt it.

It's really annoying having to remember what not to do, but oh well.  I'm just waiting for the crashing to finally cause a problem with my 4 x SSD RAID 0.

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.

13ThJTiHF3BvW6TTWtdN5nCEZrrNrnb9o4
teknohog
Sr. Member
****
Offline Offline

Activity: 273



View Profile WWW

Ignore
January 15, 2011, 03:34:04 PM
 #344

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.

In my experience, 2.2 is the best. 2.1 used to have compilation problems with vectors, and 2.3 is a little slower (on a HD5770). These things really seem to be different for different setups, so there is no reason to follow an arbitrary rumour. Try them all and see what works best for you.

So Lazy, Obviously True Hodler Sf67i4Xeqkn7mMcJ2nNT7uPUZXnoeqWfZh
Cryptoman
Hero Member
*****
Offline Offline

Activity: 726



View Profile

Ignore
January 15, 2011, 04:47:23 PM
 #345

When switching out the SDK, does one just need to copy in the library files, or does PyOpenCL need to be rebuilt?

"A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history." --Gandhi
ElectricGoat
Jr. Member
*
Offline Offline

Activity: 42


View Profile WWW

Ignore
January 15, 2011, 06:25:45 PM
 #346

Hi,

I don't have a big expensive graphic card, but I wanted to try anyway. For the record, I have a Radeon HD 5450, and I get a little below 11 Mhash/s with the default settings, plus maybe 2 Mhash/s with the i3 CPU (3.7 MHash/s with the CPU only). So, of course, it's not very impressive, and probably not worth mining with.

Art experiment with bitcoins: http://greta.electricgoat.net
tmr0
Newbie
*
Offline Offline

Activity: 2


View Profile

Ignore
January 16, 2011, 05:45:45 AM
 #347

You will have to wait.

Probably. But I would try to run it on testnet and see if anything gets accepted. On testnet, you should get a block after several minutes. If it works on testnet, it's just a matter of time (and luck) on "realnet".

Thanks for that tip, I called bitcoin with -testnet and -server and got results accepted fairly quickly.  I suspect something was not right with the way the bash script I wrote was launching poclbm.
tcatm
Sr. Member
****
Offline Offline

Activity: 337


View Profile

Ignore
January 16, 2011, 08:09:22 PM
 #348

fake-push and logging support: http://pastebin.com/J4qZRgXT
dishwara
Hero Member
*****
Offline Offline

Activity: 1162


Truth may get delay, but NEVER fails


View Profile

Ignore
January 17, 2011, 02:17:49 PM
 #349

Hi,

I have nvidia Geforce 9400GT with latest drivers 260.99
I am running poclbm.exe -d0 --host=mining.bitcoin.cz --port=8332 --user=##### --pass=##### & i get around 2300+ khash/s
I tried with -w256 & get same result, If i go for low value i get less khash/s & if i try more than 256, even 257, it runs for 5 seconds & crashes
But i get more than 4000000khash/s that time. Only for 5 seconds.
I saw ati cards have ati stream sdk, which improves a lot to achieve more khash/s.
Is there some way to increase the khash/s of my graphics card.
It has CUDA= 3.2 & opencl=1.0
robmon
Newbie
*
Offline Offline

Activity: 12


View Profile

Ignore
January 17, 2011, 06:30:56 PM
 #350

I was happily mining avg 148 000 khash/s with my 5770 but after reading the original post a little closer and trying the Known best settings I instantly juiced it up to 170 000 khash/s! Important lesson learned, read things thoroughly or don't bother at all.   Grin

Quote
Known best settings
(please PM better/best settings for your platform)
Windows 7 64, Stream 2.2, AMD 5[7-8]70
use '-v -w 128' with '-f 30' on 5770 (160 MHash), '-f 5' on 5870 (318 MHash)
ledskof
Jr. Member
*
Offline Offline

Activity: 43


View Profile

Ignore
January 20, 2011, 01:45:37 AM
 #351

I'm getting about 295M with a 6970.  Anyone doing better with a 6970?

13ThJTiHF3BvW6TTWtdN5nCEZrrNrnb9o4
Cryptoman
Hero Member
*****
Offline Offline

Activity: 726



View Profile

Ignore
January 20, 2011, 03:58:41 AM
 #352

robmon, dial up your core clock to 950 MHz.  I'm getting 185 Mhash/s on a 5770.

"A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history." --Gandhi
geebus
Sr. Member
****
Offline Offline

Activity: 258



View Profile WWW

Ignore
January 21, 2011, 10:59:29 PM
 #353

I'm having an odd issue, seeing if anyone else has seen it...

On my HD6950 running m0mchill's miner, I get ~300Mhash/s and it runs relatively well until I open any other program that uses video acceleration, at which point, my display freezes. To elaborate, my PC doesn't freeze. I can remote desktop into the box, and likewise view my account activity on Slush's pool and see I'm still submitting shares, but the display itself is frozen. Running puddinpop's rpcminer I see the same situation, but his will eventually crash, driver will reset and I get a nice event viewer log for atiocl.dll crashing.

Running Windows 7 Ultimate x86, Sapphire HD6950 (tried with BIOS mod to 6970 as well) with Catalyst 10.12a and Stream SDK 2.3. This configuration seems the most stable out of all, but still occurs.

I've also tried the following:
Catalyst 10.10 / Stream 2.1
Catalyst 10.12 / Stream 2.2
Catalyst 10.12 / Stream 2.3
Catalyst 10.12a / Stream 2.2
Catalyst 11.1a / Stream 2.3

Issue occurs regardless of driver/stream configuration. I am running HDMI digital out on my card.

I don't know if this is an issue of how the OpenCL miners are handling the calls to atiocl.dll, a digital-out issue, or a driver/stream config issue. Any help would be greatly appreciated though.

Feel like donating to me? BTC Address: 14eUVSgBSzLpHXGAfbN9BojXTWvTb91SHJ
Cryptoman
Hero Member
*****
Offline Offline

Activity: 726



View Profile

Ignore
January 22, 2011, 04:21:10 PM
 #354

Hi geebus.  I suspect this is an OpenCL issue since I see the same behavior on Linux.  Have you tried backing the clocks down?  Others have reported that things are more stable if not overclocking.  I decided to just dedicate some machines to mining.  They tend to be unstable even when browsing flash-enabled web pages.

"A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history." --Gandhi
m0mchil
Full Member
***
Offline Offline

Activity: 170


View Profile

Ignore
January 24, 2011, 10:49:31 AM
 #355

I made some pool related changes - socket timeout is now 5 seconds to avoid solving some jobs more than once. Exception handling should be somewhat better too.

BitLex
Staff
Hero Member
*****
Offline Offline

Activity: 868


View Profile WWW

Ignore
January 24, 2011, 02:03:27 PM
 #356

sad that it still doesn't run both 5970 cores,
i'm still forced to use poclbm_py2exe_20101126 on GPU2 (which runs fine, except it crashes, or just stops working from time to time, at least on the pool).

tcatm
Sr. Member
****
Offline Offline

Activity: 337


View Profile

Ignore
January 25, 2011, 05:27:10 AM
 #357


http://pastebin.com/v98gWWLc (port of ArtForz's code)

567 Mhash/s on a 5970 @ 725 MHz

m0mchil
Full Member
***
Offline Offline

Activity: 170


View Profile

Ignore
January 25, 2011, 02:42:59 PM
 #358

Updated to use ArtForz kernel. Lowered default 'frames' to 30.

I am seeing biggest improvement on linux, Stream 2.1, 2x5970 - ~5%

Thanks ArtForz, tcatm

bitcoin2
Jr. Member
*
Offline Offline

Activity: 32


View Profile

Ignore
January 26, 2011, 03:42:16 PM
 #359

On testnet I got only a "invalid or state" error message. Has anybody successfully mined a Block with the new Software?
m0mchil
Full Member
***
Offline Offline

Activity: 170


View Profile

Ignore
January 26, 2011, 05:20:23 PM
 #360

Ok, just confirmed... latest version is good only with 'difficulty = 1'. Working properly only on slush's pool.

Please revert to previous version for mining solo. I'm working on a fix.

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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!