Diablo-D3 / DiabloMiner

OpenCL miner for Bitcoin
https://bitcointalk.org/index.php?topic=1721.0
GNU General Public License v3.0
538 stars 217 forks source link

This program is unmaintained and does not support the current miner protocol. Use cgminer instead. Do not create issues about this program being broken because it will not be fixed by the original developers. If you want to fix it, you're welcome to fork it.

DiabloMiner - OpenCL miner for BitCoin

Copyright (C) 2010 - 2013 Patrick McFarland <diablod3@gmail.com>

This program is free software: you can redistribute it and_or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org_licenses/>.

Donations

Bitcoins and Devcoins: 1DbeWKCxnVCt3sRaSAmZLoboqr8pVyFzP1

Warning

DiabloMiner is a command line program. This means you need to open a terminal (cmd.exe, Terminal.app/iTerm2, xterm, etc) and run the program with the proper arguments from there.

You require hardware that is capable of running OpenCL.

MacOSX Warning

Apple's OpenCL drivers often exhibit strange bugs.

If DiabloMiner is displaying warnings about CL_INVALID_WORK_GROUP_SIZE, add -w 64 to your arguments.

How to download

Binary download here

This download is always kept up to date with the newest version of the source.

How to build

DiabloMiner requires the SDK for Java 6.0 or higher installed, as well as Maven 3.x. Maven will download the rest of the dependencies.

DiabloMiner uses launch4j to build Windows binaries. launch4j requires and partially includes a build chain for Win32. launch4j cannot be ran on any 64-bit only version of OSX (10.6 and up) and is difficult to run on Windows.

DiabloMiner's git repo does not contain binaries, so if you want to build DiabloMiner from source, heed the above warning and run mvn package.

How to use

Single pool and solo mining

./DiabloMiner-YourOS.sh -u username -p password -o host -r port

or

./DiabloMiner-YourOS.sh -l http://username:password@host:port

For solo mining, your host is localhost your port is 8332, and your username and password is what you set in your bitcoind's bitcoin.conf. See bitcoin documentation for further information on how to enable the RPC API.

Multiple pools

./DiabloMiner-YourOS.sh -u username1,username2 -p password1,password2 -o host1,host2 -r port1,port2

DiabloMiner supports unlimited pools and will switch to the next pool on connection failure and return to the first pool every 60 minutes.

Optimization

MacOSX on any hardware

It is recommended you use the default settings, see also the MacOSX warning above.

Nvidia hardware on any OS

It is recommended you use the default settings, however if your desktop is lagging badly try adding -f 120, -f 180, or -f 240.

Intel hardware on any OS

DiabloMiner has not been tested on Intel GPUs. Default is most likely correct.

AMD Radeon VLIW4

R7xx

-v 2

AMD Radeon VLIW5

Cedar, Redwood, Juniper, Cypress, Hemlock

On some cards -v 2,1 is faster, on others -v 2. Try both.

AMD Radeon VLIW5 Gen2

Caicos, Turks, Barts, Wrestler, Ontario, Zacate, WinterPark, BeaverCreek

Use -v 2

AMD Radeon VLIW4

Cayman, Antilles, Devastator

Use -v 2

AMD Radeon GCN

Cape Verde, Pitcairn, Tahiti, New Zealand, Malta, Bonaire

Use defaults.

Command line arguments