Had to poke around a bit to get the necessary instructions in order to get sgminer going on my Ubuntu installation. Found what I needed on a couple of different sites.
Thank you to veox for forking cgminer into sgminer and maintaining this version. I’m sure I’m not the only one who is greatful for your efforts.
I’m not sure what video card you are using but make sure you have the proper drivers installed. Also, I happen to be using mine-litecoin.org so change the paramaters below to use your mining pool.
Download AMD-APP-SDK
http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/
Download ADL_SDK
http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/
Download AMD Linux Driver (Beta)
http://support.amd.com/en-us/download/desktop?os=Linux+x86
Install a bunch of pre-reqs
apt-get install tar libtool automake libncurses5-dev libcurl4-gnutls-dev xorg-dev g++ git tar unzip
Layout your directory strucuture
mkdir development
mkdir development/ADL_SDK
mkdir development/AMD-APP-SDK
mv ADL_SDK*.zip development/ADL_SDK
mv AMD-APP-SDK*.tgz development/AMD-APP-SDK
cd ../AMD-APP-SDK
tar zxvf AMD-APP-SDK*.tgz
sudo -s ./Install-AMD-APP.sh
cd ../ADL_SDK
unzip ADL_SDK*.zip
cd ..
Get the source code from veox
git clone https://github.com/veox/sgminer.git
cd sgminer/ADL_SDK
cp -vr ../../ADL_SDK/include/*.h .
cd ..
autoreconf -i
CFLAGS="-O2 -Wall -march=native" ./configure <options if you want>
make
make install
Set some environment variables and run
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
sgminer -o stratum+tcp://stratum.mine-litecoin.com -u gesker.9999 -p x -I 13
Which version of Ubuntu was used? Server or Desktop?
LikeLike
Which version of Ubuntu? Server or Desktop?
LikeLike