Bitcoin Forum
December 30, 2025, 08:40:27 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 1239738 times)
Cablesaurus
Sr. Member
****
Offline Offline

Activity: 302
Merit: 250



View Profile WWW
February 08, 2011, 08:34:44 AM
 #401

Is anyone else having trouble, with not finding any blocks at all with the last 2 versions of this miner post 2/1/11?

I've mined for well over 5 or 6 days with nothing and I'm running about 630khash between the 2 cores on my 5970. I'm just using -v -w 128 -f 120........... I haven't found a block in what seems like far too long.

PCIe Extender Cables; Dummy Plugs, Fans; PSU Cables; Cases & More
Visit www.Cablesaurus.com and our forum thread at http://asktom.cf/index.php?topic=6128.0
jakakxl
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
February 08, 2011, 10:08:33 AM
 #402

Hello, I currently have 2x6950 in crossfire, i7 2600k, 11.1a drivers, ATi Stream 2.3.

When I try to run it with the following parems:
poclbm.exe --user=x --pass=y --host=http://mining.bitcoin.cz:8332 -d 0

  •      Cayman
  • [1]     Cayman
    [2]            Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz

    It gives me this error:

    InvalidURL: nonnumeric port: ''
    Unexpected error:
    Traceback (most recent call last):
      File "BitcoinMiner.pyc", line 171, in mine
      File "BitcoinMiner.pyc", line 157, in getwork
      File "jsonrpc\proxy.pyc", line 42, in __call__
      File "urllib.pyc", line 89, in urlopen
      File "urllib.pyc", line 208, in open
      File "urllib.pyc", line 334, in open_http
      File "httplib.pyc", line 1008, in __init__
      File "httplib.pyc", line 656, in __init__
      File "httplib.pyc", line 673, in _set_hostport

    Any help? Thanks!
DarkMatter
Member
**
Offline Offline

Activity: 67
Merit: 10


Stop trying to steal my account, thanks.


View Profile
February 08, 2011, 12:23:15 PM
 #403

Hello, I currently have 2x6950 in crossfire, i7 2600k, 11.1a drivers, ATi Stream 2.3.

When I try to run it with the following parems:
poclbm.exe --user=x --pass=y --host=http://mining.bitcoin.cz:8332 -d 0

  •      Cayman
  • [1]     Cayman
    [2]            Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz

    It gives me this error:

    InvalidURL: nonnumeric port: ''
    Unexpected error:
    Traceback (most recent call last):
      File "BitcoinMiner.pyc", line 171, in mine
      File "BitcoinMiner.pyc", line 157, in getwork
      File "jsonrpc\proxy.pyc", line 42, in __call__
      File "urllib.pyc", line 89, in urlopen
      File "urllib.pyc", line 208, in open
      File "urllib.pyc", line 334, in open_http
      File "httplib.pyc", line 1008, in __init__
      File "httplib.pyc", line 656, in __init__
      File "httplib.pyc", line 673, in _set_hostport

    Any help? Thanks!
Hi,
get rid of "http://:8332" from the host line, and put the port number after the "--port=" switch.
TheKoziTwo
Legendary
*
Offline Offline

Activity: 1552
Merit: 1047



View Profile
February 08, 2011, 12:28:49 PM
 #404

I just get 3500 khash/s

--device=0 -f 5 -v -w 128 (tried different combinations like f 30 and w 256 etc)

What am I doing wrong?

Device 0 is your CPU, most likely.  Try device=1 or start the miner with no options and it will list the devices.
You're right, I see now, the only options I have is:
Code:
[0] Intel(R) Core(TM) i7 CPU 920 @ 2.67 GHz
But no GPU? Why is that?

DarkMatter
Member
**
Offline Offline

Activity: 67
Merit: 10


Stop trying to steal my account, thanks.


View Profile
February 08, 2011, 12:33:33 PM
 #405

I just get 3500 khash/s

--device=0 -f 5 -v -w 128 (tried different combinations like f 30 and w 256 etc)

What am I doing wrong?

Device 0 is your CPU, most likely.  Try device=1 or start the miner with no options and it will list the devices.
You're right, I see now, the only options I have is:
Code:
[0] Intel(R) Core(TM) i7 CPU 920 @ 2.67 GHz
But no GPU? Why is that?

