Bitcoin mining, Ubuntu and ATI


It is a bit late creating a guide for mining Bitcoins using GPUs, with the block rewards halving on November 28 and the specialized mining hardware being brought online since January 31. But I’m going to do this anyway.

This guide is for creating an Ubuntu 12.10 (64bit) bitcoin miner, using an ATI graphics card.

Step 1: install Ubuntu
Go to Ubuntu.com and download a copy. Installing this should not be much of a problem.

Step 2: update
Because Ubuntu 12.10 is not exactly stable out of the box, you may want to update it as soon as possible, and before doing anything else. Open up a terminal window, and type the following:

sudo apt-get update
sudo apt-get upgrade

After this, reboot.

Step 3: install linux headersBecause the ATI drivers won’t install properly without the Linux headers being installed, we need to install those.

sudo apt-get install linux-headers-$(uname -r)

Step 4: Install the proprietary Catalyst drivers
Now that the Linux headers are installed, it’s time for the actual graphics drivers

wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zipunzip amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip
chmod +x amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run
sudo ./amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run

Step 5: download and install the AMD-APP-SDK

glxgears
glxgears is running!

Installing the drivers is not enough to run OpenCL applications. You need the APP SDK for that.
Go to http://developer.amd.com/tools

/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/ to download the APP SDK. You’ll have to agree to some licence agreement, which makes it impossible to download it using wget.

tar -xzf AMD-APP-SDK-v2.8-lnx64.tgz
sudo ./Install-AMD-APP.sh

reboot

Step 6: install JDK6
Since we’re going to install a Java program, and we will need to build it, we need the JDK. In my opinion, JDK7 is still not stable enough, so we’ll be installing JDK6.

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java6-installer

Step 7: install git and maven
Before we can download and compile the miner, we need to install the programs that do that for us.

sudo apt-get install git
sudo apt-get install maven

Step 8: get DiabloMiner

cd ~
mkdir diablo
cd diablo
git clone https://github.com/Diablo-D3/DiabloMiner.git

The launch4j plugin has to be removed here.
The launch4j plugin has to be removed here.

Step 9: prepare to compile

The build process of DiabloMiner uses launch4j, which breaks the build on Linux. So we need to remove this. Open the pom.xml file, and remove the plugin launch4j

Step 10: compile

mvn install

Step 11: launch the miner

./DiabloMiner-Linux.sh –url http://ghyze_nl:123@de.btcguild.com:8332

DiabloMiner running
DiabloMiner should look like this

 

 

 

If you like this post, throw me a couple of mining shares..

,

4 reacties op “Bitcoin mining, Ubuntu and ATI”

  1. Hmm is anyone else encountering problems with
    the images on this blog loading? I’m trying to figure out if its
    a problem on my end or if it’s the blog. Any feed-back would be greatly
    appreciated.

  2. I believe what you posted was actually very
    logical. However, what about this? what if you were to create a killer headline?

    I ain’t suggesting your information isn’t solid, however suppose you
    added something to maybe get folk’s attention? I mean Bitcoin mining,
    Ubuntu and ATI | ghyze.nl is kinda vanilla. You
    ought to look at Yahoo’s home page and note how they create news titles to grab people
    to open the links. You might try adding a video or
    a related pic or two to grab readers excited about what you’ve written. In my opinion, it could
    make your website a little bit more interesting.

Geef een reactie

Je e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *