FREE Newsletter for People High On Coins!

Stay ahead of the pack with our newsletter and receive "RIG of the Month", get free help from author, get FREE tips/tricks for your litecoin rig, stay updated on what's HOT with Litecoin rigs right now.



Get your Copy of "Rig of the Month!" Today!



No spam. We promise.

How to Install Ubuntu and Optimize CGMiner for Litecoin Mining Rig!

Download this video for viewing in HD on your smartphone or computer.
Click Here to Download High-Quality HD video to your Smartphone or Computer.

For those of you who want to run your mining rig efficiently, you may want to think about using a Linux OS instead of Windows.  Linux OS offers more stable and efficient management of your new Litecoin mining rig.

UPDATE: I have a new USB Flash drive image you can download and flash, which has everything on this page, so go here.

There’s several advantages to using Linux over Windows:

  1. Linux offers stability of system.  While you may get some ugly BSOD(blue-screen-of-death) with Windows, Linux usually handles this part better and also one of the major reasons why over 50% of world web hosting is done by Linux.
  2. Linux can utilize as many graphic cards as you want unlike Windows.  Windows may hit its limit around 3 graphic cards while you can run many as 8 graphic cards on Linux.
  3. Linux also don’t need dummy plugs when using multiple graphic cards.
  4. Linux can be installed as a bootable USB flash drive.  That means you don’t even need a hard disk installed on your computer, you can use a USB flash drive to run your Litecoin Rig.  This does not effect the performance of your mining and also saves more energy as you have no power going to power-hungry hard disks.
  5. Linux can be easily controlled remotely and automation can also be done easily. (so you can perhaps have your Litecoin rig running at slower frequency during peak hours to save you electricity and higher frequency during non-peak hours.)

So, what kind of Linux should you install?  Probably the most popular consumer Linux platform is Ubuntu.  You can use any Linux distro but make sure the Linux distro you use has some type of GUI otherwise you won’t be able to install drivers.

So, let me show you how to install and optimize your Ubuntu for Litecoin Mining Rig from scratch.  For this tutorial, I am going to assume you are using a blank hard disk or USB flash drive.

Step 1. You will need to download the latest version of Ubuntu image for your computer.  I downloaded 64-bit image and most of you probably want that unless you are using a really old computer.

Download Ubuntu 64-bit image here

Next, you will need a USB flash drive (use 2GB or higher) and install the image.

To make a bootable Ubuntu USB, you can use PenDriveLinux program.  It’s very easy to use, just download and run.  Then point the image to your downloaded Ubuntu image and also to your USB flash drive.

howto-setup-ubuntu-litecoin-rig-1

Step 2. Power on your new Litecoin Mining Rig, then go into the BIOS settings during boot.  Usually it’s either the Del button or F10 button to get into the BIOS settings.

Once in your BIOS settings, make sure the SATA type is set to “AHCI” if using a hard disk.

howto-setup-ubuntu-litecoin-rig-2

Step 3. On some Gigabyte motherboards, you may see something like “IOMMU Controller” setting.  If you do see this setting, make sure it’s ENABLED as if you don’t enable it, your Ubuntu flash drive will not boot correctly and give you an error.  (It took me 3 hours to figure this out.)

howto-setup-ubuntu-litecoin-rig-3

Step 4. There should be a setting on your BIOS that you can set your PC to power back on whenever there’s a power loss.  For me, it’s under “AC BACK”.  You should enable this so your computer will power itself back up automatically in case of power outage so your machine doesn’t stop mining when you are not home.

howto-setup-ubuntu-litecoin-rig-4

Step 5. Once done, “Save and Exit”.

howto-setup-ubuntu-litecoin-rig-5

Step 6. Next go ahead and plug in your new Ubuntu USB flash drive into your computer and boot.  For my motherboard, I can press F12 button to change the boot drive and most motherboard should have a similar boot option in the boot screen.  Do that and choose your USB flash drive so your computer will boot into the USB flash drive.

Once booted to USB flash drive, choose “Install Ubuntu” when you see the boot options.

Next, choose “Erase disk and install Ubuntu” if using a hard disk.

If you want to install on a USB flash drive, connect “another” USB flash drive (that’s 8GB or higher) onto your computer then choose “Something else”.  For partition, I recommend setting around 7.5GB to mount point “/” and 0.5GB to swap.  If using a larger USB flash drive, just make sure your “/” mount point is larger than 7.5GB.  You can use less but your system may slow down as Ubuntu system installation comes to near 5.6GB.

howto-setup-ubuntu-litecoin-rig-6

Step 7. When done installing, pull the bootable USB flash drive out.  If using hard disk, simply reboot.  If using USB flash drive, leave the 2nd USB flash drive on your computer.  This is what you will be using as permanent disk drive for your new Litecoin rig.

howto-setup-ubuntu-litecoin-rig-7

Step 8. Once rebooted into your brand, new Ubuntu OS, pat yourself on the back.  You just learned how to install Ubuntu on a brand, new PC!

Next, open up a terminal then type:

sudo apt-get update

This will update all the Ubuntu files to the latest before we install AMD Radeon linux drivers.

howto-setup-ubuntu-litecoin-rig-8

Step 9. Once done, type “sudo reboot” to reboot your computer.

howto-setup-ubuntu-litecoin-rig-9

Step 10. Next download latest AMD Catalyst 14.1 drivers. download the latest AMD Catalyst 13.1 Linux drivers.  This AMD Catalyst Linux driver supports most AMD Radeon graphic cards including HD7950, HD7970, R9 280X, R9 290, R9 290X, and many more.

howto-setup-ubuntu-litecoin-rig-10

Step 11. Next, type:

For Ubuntu 64-bit:
sudo apt-get install build-essential cdbs dh-make dkms execstack dh-modaliases linux-headers-generic fakeroot libqtgui4 lib32gcc1

For Ubuntu 32-bit:
sudo apt-get install build-essential cdbs dh-make dkms execstack dh-modaliases linux-headers-generic fakeroot libqtgui4

This will basically install some of the essential software we need to install the AMD Radeon drivers.

howto-setup-ubuntu-litecoin-rig-11

Step 12. Once that’s done type:

cd Downloads

unzip amd-catalyst-14.1-betav1.3-linux-x86.x86_64.zip

unzip amd-catalyst-13.11-beta-v9.4-linux-x86.x86_64.run.zip

sudo sh *.run --buildpkg Ubuntu/raring

This is the easiest method to install AMD Radeon drivers and basically we are using Ubuntu to make it install the drivers.

howto-setup-ubuntu-litecoin-rig-12

Step 13. Next type:

sudo dpkg -i fglrx*.deb

This will install the Radeon drivers.  That’s it!

howto-setup-ubuntu-litecoin-rig-13

Step 14. Next, type:

sudo aticonfig --initial -f --adapter=all

This will set your GUI to use the new AMD Radeon graphic cards, it will work for single and multi graphic cards but if you don’t use “–adapter=all”, your Ubuntu may only use 1 or 2 graphic cards for mining even though you have 3 to 6.  (Do not use –adapter=all setting for Crossfire, also MAKE SURE YOUR NOT USING CROSSFIRE in the first place!!!  For Litecoin mining, you do not need crossfire, you get much better performance without it.  So, unplug the crossfire cable!!!)

After that, reboot your system by typing “sudo reboot”.

howto-setup-ubuntu-litecoin-rig-14

Step 15. Your Ubuntu should have rebooted.  If you have booted fine and don’t notice anything, congratulations!  You’ve just learned how to install AMD Radeon drivers on Ubuntu system.  What you did from Step 1 thru Step 15, you can now install a full Ubuntu OS with AMD Radeon drivers on any computer!

Next, you need to download CGMiner program, which is the Litecoin mining program.  You need to get CGMiner v3.7.2, this is the latest version that supports Scrypt mining, which is required for Litecoin mining.

Download CGMiner 3.7.2 64-bit here

howto-setup-ubuntu-litecoin-rig-15

Step 16. Next, type:

cd Downloads

tar xvf cgminer-3.7.2-x86_64-built.tar.bz2

 

howto-setup-ubuntu-litecoin-rig-16

Step 17. Next, type:

cd cgminer-3.7.2-x86_64-built

howto-setup-ubuntu-litecoin-rig-17

Step 18. Next to verify your AMD Radeon video cards are being recognized by CGMiner, type:

./cgminer -n

If you see all of your graphic cards listed here, you are good to go!  For my rig, I saw 3 graphic cards here, all of my 3 R9 290X graphic cards recognized, YES!!!

howto-setup-ubuntu-litecoin-rig-18

Step 19. To actually mine Litecoins, you will want to join a mining pool.  You can join any Litecoin Pool here.  Many Litecoin pools may go down and not managed properly so you may want to be careful which pool you join.

I’ve found one really solid Litecoin pools (that never seem to go down), try Hypernova if you have no idea which one to choose.

Once signed into your new Litecoin mining pool, hit the “Account” menu button.  This should get you to a menu where you can add new “workers”.

howto-setup-ubuntu-litecoin-rig-19

Step 20. Make a new worker, and set a password.

howto-setup-ubuntu-litecoin-rig-20

 

howto-setup-ubuntu-litecoin-rig-21

Step 21. Next, open up a text editor and type:

export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
./cgminer –scrypt -o http://mining.usa.hypernova.pw:3333 -u zedomax.test -p123123

You can replace “http://mining.usa.hypernova.pw:3333″ with your Litecoin pool address (you can usually find this under Help menu at your Litecoin pool) and also replace “zedomax.test” with your “username.workername” and also replace “123123″ with your password.

 

howto-setup-ubuntu-litecoin-rig-22

Step 22. Once done, save this as “minenow.sh” in your cgminer-3.7.2-x86_64-built directory.

howto-setup-ubuntu-litecoin-rig-23

Step 23. Next, type in your terminal “sh minenow.sh” to run your new script.  This will start running the CGMiner program.

howto-setup-ubuntu-litecoin-rig-24

You should see a following screen with your graphic cards listed as GPU0, GPU1, etc…etc…

Congratulations!  You have started making virtual currency!  Now, this is just the tip of the iceburg as you will need to optimize the parameters to overclock your GPU and memory to get most of out it.

howto-setup-ubuntu-litecoin-rig-25

Step 24. You can now go into your account in your Litecoin Pool and see that the Kh/s going up!

howto-setup-ubuntu-litecoin-rig-26

Step 25. To optimize your CGMiner, you will need to play with the GPU so hit “G”.

howto-setup-ubuntu-litecoin-rig-28

Step 26. You should see your current “Engine Clock” and “Memory Clock” speeds.  Engine clock is basically your GPU and Memory clock is your memory.

 

howto-setup-ubuntu-litecoin-rig-29

Step 27. Start playing with the memory first.