My fault, didn't notice Smiley
I read somewhere that you should use ati stream 2.1 or 2.2, not the latest one.
TheKoziTwo
Legendary
*
Offline Offline

Activity: 1552
Merit: 1047



View Profile
February 08, 2011, 12:52:47 PM
 #406

Weird, I just tried 2.2, but same result.

bitcool
Legendary
*
Offline Offline

Activity: 1441
Merit: 1000

Live and enjoy experiments


View Profile
February 08, 2011, 03:58:12 PM
 #407

Weird, I just tried 2.2, but same result.

wierd, so your GPU Caps viewer sees the card but poclbm.exe can't.  I remember read from somewhere you can't run this remotely via RDP, the driver won't load in a RDP session.
jakakxl
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
February 08, 2011, 08:42:28 PM
 #408

Hello, I currently have 2x6950 in crossfire, i7 2600k, 11.1a drivers, ATi Stream 2.3.

When I try to run it with the following parems:
poclbm.exe --user=x --pass=y --host=http://mining.bitcoin.cz:8332 -d 0

  •      Cayman
  • [1]     Cayman
    [2]            Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz

    It gives me this error:

    InvalidURL: nonnumeric port: ''
    Unexpected error:
    Traceback (most recent call last):
      File "BitcoinMiner.pyc", line 171, in mine
      File "BitcoinMiner.pyc", line 157, in getwork
      File "jsonrpc\proxy.pyc", line 42, in __call__
      File "urllib.pyc", line 89, in urlopen
      File "urllib.pyc", line 208, in open
      File "urllib.pyc", line 334, in open_http
      File "httplib.pyc", line 1008, in __init__
      File "httplib.pyc", line 656, in __init__
      File "httplib.pyc", line 673, in _set_hostport

    Any help? Thanks!
Hi,
get rid of "http://:8332" from the host line, and put the port number after the "--port=" switch.

Thank you, it works!
jakakxl
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
February 08, 2011, 08:49:50 PM
 #409

Hello, I currently have 2x6950 in crossfire, i7 2600k, 11.1a drivers, ATi Stream 2.3.

When I try to run it with the following parems:
poclbm.exe --user=x --pass=y --host=http://mining.bitcoin.cz:8332 -d 0

  •      Cayman
  • [1]     Cayman
    [2]            Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz

    It gives me this error:

    InvalidURL: nonnumeric port: ''
    Unexpected error:
    Traceback (most recent call last):
      File "BitcoinMiner.pyc", line 171, in mine
      File "BitcoinMiner.pyc", line 157, in getwork
      File "jsonrpc\proxy.pyc", line 42, in __call__
      File "urllib.pyc", line 89, in urlopen
      File "urllib.pyc", line 208, in open
      File "urllib.pyc", line 334, in open_http
      File "httplib.pyc", line 1008, in __init__
      File "httplib.pyc", line 656, in __init__
      File "httplib.pyc", line 673, in _set_hostport

    Any help? Thanks!
Hi,
get rid of "http://:8332" from the host line, and put the port number after the "--port=" switch.

Thank you so much!

Anyone got 6950/6970 w/ any recommended settings? Any results?
t3h
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
February 09, 2011, 05:18:54 AM
 #410

Got it running on OS X.

Install MacPorts if you haven't already,
sudo port -dv install py26-pyopencl
and install the json rpc library.

Speed isn't great though - only about 4700khashes/sec on an i7 MBP's GT330M. 2700khashes/sec on the CPU (about right I think).
dishwara
Legendary
*
Offline Offline

Activity: 1855
Merit: 1016



View Profile
February 09, 2011, 09:04:08 AM
 #411

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.


For 2 monitor needed, instead of plugging & unplugging, why don't use 2 cords?
I have samsung lcd monitor & it has 2 connectors, vga & DVI.
I think 2 graphics cards can be connected to 1 monitor with vga & DVI port, so u don't have to unplug & plug.
Just a thought, i don't have 2 graphics card, so if anyone have, please check & reply.
Thanks.
rmartins
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
February 09, 2011, 11:19:48 AM
Last edit: February 09, 2011, 06:13:27 PM by rmartins
 #412

Anyone got 6950/6970 w/ any recommended settings? Any results?

