Bitcoin Forum
August 29, 2025, 10:33:00 AM *
News: Latest Bitcoin Core release: 29.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 1239554 times)
hacim
Member
**
Offline Offline

Activity: 64
Merit: 10


View Profile
January 27, 2011, 05:35:03 PM
 #361

Thanks for the update on the miner, I was using the previous version of the ArtForz, and was getting approximately 332khash/sec, with your update I'm getting ~340khash/sec, so certainly an improvement!

15yns1RVpBHZ8uj8mGVUJVCyPh5ieW3FQx
Cablesaurus
Sr. Member
****
Offline Offline

Activity: 302
Merit: 250



View Profile WWW
January 28, 2011, 06:42:41 AM
 #362

I'm getting an extra 10-20khash/s on my 5970. Kudos sir.

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

Activity: 434
Merit: 251


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


View Profile
January 28, 2011, 09:33:09 AM
 #363

@m0mchil: Man, you are a genius! Still not accepting donations?

I am getting extra 10khash/s on my 4850: was ~65Mhash/s, now ~75Mhash/s
On the 5850 got extra 8~- up from 292Mhash/s to 300Mhash/s

OS on both: Windows XP
hacim
Member
**
Offline Offline

Activity: 64
Merit: 10


View Profile
January 28, 2011, 02:44:48 PM
 #364

Anyone found a block with this new kernel on this miner? I know difficulty recently went up but my last block found was on my 5870 with the previous kernel on 01/24/22 11:46... more time has elapsed than I would have expected.

15yns1RVpBHZ8uj8mGVUJVCyPh5ieW3FQx
Cablesaurus
Sr. Member
****
Offline Offline

Activity: 302
Merit: 250



View Profile WWW
January 28, 2011, 07:27:38 PM
 #365

Can anyone explain a bit on the advantages of Pool mining with Slush's pool vs Mining solo?

I'm solo mining and am still pretty new to this scene, and I've seen the details on HOW to mine in Slush's pool, but I haven't grasped the advantages if any, for my situation

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

Activity: 64
Merit: 10


View Profile
January 28, 2011, 09:46:46 PM
 #366

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

Where are you getting these .debs from?

15yns1RVpBHZ8uj8mGVUJVCyPh5ieW3FQx
sc8nt4u
Sr. Member
****
Offline Offline

Activity: 286
Merit: 250


View Profile
January 28, 2011, 11:21:19 PM
 #367

Can anyone explain a bit on the advantages of Pool mining with Slush's pool vs Mining solo?

I'm solo mining and am still pretty new to this scene, and I've seen the details on HOW to mine in Slush's pool, but I haven't grasped the advantages if any, for my situation

What are you using to mine?

- If it's a slower machine you'd benefit a lot more by joining a mining pool as it may be weeks or months before you mint your first block. By joining a pool you'd have a steady stream of coins.

- Faster systems, you have a choice. Sometimes there is network latency issues with retrieving/sending work and/or sending timed out invalid work. When I say fast I would say at least a single 5970 to qualify.
bitk
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
January 29, 2011, 04:32:27 AM
 #368

Hello m0mchil.
I've been using your client a lot lately with a GTS 250 card...
Today I got a new shiny ATI card and I can't use it with your miner, even if they get recognized by software like GPU Caps Viewer! Let me explain...
I got both VGAs on my PC, ofc there's no "Crossfire" or "SLI" since they are from different vendors. The problem arises since the nvidia uses the CUDA OpenCL, the ATI uses (of course) the Stream impementation. This way, my 2 physical cards reside on 2 different cl_platform....
Now, I never touched python in my entire life... but those 2 lines looks... suspicious Tongue

Code:
platform = cl.get_platforms()[0]
devices = platform.get_devices()

I really suspect this is what's giving me problems: I can't see the ATI as listed in the devices I can choose! I could physically swap the cards, or maybe unistall and reinstal all the video drivers so that the first OpenCL platform is the ATI one, but this doesn't really look an elegant solution IMHO Wink
Suggestions for solving my problem are welcome! Smiley EG: patches, or how to compile 2 different executables for windows.
Cryptoman
Hero Member
*****
Offline Offline

Activity: 726
Merit: 500



View Profile
January 29, 2011, 05:10:29 AM
 #369

bitk, are you using Linux or Windows?  I was unsuccessful at getting nvidia and ATI cards working on the same machine under Linux.  I wasn't even trying to mine with the nvidia card, just use it for the GUI.  According to ArtForz, the nvidia and fglrx drivers don't play well together.

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

Activity: 25
Merit: 0


View Profile
January 29, 2011, 10:45:32 AM
 #370

I'm under windows! Everything works pretty well right now if I was to be honest, since I'm using 2 different miners, one for CUDA and the poclbm for OpenCL. But having to switch to another miner was soooo sad Smiley I loved the m0mchil one
Cablesaurus
Sr. Member
****
Offline Offline

Activity: 302
Merit: 250



View Profile WWW
January 31, 2011, 09:51:35 AM
 #371

Can anyone tell me why this miner would be using 100% CPU for me on a Core2Duo e8400 3.69ghz processor? I think something changed in a version update in the last week or so since I started with the miner,

I'm not mining on my CPU, I'm mining with my 5970, 1 miner client ran for each core. Each client process is using 50% of the cpu... I've just seen people mention it should be using much lower CPU resources if not mining w/ it.

