Just some instructions for setting up a Litecoin miner with Ubuntu 12.10 – boring stuff Download http://developer.amd.com/amd-license-agreement/?f=ADL_SDK_5.0.zip & http://developer.amd.com/tools/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/#one and make sure they’re in ~/Downloads because downloading them directly via wget don’t work because you need to agree to the AMD licence before it will download (this just installs the ssh server so I can do this from my Mac instead of at the linux box) sudo apt-get update && sudo apt-get install openssh-server sudo reboot (removes old versions of the AMD drivers, but they shouldn’t be there on a fresh install anyways) sudo sh /usr/share/ati/fglrx-uninstall.sh sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev* xorg-driver-fglrx (installs all the pre-requisites for the AMD drivers & cgminer, plus byobu so you I can run cgminer in the background) sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases ia32-libs ia32-libs-multiarch i386 lib32gcc1 libc6-i386 linux-headers-3.5.0-17-generic install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm byobu (starts the install process for Catalyst 13.1) cd /tmp wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip unzip amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip chmod +x amd-driver-installer-catalyst-13.1-linux-x86.x86_64 (this last step needs to be done via terminal in the GUI as the AMD installer is a wizard type deal) sudo sh amd-driver-installer-catalyst-13.1-linux-x86.x86_64 (when machine returns from reboot, this adds both graphics cards to the X config) sudo aticonfig --adapter=0,1 --initial sudo reboot (downloads the latest version of cgminer) git clone git://github.com/ckolivas/cgminer.git cgminer (installing the AMD APP SDK) mkdir amdapp_2-8 cd amdapp_2-8 tar -zxvf ~/Downloads/AMD-APP-SDK-v2.8-lnx64.tgz sudo ./Install-AMD-APP.sh sudo reboot (installing the AMD ADL SDK) mkdir ADL_SDK cd ADL_SDK mv ~/Downloads/ADL_SDK_5.0.zip . unzip ADL_SDK_5.0.zip cp include/* ../cgminer/ADL_SDK (installing cgminer now) cd cgminer ./autogen.sh CFLAGS="-O2 -Wall -march=native -I /opt/AMDAPP/include/" LDFLAGS="-L/opt/AMDAPP/lib/x86_64" ./configure --enable-scrypt make (linux needs this shit to get the GPUs working properly with cgminer, or something, I dunno – I just know that if I don’t type this in, shit don’t work in cgminer) export DISPLAY=:0 export GPU_USE_SYNC_OBJECTS=1 export GPU_MAX_ALLOC_PERCENT=100 (open byobu so that I can run cgminer via an ssh session and if that session ends, cgminer will still run) byobu (within byobu, run cgminer – add in your own username and password near the -u and -p options – these settings are optimized for the AMD 7950) ./cgminer --scrypt -o stratum+tcp://stratum.give-me-ltc.com:3333 -u -p -w 256 -v 1 -I 20 -g 1 -l 1 --thread-concurrency 21712 and you’re done, mine away