I have a 6950 with unlocked shaders (not a 6970 bios) and I get about 253 Mhash/s at the default clocks with -f 5 -w 256. I'm currently running it at 880 core / 1300 memory, with -f 5 -w 128 -v, which gives me about 282 Mhash/s. I'm using the 10.12 driver and SDK 2.3.
dingus
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
February 09, 2011, 06:55:16 PM
 #413

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.


For 2 monitor needed, instead of plugging & unplugging, why don't use 2 cords?
I have samsung lcd monitor & it has 2 connectors, vga & DVI.
I think 2 graphics cards can be connected to 1 monitor with vga & DVI port, so u don't have to unplug & plug.
Just a thought, i don't have 2 graphics card, so if anyone have, please check & reply.
Thanks.


I have tried having two monitors with my setup (one 5970 and one 5770) and it either crashes windows or you can only have one card running a miner. The unplug trick does work though. So,  Huh.

ding·us/ˈdiNGgəs/
Noun: Used to refer to something whose name the speaker cannot remember, is unsure of, or is humorously or euphemistically omitting
Mahkul
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


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


View Profile
February 11, 2011, 10:43:43 PM
 #414

Hi,

I try to install the GPU miner under Ubuntu and I get this error:

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

I would appreciate some help.

I'm using an 5850 and Ubuntu 10.4.

Thank you.

I am getting that too. Was that ever resolved?
Raulo
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
February 11, 2011, 10:51:01 PM
 #415

I am getting that too. Was that ever resolved?

This is an OpenCL problem. Is
$ cd /opt/ati-stream-sdk-v2.1-lnx64/samples/opencl/bin/x86_64
$ ./CLInfo

working correctly?

1HAoJag4C3XtAmQJAhE9FTAAJWFcrvpdLM
Mahkul
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


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


View Profile
February 11, 2011, 10:55:33 PM
 #416

I am getting that too. Was that ever resolved?

This is an OpenCL problem. Is
$ cd /opt/ati-stream-sdk-v2.1-lnx64/samples/opencl/bin/x86_64
$ ./CLInfo

working correctly?

It's my fault. I had too many miners running. I think this comes up when the device is in use by another miner!

I wonder was that the case with the other person that had that error message?

EDIT: Actually, no... this is weird. I am logged in as the same user via two SSH tunnels. On one of them the miner is working, on the other I get this message (even if the other one is not running). Any explanation for this?
OVerLoRDI
Member
**
Offline Offline

Activity: 60
Merit: 10


View Profile
February 12, 2011, 02:14:13 AM
 #417

I'm getting 340000 khash/s on each of my 6970s.  Running Stream SDK 2.3... I will see about downgrading in the near future since I have read 2.2 is faster.

My main question is each of the instances of poclbm is maxing out a core.  I have noticed if I max out all 4 cores with prime95, my khash/s does not increase, so it seems the miner is just wasting cpu cycles?  Is there something I can do to address this or is it a problem with the program?

Win 7 64bit
Cats 11.1a
AMD Stream 2.3
Dual 6970s

Cablesaurus
Sr. Member
****
Offline Offline

Activity: 302
Merit: 250



View Profile WWW
February 12, 2011, 04:43:49 AM
 #418

Can anyone confirm they're still finding blocks solo mining with this miner? Just a sanity check, as I haven't found anything solo mining in quite some time @ 625,000khash/s. I've found no blocks with the current version at all as of yet.

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

Activity: 726
Merit: 500



View Profile
February 12, 2011, 05:38:57 AM
 #419

I upgraded about 2 Ghash/s worth of miners a couple days ago with the latest version and haven't found anything since either.  Maybe it's just a spell of bad luck.  I'll update the thread if anything manifests.

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

Activity: 302
Merit: 250



View Profile WWW
February 12, 2011, 06:00:24 AM
 #420

I am by no means qualified in the ins and outs of mining programming for Bitcoin, but empirical observation really seems to me like something is vastly less efficient and/or broke from 2 or 3 versions prior to the current. Any discussion from m0mchil or other miners would please be welcome.

PCIe Extender Cables; Dummy Plugs, Fans; PSU Cables; Cases & More
Visit www.Cablesaurus.com and our forum thread at http://asktom.cf/index.php?topic=6128.0
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!