Bitcoin Forum
April 27, 2024, 11:04:43 AM *
News: Latest Bitcoin Core release: 27.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 1238799 times)
cdb000
Member
**
Offline Offline

Activity: 112
Merit: 11



View Profile
January 04, 2011, 03:01:44 AM
 #321

Running this miner on 32 bit Windows XP it works very well, about 290Mhash/sec on a HD5870 and very small CPU use.
Running on 32 bit Windows 7, the same 290Mhash/sec performance is observed, but the miner is keeping 1 CPU core fully busy.

In both cases the latest (10.12) Catalyst version is installed.

I would prefer to run on Windows 7, so... is there anything that can be done to reduce the CPU use in the Windows 7 case?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
CNCaddict
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
January 05, 2011, 12:46:14 AM
 #322

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?
dingus
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
January 05, 2011, 01:49:15 AM
 #323

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?
Yes. On my old 5770 dual crossfire setup when I would have a flash video open (youtube, securitytube, I'm pretty sure anything with flash) I would just get a dip in M/hash/s by about 20M. Never had any lock ups.

Same deal with my 5970. It is a dual gpu card and only 1 gpu takes the performance hit by about the same amount in M/hash/s.

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
brocktice
Sr. Member
****
Offline Offline

Activity: 292
Merit: 250


Apparently I inspired this image.


View Profile WWW
January 05, 2011, 03:40:22 AM
 #324

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?

Try backing the clock down a little if you're overclocking.

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

Activity: 171
Merit: 127


View Profile
January 05, 2011, 01:01:17 PM
 #325

Fixed issue with intermittent solving for duplicate pool job. Anyone using the miner against a pool should upgrade to latest version to avoid losing shares.

Also, kernel now compiles with vectors on Stream 2.1

bfever
Jr. Member
*
Offline Offline

Activity: 39
Merit: 1


View Profile WWW
January 05, 2011, 08:50:52 PM
 #326

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

Activity: 26
Merit: 0



View Profile
January 06, 2011, 09:09:17 AM
 #327

Thanks for this. Working fine on:

2010 iMac running OSX 10.6.5 with a 256mb HD4850
Python 2.6.1
PyOpenCL 0.92
SVN revision #19 of python-jsonrpc
Commit 7ed72feab9baac99727c4bafaadb8575787ab627 of the miner

Doing 14,000-16,000 khash/sec. The CPU miner on the Core i7 Quad was only doing 1,500 khash/sec per core.  Shocked
Cryptoman
Hero Member
*****
Offline Offline

Activity: 726
Merit: 500



View Profile
January 10, 2011, 09:13:44 PM
 #328

I'm about to set up m0mchil's miner on openSUSE 11.3, and I have a couple of (hopefully) simple questions.  Can I continue to use my motherboard-integrated Nvidia GPU for display purposes while running an ATI 5XXX card strictly for mining?  I presume I add the ATI driver to the kernel but don't make any changes to X so it continues to use the Nvidia.  Also, can I use the ati-fglrxG02-kmp-desktop driver from the repo at www2.ati.com/suse/11.3/, or do I need to compile from source?  Thanks.

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

Activity: 292
Merit: 250


Apparently I inspired this image.


View Profile WWW
January 10, 2011, 09:16:39 PM
 #329

I'm about to set up m0mchil's miner on openSUSE 11.3, and I have a couple of (hopefully) simple questions.  Can I continue to use my motherboard-integrated Nvidia GPU for display purposes while running an ATI 5XXX card strictly for mining?  I presume I add the ATI driver to the kernel but don't make any changes to X so it continues to use the Nvidia.  Also, can I use the ati-fglrxG02-kmp-desktop driver from the repo at www2.ati.com/suse/11.3/, or do I need to compile from source?  Thanks.

I doubt it, the ATI cards will need X displays on them (even if no physical displays), or they won't work with OpenCL. Stupid, I know. You'd be better off just using one of the ATI cards for display and disabling the on-board card, or if you have the spare slots, add another ATI card just for display.

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

Activity: 726
Merit: 500



View Profile
January 10, 2011, 10:26:27 PM
 #330

OK, maybe I will install it as a multiple-monitor setup and just not plug a monitor into the ATI card.  I am still a bit confused about how OpenCL works; I thought the fglrx driver supported it directly.  Is the SDK necessary?

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

Activity: 292
Merit: 250


Apparently I inspired this image.


View Profile WWW
January 11, 2011, 03:47:09 PM
 #331

OK, maybe I will install it as a multiple-monitor setup and just not plug a monitor into the ATI card.  I am still a bit confused about how OpenCL works; I thought the fglrx driver supported it directly.  Is the SDK necessary?

You will need the streaming SDK. I recommend 2.1, although maybe I'm behind the times and 2.2 is supported better now?

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
lfm
Full Member
***
Offline Offline

Activity: 196
Merit: 104



View Profile
January 12, 2011, 04:01:20 AM
 #332

OK, maybe I will install it as a multiple-monitor setup and just not plug a monitor into the ATI card.  I am still a bit confused about how OpenCL works; I thought the fglrx driver supported it directly.  Is the SDK necessary?

You will need the streaming SDK. I recommend 2.1, although maybe I'm behind the times and 2.2 is supported better now?

as far as I know 2.2 and 2.3 still dont quite work as well as 2.1 for mining. good luck
em3rgentOrdr
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


youtube.com/ericfontainejazz now accepts bitcoin


View Profile WWW
January 12, 2011, 10:17:13 AM
Last edit: January 12, 2011, 12:34:33 PM by em3rgentOrdr
 #333

Thanks to this OpenCL bitcoin miner, I'm getting 28,000 khash/sec on my Nvidia GF9800GX2, on an Ubuntu 10.10 machine, with an additional 2,000 khash/sec from the regular bitcoin client running on my low-end Core2 Duo.

UPDATE: that 28,000 khash/sec is only using one card (DEVICE 0) of the dual-card GF9800GX2.  The other card (DEVICE 1) currently renders my desktop screen, but when I run DEVICE 1, I get an additional 26,000 khash/sec.  That is a total of ~54,000 khash/sec when both cards of my GF9800GX2 are being used.

UPDATE: I modified a script to invoke this OpenCL miner to run DEVICE 1 upon detection of screen saver: http://bitcointalk.org/index.php?topic=2636.msg37461#msg37461

"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."
lfm
Full Member
***
Offline Offline

Activity: 196
Merit: 104



View Profile
January 12, 2011, 06:39:58 PM
 #334

Thanks to this OpenCL bitcoin miner, I'm getting 28,000 khash/sec on my Nvidia GF9800GX2, on an Ubuntu 10.10 machine, with an additional 2,000 khash/sec from the regular bitcoin client running on my low-end Core2 Duo.

UPDATE: that 28,000 khash/sec is only using one card (DEVICE 0) of the dual-card GF9800GX2.  The other card (DEVICE 1) currently renders my desktop screen, but when I run DEVICE 1, I get an additional 26,000 khash/sec.  That is a total of ~54,000 khash/sec when both cards of my GF9800GX2 are being used.

UPDATE: I modified a script to invoke this OpenCL miner to run DEVICE 1 upon detection of screen saver: http://bitcointalk.org/index.php?topic=2636.msg37461#msg37461

I suspect it would be best to set the screensaver to a blank screen also so you dont waste cycles on cute displays
em3rgentOrdr
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


youtube.com/ericfontainejazz now accepts bitcoin


View Profile WWW
January 13, 2011, 12:00:58 AM
 #335

Thanks to this OpenCL bitcoin miner, I'm getting 28,000 khash/sec on my Nvidia GF9800GX2, on an Ubuntu 10.10 machine, with an additional 2,000 khash/sec from the regular bitcoin client running on my low-end Core2 Duo.

UPDATE: that 28,000 khash/sec is only using one card (DEVICE 0) of the dual-card GF9800GX2.  The other card (DEVICE 1) currently renders my desktop screen, but when I run DEVICE 1, I get an additional 26,000 khash/sec.  That is a total of ~54,000 khash/sec when both cards of my GF9800GX2 are being used.

UPDATE: I modified a script to invoke this OpenCL miner to run DEVICE 1 upon detection of screen saver: http://bitcointalk.org/index.php?topic=2636.msg37461#msg37461

I suspect it would be best to set the screensaver to a blank screen also so you dont waste cycles on cute displays


Good point!  Actually, I've set the screen saver to disply my photo image gallery, so it doesn't consume many GPU cycles.  Smiley

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

Activity: 532
Merit: 505


View Profile
January 13, 2011, 07:31:49 PM
 #336

Quote
Because 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.
this is definitely NOT true.
as i posted earlier in this thread running both 5970 GPUs on crossfire-activated windows with poclbm_py2exe_20101126 works (almost) perfect, both cores get their ~300M, both cores find hashes/solve blocks/earn bitcoins.

the only problem remaining is, that poclbm_py2exe_20101126 stops working, or crashes, when slush restarts the pool-server (which isn't a problem when mining on my own), so i always have to keep an eye on the miner to make sure it's still running.
i can't do that 24/7, which is why i currently use 2 miner-versions, poclbm_py2exe_20110104 on my first core, poclbm_py2exe_20101126 on second core, so only one core stops working on a server-restart/-crash.

it would really be cool, if you could check what you changed after 20101126 and this could be solved, so that windows-users aren't limited anymore to a single core (when using latest miner-versions).
until then, every win-user should try my way, to get both dual-gpu-cores mining.

teknohog
Sr. Member
****
Offline Offline

Activity: 519
Merit: 252


555


View Profile WWW
January 13, 2011, 11:25:34 PM
 #337

If anyone is using multiple GPUs on Linux, can you please post some more details?

I tried this the other day (5570 + 5770) and the results were not impressive. Ideally, I wanted to use the weaker card for my main screen, so the other GPU could crunch at a lower FPS. However, anything to increase the hash rate compared to the single 5770 would be nice.

The setup was one X server with two screens, both connected to the same monitor since the Radeons cannot work headless. The problem was that while one GPU was crunching at a low FPS, the other screen was also lagging. In addition, crunching on the other GPU was severely slowed down. I could not get the total hash rate above that of the single 5770.

Is anyone using separate X servers or some other kind of setup? I suspect my system might have some inherent limitations (weak CPU, only 1x PCIe slots), so if other people have working dual-screen setups, I probably won't bother with any other tricks.

world famous math art | masternodes are bad, mmmkay?
Every sha(sha(sha(sha()))), every ho-o-o-old, still shines
tmr0
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 14, 2011, 05:48:19 AM
 #338

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?
em3rgentOrdr
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


youtube.com/ericfontainejazz now accepts bitcoin


View Profile WWW
January 14, 2011, 06:28:13 AM
 #339

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."
Raulo
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
January 14, 2011, 07:46:12 AM
 #340

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
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!