A. To change memory clock, hit “M” then overclock slowly.  So if at 1250Mhz, try going to 1300Mhz.  Let the program sit for about 30 seconds and see if your hashrate is going up for that particular GPU.  (e.g. If you changed clock on GPU0, you should watch GPU0 hash rates.)  Keep changing it up until your hashrate doesn’t go up anymore.

B. Next, do the same thing with your Engine clock.  Hit “E” then start overclocking it slowly around 50Mhz step at a time.  So if you are at 891Mhz, try going to 940Mhz next and so on until you find the maximum rate you can go.

C, Next go back to step A and B until you can maximize your hashrate.

Also watch the temperature, it shouldn’t go above 90 degrees celcius at any time.  If it does, you are overclocking too much or your GPUs are not getting enough cooling (such as in a PC Case).  You may want to consider having more space between your GPUs or just make a crate-based Litecoin rig.

howto-setup-ubuntu-litecoin-rig-30

Step 28. After tweaking and playing with the values, I was able to achieve around 2.6Mh/s for my 3 R9 290X graphic cards in a PC Case.

Now, a lot of factors determine how much you can overclock, it will first depend on your setup (where you have a PC Case or open-air type like a milk crate) and also your graphic cards.

For the latest high-end R9 290X graphic cards, I found the following parameters to work best:

-I 20  -g 1 -w 512 --thread-concurrency 8192

For the latest lower-end HD 7950 or 7970 graphic cards, I found the following parameters to work best:

-I 13  -g 2 -w 256 --thread-concurrency 31792

These are parameters that you need to put in your “minenow.sh” file. -I is for intensity. You may want to play with this value first but in general, if you have 7950/7970 set it to 13 and if you have R9 290 or 290X, set it to 20.

Similarly, you need to find the correct values for “-g”, “-w” and “–thread-concurrency”. You should try the values above though, they should work well for most.

Additionally, add these values in:
--gpu-powertune 20 --temp-cutoff 99 --temp-overheat 95 --temp-target 90 --gpu-fan 40-100 --auto-fan

“–gpu-powertune will allow your GPU to automatically supply more voltage when overclocking, 20 should be good for all Radeon cards. The other temperature stuff will make sure your fan runs to cool down your cards. If using PC Case, this will help your fan run faster as your temperature will go beyond 90 degrees. For open-air crate, you probably don’t need it as your temperature should not go over 80 degrees in most cases.

For adding the Engine and Memory clock values you got in Step 27, use the following:
“–gpu-engine 950 –gpu-memclock 1450″

This will set your Engine clock to 950Mhz and Memory clock to 1450Mhz. Put the values in here that worked best for you.

Once you have found the right setup, you will have an optimzed script such as this one which does 2.6Mh/s for my 3 Radeon R9 290X graphic cards:

cgminer --scrypt -o stratum+tcp://mining.usa.hypernova.pw:3333 -u zedomax.test -p 123123123 -I 20 -w 512 --thread-concurrency=32765 --temp-cutoff 99 --temp-overheat 95 --temp-target 90 --gpu-fan 40-100 --auto-fan --gpu-engine 920 --gpu-memclock 1500 --gpu-powertune 20 -g 1 --lookup-gap 2

Here’s also my setup for 3 HD 7970 graphic cards which does 2.2Mh/s:
./cgminer --scrypt -o http://mining.usa.hypernova.pw:3333 -u zedomax.test -p q123123 -I 13 -g 2 -w 256 --thread-concurrency 8192 --gpu-powertune 20 --temp-cutoff 99 --temp-overheat 95 --temp-target 90 --gpu-fan 40-100 --auto-fan --gpu-engine 1014 --gpu-memclock 1718

howto-setup-ubuntu-litecoin-rig-31

I am also updating a list of CGMiner.conf with my optimized settings here, this should give you a great place to start with.

Lastly but not least, check out parameters used by other Litecoin miners here.

Well, that’s about it folks.  If you do have some great results with an optimzed setting, don’t forget to leave your CGMiner parameters below along with your graphic card model and setup (PC Case/Crate) so it can help others in the comment box below!

 

Like my tutorial? You can send me coins!
LTC: LVvcUvmkXGnDGzEod2zVXfwb7b3C76fD4L
DOGE: D6f3F8ohqGq9dpouS66mkNLeSFpt4RtT6h


Need Help? Follow/add me on Google+, Facebook, or Twitter!
GooglePlus
Facebook
Twitter
Want to stay updated on latest Litecoin rig news?
Sign up for our High On Coins Newsletter here so you get Rig of the month and more!
First time to digital currency?
Please see What is a Litecoin? FIRST!!!

