Title: Great 7970 linux guide Post by: fligen on June 10, 2013, 03:03:47 PM found this on crytopros.com, I have used and works like a champ.
This guide is for a 2 card setup but can be modified for 1-7 cards Install xubuntu 12.0.4 LTS 32bit Download the 2 files below using a web browser because it requires acceptance of the ATI tearms and conditions. Make sure they’re in ~/Downloads 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 Install ssh server. This stem is not mandatory but will come in handy if you would like to install via ssh. sudo apt-get update && sudo apt-get install openssh-server sudo reboot You want to make sure there are no old AMD drivers, With a clean xubuntu install there should be none but run just incase. sudo sh /usr/share/ati/fglrx-uninstall.sh sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev* xorg-driver-fglrx Install pre-requisites for ATI video drivers and cgminer. ( all one line ) sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases i386 libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm Install the ATI video driver cd /tmp wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13-4-linux-x86.x86_64.zip unzip amd-driver-installer-catalyst-13-4-linux-x86.x86_64.zip chmod +x amd-driver-installer-catalyst-13-4-linux-x86.x86_64.zip Open up terminal emulator and run: sudo sh amd-driver-installer-catalyst-13-4-x86.x86_64.run Initialize video cards and add setup to X config. sudo aticonfig --adapter=0,1 --initial sudo reboot Install git and download the lates cgminer version. sudo apt-get install git git clone git://github.com/ckolivas/cgminer.git cgminer Install AMD APP SDK mkdir amdapp_2-8 cd amdapp_2-8 tar -zxvf ~/Downloads/AMD-APP-SDK-v2.8-lnx32.tgz sudo ./Install-AMD-APP.sh sudo reboot Install AMD ADL SDK and add to cgminer. mkdir ADL_SDK cd ADL_SDK mv ~/Downloads/ADL_SDK_5.0.zip . unzip ADL_SDK_5.0.zip cp include/* ../cgminer/ADL_SDK Install cgminer cd ../cgminer ./autogen.sh CFLAGS="-O2 -Wall -march=native -I /opt/AMDAPP/include/" LDFLAGS="-L/opt/AMDAPP/lib/x86_64" ./configure --enable-scrypt make Create the cgminer config folder Open terminal emulator cd cgminer ./cgminer press CTL C when it ask you for pool information to stop cgminer close terminal window open Create config file Double click on the home button on your desktop Click on view and check "Show Hidden Files" Double click on the .cgminer folder ( don't confuse with the cgminer folder without the period ) Right click and create a new blank document and name it cgminer.conf Double click to open cgminer.conf Copy and paste the content below to your cgminer.conf file { "pools" : [ { "url" : "pool URL", "user" : "pool username", "pass" : "pool password" } ] , "intensity" : "13,13", "vectors" : "1,1", "worksize" : "256,256", "kernel" : "scrypt,scrypt", "lookup-gap" : "0,0", "thread-concurrency" : "8192,8192", "shaders" : "2048,2048", "gpu-engine" : "1044-1044,1044-1044", "gpu-fan" : "0-85,0-85", "gpu-memclock" : "1500,1500", "gpu-memdiff" : "0,0", "gpu-powertune" : "0,0", "gpu-vddc" : "0.000,0.000", "temp-cutoff" : "85,85", "temp-overheat" : "80,80", "temp-target" : "75,75", "api-listen" : true, "api-network" : true, "api-port" : "4028", "api-allow" : "W:192.168.1.100", "auto-fan" : true, "expiry" : "120", "gpu-dyninterval" : "7", "gpu-platform" : "0", "gpu-threads" : "2", "log" : "5", "no-pool-disable" : true, "queue" : "1", "scan-time" : "30", "scrypt" : true, "temp-hysteresis" : "3", "shares" : "0", "kernel-path" : "/usr/local/bin" } Save the cgminer.conf file Set up startup script Double click on the home folder on the desktop Double ckick on the cgminer folder ( not .cgminer ) Right click and create a new file called start.sh Right click on the newly created file start.sh and open with leafpad Copy and paste the script file, contents below #!/bin/bash cd ~/cgminer export DISPLAY=:0 export GPU_MAX_ALLOC_PRECENT=100 export GPU_USE_SYNC_OBJECTS=0 aticonfig --od-enable ./cgminer Save file and Open terminal emulator. cd cgminerchmod +x start.sh./cgminer with this setup and config you will get around 700k hash per card. Title: Re: Great 7970 linux guide Post by: fligen on June 10, 2013, 03:04:54 PM I have 4 rigs running using this setup all with 2 cards and I get an average of 710k hash per card.
Title: Re: Great 7970 linux guide Post by: acne on June 10, 2013, 03:06:43 PM I have 4 rigs running using this setup all with 2 cards and I get an average of 710k hash per card. congratulations. Title: Re: Great 7970 linux guide Post by: fligen on June 10, 2013, 03:10:12 PM I have 4 rigs running using this setup all with 2 cards and I get an average of 710k hash per card. congratulations. Thank you. Title: Re: Great 7970 linux guide Post by: Exalt on June 10, 2013, 03:10:41 PM Thanks for this contribution :)
Title: Re: Great 7970 linux guide Post by: fligen on June 10, 2013, 03:12:46 PM Thanks for this contribution :) Glad to be a part of the community. Title: Re: Great 7970 linux guide Post by: acne on June 10, 2013, 04:27:01 PM 7970 linus is great thank you for information.
|