Sie sind auf Seite 1von 9

Debian 6.0.

7 - GPU Miner install guide


Version 1.0 - 26-3-2013 - Written by Plarkplark Update: First draft.
Thisdocumentonlyshowsyouhowtoinstallthecgminer/atidrivers. WewillstartoffafteryouinstallabasicDebiansystemwiththeNetinstallISO http://cdimage.debian.org/debiancd/6.0.7/i386/isocd/debian6.0.7i386netinst.iso BurnittoCD,bootfromit,installtoHDandchooseDesktop/SSHServerastaskselect.

Chapter 1. The Basics


GetyourDebianrunningandfirstoffinstallafriendlylittleeditor a p t g e t i n s t a l l m c e d i t Installafewmodulesneededlateron a p t g e t i n s t a l l l i b q t g u i 4 l i b c u r l 4 d e v l i b n c u r s e s d e v Edit/etc/apt/sources.list m c e d i t / e t c / a p t / s o u r c e s . l i s t editthisline
d e b h t t p : / / f t p . n l . d e b i a n . o r g / d e b i a n / s q u e e z e m a i n

to
d e b h t t p : / / f t p . n l . d e b i a n . o r g / d e b i a n / s q u e e z e m a i n n o n f r e e c o n t r i b

Runaptgetupdatetoupdatethesoftwarelistwithnonfreeandcontribsoftware a p t g e t u p d a t e Installthegenericflgrxdrivers(X) a p t g e t i n s t a l l f g l r x c o n t r o l f g l r x d r i v e r Thisisa200MBinstall,sogetabeer.

Shouldendwithsomethinglikethis.
DKMS:buildCompleted. fglrx.ko: Runningmoduleversionsanitycheck. Originalmodule Nooriginalmoduleexistswithinthiskernel Installation Installingto/lib/modules/2.6.325686/updates/dkms/ depmod...... DKMS:installCompleted. Settingupfglrxglx(1:1093squeeze1)... Processingtriggersformenu

Chapter 2. The ATI Driver


OK.Readytogo.Becomeroot(sudosu)orloginasroot. ChecktoseeifyoucanseeyourATICard l s p c i | g r e p A T I Returnssomethinglike: 0 1 : 0 0 . 0 V G A c o m p a t i b l e c o n t r o l l e r : A T I T e c h n o l o g i e s I n c D e v i c e 6 8 b a 0 1 : 0 0 . 1 A u d i o d e v i c e : A T I T e c h n o l o g i e s I n c J u n i p e r H D M I A u d i o [ R a d e o n H D 5 7 0 0 S e r i e s ] createadirectoryfortheinstallfilesandgointothisfolder m k d i r / r o o t / i n s t a l l c d / r o o t / i n s t a l l wgetthebigminer.zipfromsomewhere.andunzip w g e t h t t p : / / y o u r s e r v e r . c o m / b i g m i n e r . z i p u n z i p b i g m i n e r . z i p Unziptheinstaller,makeexecutableandrunit u n z i p a m d d r i v e r i n s t a l l e r c a t a l y s t 1 2 . 1 0 x 8 6 . x 8 6 _ 6 4 . z i p

c h m o d + x a m d d r i v e r i n s t a l l e r c a t a l y s t 1 2 . 1 0 x 8 6 . x 8 6 _ 6 4 . r u n . / a m d d r i v e r i n s t a l l e r c a t a l y s t 1 2 . 1 0 x 8 6 . x 8 6 _ 6 4 . r u n f o r c e

HitEnter.

HitEnter

Ifyouagree,Yes.

Enter

