AMD Display Driver Update for R9 290X on BAMT Litecoin miner
BAMT (Big-A-Miner-Thing) Litecoin miner provides an easy way for the setup of a USB bootable mining rig on Linux operating system. However, due to the limitation on drivers, there is no support on the latest graphics cards. In this guide, we will guide you on how to update the drivers for R9 290X.

Note: This tutorial is for advanced user, and we assume that you would have known some basic Linux command and will be familiar with the shell Terminal.
Download
AMD Catalyst™ 13.11 Beta V9.4 driver
amd-catalyst-13.11-beta-v9.4-linux-x86.x86_64.run.zip
http://support.amd.com/en-us/kb-articles/Pages/latest-linux-beta-driver.aspx
APP-SDK 2.9
AMD-APP-SDK-v2.9-lnx32.tgz
http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/
ADL_SDK_6.0
ADL_SDK_6.0.zip
http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/
Step 1: Uninstall the current driver
apt-get update
/usr/share/ati/fglrx-uninstall.sh --force
coldreboot
Step 2: Install the newest catalyst driver to /tmp/
Note: If you install it to /home/user/ you will get this error :
………….. Extraction failed.
Signal caught, cleaning up
Because your BAMT disk is full. So I choose to use in /tmp
Copy the amd-catalyst-13.11-beta-v9.4-linux-x86.x86_64.run.zip to /tmp first
cd /tmp
unzip amd-catalyst-13.11-beta-v9.4-linux-x86.x86_64.run.zip
chmod +x amd-catalyst-13.11-beta-v9.4-linux-x86.x86_64.run
./amd-catalyst-13.11-beta-v9.4-linux-x86.x86_64.run --force
aticonfig --adapter=all --initial
coldreboot
Step 3: Install AMD APP SDK v2.9
cd /tmp
tar xfvz AMD-APP-SDK-v2.9-lnx32.tgz
chmod +x Install-AMD-APP.sh
./Install-AMD-APP.sh
Step 4: Extract the ADL SDK 6.0
cd /tmp
unzip ADL_SDK_6.0.zip
Step 5: Update cgminer to 3.7.2
ln -sf /opt/AMDAPP/include/CL /usr/include
ln -sf /opt/AMDAPP/lib/x86/* /usr/lib/
ldconfig
cd /opt/miners
mv cgminer cgminer_backup
wget http://ck.kolivas.org/apps/cgminer/3.7/cgminer-3.7.2.tar.bz2
tar -jvxf cgminer-3.7.2.tar.bz2
mv cgminer-3.7.2 cgminer
If you want to use the old ADL_SDK 5.0
cp /opt/miners/cgminer_backup/ADL_SDK/* /opt/miners/cgminer/ADL_SDK/
If you want to use the new ADL_SDK 6.0
cp /tmp/include/* /opt/miners/cgminer/ADL_SDK/
cd cgminer
CFLAGS="-O2 -Wall -march=native -I /opt/AMDAPP/include/" LDFLAGS="-L/opt/AMDAPP/lib/x86" ./configure --enable-scrypt --enable-opencl
make
You will see a screen with these messages if you have updated successfully :
------------------------------------------------------------------------
cgminer 3.7.2
------------------------------------------------------------------------
Configuration Options Summary:
libcurl(GBT+getwork).: Enabled: -lcurl
curses.TUI………..: FOUND: -lncurses
OpenCL……………: FOUND. GPU mining support enabled
scrypt……………: Enabled
ADL………………: SDK found, GPU monitoring support enabled
Avalon.ASICs………: Disabled
BFL.ASICs…………: Disabled
KnC.ASICs…………: Disabled
BitForce.FPGAs…….: Disabled
BitFury.ASICs……..: Disabled
Hashfast.ASICs…….: Disabled
Icarus.ASICs/FPGAs…: Disabled
Klondike.ASICs…….: Disabled
ModMiner.FPGAs…….: Disabled
Compilation…………: make (or gmake)
CPPFLAGS………….:
CFLAGS……………: -O2 -Wall -march=native -I /opt/AMDAPP/include/
LDFLAGS…………..: -L/opt/AMDAPP/lib/x86 -lpthread
LDADD…………….: -ldl -lcurl compat/jansson-2.5/src/.libs/libjansson.a -lpthread -L/opt/AMDAPP/lib/x86 -lOpenCL -lm -lrt
Installation………..: make install (as root if needed, with ‘su’ or ‘sudo’)
prefix……………: /usr/local
Step 5: Verify that CGMiner is working properly
export DISPLAY=:0
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
./cgminer -n
When you see the message below, it means that your updating process has been successful :
[2013-12-06 21:27:57] CL Platform 0 vendor: Advanced Micro Devices, Inc.
[2013-12-06 21:27:57] CL Platform 0 name: AMD Accelerated Parallel Processing
[2013-12-06 21:27:57] CL Platform 0 version: OpenCL 1.2 AMD-APP (1348.4)
[2013-12-06 21:27:57] Platform 0 devices: 1
[2013-12-06 21:27:57] 0 Tahiti
[2013-12-06 21:27:57] 1 GPU devices max detected
If you want to read more on setting up BAMT distro for Litecoin mining, here’s the tutorial : Litecoin BAMT version 1.1 – Easy USB Linux mining distro.