Bitcoin Forum
December 25, 2025, 05:57:53 AM *
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 1239731 times)
tmr0
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 16, 2011, 05:45:45 AM
 #341

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
Merit: 285


View Profile
January 16, 2011, 08:09:22 PM
 #342

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

Activity: 1855
Merit: 1016



View Profile
January 17, 2011, 02:17:49 PM
 #343

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
Merit: 0


View Profile
January 17, 2011, 06:30:56 PM
 #344

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
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
January 20, 2011, 01:45:37 AM
 #345

I'm getting about 295M with a 6970.  Anyone doing better with a 6970?
Cryptoman
Hero Member
*****
Offline Offline

Activity: 726
Merit: 500



View Profile
January 20, 2011, 03:58:41 AM
 #346

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
Merit: 250



View Profile WWW
January 21, 2011, 10:59:29 PM
 #347

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
Merit: 500



View Profile
January 22, 2011, 04:21:10 PM
 #348

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 (OP)
Full Member
***
Offline Offline

Activity: 171
Merit: 127


View Profile
January 24, 2011, 10:49:31 AM
 #349

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
Hero Member
*****
Offline Offline

Activity: 532
Merit: 505


View Profile
January 24, 2011, 02:03:27 PM
 #350

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
Merit: 285


View Profile
January 25, 2011, 05:27:10 AM
Last edit: January 25, 2011, 06:22:22 AM by tcatm
 #351


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

567 Mhash/s on a 5970 @ 725 MHz

m0mchil (OP)
Full Member
***
Offline Offline

Activity: 171
Merit: 127


View Profile
January 25, 2011, 02:42:59 PM
 #352

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
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
January 26, 2011, 03:42:16 PM
 #353

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

Activity: 171
Merit: 127


View Profile
January 26, 2011, 05:20:23 PM
 #354

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.

Cablesaurus
Sr. Member
****
Offline Offline

Activity: 302
Merit: 250



View Profile WWW
January 26, 2011, 08:13:58 PM
 #355

Hello all,

New here to the BC scene, I've everything setup successfully with the pOpenCL miner, but have just 2 questions if anyone could fill me in I wasnt able to find much information on:

1) What exactly is the -w / workspace variable doing? I understand where it's pulling the value from in OpenCL, but how does adjusting this effect the process?
2) I've tuned the -w variable down as best I know how to attempt using BC, (running @ -w 62) so I can try to run this in the background while working. It's using 100% of the CPU. Not a huge problem I just saw someone here mentioning it shouldn't be that high? Any ideas on what might be the cause?

PCIe Extender Cables; Dummy Plugs, Fans; PSU Cables; Cases & More
Visit www.Cablesaurus.com and our forum thread at http://bitcointalk.org/index.php?topic=6128.0
brocktice
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


Apparently I inspired this image.


View Profile WWW
January 26, 2011, 09:20:59 PM
 #356

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.

My fork has been reverted.

http://media.witcoin.com/p/1608/8----This-is-nuts

My #bitcoin-otc ratings: http://bitcoin-otc.com/viewratingdetail.php?nick=brocktice&sign=ANY&type=RECV

Like my post? Leave me a tip: 15Cgixqno9YzoKNEA2DRFyEAfMH5htssRg
geebus
Sr. Member
****
Offline Offline

Activity: 258
Merit: 250



View Profile WWW
January 27, 2011, 04:55:02 AM
 #357

Is there a guide on how to compile poclbm on windows from source? Or rather, a step-by-step guide on installing python, required packages, and then executing the source?

I can't seem to find one, but I believe I saw one before. All current windows guides just direct you to use the pre-compiled binary.

Feel like donating to me? BTC Address: 14eUVSgBSzLpHXGAfbN9BojXTWvTb91SHJ
ronaldmaustin
Full Member
***
Offline Offline

Activity: 143
Merit: 100


View Profile
January 27, 2011, 08:58:51 AM
 #358

Here's what I've observed with a 5970 and now a 5870 as well.  Hope it helps someone.  First and foremost, a few posts back someone noted to use the "Known Best Settings".  I added the -f5 switch and I went from about 560Mhash/sec to consistently over 600Mhash/sec on the 5970 alone. 

Next, the first post in this thread says . . .
"5970 is actually two 5870s with internal crossfire. OpenCL doesn't work with crossfire. It must be switched off. You can't switch it off on Windows. For now, 5970 can be used fully on Linux only."
I have used the 5970 for over a month on Windows 7 and get results from both cores, about 300Mhash/sec each.  So I don't know what that comment is all about.

Next, I finally was happy with my results with the 5970 and I can never leave well enough alone.  So I bought a 5870 tonight and threw that into my motherboard as well.  At first I was getting "Disabled Adapter" in Catalyst Control Center, although I could see the third GPU (now as GPU #1) in MSI Afterburner.  It did nothing and just sat there very cool.  poblcm only recognized the two 5970 cores and the CPU.  After looking at posts on Google as far back as 2008, someone said, "Plug in another monitor".  Not having another monitor, I plugged in my monitor to the 5870 instead.  Now, the 5870 GPU was the only core recognized by poblcm along with the CPU.  So I ran poblcm with a device=1 and it worked!  Then I unplugged the monitor from the 5870 and replugged it into the 5970.  Now, even though the 5870 was the disabled adapter again, poblcm was still running on the 5870.  Then I ran poblcm again on device=1 and device=0 and both of the 5970 cores were running alongside the 5870, for a total of about 875Mhash/sec.  Pretty good.  So that's just FYI for anyone running multiple 5870's, 5970's or combinations thereof.  I wish there was a way to get Catalyst Control Center, or ATI Stream, or whatever ATI driver it is to enumerate all three cores so I would not have to unplug and replug the monitor into different cards every time I want to run poblcm on the 5870 and 5970 at the same time.  I would suspect this would be a similar problem, and a similar solution, for running poblcm on  two 5970's on Windows.
slush
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
January 27, 2011, 10:29:56 AM
 #359

It must be switched off. You can't switch it off on Windows. For now, 5970 can be used fully on Linux only.

This is nice urban legend. With current drivers, it isn't true (this issue is probably related to some ancient drivers). I had also 5970 miner on Win and without problem.

Quote
Google as far back as 2008, someone said, "Plug in another monitor".  Not having another monitor, I plugged in my monitor to the 5870 instead.  Now, the 5870 GPU was the only core recognized by poblcm along with the CPU.  So I ran poblcm with a device=1 and it worked!

Nice trick! I failed to connect second 5970 to my Win box on the same issue. Now I'm running Linux, but it was a pain (related to non-problem setup of single 5970 on Windows).

m0mchil (OP)
Full Member
***
Offline Offline

Activity: 171
Merit: 127


View Profile
January 27, 2011, 04:48:28 PM
 #360

Miner is now fixed. It found blocks on testnet. Added verification of kernel result in host.

I will highly appreciate any reports about hash speed with this version.

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!