Waitabit Ifyouarelucky,noerrorsandyouwillgetthis F o r f u r t h e r c o n f i g u r a t i o n o f t h e d r i v e r , p l e a s e r u n a t i c o n f i g f r o m a t e r m i n a l w i n d o w o r A M D C C C : L E f r o m t h e D e s k t o p M a n a g e r M e n u . S y s t e m m u s t b e r e b o o t e d t o a v o i d s y s t e m i n s t a b i l i t y a n d p o t e n t i a l d a t a l o s s . S e e / u s r / s h a r e / a t i / f g l r x i n s t a l l . l o g f o r i n s t a l l a t i o n d e t a i l s . R e m o v i n g t e m p o r a r y d i r e c t o r y : f g l r x i n s t a l l . j A E Y M 1 OPTIONAL: Youcanrunthiscommandifyourunintoproblems(andposttheoutputontheforum): c a t / u s r / s h a r e / a t i / f g l r x i n s t a l l . l o g Reboot!Reallydoit!Reboot!Reallydoit!Reboot!Reallydoit!Reboot!Reallydoit!

Chapter 3. The ATI SDK


Didyoureboot?No?Doit. TheATISDKisneededfortheOpenCLprotocolthatisusedbyminers.Itisinstalledto /opt/AMDAPP/andlateronusedbycgminer(theLitecoin/Bitcoinminer) Logbackinthemachine,andgotointoourinstalldir c d / r o o t / i n s t a l l ExtracttheSDKinstaller t a r x v z f A M D A P P S D K v 2 . 8 l n x 3 2 . t g z Runtheinstaller . / I n s t a l l A M D A P P . s h Outputshouldbelikethis
3 2 b i t O p e r a t i n g S y s t e m F o u n d . . . = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = S t a r t i n g I n s t a l l a t i o n o f A M D A P P S D K v 2 . 8 . . . . S D K p a c k a g e n a m e i s : A M D A P P S D K v 2 . 8 R C l n x 3 2 . t g z C h e c k i n g L a t e s t V e r s i o n I n f o . . . . . C o n t i n u i n g i n b a c k g r o u n d , p i d 3 1 4 4 . * * Y o u a r e i n s t a l l i n g l a t e s t v e r s i o n o f A P P S D K 2 . 8 . 1 0 1 6 . 5 C o n t i n u i n g I n s t a l l a t i o n . . . = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = C u r r e n t d i r e c t o r y p a t h i s : / r o o t / i n s t a l l U n t a r c o m m a n d e x e c u t e d s u c c e s f u l l y , T h e S D K p a c k a g e a v a i l a b l e U n t a r c o m m a n d e x e c u t e d s u c c e s f u l l y , T h e I C D p a c k a g e a v a i l a b l e C o p y i n g f i l e s t o / o p t / A M D A P P / . . . S D K f i l e s c o p i e d s u c c e s s f u l l y a t / o p t / A M D A P P / A M D C a t a l y s t O p e n C L R u n t i m e i s a v a i l a b l e h e n c e s k i p i n g O p e n C L C P U R u n t i m e I n s t a l l a t i o n I n s t a l l a t i o n U p d a t i n g E n v i r o n m e n t v a i r a b l e s . . . 3 2 b i t p a t h i s : / o p t / A M D A P P / l i b / x 8 6 E n v i r o n m e n t v a i r a b l e s u p d a t e d s u c c e s s f u l l y A M D A P P S D K v 2 . 8 i n s t a l l a t i o n C o m p l e t e d > > R e b o o t r e q u i r e d t o r e f l e c t t h e c h a n g e s < < = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = * * * * * P l e a s e r e f e r ' A M D _ A P P S D K _ v 2 . 8 . l o g ' i n t h e s a m e d i r e c t o r y * * * * * * * * * * R e f e r ' R E A D M E . t x t ' f o r F A Q / h e l p i n t h e s a m e d i r e c t o r y * * * * * * * *

Checkforerrors,ithastolookabitlikethetextabove,takeadeepbreath,andreboot. Reboot!Reallydoit!Reboot!Reallydoit!Reboot!Reallydoit!Reboot!Reallydoit!

Chapter 4. cgminer and the ADL_SDK


