Bitcoin Institute

Generating Bitcoins with your video card (OpenCL/CUDA)

15 messages BitcoinTalk Xunie, Ground Loop, Andrew LeCody May 25, 2010 — September 20, 2010
Xunie May 25, 2010 20:52 UTC Link to this message
Quote from: SmokeTooMuch on May 25, 2010, 8:31:27 PM UTC

is the gpu-computing-client compatible with the normal client so the gpu-generated bitcoins will emmit into the same pool as the cpu-generated ones ?

Yes, totally. It’s just your GPU doing the work of your CPU.

Ground Loop July 13, 2010 08:07 UTC Link to this message

Windows XP SP3 32-bit GeForce GT 240 (96 CUDA cores, 1GB)

Happy to try experimental code.

Ground Loop July 13, 2010 21:38 UTC Link to this message
Quote from: StinkiePhish on July 13, 2010, 8:18:21 PM UTC

I didn’t realize that the Mac dmg was already posted to a different thread.

Thanks for the link StinkiePhish!  I installed it on my Macbook Pro (GeForce GT 330M), and it runs/connects. It says “Generating”, but I suspect it’s not.  The graphics card is still on the Intel integrated chip.

I forced it over to the NVidia, but it still just says “Generating”, with no khash/s readout. Activity Monitor shows Bitcoin using 400% of the CPU, so I suspect nothing is going on the GPU.

Anyone else?

Ground Loop July 14, 2010 23:06 UTC Link to this message
Quote from: Limb on July 14, 2010, 5:03:06 AM UTC

Run tail -f ~/Library/Application\ Support/Bitcoin/debug.log You’ll see if its using your card as an extra thread, will also show it initializing the OpenCL program.

Excellent info, Limb!  It seems the OpenCL doesn’t automatically ‘kick in’ the NVidia graphics core. It stays on Intel.  I’m not sure how the OS auto-switches, but whatever it’s looking for, bitcoin doesn’t trip it.

When Intel is selected, the relevant portion seems to be:

GetAvailableDevices():  Found 1 OpenCL platform(s)
ThreadOpenConnections started
ThreadMessageHandler started
GetAvailableDevices():  Checking OpenCL platform 'Apple' (index 0)
proxy connecting 
proxy connected 
GetAvailableDevices():  Found 0 devices on platform 'Apple' (index 0)
4 processors

When I force the NVidia, we have ignition!

GetAvailableDevices():  Found 1 devices on platform 'Apple' (index 0)
Printing info for device index 0  Vendor: NVIDIA  Device: GeForce GT 330M
...
Device 'GeForce GT 330M (NVIDIA)' : CL_KERNEL_WORK_GROUP_SIZE : 192
Device successfully initialized!  (GeForce GT 330M (NVIDIA))

It runs one bitminer thread on OpenCL, and three on the CPU.

**Perf - thread 1 : 1128k iter/sec
**Perf - thread 2 : 296k iter/sec
**Perf - thread 3 : 293k iter/sec
**Perf - thread 4 : 296k iter/sec
**Perf - total : 2013k iter/sec (4 threads)

I’ve never seen the MBP fan this excited. 😊

Ground Loop July 18, 2010 17:58 UTC Link to this message

OpenCL bitcoin crashes with a Bus Error on a 27” iMac (ATI Radeon).

Anyone get it to work on a current-gen iMac?

Ground Loop July 28, 2010 23:20 UTC Link to this message

Runs fine on the i5 Macbook Pro.  Generates a lot of heat, but it’s more stable than the speedy Windows x64 version by far.

Ground Loop September 6, 2010 00:19 UTC Link to this message

Everything above is true here too.

My GT240 is pumping 16,339 khash/sec.  Yow! And yes, the machine is damn near unuseable. 😊

By my math, I’m generating coins at 3x the previous rate, so if there’s a 10% author tax, I can live with that.

Ground Loop September 6, 2010 17:48 UTC Link to this message

I set up a new wallet for this client.  Starting balance is zero, so it can only be a net win regardless of what the code wants to do.

That said, my passively-cooled Zotac GT240 is not up to the task.  After five minutes, the generation rate has dropped down to nearly nothing.  I suspect the card has throttled itself down as it bakes under the passive heatsink.  Hmm.

Quote from: true on September 08, 2010, 11:30:19 PM UTC

Fuck your ransomware, I’ll work on cracking this.

That’s not really helpful to anyone, a more productive use of your time is to work on an opensource CUDA/OpenCL client. Assuming you have the required programming expertise, which I don’t.

Ground Loop September 13, 2010 05:26 UTC Link to this message

Failure on HP EliteBook 6930p w/ ATI Mobility Radeon HD 3450.

BitcoinMinerGPU started then the app fails with an error an exits.

Win7-64bit

Lzsaver, you are violating puddinpop’s copyright at least when you distribute the modified binary. I suggest that you (or a moderator) remove the link to the cracked binary.

Edit: Just to be clear, I don’t think anyone should use a closed source Bitcoin client and I would really like GPU generation to be open source. So I will put my money where my mouth is, I will donate 1,000 BTC to whoever releases the source for a GPU (CUDA or OpenCL) client that is cross-platform once the code has been vetted by people smarter then me.

Ground Loop September 16, 2010 20:08 UTC Link to this message

So has anyone tried this client on a HardOCP/Anandtech glory gaming machine?

You know, something dual-SLI 480 cards or beastly pair of space heaters?

I’m just curious to know what a few hundred CUDA threads looks like in khash/sec.

Anyone here pause Crysis for long enough to run it?

Ground Loop September 19, 2010 04:01 UTC Link to this message

So I’ve been trying to figure out.. just how many coins did 1HZNsUqQxKVLmfPfCAzLwrnVDzx8CxwxnM receive?

It seems like this should be a matter of public record, and objectively verifiable by anyone.

It would be interesting to see how many blocks (before open source) the CUDA client generated.  If each block sent 5 BTC to the address above, that should be easy math, right?

I just can’t figure out how to get a total tally of coins to a specific address.  Is there a tool for that?

Ground Loop September 19, 2010 16:42 UTC Link to this message

I think I was perhaps unclear.

I want to know the total “incoming” bitcoin count for the address 1HZNsUqQxKVLmfPfCAzLwrnVDzx8CxwxnM

That is, not the donations or payoff or whatever, but the auto-transfered coins that the previous CUDA client was sending out.  Unlike any other payment system, we (anyone interested) should be able to determine just how many blocks were generated and taxed to that address.

It’s just curiosity, but more an exercise in fund tracking.  I haven’t figured out how.

Ground Loop September 20, 2010 19:48 UTC Link to this message

Thanks theymos!  That’s exactly what I was wondering.  How did you do that?  Was it with the ‘bitcointools’ that gavinandresen mentioned?

I’m also surprised that there’s so… few!!

I count a grand total of SIX auto-payments from the CUDA client.. that is, six payments to the mandatory address of 5.00 BTC.

Each block that the CUDA client found should have sent 5 to that specific address, so this would imply that in the entire closed-source life of the CUDA client, on all the machines it ran on, it found six blocks.

What am I missing?  Puddinpop?