279 thoughts on “How to Install Ubuntu and Optimize CGMiner for Litecoin Mining Rig!

    1. Max Lee Post author

      You can convert them to BTC at any exchanges like btc-e.com then there’s merchants that will accept BTC or withdraw them as cash.

      Reply
      1. skygod1172

        I tried doing everything you have in yor tutorials but keep getting the same message: ./cgminer: /lib/x86_64-linux-gnu/libudev.so.1: no version information available (required by ./cgminer)

        Reply
      2. Kelly

        i’ve got my machine up and running. spent a lot of time with your video a week ago and got it working. i have two 290x diamond radeon cards and i can’t get your performance – pretty sure you have saphires. i have them running on current settings with limited hardware errors. when i change values, i end up getting a lot of HW errors. Can you help me fill in the blanks here with my cards (similar to yours) this is what mine looks like:
        }
        ]
        ,
        “intensity” : “13″,
        “vectors” : “1,1″,
        “worksize” : “256,256″,
        “kernel” : “scrypt,scrypt”,
        “lookup-gap” : “0,0″,
        “thread-concurrency” : “0,0″,
        “shaders” : “0,0″,
        “gpu-engine” : “0-0,0-0″,
        “gpu-fan” : “0-85,0-85″,
        “gpu-memclock” : “0,0″,
        “gpu-memdiff” : “0,0″,
        “gpu-powertune” : “20,20″,
        “gpu-vddc” : “0.000,0.000″,
        “temp-cutoff” : “95,95″,
        “temp-overheat” : “85,85″,
        “temp-target” : “80,80″,
        “api-mcast-port” : “4028″,
        “api-port” : “4028″,
        “auto-fan” : true,
        “auto-gpu” : true,
        “expiry” : “120″,
        “gpu-dyninterval” : “7″,
        “gpu-platform” : “0″,
        “gpu-threads” : “2″,
        “hotplug” : “5″,
        “log” : “5″,
        “no-pool-disable” : true,
        “queue” : “1″,
        “scan-time” : “30″,
        “scrypt” : true,
        “temp-hysteresis” : “3″,
        “shares” : “0″,
        “kernel-path” : “/usr/local/bin”
        }

        Reply
        1. bmilescrx

          Kelly i dont know if your joking or not but every important feature of your .bat file is turned off…. gpu needs to be around 970, memclock 1350 intensity is 20 if you have adequate cooling “outdoor winter air or lots of box fans… thread concurency is 24768 for me im running 4 r9 290 hashing 75dec C @ 860kh per card with about 1% rejected blocks… i cant get my memory above 1350 even if the engine clock is down to stock… maybe your 290x will get the job done with the higher mem rate… best of luck to you

          Reply
          1. Kelly

            Thanks bmilescrx for responding – I wish I was joking. Every time I increase the intensity HW errors go off like fireworks. I wanted to post my working bat and see if someone would post theirs with a similar machine. There must be a way, but every time I sit down and play with the values it seems like I waste 2 hours and wind up back at square one. I was starting to think that everything out there is misinformation. Hoping someone with 290X cards would post a working bat. Max, can you post a working file? I played around with your settings piece by piece as you posted them, but I’m stuck…stuck at 675kh per card.

            Reply
            1. Max Lee Post author

              Here’s settings I am using on one of my 5 R9 290X rigs:

              “intensity” : “20″,
              “worksize” : “256″,
              “kernel” : “scrypt”,
              “lookup-gap” : “2″,
              “thread-concurrency” : “32765″,
              “gpu-engine” : “880,865,865,880,865″,
              “gpu-fan” : “40-100″,
              “gpu-memclock” : “1455,1445,1445,1455,1435″,
              “gpu-powertune” : “20″,
              “temp-cutoff” : “99″,
              “temp-overheat” : “95″,
              “temp-target” : “79″,
              “gpu-threads” : “1″,
              “no-pool-disable” : true,
              “no-submit-stale” : true,
              “queue” : “1″,
              “scan-time” : “6″,
              “expiry” : “60″,
              “auto-fan” : true,
              “scrypt” : true,
              “temp-hysteresis” : “3″,
              “shares” : “0″,
              “kernel-path” : “/usr/local/bin”

              This should give you somewhat near 850-880Kh/s but 675Kh/s doesn’t seem right at all.

              Reply
        2. Max Lee Post author

          You need to change intensity to 20 first, then also set GPU-engine to something around 880-920 and GPU-memclock to 1455-1495.

          Try setting low at 880 and 1455 first then start ramping up. Also look-up gap should be 2 for R9 290X and GPU-threads should be 1 and thread concurrency should be around 32765.

          Reply
          1. T

            Max,

            I have 5 R9 290X’s and I am running on Ubuntu 12.04. I am having a lot of trouble downloading the catalyst drivers (when I do they say my graphics card does not work with the driver. If you could give me a step by step on how to get these up and running, I will be very appreciative and reward you with the crypto of your choice. Thanks in advance for your time.

            T

            Reply
          2. T

            I have tried countless different methods, and none of them seem to work (always ether a dependency or enable to locate problems)

            Reply
            1. Max Lee Post author

              Try using Ubuntu 13.04, I know you can use 12.04 but you have to install some lib32 library to make it work.

              Reply
    1. Max Lee Post author

      This may be confusing if you’ve never used Linux before, I should have a flashable image soon you can use.

      Reply
      1. Jonathan

        Something weird has happened … I’ve mined a balance of 0.1 litecoins (which is the minimum to withdraw) I made the BTC-E wallet my payment address .. But BTC-E doesn’t show my funds :( .. Did you ever run across this issue ?

        Reply
      2. Petey Pablo

        Max,
        Are you referring to a Linux image? I saw the Linux image link you posted back in your original guide, but the link produces an error. Can you please post a new link to that custom Linux image?

        Cheers,
        - VR

        Reply
  1. Jimmy

    my rig is weird,
    when cgminer crashes, it doesn’t reboot
    it just logs out and gpu running same full fan speed.

    how do i fix this :(?

    Reply
  2. Taylor

    Im stuck and followed the directions exactly. Any suggestions? This is the error.

    ./cgminer: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory

    Reply
        1. John C

          Max, thanks for making the guide.
          I am also having the same problem with the lib. I tried your suggestion – “apt-get install ia32-libs”. It gave me this error -
          “./cgminer: /lib/x86_64-linux-gnu/libudev.so.1: no version information available (required by ./cgminer)
          [2013-12-30 17:52:40] Unexpected extra commandline arguments
          Segmentation fault (core dumped)”

          Do you have any other suggestions?

          Reply
    1. Max Lee Post author

      You can use any Linux distro, I’ve tried many others but it won’t make any noticeable difference in mining speed, that’s all 100% GPU so…

      Reply
    1. Max Lee Post author

      Oh not sure at this point, it’s going down like crazy! I think it will bounce up later this week though.

      Reply
  3. BayCoins

    Thx ffor the guide Max..perhaps a troubleshooting section for weird errors might be good to add at some point. Some of the older guides online are good, but not current.. This should help drive clicks your way if you plan on updaing pretty frequently.

    Reply
  4. tru

    I just ran through this tutorial, running just 1 290 (for testing purposes), and it went somewhat smoothly. However, now that I am mining, I am getting absurdly low hash rates (around 10-15 Kh/s).

    Any ideas why?

    Reply
    1. zsar

      You might need to do some tweaking. When I started, my two 280X card were doing 1000Kh/s (500 Kh/s each), I googled suggested set up for my card and found lots of set ups, although, I choose the one that was more stable and now I’m doing 1.4 Mh/s (avg)

      Reply
    2. Max Lee Post author

      Use the optimized config setup on this page but tone down your GPU engine and mem clock a bit and try ramping up slowly once you get it out of small kh/s.

      Reply
  5. Norkoastal

    Hi Max, Now that my rig is up and running (woo-hoo!!) is there any way we can now add some of the other cool features that some rigs have like automine on reboot and SSH capabilities (steps to complete on this build).

    Huge thanks for the video.. The tips really make typing in all the code much easier.

    Reply
    1. Max Lee Post author

      Yes I will also be posting some new code you can use to automine.

      For adding SSH, it’s really easy, just do:

      sudo apt-get install openssh-server

      That will start your SSH server automatically on Ubuntu.

      Reply
  6. Danny B

    Hi, when i do step 14 this is wat comes up
    DKMS: install completed.
    update-initramfs: deferring update (trigger activated)
    Processing triggers for ureadahead …
    Processing triggers for bamfdaemon …
    Rebuilding /usr/share/applications/bamf.index…
    Setting up fglrx-amdcccle (2:13.250-0ubuntu1) …
    Setting up fglrx-dev (2:13.250-0ubuntu1) …
    Processing triggers for initramfs-tools …
    update-initramfs: Generating /boot/initrd.img-3.8.0-29-generic
    Processing triggers for libc-bin …
    ldconfig deferred processing now taking place
    tmanco@tmanco:~/Downloads$ sudo aticonfig –initial -f –adapter=all
    aticonfig: No supported adapters detected
    tmanco@tmanco:~/Downloads$ sudo aticonfig –initial -f –adapter=all
    aticonfig: No supported adapters detected
    tmanco@tmanco:~/Downloads$ sudo aticonfig –initial -f –adapter=all
    aticonfig: No supported adapters detected

    please help, i reinstalled ubuntu to do it all over again and it still came up.
    thanks

    Reply
      1. Danny B

        im using 1 290x, its mounted now, but it still doesnt show up

        /cgminer: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory

        this is wat i get when i put in ./cgminer -n
        thanks for the help

        Reply
  7. David

    Why , not plugin your cross-fire , ive never got cross-fire working on ubuntu and i don’t know why in CentOS it work fine ubuntu / Debian on go !! but why not let it in pulged ?

    Reply
  8. The Dude

    Thanks for the write up, it was helpful. I have cgminer running right now, but for some reason my temperatures are not being displayed and I cannot change engine and memclock speeds. You didn’t install the SDK did you? Any idea what can be happening?

    Reply
    1. The dude

      I figured it out. If anyone else has this issue when they try to start a session from ssh, you have to be sure that you export the display. install screen, and use “screen -S miner” to start a new session called miner. Then start your miner. You can detach from the session by hitting ctrl-a and then ctrl-d. Then you can close the ssh session and the miner will continue to run

      Reply
  9. zsar

    Hey Max, thank you very much for the guide! My rig is up and running :D
    Do you recommend any websites to withdraw USD? I heard that I can use PayPal, but BTC-E charges 7% transaction fees :( …. all other options seem a little bogus, since their websites are located overseas.

    Reply
    1. Max Lee Post author

      You can use CoinBase.com for US withdrawls. Since they only accept Bitcoins, you can use BTC-E.com to sell your LTC and buy BTC. I think it’s only 1% fee so that should be the best way. Also, if you are going to use your bitcoins for buying stuff like Amazon, you can use http://www.gyft.com/bitcoin/ to buy Amazon giftcards, no fees.

      Reply
      1. zsar

        That’s awesome! thanks for the advice Max :D I just set up my account at coinbase, just have to wait for all the verification.

        Reply
  10. frank

    Hi Max, im having trouble with manually adjusting engine/mem clock and vdcc. I have 3 7950s, two are the same one is different. Only one is able to run, the second one i cant modify as stated above and the third doenst turn on. Any ideas? Thanks!

    Reply
  11. Micah

    thanks for the great info Max I always follow your android pages and was pretty uniformed about crypto currency until you mentioned it and then it peaked my interest.

    I have 3x gigabyte gv-r929d5-4gd-b (R9 290)
    I have pretty much all my settings the same as what you have for your 290x but I’m getting about 900.8kh/s x3
    Have the engine set at 1014 and the memory at 1500 and they’re running about 86-89 C (wondering if this is a bit hot for 24/7)

    thanks again

    Reply
  12. John

    Hi Max, thanks for the great guide. I am having an issue with my setup. Everything goes smoothly with the driver install, however rebooting after “sudo aticonfig –initial -f –adapter=all” the initial Ubuntu boot screen is low – res (1024 x 768 I think) then Xorg just boots into a grey screen going no further. I have to delete the Xorg.conf to get it back.
    I am running 4 x 5970s

    Thank you!

    Reply
    1. John

      A couple of reboots and deleting the xorg.conf and re running the aticonf commands and all 4 cards are working. However cgminer just displays a blank cursor when mining, no onscreen output. When I quit it shows mining stats, so it has been mining, just seems as though display is disabled somehow.

      Any ideas?

      Thanks again.

      Reply
      1. Max Lee Post author

        try lowering all the settings first like gpu engine and memclock. once u get it up and running, try pushing those values slowly back up.

        Reply
  13. Mike

    Hey Max thx your site big help now my miner is running Ubuntu
    Would like cgminer to auto run at startup do you have tips for that
    Thx
    Mike

    Reply
  14. Micah

    r9 290

    -I 20 -w 512 –thread-concurrency=32765 –temp-cutoff 99 –temp-overheat 95 –temp-target 90 –gpu-fan 40-100 –auto-fan –gpu-engine 1014 –gpu-memclock 1500 –gpu-powertune 20 -g 1 –lookup-gap 2

    at about 334watts atm per card

    Reply
  15. carlos

    Wow, after several tries, just instaled drivers properly, but:
    “error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory”

    I have installed all 32 libs, but something is wrong.

    Driver AMD is ok: aticonfig –lsa:
    “* 0. 01:00.0 AMD Radeon R9 290 Series
    1. 02:00.0 AMD Radeon R9 290 Series

    * – Default adapter”
    Help plase.

    Reply
  16. zsar

    In case someone is using R9 280X cards (I have one MSI and one Gigabyte)
    Here is my configuration (I’m getting ~730 Kh/s on each):

    -I 13 –lookup-gap 2 -g 2 -w 256 –thread-concurrency 8191 –shaders 2048 –gpu-memclock 1500 –gpu-powertune 20 –gpu-engine 1055 –temp-target=75 –temp-overheat=85 –temp-cutoff=95 –auto-fan –queue 0 –expiry 1 –scan-time 1 –no-submit-stale

    Reply
  17. broken

    registered at hypernova started workers. copy from help which was
    xport DISPLAY=:0
    export GPU_MAX_ALLOC_PERCENT=100
    export GPU_USE_SYNC_OBJECTS=1
    ./cgminer –scrypt -o stratum+tcp://mining.usa.hypernova.pw:3333 -u John.Home -p 12345
    changed username. worker -p worker password
    ran it and got this
    [2014-01-01 13:44:03] Started cgminer 3.7.2
    [2014-01-01 13:44:03] Started cgminer 3.7.2
    [2014-01-01 13:44:03] Probing for an alive pool
    [2014-01-01 13:44:03] Pool 0 difficulty changed to 32
    [2014-01-01 13:44:03] pool 0 JSON stratum auth failed: (null)

    im using one 7970 6gb vaper-x

    please help wanted to get this working. no one had your r9′s

    Reply
  18. broken

    I have SAPPHIRE HD 7970 GHz Edition 6GB GDDR5 VAPOR-X.
    they didn’t have any r9′s this is the best I could do.
    what setting so I can capalize on the 6gb ddr5 with out trashing the card.

    ps thanks zedomax for the phone support and this

    Reply
  19. Eric

    I’m following your directions to the T, but when I get to step 18 and type ./cgminer -n , I get bash: ./cgminer-n: No such file or directory. Any help please? Been stuck on this for a while.

    Reply
  20. milouse

    Hello guys
    First of all, excuse my English, I write with a translator :)
    hello and thanx to Max specially for this great topic. I followed your video step by step and everything worked wonderfully. thank you again.
    Recently, I watercooled my 3 R290 and since that time, 99% of my shares are rejected. My current CGminer settings are: I 20, g 1, w 512, thread concurrency 32768, I turn to 2.6 Mh / s. I removed all the settings related to the fans because it crash cgminer. I tried all possible settings but it does not work, I tried another pool, same problem, it is necessarily of my settings but now I’m stuck.
    thank you for your help

    Reply
  21. Danny

    Nice guide!

    Have you improved on the settings any? I see people with screenshots hashing at 950kh/s … even with their settings, the ones you gave out are the best so far ~880kh/s

    I see you at hypernova sometimes, how many rigs/cards you have going? :)

    Reply
    1. Max Lee Post author

      i actually underclocked a bit to run around 850khs i think its not a good idea to run too high unless u have good cooling.

      Reply
      1. milouse

        Hi Max,
        just a little question. I see you on hypernova with a very high hashrate, do you have multiple rigs who gives you these results? I builded the same rig has yours but with 3 R290 ( no X) and my max hashrate is 2,80 Mh/s on Hypernova.

        THX

        Reply
        1. Max Lee Post author

          I have built new rigs with 5 r9 290x graphic cards and around 5 machines like that if you are getting 2.8mh/s with 3 r290s that’s good.

          Reply
        1. Max Lee Post author

          because some of my graphic cards will die in cgminer on some of my rigs. but r9 290x is rated for up to 95 degrees so long as ur rigs dont freeze or graphic cards die/get sick in cgminer u r fine.

          Reply
  22. Crispy

    Great Tutorial!!!!

    I had mi first miner up and running in about 2 hours.

    my confing for a R9 270 is:

    ./cgminer –scrypt -o stratum+tcp://stratum.wemineftc.com:3333 -u Crispy2014.1 -p x -I 19 -g 1 -w 512 –thread-concurrency 16k-21k –gpu-powertune 20 –temp-cutoff 99 –temp-overheat 95 –temp-target 80 –gpu-fan 40-100 –auto-fan –gpu-engine 1120 –gpu-memclock 1500 –gpu-powertune 20 -g 1 –lookup-gap 2

    Can you tell me how to set it up so that it starts Automatically when Linux boots up ???
    in case of a power failure….

    Thanks again

    Crispy

    Reply
  23. Shay

    Hi Max, Thanks for this great guide!
    I’m setting up a system with 3 Gigabyte R9 280X
    1. I also like to know how to set it up so that it starts automatically when Linux boots up.
    2. Where I can find the best config for my cards?
    3. Is the mining process takes a lot of internet data? I’m asking that because I’m planning to put this rig in an office with other pcs connecting to the same internet source…

    Shay

    Reply
    1. zsar

      For your No 2 question, try this configuration, I’m doing ~730 Khs/s (~75C) and stable:

      -I 13 –lookup-gap 2 -g 2 -w 256 –thread-concurrency 8191 –shaders 2048 –gpu-memclock 1500 –gpu-powertune 20 –gpu-engine 1055 –temp-target=75 –temp-overheat=85 –temp-cutoff=95 –auto-fan –queue 0 –expiry 1 –scan-time 1 –no-submit-stale

      Reply
    1. Max Lee Post author

      Yes, first you need to install Ubuntu on a CD rom of a USB flash drive. It’s same process as hard disk but just install it on CD or USB.

      Reply
  24. batt2fd

    Got my rigs up and running!!!! Thanks!!!!!

    Looking for help to remotely monitor and control them, and a way to get them to mine directly from boot/power up.

    Thanks again for all your help!!!

    Reply
  25. Bahaulla

    Hi Max, I am following the guide and everything goes great until I get to step fourteen. It says that the command sudo aticonfig –initial -f –adapter=all is not found.

    Any ideas what am I doing wrong?

    Reply
      1. bahaulla

        I have the same problem. I used 12.04 – should I be using 13.10? Thank you for your guide… everything goes well until that command line is not found.

        Reply
  26. Tim

    Hi Max,

    Thanks for a great tutorial, I feel that I am almost there but when I run:
    /cgminer –scrypt -o http://********:333 -u *******.1 -p 123123

    I get the error:
    Cannot run in Benchmark mode with scrypt.
    Then it crashes with a seg fault.

    If I remove the –scrypt option it runs fine.

    Looking at the source this should only be called if benchmark flag is used, but I haven’t used it so I don’t know what is going on.

    I am running cgminer-3.7.2, on an MSI R9 280X using Ubuntu 13.10.

    Many thanks in advance for any ideas.

    Reply
    1. zsar

      Try:
      ./cgminer –scrypt

      You might be missing a dash, it should be double dash before “scrypt”
      I’m using the same exact card, OS, and cgminer version.

      Reply
    2. zsar

      My bad… I just noticed that you are using the double dash lol… for some reason it looks like one dash when you place the comment.

      Reply
      1. Tim

        No problem thanks for trying Zsar. I changed the filename of ~/.cgimner/cgminer.conf and that seemed to get past the benchmark problem

        Reply
  27. Anthony

    This works with 4 GPU’s, but I haven’t been able to make it work with 5 or 6. All R9 290′s on risers. Any ideas for troubleshooting?

    Reply
    1. Max Lee Post author

      you have to run aticonfig command when u add more cards. also some motherboards are not compatible which motherboard do u have?

      Reply
  28. Kobyn

    HI Max, Thank you for this great tutorial. I have everything working till the last step (the most important). I got the following error when I enter sh minenow.sh (I am using coinotroin.com pool with a HD RADEON 6350).

    [2014-01-14 16:04:18] Started cgminer 3.7.2
    [2014-01-14 16:04:21] “/tmp/OCLDxbDWR.cl”, line 762: warning: variable “ySIZE”
    was declared but
    never referenced
    const uint ySIZE = (1024/LOOKUP_GAP+(1024%LOOKUP_GAP>0));
    ^

    “/tmp/OCLDxbDWR.cl”, line 814: error: work group size exceeds the maximum

    [2014-01-14 16:04:21] Failed to init GPU thread 0, disabling device 0
    [2014-01-14 16:04:21] Restarting the GPU from the menu will not fix this.
    [2014-01-14 16:04:21] Try restarting cgminer.

    Reply
  29. Tony

    Hi Max

    Nice video, but I got a question.

    How come cgminer 3.7.2 can’t recognize my three GPU. After I type ./cgmier -n it shows…

    error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or diectory

    Some people said I got the wrong version for my GPU … I am using three peieces of R9 290

    Can you help

    Reply
    1. Max Lee Post author

      Are you using older version of Ubuntu? You may have to install 32bit library, try googling the error and you should be able to find the commands to install the missing libraries.

      Reply
  30. zsar

    Hi Max,

    I bought an ASUS R9 290, do you happen to know a stable configuration?
    I have one right now and is running @ ~875 kh/s, however, since I’m using win 7, it seems that the GPU crashes eventually.
    I was hopping for a configuration that gets me ~850 kh/s.

    Thanks!

    Reply
    1. Max Lee Post author

      You can pretty much use settings for r9 290x but just tone gpu engine and mem clock down a bit like 20 to 40Mhz. Try using Ubuntu if you can u should be able to run much higher than Windows.

      Reply
      1. zsar

        That sounds good! I will try the 290X settings, and also I will install Ubuntu on it (I didn’t install it before because it’s my main rig)
        I will post my settings once I have it up and running.

        Thanks, Max!

        Reply
  31. Shavy

    hey man, awesome tutorial, I’ve done just perfectly all the way, I’m using ubuntu 13.04, it works fine if I only plug in 1 graphic card, but when I turn the system off to plug in another 2 or even 1 card, the system boot and hang at the 5 red dots loading and welcome ubuntu logo booting screen. You have any ideas ? I think its all about this ubuntu 13.04′s hybrid/multi graphic cards issue, but cant find a way to fix this.
    Thanks in advance

    Reply
    1. Max Lee Post author

      Thats usually an issue with the graphic cards if ubuntu doesnt boot. are u using brand new cards or cards with custom bios? also can be and issue with pcie risers or slots.

      Reply
      1. Shavy

        I use 6 brand new HIS 270x with no mod, risers are good too ( with no mod ), they have been running so smooth and cool for 10 hours now, just 55*C and no problem, HW errors using windows 8.1 ( 4 cards, the other 2 need a case to place which will be built tomorrow ). But Im doubt that windows 8.1 cant run 6 cards smoothly, and would still love to use ubuntu. Thanks for the reply, and hey awesome new built rig too

        Reply
  32. Jared

    Max,

    Thanks for the great guide!
    Unfortunately I can only get one card to work as well out of my 6 – R9 280X cards. In Windows it works fine with the same hardware setup. Not sure if it’s just a bug or what the core issue may be…drivers maybe.

    Reply
    1. Max Lee Post author

      You have to re-run:
      sudo aticonfig –initial -f –adapter=all

      then reboot anytime you add more cards. That should fix it.

      Reply
      1. Freya

        Your guide ist the best, unfortunately I only found it after four days locked in battle with my rig!
        Anyhow, I have the same issue as above. I was able to get up and running with one GPU but when I added another, I ran
        sudo aticonfig –initial -f –adapter=all
        rebooted and then still only one is detected. This is odd since I have a second screen hooked up to it. Both GPU’s are new R9 280x Sapphire Toxic. I am using powered riser cables for both but I am sure this is a software issue with my AMD.

        Is it possible that I didn’t use –adapter=all on the original installation of AMD and this could have thrown things off? I am Ubuntu 13.10 and AMD 14.1. Asrock Extreme4. Any help would be appreciated.

        Reply
  33. Bryan

    Thanks for all the help. I’ve been watching all your videos and reading the instructions for the past week. Finally ordered everything to get setup. I’m going with 4 saphier hd 7950′s. I just hope I’m not to too to the game again because I see the litecoin difficulty is shooting up pretty damn fast dang it. I have a bfl 60gh/s for bitcoin but it is becoming more and more useless by the day. Hoping to get a leg up with litecoin. AGAIN Thank You!

    Reply
    1. Max Lee Post author

      Yeah I was about to order a BFL miner but if you do the math, the difficulty is exponentially growing for bitcoins while litecoin difficulty is growing steadily. We still have around 6 month window for people to get into Litecoins or perhaps more.

      Reply
  34. Cy

    A question for Max
    I have a question that might be semi easy to answer. What should I look for in video cards? I’d love to get the best like you used to start with but I need to start with a rig that will work but not be super expensive. I have researched a lot of cards and checked on the specs but need to ask what are the most important things to look at for this application.

    Reply
  35. josh

    keep getting this error when runing
    sh minenow.sh

    ./cgminer: /lib/x86_64-linux-gnu/libudev.so.1: no version information available (required by ./cgminer)
    [2014-01-22 09:06:58] Unexpected extra commandline arguments

    ANY IDEAS ANYONE. THANKS?

    Reply
  36. Paul

    Max and mining friends – firstly thanks for the awesome tutorials!!!

    Now my problems – I have a two card rig working fine 2xr280x – happy days…. So I decided to invest in more kit

    I bought 6 asus r280x – 4 for new rig, and 2 to add to my existing one

    I am using the same mb as you, and pretty much everything is the same, may my CPU is different sempron 145.and I have 2x750psu.

    I have spent the last 4 days trying to build the new rig, the problem I have is I can get two cards to show, but when I add others I get a solid purple screenand Ubuntu fails to boot.
    I have tried changing risers, seating gpu, even different gpu as I had extra. Always the same result. I have tried version 12.4 – 13.1 – and also xubuntu and always the same result system fails to boot when I add more than two cards. Have followed numerous tutorials… Aticonfig, reinstalling drivers… Even some thing called nomodset? I just can get it to work! Am going to try using windows tomorrow..this is a last resort as I need to buy a new hdd and a copy of windows…. But I would prefer to use Ubuntu as it is what my other rig is on.
    Thanks for your help in advance
    Paul

    Reply
    1. Cy

      Paul,
      I’m not an expert yet however have you tried formatting and reinstalling Ubuntu? It’s not that hard and certainly better than using Windows.

      Reply
    2. r109

      Can it boot with 2 GPUs but nothing greater than 2? I’m having the same issue with 3 r9 290. Not sure wth is going on but my cards aren’t being recognized after step 12.

      Reply
      1. Max Lee Post author

        Are the R9 290 cards brand new? Make sure they don’t have custom bios installed then that could be why. Usually if your see cursor _ that means a custom bios with a too low voltage has been flashed. The fix is usually to find the right bios for it then it will boot past that.

        Reply
  37. ricardo charles

    IM DESPERATE FOR HELP. (REWARD) i am trying to boot bamt or ubuntu onto asus z87 pro motherboard
    from a usb stick. i have only ram but no ssd
    ive read on forums that this is possible to do so you dont have to buy an ssd

    i have tried everything in order to make this happen.
    can anyone please show me how to boot usb os from bios and i will give some bitcoin or litecoin .

    Reply
    1. Cy

      Ricardo Charles….
      When you start the rig press F12 several times during the very beginning of start up before any screen comes on . When you do this you will get to a screen where you can configure what the first drive the computer or rig will start from. Choose the one that says san disc or what ever type usbstick you have. Then save your settings and you should be set, your rig will boot from your usb. I hope this helps you get up and running.

      Reply
  38. MaxBritva

    Hello! Can you help us? How we can doing autostart / autorun cgminer – sh file after reboot system. Thank you very much!

    Reply
  39. Arturas

    Hello i cant run cgminer through terminal and i cant find out why?
    arturas@arturas-To-be-filled-by-O-E-M:~/Downloads/cgminer-3.7.2-x86_64-built$ ls01-cgminer.rules bitstreams dogis.sh phatk121016.cl
    API.class cgminer example.conf poclbm130302.cl
    api-example.c cgminer-nogpu FPGA-README README
    api-example.php ChangeLog GPU-README scrypt130511.cl
    api-example.py COPYING linux-usb-cgminer SCRYPT-README
    API-README diablo130302.cl MCast.class
    ASIC-README diakgcn121016.cl miner.php
    AUTHORS dogis2.sh~ NEWS
    arturas@arturas-To-be-filled-by-O-E-M:~/Downloads/cgminer-3.7.2-x86_64-built$ shdogis.sh
    shdogis.sh: command not found
    arturas@arturas-To-be-filled-by-O-E-M:~/Downloads/cgminer-3.7.2-x86_64-built$ sh dogis.sh
    [2014-01-26 16:38:24] Unexpected extra commandline arguments
    Segmentation fault (core dumped)
    arturas@arturas-To-be-filled-by-O-E-M:~/Downloads/cgminer-3.7.2-x86_64-built$

    Reply
  40. wavyminer

    I used your tutorial and got my rig to work but after powering it down to add a card when i run my minenow script the fans turn on but the whole screen flashes and goes blank and then nothing.
    3x gigabyte r9 290
    As rock 970 extreme4
    4gb ram

    Reply
    1. Max Lee Post author

      You may need to tone down GPU engine and Memclock values to something low first then find the best values, I would suggest starting with 800 and 1375 for GPU engine and Memclock.

      Reply
  41. John

    I can’t make one of my 5850 go up in Kh/s, it’s around 150Kh/s.
    Another problem, my pc get really slow when I mine, it takes around 20min just to shut off the miner, what should I do?

    Reply
  42. wade

    hey, my installer keeps freezing when i try to install it to something else in the installer page. i am trying to install it onto another flash drive i set up the partion and it freezes everytime. any ideas? thanks!

    Reply
  43. r109

    12.10 I can’t get unity / compiz to load. The dashboard / taskbar does not load.

    sudo apt-get autoremove fglrx –purge
    sudo shutdown -r now

    Perhaps clarify what version of Ubuntu you used. I prefer 12.10 but will upgrade to 13.x to see if I can get through this doc. Thanks. :-)

    Reply
    1. r109

      One thing to note that may have been my issue, I couldn’t get my 3 R9′s to run together because ubuntu would lock up on boot. What I had to do is power off my rig and unplug 1 GPU’s. It seems that I was having issues with having greater than 2 GPUs. I figured out that the AMD drivers Zedomax provides in his link are outdated. I went to AMD’s website and grabbed the latest.

      Now there is a change to Step 12. Rather than use Ubuntu/raring just execute the AMD installer. I must note, as it seems to be crucial in my quest:

      cd Downloads
      unzip amd-catalyst-13.11-betaV9.95-linux-x86.x86_64.run.zip
      sudo chmod -x ./amd-catalyst-13.11-betaV9.95-linux-x86.x86_64.run
      sudo sh ./amd-catalyst-13.11-betaV9.95-linux-x86.x86_64.run

      After installion is finished, the computer will restart. I will have to shutdown and plug in my 3rd card. Hopefully my 4th one that’s in the mail will also work!

      Reply
      1. r109

        Just a heads up, I went ahead and did everything with 13.10

        In step 8 do
        sudo apt-get update
        sudo apt-get upgrade

        Beyond Step 12, I still am unable to boot into uBuntu with greater than 2 GPU’s for whatever reason. I can get 2 R9 290X’s to run OhmPie’s version of cgminer (Google ohmpie cgminer-3.7.0-amd-r9-fix.tar.gz or reference: http://www.ohmpie.com/mining-on-an-r9-290-in-linux/)

        Has anyone faced issues with booting into ubuntu when you have greater than 2 gpus? I get a black screen with a cursor _ and the system locks.

        Reply
  44. jag

    (BOUNTY 5 LTC for full fix) ( i should add i am a linux noob lol)

    hi, great guide, helped me tons already but when using powered risers im not able to boot ubuntu, not even with a single powered 1x–>16x riser plugged in, it DOES show up on my board explorer in mobo bios
    i have to have one card plugged in directly and then can only get a maximum 4 cards detected with ubuntu. cgminer is working fine but I need to get 6 cards running…

    Using
    Ubuntu 13.10
    latest amd drivers
    msi r9 290 GE twin frozr
    msi z87 mpower mobo

    Reply
  45. tigerK

    Hi

    Need some help!

    I have 6 x R9 290 Tri X GPU and trying the Linux route after I discovered only 4 GPU work in Windows 8.1.

    I get the white screen of doom after I install the AMD Drivers and enter the “sudo aticonfig –initial -f –adapter=all” – Is there a way that I can get past this so I can install CGMiner and stat mining with all 6 GPU?

    Can someone please provide some assistance?

    Shout out to MAX LEE – great website!

    TigerK

    Reply
    1. Jeremy

      i use Ubuntu 12.04.4 and have 5 R9 290′s running on it. fine wihtout crashes . Only problem is the voltage is locked and I do not want to attempt to flash them and brick the GPU. so I am maxing out with my settings same as Max’s setting for his R9 290X’s and i get exact speeds with all 5. avg 830k/h. If i could undervolt i would be at 900+ k/h easy. Asus locked cards are the hardest to work with but rank 3rd minimum , I would put saphire first followed by Gigabyte then my Asus. At teh time I was ordering and prices and availabilty I had to pick Asus at the time. I wanted Saphire but oh well. I am now finishing my 3rd out of 4 rig with 5 gpu r9 290 each. Just want to get to at least 880 k/h with each of them. Sorry to bable i got a ton of peoples questions mixed up in my mind. Windows 8.1 can run 12 gpu if a mother board could do that so the whole linux crap being faster and able to do more gpu is now BS. was true in the past but no more. Ubuntu 12.04.4 wil have updates until 2017. 13.10 will have a very short life of upgrade for security and what not. I use AMD Catalyst 14.2 and it all works fine.

      Reply
  46. Star Citizen

    Hi I just had a question when I try to do step 11 for 64 bit I get this

    a1@a1:~$ sudo apt-get install build-essential cdbs dh-make dkms execstack dh-modaliases linux-headers-generic fakeroot libqtgui4 lib32gcc1
    [sudo] password for a1:
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package dkms is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    Package cdbs is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    Package dh-make:i386 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package ‘cdbs’ has no installation candidate
    E: Package ‘dh-make:i386′ has no installation candidate
    E: Package ‘dkms’ has no installation candidate
    E: Unable to locate package dh-modaliases
    a1@a1:~$

    Any suggestions? Thanks in advance!

    Reply
  47. Scott

    As someone who is fairly “technically-savvy” i found it a huge challenge to make all the little tidbits play together nicely. After about 5-6 howto guides, 8 cups of coffee, 10+ reloads (multiple distros), I have to say this guide was the greatest help. Make sure you follow it every step of the way, I found the video to be very helpful.

    One thing to note, occasionally you will get a black or “purple” screen of death upon reboot when setting up Ubuntu if you are plugged directly into an ATI card. Do a google search for: nomodeset and save yourself 1 or 2 reloads. .. and a couple of ragequits.

    Reply
  48. Max

    I’m getting the following message after I type “sudo aticonfig –initial -f –adapter=all”

    pcrig@pcrig-desktop:~/Downloads$ sudo aticonfig –initial -f –adapter=all
    aticonfig: No supported adapters detected
    pcrig@pcrig-desktop:~/Downloads$

    I’m running six r9 270x

    Please Help

    Reply
    1. teo

      did u ever find a solution to this? i have sapphire r9 270x’s and im getting the same issue, can’t fix it for nothing

      Reply
  49. Siera Hotel

    When I install the AMD Catalyst Diver into UBUNTU, I always get a black screen of death, which also renders the system disk useless. I keep re-installing different versions of Ubuntu and Catalyst with the same results. A black screen with an X for a mouse arrow. I have even tried the linux-headers-generic command as illustrated here http://www.youtube.com/watch?v=ioMeSCoyYng#t=125, with no luck either.

    Do I even need the latest Catalyst driver or can I go with the open source driver which comes with Ubuntu?

    Reply
  50. wade

    HEY ZEDO when i get to step 12 the uncompressing amd catalyst part goes reeealaaaaally. i keep trying the install over again because when i type in step ./cgminer -n i get an error [ bash: ./cgminer: cannot execute binary file. any ideas? much appreciated. any place i can donate i will.

    Reply
  51. Siera Hotel

    I am finding on line that there are sooooo many people battling black screen of death issues with the AMD catalyst drivers and ubuntu. Every solution is different and equally not helpful. In my case, I can install a perfectly working system onto a disk, and as soon as I install the AMD catalyst driver, the whole build is destroyed, disk is no longer recognized and has to be started over from scratch. I sure wish this issue could be sorted out once and for all.

    If I can’t get this issue sorted, I will have to buy windows, and nobody wants that right?

    Reply
  52. Ben

    Hi,
    I am having an issue I hope someone can help with…
    I have three GPU’s and while cgminer is recognising all of them, it only actually mines with 2… The third one just sits at 0 KH/s doing nothing.
    I’ve tried plugging it into my monitor but it still just remains idle… Any advise?

    Reply
    1. kwik

      Run this as root:

      ln -s /usr/local/lib/libjansson.so.4 /usr/lib/libjansson.so.4
      ln -s /lib/x86_64-linux-gnu/libudev.so.0 /lib/x86_64-linux-gnu/libudev.so.1
      ln -s /lib/x86_64-linux-gnu/libudev.so.0.13.0 /lib/x86_64-linux-gnu/libudev.so.1

      Reply
      1. Jeremy

        Correct follow all of Max’s guide and when you go to run ./cgminer -n and you get teh error. You also need to load up as a super user as I did . This would not work without being a super user.
        sudo su

        ln -s /usr/local/lib/libjansson.so.4 /usr/lib/libjansson.so.4
        ln -s /lib/x86_64-linux-gnu/libudev.so.0 /lib/x86_64-linux-gnu/libudev.so.1
        ln -s /lib/x86_64-linux-gnu/libudev.so.0.13.0 /lib/x86_64-linux-gnu/libudev.so.1

        dont worry if one of them gives you an error it will work. I wpent days figuring this out since Max has never answered any of my questions on here or facebook. I appreacite all that max does but I have no idea how any of you get responses from him when I have tried different ways.

        Reply
  53. Jean-Benoit

    Hello,
    Im getting this message :
    ./cgminer: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory
    I dont’know what is wrong …
    Kind regards,
    Jean

    Reply
    1. Jeremy

      Correct follow all of Max’s guide and when you go to run ./cgminer -n and you get the error. You also need to load up as a super user as I did . This would not work without being a super user.
      sudo su

      ln -s /usr/local/lib/libjansson.so.4 /usr/lib/libjansson.so.4
      ln -s /lib/x86_64-linux-gnu/libudev.so.0 /lib/x86_64-linux-gnu/libudev.so.1
      ln -s /lib/x86_64-linux-gnu/libudev.so.0.13.0 /lib/x86_64-linux-gnu/libudev.so.1

      Reply
  54. Max

    After following the steps and rebooting, ubuntu gets stuck in the purple screen. I have decided to try debian to see if it works better. Can I use the same steps listed here for debian?

    Reply
  55. Alps

    Hello,
    I have a gigabyte z77x motherboard and 5 r9 290 cards on my rig. I have disabled audio controller on bios but i just cant get two of the cards that are on pci extenders to get recognized. i have run the ati config after i plugged in those two cards and rebooted but when i run ./cgminer -n it tells me that i only have 3 cards when i have 5 plugged in.
    I greatly appreciate all the help. Thank you very much.

    Reply
    1. r109

      Alps google “Litecoin BAMT 1.5 usb bootable R9″ and download that for scrypt Altcoin should be on the litecointalk forums posted by “bee” if you want the repository it’s on bitbucket under user “beebee”

      Reply
  56. Mike

    Hi,

    This is all great stuff and got me farther than I was able to get on my own. Problem is I am also getting this message when I try to use cgminer to see the cards:

    error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory

    I’ve reloaded ubuntu a couple of times, wiped the disk, wiped it all and reloaded everything 3 times now. I am pasting the text directly from the site into the terminal and this is still what I am seeing.

    Does anyone have any suggestions? This is driving me absolutely bugshit.

    Thanks.
    Mike

    Reply
  57. peter

    I have the gigabyte 990fxa-ud3

    clean Ubuntu SSD load..

    could not get the internal realtek network card to be recognized ….. gave up on it reloaded win7 64 bit building second box with same MB any ideas to get nic working… looked at realtek driver site not sure if that is the correct drive for unbuntu…

    thx

    Reply
    1. wade

      if that doesnt work intsall the driver with the supplied driver disc from the mother board manufacturer or try and reinstall ubuntu. happend to me too.

      Reply
  58. Johnny

    Just putting this out there for those who had the same problem as me:
    I tried installing this 2 times in a row onto a flash drive as ext 4 journeying file system, did not work, it kept on saying something like verifying dmi data on boot which is normal but it did not go away, so instead of picking the ext4 file system for installation I picked ext2 and it worked.

    Reply
  59. Bangomatic

    Thank you for the excellent how-to video series! I have a request, could you do another video on how to install an alternate miner say for instance vertminer along side cgminer in ubuntu? I tried installing vertminer but it seemed to just hose up my ati drivers, I’m sure I did it wrong. Please Help! lol.
    Thanks again for the fantastic video’s !

    Reply
  60. spb

    Is there a way to PM you? I’m having a little trouble – everything went great, but when cgminer runs the terminal screen goes blank. My settings are all correct though.

    Thanks again.

    Reply
  61. 8-bit

    Max, thanks again for your guides!

    ive got 5 280x saphire GPUs but when i plug them all into my gigabtye 990fx mother board ubuntu desktop scambles and its hard to see files. but it appears fine with 3 gpus plugged in. with 4 gpus nothing shows up on monitor. ive got all 1x to 16 x unpowered risers.

    im currently installing graphic card drivers with 3 gpus plugged in and see if i can add the other two successfully later.

    i wonder whats going on, please shoot any ideas as i want to build a few more rigs

    Reply
      1. Max Lee Post author

        did u run step 14 after adding the cards? i dont know why but sometimes it takes a bit to get them running again. i usually add one card at a time then run step 14 then keep doing that until they are all recognized. its sometimes is painstaking but once u get them all recognized they work flawless for months.

        Reply
    1. Max Lee Post author

      Are they all new r9 280xes? You may want to check if the cards have custom bios installed. also run the Step 14 after u add more cards otherwise cgminer will not detect them.

      Reply
      1. 8-bit

        Max, thanks for getting back to me. Very cool, hope things are well.

        I plugged in one video card and ran terminal window to configure it to boot in Nomodset (http://ubuntuforums.org/showthread.php?t=1613132)
        Scroll down to : How to permanently set kernel boot options on an installed OS (not wubi)

        It was the best feeling I’ve had all month. Credit goes to Zsar for the help!

        Reply
  62. Berni

    Hey Guys i REALLY need your help!!!
    The Step as the cgminer should recognize my graphic cards (./cgminer -n) is not working for me! Some details: I am using Xubuntu 12.10 and Sapphire Radeon 7950 as cards, but the amd Catalyst driver should work just fine for them. I installed the amd catalyst 14.1. but that didn´t work.. so i took the 13.12. AMD Catalyst and the graphic drivers were installed – but cgminer can´t find my Sapphires…
    So what should i do? I am like crying.. and destroying my rig :D

    Thanks :)

    Reply
      1. Berni

        You Sir are a genius!
        I have one more question:
        I want to start cgminer automatically when i power on my Litecoin miner. But that did not work so far.
        Any tipps?

        Reply
  63. L

    If anyone can help….

    I followed the guide (great btw) and got it running
    I have 2 Asus R9 290, one on riser the other one on the mb, running at 870 and 780 KH/s, respectively
    great.
    Now I also have 2 Sapphire tri-x R9 290 that I would like to add. I have one on riser and I have my screen connected to it, so the mb does see it. However cgminer doesn’t. I tried to re-install the amd drivers, I did the sudo aticonfig –initial -f –adapter=all, rebooted…
    Nothing gives.
    and this is just to add the 3rd card…
    If anybody has any idea (simple please I’m a noob).
    Thanks

    Reply
    1. 8-bit

      im struggling with a simular issue, i got up to 4 working. but recommend switching thingzs around and starting backover to one gpu and add one at a time, and reboot

      Reply
    2. L

      Well I don’t know whether it might help someone but I finally got it
      Nothing to do with the install but instead with the mobo
      Asrock 970 Extreme 4

      DO NOT USE THE PCIe (blue) in the middle of the board !
      I changed where the cards where attached on the board and all are now recognized and running
      now let’s add card #4 ;-)

      Reply
  64. 8-bit

    I’m almost there! On step 12 after I type:
    sudo sh *.run –buildpkg Ubuntu/raring

    its says:
    ‘created directory fglrx-install.m5bvIW
    verifying archive integrity… Error in MD5 checksums x is different from x (x is the long checksum numbers)

    Cannot get the drivers to install, I have followed directions very carefully, everything has been done up to this point correctly.

    Reply
    1. 8-bit

      currently have 3 out of 5 cards detected. after running step 14 a few more times and rebooting still only shows 3

      im running the r 280x Saphire. It has a bios button on video card, not sure if that would help detection for some, however, my other three appear not to need it

      Reply
  65. Jim

    Set up two rigs (3x Sapphire 270X OC each) using this guide back in the middle of January. Worked great for a few weeks, until Ubuntu wanted to update. I updated one of the rigs, then was met with a non-recoverable login error loop. Sadly I had to install Win 7 on that one as several attempts to re-install 13.10 failed miserably: just a black screen with a movable mouse pointer would come up.

    I think these updates somehow messed with the 13.11 Catalyst drivers from AMD, and I hear the new 14.1 drivers are crap too.

    I was finally able to get BAMT SMOS 1.2 up and running one one rig but with only 3 GPUs : the fourth is not detected: still working on that problem, but I’ll take 3 out of 4 for the moment.

    I wish we had access to the original build Max used in the videos, because it was working GREAT across 3 of my rigs until those auto-updates hit.

    Reply
    1. Cy

      Now there’s something that would be great Jim. I would just love it if Jung, aka Max would make a link so we could download his version of ubuntu because I’ve had several requests to build by people that are as serious as I am about doing all of this without the use of the matrix corporations ie. Microsoft etc.. I like to remember that this love is to remove myself from as much of the fiat world as possible.
      Please please help us with this,,,,,,,,, anyone that has a great working version, one that we’d know not to let ubuntu do auto updates on until someone finds a working newer version.
      I do hope that what I’m asking works because I so want to get going but keep reading how so many just can’t get cards to work properly not to mention not even getting recognised.

      Reply
  66. Susan

    Hey there
    I want my miner to automatically start mining after Starting Ubuntu.
    But I do not know how i am doing this..
    Anybody there who can help me? And please step by step :D
    Thanks, Susan

    Reply
  67. 8-bit

    ive got 4 gpu’s ready to mine litecoin! last step, when i load minenow.sh i get this error:
    ‘unexpected extra commandline arguments’
    heres my minenow.sh file:

    export DISPLAY=:0
    export GPU_MAX_ALLOC_PERCENT=100
    export GPU_USE_SYNC_OBJECTS=1
    ./cgminer –scrypt -o http://mining.usa.hypernova.pw:3333 -u tommybstring -p1

    ? not sure whats wrong

    Reply
    1. zsar

      Hey man! it’s me again lol … you need to have a space after “-p” … instead of “-p1″ it should be “-p 1″

      Reply
      1. 8-bit

        thanks :) that got it working. now im just trying to get the settings for the video card in the config file right to get my r9 280x to 750 mh. I tired a few config files but my computer shut off immediatly after running cg miner.

        Reply
  68. L

    Ok, the saga continues…
    Rig is running headless. Installed SSH server and byobu. Great.
    can SSH in the rig but how do I get to see what cgminer is doing and modify its parameters if necessary?
    I tried screen -r but it says that there’s no session to attach to (while clearly I’m mining, so cgminer is running on the rig).
    Thanks for any help

    Reply
    1. Max Lee Post author

      For the first problem, are you using risers? Make sure the graphic cards are not close to each other, and make sure to use risers to separate them, if the cards are getting too hot, that may cause sickness.

      For second problem, try swapping out the risers. It’s weird but the risers sometimes work on certain motherboards and don’t on others, best way is to simply swap out for new ones until they work.

      Reply
  69. Yasin

    No ı cant use the x1 to x16 risers on Ubuntu 13.10 . ı have the Msi z87 g45 gaming motherboard.
    Do you suggest to try jumper wire the riser shourtcut. ??? thanks for your reply btw.

    Reply
    1. Max Lee Post author

      Make sure you run Step 14 after putting in all your cards then reboot, otherwise they cannot be detected.

      Reply
  70. Jehu

    Why didn’t you install AMD-APP-SDK-v2.9…would this make a different with hash rate or stability.
    I’ve read other how guides and they all seem to install SDK.

    Thanks

    Reply
    1. Max Lee Post author

      SDK is only needed when you compile your own CGMiner, the pre-built CGMiner already comes compiled with SDK.

      Reply
  71. Yasin

    Do you think is that will be difference than the Catalyst ? ı installed before and cgminer didnt work and ı formatted again ubuntu :)

    Reply
  72. Jehu

    Why didn’t you install AMD-APP-SDK-v2.9…would this make a different with hash rate or stability.
    I’ve read other how guides and they all seem to install SDK.

    Thanks

    Reply
  73. Luka

    Hey first of all Zedo, thanks for all your tutorials, you’ve been great help in android and now minig. Thanks alot.
    I’ve tested the new Catalyst drivers 14.1 on my 2 rigs with 6 r9 280x dual x. and the drivers are bad for hashrate.
    I couldnt get the cards to go over 570khs. Tried to uninstal the drivers and install the 13.11 over them but didnt help.
    So I had to install ubuntu all over from 0 and use only 13.11 drivers and now it works 720khs with no problem.
    So i advise not to use 14.1 drivers.
    Zedo do you have any tutorial on how to install a cgminer monitor, like in bamt so i can check my worker over ip address?

    Reply
    1. Max Lee Post author

      I don’t have a tutorial but if you use this auto start-up script here (See Step 4), you can access CGMiner by typing “cgm”. I may try using monitors in the near future though, will def. post results/howto once I do.

      Reply
  74. Diilan

    HEy Max thank you for everything I just want to ask you, can I mine doge coins using this version of ubuntu and linux in general? if yes is it the same conf to set up to mining dogecoins? thanks for response.

    THANK YOU

    Reply
  75. Luka

    Tnx if i find any solution i will send you. Because it is nice to have monitoring on all rigs so you can quickley check hashrate , temp and if any card is sick. That is good on bamt and you can ue putty to remotley use terminal. Im using rig renting and i need to check if all rigs are working so the customers are satisfied and using teamviewer on every single rig is time consuming. How do you monitor all your rigs? And do you have an automated way so you can change pools or coins on a whole farm at once.

    Reply
  76. Sam Power

    For anyone who had trouble with “libudev.so.1″, this is what worked for me

    —-> Use Ubuntu 13.10 instead of 12.10

    —–> After you run the command “sudo apt-get update” you need to run “sudo apt-get dist-upgrade”

    Reply
    1. Max Lee Post author

      Oh you don’t need SDK, I don’t think it will make any difference. But if you do find it does, let me know but I am pretty sure SDK is only needed for actually compiling cgminer or running litecoind, dogecoind, I believe CGMiner pre-built is compiled with SDK.

      Reply
  77. Przemo

    Hi thanks for tutorial. I followed all steps and get no errors until I run “sh minenow.sh”, I get message “‘ is not a number ’1″. I don’t know what is going on. cgminer is not starting at all. I use Mint 16 cinnamon.

    Reply
    1. zsar

      Can you paste the entire settings that you wrote?
      It is really hard to determine what is the problem if you don’t add more details.

      zsar

      Reply
  78. Jehu

    Przemo- make sure you have –scrypt after scrypt , if you copy and paste remove the original – and replace with — (double dashes) also make sure there is a space after -p 123123. I made the same mistake. He needs to correct this documentation.

    Reply
  79. polanskiman

    I can’t figure out the following part:

    “For partition, I recommend setting around 7.5GB to mount point “/” and 0.5GB to swap. If using a larger USB flash drive, just make sure your “/” mount point is larger than 7.5GB. You can use less but your system may slow down as Ubuntu system installation comes to near 5.6GB.”

    I’ve tried partitioning as indicated, all goes well but when I reboot I always end up with an un-bootable USB drive. It’s driving me nuts!!

    Any clues?

    Reply
      1. Polanskiman

        I have tried that and it works fine. I just wanted to go the same way as you and cryptobadger described in your tutorials. What am I missing when i create the partitions?

        Reply
  80. wade

    i have a question regarding hypernova. on the dashboard it shows your workers now on each worker icon there is a difficulty level should that be changed to 32 or left at 64? and what effect does it have on mining?

    Reply
  81. efitzhenry

    Hey max I just built a rig with some MSI 280xgaming3g Cards. I got them up to about 700 Khash no prob. But they are using around 500 watts each way too much. Any recommendations on this “undervolting” thing I read about everywhere to save some power?

    Reply
  82. guy11427

    Hi Max,
    Thanks for your guide. I have a question. A Ubuntu newbie question really, but it is not clear………
    How do you open a text editor?
    How do you save the minenow.sh file in the directory where CGMiner is?
    I’m giving Linux one more shot before I revert to Windows.
    Regards

    Reply
  83. TB

    hi

    thanks for the tutorial.

    i have just one problem, i can not download your files.
    when i click on “download now” i’am send to another page.
    can you solve this problem?

    thanks

    Reply
    1. Max Lee Post author

      I might try it out soon but I find Ubuntu overall is better because it comes loaded with drivers for different hardware. E.g. Bamt/SMOS does not support wireless adapters out of the box. Plus you can do much more modification with Ubuntu but I might test out Bamt soon I do like their statistics feature which is missing. Also there’s PHPMiner, which seems interesting.

      Reply
  84. Coopster

    Its official..im an idiot….went to pendrivelinux to download it, wasnt sure with one to download so i did both..both of them says missing file 7-zip. Whatever that means…can someone tell me what im doing wrong and help me get my rig up and running..or tell me where i can go…thanks

    Reply
      1. Coopster

        Thanks..still didnt work so i went somewhere and paid them to get in on usb drive..i got my rig built with a 990fxa-ud3 motherboard and now the problem is that the usb ports isnt reading the drive, keyboard or the mouse..is there something else i need for it to work, i put a 850w power pack, 4 g ddr3 and r7 260 graphic card. It turn it on and it everything looks like its working, but without usb ports working i cant tell..can someone help out in this matter..

        Reply
  85. Cy

    When choosing a video card, if I use an r9 280x what is the most important factor or factors, effective memory clock, boost clock, core clock or is it a combo of some?

    Reply
  86. Chris Taylor

    Hey @zedomax, I followed your guide and my 4 GPUs show up in Step 18 but I get this when running my CGminer. (using AMD Linux drivers 14.2 beta

    started cgminer 3.7.2
    clDevicesNum returned error, no GPUs usable
    No devices detected!
    Waiting for USB hotplug devices or press q to quit

    Before I did this I did step 18 and it showed all 4 of my GPUs their brand and everything. Not sure what is going on.

    Reply
    1. Max Lee Post author

      Rerun Step 14:
      sudo aticonfig –initial -f –adapter=all

      Then reboot, if your cards are all recognized, it will then work.

      Reply
      1. Chris Taylor

        Still gives me the error after I put that in and reboot. Here is what I did: I typed what you told me, rebooted, opened terminal and then started cgminer. When starting I got the same error. Quit out of CGmimer and typed in ./cgminer -n and got this

        CL Platform 0 vendor: Advanced Micro Devices, Inc.
        CL Platform 0 name: AMD Accelerated Parallel Processing
        CL Platform 0 version: Open CL 1.2 AMD-APP (1411.4)
        Platform 0 devices: 4
        0 Hawaii
        1 Hawaii
        2 Hawaii
        3 Hawaii
        GPU 0 AMD Radeon R9 200 Series hardware monitoring enabled
        GPU 1 AMD Radeon R9 200 Series hardware monitoring enabled
        GPU 2 AMD Radeon R9 200 Series hardware monitoring enabled
        GPU 3 AMD Radeon R9 200 Series hardware monitoring enabled
        4 GPU devices max detected
        USB all: found 9 devices – listing known devices
        No known USB devices

        Reply
  87. wade

    Hey thanks again for all your help. My Ubuntu mining rig keeps freezing it won’t run for longer then 24 hours. Any ideas?
    Mono -gigabyte 990fxa
    4 7970 cards
    1200 watt thermaltake and 750 corsair
    Kingston 4gb memory

    Any ideas?

    Reply
    1. ilian p

      Hmm Interesting, i got the same problem with smos, my rig works about 8 hours and after that .. down.
      May someone can make one checklist with various problem solutions?

      Reply
      1. wade

        Its random times. I just rearranged my powers supplies we shall see what happens its been running for 27 hours so far I think my 750 watt powering the mobo CPU and two gpu was too much I just swapped my mobo on to the 1200 watt.. cross my fingers.

        Reply
  88. Jeremy

    I am stuck at step 23 sh minenow.sh does not work. This is what it says.
    alpha1miner@Alpha1MinerPc:~/Downloads/cgminer-3.7.2-x86_64-built$ sh minenow.sh
    ./cgminer: /lib/x86_64-linux-gnu/libudev.so.1: no version information available (required by ./cgminer)
    [2014-03-12 13:51:40] Unexpected extra commandline arguments.

    Reply
  89. Coopster

    Thanks..still didnt work so i went somewhere and paid them to get in on usb drive..i got my rig built with a 990fxa-ud3 motherboard and now the problem is that the usb ports isnt reading the drive, keyboard or the mouse..is there something else i need for it to work, i put a 850w power pack, 4 g ddr3 and r7 260 graphic card and an AMD processor.. It turn it on and it everything looks like its working, but without usb ports working i cant tell since i have no video signal too..can someone help out in this matter..

    Reply
  90. Coopster

    Well..i think i already fried the mother board and havent even got it to work..:-( miner is already going into the shop before even started..it now wont even stay running..ill just let the shop fix it, then maybe i ca start getting money back..

    Reply
  91. SSX

    Thank you for your tutorial. It helped a lot!
    but I’m stuck near the end. Whenever I run the sh minenow.sh command I get the following error:
    ./cgminer: /lib/x86_64-linux-gnu/libudev.so.1: no version information available (required by ./cgminer)
    [2014-03-15 02:53:49] Unexpected extra commandline arguments
    Segmentation fault (core dumped)

    I dont know what it is. Do you have any suggestions?

    Reply
  92. Coopster

    Hey all, finally got my rig up, but i go to install ubuntu and it starts to load then comes up with
    Initramfs unable to find a medium containing a live file system..anyone can help me with this

    Reply
  93. Coopster

    Finally got it up and running…:-} now anyone can help me set the best performance wuld be great.. Im running an R7 260 Graphic Card..
    Plus my script
    -I 20 -w 512 –thread-concurrency=23792
    5s):171.1K (avg):179.7Kh/s | A:32 R:32 HW:0 WU:110.6/m
    ST: 2 SS: 0 NB: 1 LW: 6 GF: 0 RF: 0
    177.1K/180.8Kh/s

    Reply
  94. tioto

    hi all,
    i am using windows xp sp2 and i don’t have graphics card in it, but ati software tell xpress 200 in it but cannot see it on cgminer or i don’t have it in my pc,. or using a usb flash drive or pen drive helps in making a litecoin rig on my windows xp pc and installing ubuntu and graphics driver just your videos suggest doing on flash drive helps.

    P.S:
    ——-SUGGEST ANY METHODS—-
    How to make mining rig without hardware OR GRAPHIC CARD IN PC.
    USB flash drive alternate method

    thanks,
    Tioto.

    Reply
  95. guy

    Hello again, I am having an issue with a having black screen and my mouse is the shape of an “X” after reboot after installing AMD drivers. My card is an ASUS 280x and is is directly seated into the first 16x port. I downloaded 13.12 version of amd Catalyst twice after trying version 14 with same result, reinstalled Ubuntu three times, the last time i added “nomodeset” to the splash line in grub menu, and still i have the same result. This is drivin me crazy! if anyone has a remedy, please let me know and this is an awesome tutorial! Thanks in advance!

    Reply
    1. eru

      @guy, I see the same issue with ASUS R9 280x and AMD drivers on Lubuntu and Ubunut and Xubuntu. The drivers completely break the system. I have been able to revert by removing the AMD drivers (fglrx) using apt-get remove and then using sudo rm /etc/X11/xorg.conf and rebooting.

      The problem for me seems to be that the command sudo aticonfig –initial -f –adapter=all and then the reboot modifies the xorg.conf file to a point where the system can no longer start the GUI.

      I have successfully been able to mine from the command line but I want to mine from within the GUI in a terminal window. The AMD driver prevents this because it is completely broken.

      Reply
      1. Jamma

        I think I’ve just about tried every driver you can think of and found this is what works best. 13.11 is the best and most stable for ubuntu 13.10 and Xubuntu 13.10. Now as for Xubuntu 14.04, 13.11 drivers seems to lose the gui and can only use command line and 14.xx you get the gui but mining always crash after 20 minutes.
        Use Xubuntu 13.10 with 13.1 drivers you won’t have any issues with this how to.

        Good Luck

        Reply
  96. Eric

    Yo Max, awesome tutorial!

    having a little issue here…

    When I put in : unzip amd-catalyst-14.1-betav1.3-linux-x86.x86_64.zip

    I start having problems:

    eric@eric-MS-7693:~$ cd Downloads
    eric@eric-MS-7693:~/Downloads$ unzip amd-catalyst-14.1-betav1.3-linux-x86.x86_64.zip
    unzip: cannot find or open amd-catalyst-14.1-betav1.3-linux-x86.x86_64.zip, amd-catalyst-14.1-betav1.3-linux-x86.x86_64.zip.zip or amd-catalyst-14.1-betav1.3-linux-x86.x86_64.zip.ZIP.
    eric@eric-MS-7693:~/Downloads$ sudo sh *.run –buildpkg Ubuntu/raring
    sh: 0: Can’t open *.run
    eric@eric-MS-7693:~/Downloads$ sudo dpkg -i fglrx*.deb
    dpkg: error processing fglrx*.deb (–install):
    cannot access archive: No such file or directory
    Errors were encountered while processing:
    fglrx*.deb

    any help would be great, I’ve been up for 2 days straight and just wanna get this mining!

    Thanks!

    Reply
    1. Eric

      here is exactly where I keep getting stuck

      eric@eric-MS-7693:~/Downloads$ unzip amd-catalyst-14.1-betav1.3-linux-x86.x86_64.zip
      Archive: amd-catalyst-14.1-betav1.3-linux-x86.x86_64.zip
      warning [amd-catalyst-14.1-betav1.3-linux-x86.x86_64.zip]: 248380 extra bytes at beginning or within zipfile
      (attempting to process anyway)
      file #1: bad zipfile offset (local header sig): 248380
      (attempting to re-compensate)
      replace amd-driver-installer-13.35.1005-x86.x86_64.run? [y]es, [n]o, [A]ll, [N]one, [r]ename:

      Reply
      1. Eric

        then when I hit Y – it says: inflating: amd-driver-installer-13.35.1005-x86.x86_64.run
        error: invalid compressed data to inflate

        Reply
          1. Eric

            Still stuck – can’t get it working… tried everything… let me know what the next best step is – thanks!

            Reply
            1. Eric

              Ok I had my buddy help me out and get it going – the problem is if I put this info in my cgminer file, either line… it just shuts down the whole system one it starts mining:

              -I 20 -g 1 -w 512 –thread-concurrency 8192

              For the latest lower-end HD 7950 or 7970 graphic cards, I found the following parameters to work best:

              -I 13 -g 2 -w 256 –thread-concurrency 31792

              I have R9 280X’s – they hash around 17k… when I one of those lines… it just shuts the whole system down…

              Reply
  97. Eric

    if I keep going it just gets worse and worse:

    eric@eric-MS-7693:~/Downloads$ sudo sh *.run –buildpkg Ubuntu/raring
    Created directory fglrx-install.TGhivv
    Verifying archive integrity…Error in MD5 checksums: 6e7bf57fb69e68db4a1a87136408fe1a is different from ac99d3f0d03262776c49afdfb0710230

    Reply
    1. Eric

      eric@eric-MS-7693:~/Downloads$ sudo dpkg -i fglrx*.deb
      dpkg: error processing fglrx*.deb (–install):
      cannot access archive: No such file or directory
      Errors were encountered while processing:
      fglrx*.deb

      Man I am so stuck! And come so far!

      Reply
  98. Jose Anzola

    Heya mate, thanks for such a good guide! Just wanted to make ya an extra question…

    How can i make an “Auto Start Script”? so when i get any power drop on my rig and it turns on again, it can automatically start mining again?

    Also, a very small issue im having is that im monitoring my rig using teamviewer from my w7 pc, but ive noted that when i disconect the HDMI cable from my Television, teamviewer freezes, wont let me do anything else inside ubuntu…. eventhough (i think) its still mining as Hypernova keeps showing me good hashing rates….. Any ideas? Im using R9 270X (two of them)

    Thanks for all this!

    Reply
  99. Eric

    my buddy came over and helped me get cgminer running and vid cards detected… now issue is – can’t get the cards hashing above 17k a piece…

    I put in this in my cgminer to try and get them cranking like they should, but won’t go above 17.xxk

    -I 13 -g 2 -w 256 –thread-concurrency 8192 –gpu-powertune 20 –temp-cutoff 99 –temp-overheat 95 –temp-target 90 –gpu-fan 40-100 –auto-fan –gpu-engine 1014 –gpu-memclock 1718

    any suggestions to get them pumping?

    Reply
    1. Shawn

      Eric I was having the same problem. And I am still stuck can you tell me what your friend did to help you get past this?

      Reply
  100. Jehu

    Hey now that I got this working can you do a how to step by step for Vertcoins please.
    Searched all over the internet and the instruction are not good for noobs or they are all Windows.

    Thanks

    Reply
  101. Shawn

    Eric I was having the same problem. And I am still stuck can you tell me what your friend did to help you get past this? I refering to the catalyst and drivers issue. I want to get this thing running too!

    Reply
  102. Fire and Ice

    I keep getting the same error as Eric was, PLEASE can you let me know what you friend did to help you Eric?? I have downloaded the catalyst drivers about 5 times, each time the same problem:

    Archive: amd-catalyst-14.1-betav1.3-linux-x86.x86_64.zip
    warning [amd-catalyst-14.1-betav1.3-linux-x86.x86_64.zip]: 248380 extra bytes at beginning or within zipfile
    (attempting to process anyway)
    file #1: bad zipfile offset (local header sig): 248380
    (attempting to re-compensate)
    replace amd-driver-installer-13.35.1005-x86.x86_64.run? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
    inflating: amd-driver-installer-13.35.1005-x86.x86_64.run
    error: invalid compressed data to inflate

    Has anyone else had and fixed this error? Please share if you have….

    Reply
  103. Jamma

    I use unzip amd-catalyst-13.11-beta-v9.4-linux-x86.x86_64.run.zip…catalyst 13.11 and it works for me on all rigs I’ve installed. Some people on the internet complain catalyst 14.xx can give issues so I stay away from it, might work for some but I can tell you 13.11 works great with my 7950 and R9 270 cards.
    Try and see…also look out for Step 21 –scrypt if you copy and paste, should be double dashes – - and a space after -p that almost drove me nuts.
    Good Luck

    Reply
  104. Jehu

    I would really love to mine vertcoins but can’t seem to get it working…please, please, do a vertcoin how to.
    Thanks :)

    Reply
      1. Jamma

        Wow still no Vertcoin how to…I have give up and going to try Windows 8.1.
        When you get one out I will give it a try.

        Reply
  105. eru

    At step 14 when I reboot the GUI will not reappear. Everything works fine up to that point. I’ve tried installing the AMD drivers on various colours of ubuntu (lubuntu, xubuntu, ubuntu) and every time at step 14 the installation of the AMD drivers breaks the previously working system.

    Reply
  106. Mabel

    It’s hard to find your website in google. I found it on 15 spot, you
    should build quality backlinks , it will help you to get more
    visitors. I know how to help you, just type in google
    - k2 seo tips and tricks

    Reply
  107. Kay

    I notice the blog has been around for some times but
    Could you please tell me your computer specification.

    Thanks

    Reply
  108. Kay

    Hello Max I don’t know if you got my message. Could you please tell me what is the computer specification you are using. The processor and RAMs

    Thank very much

    Reply
  109. Cy

    OMG how did this “In response to the likely earnings reduction
    that generics would cause,” get into this forum???

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam Protection by WP-SpamFree