Bitcoin Forum
March 28, 2020, 08:47:45 PM *
News: Latest Bitcoin Core release: [Torrent]
   Home   Help Search Login Register More  
Pages: [1]
Author Topic: From clean Ubuntu 11.04 install --> to --> mining (2 X Radeon 6790's)  (Read 1487 times)
Offline Offline

Activity: 12
Merit: 0

View Profile
July 07, 2011, 02:39:32 AM

I had a hell of a time piecing together instructions from different posts/blogs/websites that got me from the clean setup of a new box to bitcoin mining. It looks like things change so fast in this game that instructions are outdated as soon as they're posted, but I figured I'd put up what worked for me, along with the sources that supplied the information.

I went from a fresh install of Ubuntu 11.04 on a AMD Phenom II / ASUS motherboard / 64 bit / 2x Radeon 6790 system to mining with the following steps:

1.) Installing GPU drivers (from

First, I tried to use the default ubuntu third party driver install for the cards (left watermark on screen). Had to wipe Ubuntu and start again. This time, used a manual install:

  • sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases
  • sudo apt-get install ia32-libs
  • sudo wget
  • chmod +x
  • sudo sh ./ --buildpkg Ubuntu/natty
  • sudo dpkg -i fglrx*.deb
  • sudo aticonfig --initial -f --adapter=all

2.) Installing AMD APP SDK and Phoenix Miner (from;all)

After multiple fails and restarts, I decided to give these instructions a try, and they worked. I’m not sure if there is an overlap here with my previous installation of Catalyst (above), as these instructions didn’t call for a separate step where you install the drivers. There also seem to be some unnecessary steps (screen?), but whatever, it worked for me ...

  • sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
  • sudo apt-get update
  • sudo apt-get install screen
  • screen -S update sudo apt-get install fglrx vim openssh-server g++ libboost-all-dev subversion git-core python-numpy
  • Enter your password.
  • Once the updates are going, press CTRL-A then press D.  You should detach from the screen and be returned to a prompt.
  • screen -d -m -S icd wget
  • screen -d -m -S pyopencl wget
  • screen -d -m -S stream wget
  • screen -r stream
  • If you get a "There is no screen to be resumed" message, continue on.  Otherwise, you should get a download status, wait until it's done, then continue on.
  • sudo tar xvfz AMD-APP-SDK-v2.4-lnx64.tgz -C /opt
  • sudo tar xvfz /opt/AMD-APP-SDK-v2.4-lnx64/icd-registration.tgz -C /
  • tar zxfv pyopencl-0.92.tar.gz
  • screen -r update
  • If you get a "There is no screen to be resumed" mesasge, continue on.  Otherwise, wait for the update to finish. You will be returned to a prompt when it's done.
  • svn checkout
  • svn checkout
  • git clone git:// poclbm
  • mv trunk phoenix
  • echo export DISPLAY=:0 >> ~/.bashrc
  • cd pyopencl-0.92
  • sudo sh -c 'echo "/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/" >> /etc/'
  • ./ --cl-inc-dir=/opt/AMD-APP-SDK-v2.4-lnx64/include/ --cl-lib-dir=/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64
  • sudo ldconfig
  • source ~/.bashrc
  • make -j3
  • sudo make install
  • cd ../python-jsonrpc
  • sudo python install
  • cd ~
  • chmod +x phoenix/ poclbm/
  • sudo aticonfig --initial -f --adapter=all
  • sudo reboot

Also, this website has come in handy for me: (all about the aticonfig command)

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Hero Member
Offline Offline

Activity: 770
Merit: 500

View Profile
July 15, 2011, 06:47:22 PM

Well in Step 1 you install the video drivers and in step 2 you do it again:

screen -S update sudo apt-get install fglrx vim openssh-server g++ libboost-all-dev subversion git-core python-numpy
Pages: [1]
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!