Didyoureboot?Good. Nextupisoneofthefinalsteps:thecompiling(building)thecgminer.ADL_SKDisasmallATI providedLibrarythathassomefilescgminerdoesnotincludeinitszip. Logbackinthemachine,andgotointoourinstalldir c d / r o o t / i n s t a l l Extractcgminer t a r x v j f c g m i n e r 2 . 1 1 . 3 . t a r . b z 2 UnzipADL_SDK_4.0.zip u n z i p A D L _ S D K _ 4 . 0 . z i p Copyafewfilesneededbycgminerintoincludedir. c p v i n c l u d e / * c g m i n e r 2 . 1 1 . 3 / A D L _ S D K / Thiswillresultin
` i n c l u d e / a d l _ d e f i n e s . h ' > ` c g m i n e r 2 . 1 1 . 3 / A D L _ S D K / a d l _ d e f i n e s . h ' ` i n c l u d e / a d l _ s d k . h ' > ` c g m i n e r 2 . 1 1 . 3 / A D L _ S D K / a d l _ s d k . h ' ` i n c l u d e / a d l _ s t r u c t u r e s . h ' > ` c g m i n e r 2 . 1 1 . 3 / A D L _ S D K / a d l _ s t r u c t u r e s . h '

Gointocgminerdirector c d c g m i n e r 2 . 1 1 . 3 Runconfigureandoptions(voodootime!) C F L A G S = " O 2 W a l l m a r c h = n a t i v e I / o p t / A M D A P P / i n c l u d e " L D F L A G S = " L / u s r / l i b " Andrunconfigure(thisisalmostthelaststep)

. / c o n f i g u r e e n a b l e s c r y p t Thiswillresultinawalloftext,themostimportantpartistoolookforthis: c u r s e s . T U I . . . . . . . . . . . : F O U N D : l n c u r s e s O p e n C L . . . . . . . . . . . . . . . : F O U N D . G P U m i n i n g s u p p o r t e n a b l e d s c r y p t . . . . . . . . . . . . . . . : E n a b l e d A D L . . . . . . . . . . . . . . . . . . : S D K f o u n d , G P U m o n i t o r i n g s u p p o r t e n a b l e d NowweknowthatTUI,OpenCL,scryptandADLareenabled.THisisgood. Okreadytogo.Runamake m a k e cgminerwillcompile,andtheyouinstallhim. m a k e i n s t a l l Alldone.

Chapter 5. Running and finetuning cgminer


FromhereonyoushouldruneverythingfromtheGraphicalInterface(GUI).Sorunovertoyour machineifyouarenotalreadyandlogin. Thereare3importantthingsinLitecoinmining. FirstsetyourSHADERS ThensetyourTHREADCONCURRENCY AndfinallytrytoboostINTENSITYashighasyoucanwithouterrors.

Lookupyourshadersenwriteitdown.Attheendofthisdocumentisasmalllist. Thereisasmallscriptcalledstart.shintheinstalldirectory,editit. m c e d i t / r o o t / i n s t a l l / s t a r t . s h

Changethevaluesinyellowcorrectly

cgminerurl=http://litecoinpool.org:9332\ userpass=USERNAME.SLAVENAME:PASSWORD\ scrypt\ shaders800\ I12 threadconcurrency3200\ verbose\ temptarget65\ tempcutoff85\ autofan
ThereisaspaceandabackslashbehindeachlinetoGlueitalltogether.Leaveitthatwayfor betterreading. Makeitexecutable c h m d o + x / r o o t / i n s t a l l / s t a r t . s h andrun / r o o t / i n s t a l l / s t a r t . s h Onlywhenyoudonotreceivehardwareerrors(Scrypterrorreviewsettings)changethe IntensitybehindtheI Ihopethisguidehelpedyourgetyourminerrunning.

Addendum1.SmalllistofShaders. Googletomakesure,andifyourcantfindyours. GPU 7750 7770 7850 7870 7950 Shaders 512 640 1024 1280 1792

7970 6850 6870 6950 6970 6990 6570 6670 6790 6450 5670 5750 5770 5830 5850 5870 5970

2048 960 1120 1408 1536 (6970x2) 480 480 800 160 400 720 800 1120 1440 1600 (5870x2)

Das könnte Ihnen auch gefallen