Using Stream 2.3

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
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5656
Merit: 14522


View Profile
February 01, 2011, 06:17:47 AM
 #372

Note: Many off-topic posts about mining efficiency were moved here.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
FairUser
Sr. Member
****
Offline Offline

Activity: 1344
Merit: 264


bit.ly/3QXp3oh | Ultimate Launchpad on TON


View Profile
February 01, 2011, 07:55:23 AM
 #373

Note: Many off-topic posts about mining efficiency were moved here.

Had you read it, you would know that it wasn't off topic.  Slush kept talking about the pool, but we're talking about the miner and the pool.

TONUP██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
▄▄███████▄▄
▄▄███████████████▄▄
▄███████████████████▄
▄█████▄░▄▄▀█████▀▄████▄
▄███████▄▀█▄▀██▀▄███████▄
█████████▄▀█▄▀▄██████████
██████████▄▀█▄▀██████████
██████████▀▄▀█▄▀█████████
▀███████▀▄██▄▀█▄▀███████▀
▀████▀▄█████▄▀▀░▀█████▀
▀███████████████████▀
▀▀███████████████▀▀
▀▀███████▀▀
▄▄▄███████▄▄▄
▄▄███████████████▄▄
▄███████████████████▄
▄██████████████▀▀█████▄
▄██████████▀▀█████▐████▄
██████▀▀████▄▄▀▀█████████
████▄▄███▄██▀█████▐██████
█████████▀██████████████
▀███████▌▐██████▐██████▀
▀███████▄▄███▄████████▀
▀███████████████████▀
▀▀███████████████▀▀
▀▀▀███████▀▀▀
▄▄▄███████▄▄▄
▄▄███████████████▄▄
▄███████████████████▄
▄█████████████████████▄
▄████▀▀███▀▀███▀▀██▀███▄
████▀███████▀█▀███▀█████
██████████████████████
████▄███████▄█▄███▄█████
▀████▄▄███▄▄███▄▄██▄███▀
▀█████████████████████▀
▀███████████████████▀
▀▀███████████████▀▀
▀▀▀███████▀▀▀
████████
██
██
██
██
██
██
██
██
██
██
██
████████
████████████████████████████████████████████████████████████████████████████████
.
JOIN NOW
.
████████████████████████████████████████████████████████████████████████████████
████████
██
██
██
██
██
██
██
██
██
██
██
████████
dingus
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
February 01, 2011, 05:39:07 PM
Last edit: February 04, 2011, 03:27:04 PM by dingus
 #374

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.

I can confirm this trick works on my 5970 + 5770 setup. First start 2 poblcm instances for the 5970, then unplug monitor, plug into 5770, start instance of poblcm. 5970 + 5770 goodness! Smiley

~800000 k/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
geebus
Sr. Member
****
Offline Offline

Activity: 258
Merit: 250



View Profile WWW
February 03, 2011, 02:34:44 AM
 #375

Where is the guide for compiling (not just running from executable) poclbm on Windows? Last time I needed to do it on a Windows box was when the 2011-11-26 version was out, but now the only guide I can seem to find for windows is the "You only need this if you cant RTFM" py2exe guide...

What software needs to be installed?
What addons for Python?
What dependencies for PyOpenCL?
Versions?

Presently, I followed the install guide for PyOpenCL (updating for newer versions) and installed json-rpc from the SVN, but every time I try to run 'python poclbm.py' with any flags, it crashes.

Using:
Windows 7 Ultimate x64
Stream 2.3 (also tried with 2.1 and 2.2)
Catalyst 11.1 (also tried with 10.11 and 10.12)
Python 2.6.6 (32-bit)
Boost 1.44
MSVC 2008 (9.0)
Numpy 1.5.1
SciPy 0.8.0
SetupTools 0.6c11


Feel like donating to me? BTC Address: 14eUVSgBSzLpHXGAfbN9BojXTWvTb91SHJ
m0mchil (OP)
Full Member
***
Offline Offline

Activity: 171
Merit: 127


View Profile
February 04, 2011, 04:44:42 PM
 #376

Fixed issue with lost results due to single output per kernel run (thanks OneFixt, ArtForz).

brocktice
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


Apparently I inspired this image.


View Profile WWW
February 04, 2011, 05:56:34 PM
 #377

Fixed issue with lost results due to single output per kernel run (thanks OneFixt, ArtForz).

Ack, it broke compatibility with my daemon.py but I got it all fixed up. Thanks for the fixes!

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
February 04, 2011, 11:09:04 PM
 #378

30Mhash/s slower after the update.

HD6950 went from 226M to 196M.

Feel like donating to me? BTC Address: 14eUVSgBSzLpHXGAfbN9BojXTWvTb91SHJ
sc8nt4u
Sr. Member
****
Offline Offline

Activity: 286
Merit: 250


View Profile
February 05, 2011, 12:33:22 AM
 #379

30Mhash/s slower after the update.

HD6950 went from 226M to 196M.

This makes me not want to update.
Chuck
Member
**
Offline Offline

Activity: 92
Merit: 10



View Profile
February 05, 2011, 12:52:47 AM
 #380

30Mhash/s slower after the update.

HD6950 went from 226M to 196M.

No obvious change for me ( 5850 ), still getting between 249M - 251M.

BTC: 1CKytBzLeA1QcFM33qgi9YWPq1ax3XEJ84
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!