In the second installment of our DIY litecoin mining guide, we’ll look at how to install and configure Linux to properly mine with your GPUs at optimal settings. Don’t be dissuaded if you’ve never used Linux before—our step-by-step guide makes it easy.
Linux has a few advantages over Windows, including the ability to install to a USB stick (which means you don’t need a harddrive), lesser hardware requirements (you can get by just fine with less than 4GB of RAM), and simpler remote administration capabilities. Best of all, Linux is free! However, be aware that if you’d like to undervolt your GPUs to save power, Windows might be a better choice for you (update 10/2013: no longer true!).
If you missed the hardware portion of our guide, make sure to check it out first. Otherwise, read on.
Build a Litecoin Mining Rig, part 2: Linux Setup
So you’ve decided to use Linux to run your mining rig—a fine choice! If you’re still a bit nervous because you’ve a complete Linux newbie, don’t be. Simply follow the step-by-step instructions exactly as they’re written, and you’ll be fine. Even if you’ve never done anything like this before, you should be up and running in about an hour.
Step 1: Configure BIOS settings
Before we even get to Linux, make sure your mining computer’s BIOS settings are in order. Power on your computer, and press the “delete” key a few times immediately after power on. You should end up in the BIOS configuration area. Do the following, then save & exit:
- Change power options so that the computer automatically turns itself on whenever power is restored. The reason for this is two-fold: first, it’ll make sure that your miner automatically starts up after a power outage. Second, it makes powering the computer on much easier if you don’t happen to have a power switch connected to the motherboard.
- Make sure that your USB stick is first in the boot-up order (you may need to have a USB stick attached).
- Disable all components that you don’t plan to use. This will save a little bit of power, and since your miner will likely be running 24/7, it’ll add up. For me, that meant disabling onboard audio, the SATA controller, the USB 3.0 ports (I only had a 2.0 USB stick), the Firewire port, and the serial port.
Step 2: Install Xubuntu Desktop to your USB stick
Xubuntu is a lightweight version of Ubuntu, a popular Linux distribution. Most other distros should work just fine, but be aware that the GPU drivers require the presence of Xorg, which means server distros that don’t have a GUI will not work properly.
- Download the Xubuntu Desktop x64 v12.10 installation image.
- You’ll need to either burn the installation image onto a CD, or write the image to a second USB stick. If you use a CD, you’ll need to temporarily hook up a CD-ROM drive to your mining rig for the installation (make sure you temporarily enable your SATA controller if you disabled it in step 1!).
- Once you have the installation media prepared, you’re ready to install Xubuntu to the blank USB stick on your miner. Make sure your blank USB stick is inserted into a USB port on your mining, and then boot into your installation media. The Xubuntu installer should appear.
- Make sure to click the “auto-login” box towards the end of the installer; otherwise take all of the default installation options.
- If you’re using a USB stick that is exactly 8GB, the installer may complain about the default partition sizes being too small. Create a new partition table with these settings: 5500mb for root (/), 315mb for swap, and the remaining amount for home (/home). If you’re using a USB stick larger than 8GB, you will not have to do this.
- When the installation is complete, you should automatically boot into the Xubuntu desktop. Make sure to remove your installation media.
Step 3: Install AMD Catalyst drivers
Open a terminal session by mousing over the bottom center of the screen so that a list of icons appears. Click on “terminal” (it looks like a black box).
- Type the following commands (press “enter” at the end of each line and wait for Linux to finish doing it’s thing):
sudo apt-get install fglrx-updates fglrx-amdcccle-updates fglrx-updates-dev sudo aticonfig --lsa sudo aticonfig --adapter=all --initial sudo reboot
- After your computer reboots, you can verify that everything worked by typing:
sudo aticonfig --adapter=all --odgt
- If you see all of your GPUs listed, with “hardware monitoring enabled” next to each, you’re good to go.
Important: you may need to have something plugged into each GPU to prevent the OS from idling it. You can plug 3 monitors into your 3 GPUs, but that isn’t very practical. The easiest option is to create 3 dummy plugs, and leave them attached to your GPUs. They’ll “trick” the OS into believing that a monitor is attached, which will prevent the hardware from being idled. Check out how to create your own dummy plugs.
If you ever add or remove GPUs to your rig later, you’ll need to re-run this command: sudo aticonfig --adapter=all --initial
Step 4: Install SSH, Curl, and package updates
- Install SSH by typing:
sudo apt-get install openssh-server byobu
With SSH installed, you can unplug the keyboard/mouse/monitor (put dummy plugs into all GPUs, though) from your miner, and complete the rest of the installation from your desktop computer. Simply download Putty onto your desktop, run it, and enter the IP address of your mining rig. That should bring up a remote terminal session to your miner, which is more or less just like sitting at the keyboard in front of it.
If you plan to manage your mining rig remotely over the internet, you’ll need to forward port 22 on your router to your miner. Make sure that you use a strong Xubuntu password!
Setup should be quicker from this point, as now you can simply copy text from this webpage (highlight it and press control-C) and then paste it into your Putty session by simply right-clicking anywhere inside the Putty window. Neat, eh?
- Install Curl and package updates by typing (or copying & pasting into Putty) the following commands:
sudo apt-get install curl sudo apt-get update sudo apt-get upgrade
Step 5: Install cgminer
Cgminer is the mining software we’ll be using. If the first command doesn’t work, you’ll need to check out the cgminer website and make a note of the current release version. Substitute that in the commands below.
Update: Cgminer 3.7.2 is the last version to support scrypt—do not use any version after that! In addition, depending on which version you choose to use, you may receive an error complaining about libudev.so.1 when you try to run cgminer—you can find the fix for that here.
- Type the following:
wget http://ck.kolivas.org/apps/cgminer/2.11/cgminer-2.11.4-x86_64-built.tar.bz2 tar jxvf cgminer-2.11.4-x86_64-built.tar.bz2
- If everything was uncompressed successfully, we can delete the downloaded archive; we don’t need it anymore:
rm *.bz2
- Now check if cgminer detects all of your GPUs properly:
cd cgminer-2.11.4-x86_64-built export DISPLAY=:0 export GPU_USE_SYNC_OBJECTS=1 ./cgminer -n
Step 6: Create cgminer startup script
We’re almost done—now we just need to create a few simple scripts to control cgminer.
- If you’re still in the cgminer directory from the previous step, first return to your home directory:
cd ..
- Type the following to create a new file with nano, a Linux text editor:
sudo nano mine_litecoins.sh
- Type the following into nano (note where the places you need to substitute your own usernames!) :
#!/bin/sh export DISPLAY=:0 export GPU_MAX_ALLOC_PERCENT=100 export GPU_USE_SYNC_OBJECTS=1 cd /home/YOUR_XUBUNTU_USERNAME/cgminer-2.11.4-x86_64-built ./cgminer --scrypt -I 19 --thread-concurrency 21712 -o stratum+tcp://coinotron.com:3334 -u USERNAME -p PASSWORD
- Save the file and quit nano, then enter the following:
sudo chmod +x mine_litecoins.sh
Note that the cgminer settings we’re using in our mine_litecoins.sh script correspond to a good starting point for Radeon 7950 series GPUs. If you followed our hardware guide, these settings will give you good hashrates. If you’re using another type of GPU, you’ll want to use Google to find optimal cgminer settings for it.
Also note that you’ll need to create an account at one of the litecoin mining pools, and plug your username and password into the script (the -u and -p parameters). I have Coinotron in there as an example, but there are quite a few to choose from.
Step 7: Create auto-start scripts
We want cgminer to automatically start mining whenever the rig is powered on. That way, we keep mining losses to a minimum whenever a power outage occurs, and we don’t have to worry about manually starting it back up in other situations.
- Type the following to create a new script and open it in nano:
sudo nano miner_launcher.sh
- Enter the following text into the editor (substitute your Xubuntu username where shown!):
#!/bin/bash DEFAULT_DELAY=0 if [ "x$1" = "x" -o "x$1" = "xnone" ]; then DELAY=$DEFAULT_DELAY else DELAY=$1 fi sleep $DELAY su YOUR_XUBUNTU_USERNAME -c "screen -dmS cgm /home/YOUR_XUBUNTU_USERNAME/mine_litecoins.sh"
- Save and quit nano, and then type:
sudo chmod +x miner_launcher.sh
- Now we need to call our new script during startup; we do that by adding it to /etc/rc.local. Type the following to open /etc/rc.local in nano:
sudo nano /etc/rc.local
- Add the following text, right above the line that reads “exit 0” (substitute your own username!):
/home/YOUR_XUBUNTU_USERNAME/miner_launcher.sh 30 &
Step 8: Create an alias to easily check on cgminer
We’re essentially done at this point, but you’ll probably want to manually SSH into your miner from time to time to manually check on your GPU temperatures & hashrates, etc. Creating an alias will make that easy.
- Type:
sudo nano .bashrc
- Scroll to the end of the file, and then add this text above the line that reads “# enable programmable completion…”
alias cgm='screen -x cgm'
- Save and quit out of nano.
That’s it—you’re done! You’ll probably want to test everything now. The easiest way to do that is to close your Putty session and power down your miner. Turn it back on and the following should happen:
- Your miner should boot into Xubuntu. This may take about a minute, depending on the speed of your USB stick.
- 30 seconds after Xubuntu has loaded, cgminer will automatically start and begin mining. You’ll probably notice the fans on your GPUs spin up when this happens.
- You should be able to SSH into your miner at any time and type cgm to bring up the cgminer screen. To close the screen (and leave cgminer running), type control-A, then control-D.
- If you ever need to start cgminer manually (because you quit out of it, or kill it, etc), simply type ./miner_launcher.sh
Congratulations—you have your own headless linux litecoin miner!
The next section of our guide covers setup under Windows, and then we take a look at optimizing cgminer settings for better performance.
I’ve found that when I go between using powered 1x to 16x PCI-Express risers and 16x Risers the only way to get them to work is to use this command. The -f apparently makes the difference.
“sudo aticonfig –initial -f –adapter=all”
“sudo reboot”
I actually run those commands every time I restart the rig. Most of the time if I don’t, only one card hashes full on and the others hover around 400 kh/s. I have 2 powered 1x-16x risers with 5 gpu.
Hello, CB, thanks for putting together a nice guide.
I am using 2 sapphire HD 7950 cards (11196-19-20g) and Z77a-GD65 mobo. I followed your guide with xubuntu 12.10 and cgminer 2.11.4, but I found the two cards has only 600 kH/s rate. One card is connected to monitor, the other has either dummy plug or another monitor and there is no difference. If I remove the dummy plug, the rate drop to 300 kH/s.
I checked the status of the cards during mining, they both show 96% of load and both cards are hot. I am very confused right now and could you please give me some suggestion?
Should I try a different card driver? do I need to flash the mobo bios? Dose the mining pool matter? I am using weminelte.com
Thanks.
Hello!
I have added a second 7950 to my rig (board is a MSI 970A G46). Both connected to the 16X slots (without raisers). Now Xubuntu is not booting! The GPUs are really hot and the fans at 4000 rpm !!!
After the Grub menu it hangs with a black screen. The tty mode isn’t available.
Tried to re install the Xubuntu but it also hangs.
(If I remove the second GPU everything works fine)
What should I do?
Are the cards the same? What happens if you swap them?
Yes. Both cards are MSI R7950 Twin Frozr 3GD5/OC.
If I swap them the behavior is the same.
The following requires an active SSH server when the machine boots up.
Please start your rig with only one card.
Then run ‘sudo rm -rf /var/log/Xorg*’
and ‘sudo echo “- – – manual cleanup – – -” > /var/log/messages’
Now shutdown the rig and fit in the second card.
Boot up and connect via SSH, then look for problematic messages in /var/log/Xorg.[0-9].log (e.g. Xorg.0.log) and /var/log/messages.
(I’d recommend using ‘less /PATH/TO/FILE’ for that, since it enables you to scroll up and down if the content would overflow your actual viewport)
Hi Guys, I need some help. I (foolishly) copy and pasted some configurations into my mine_litecoins.sh and it hangs xubuntu before I can do anything significant in the terminal window. How can i stop the auto boot of cgminer so that it does cause this issue. Many thanks
You may have to reformat your flash drive and start fresh to eliminate the issue
Solved!!
thanks ezpacer, but i was lucky enough to be able to delete miner_launcher.sh before the 30 secs was up without using the terminal.
I suggest changing this:
/home/YOUR_XUBUNTU_USERNAME/miner_launcher.sh 30 &
to
/home/YOUR_XUBUNTU_USERNAME/miner_launcher.sh 45 &
to give anyone else a little more time. A slightly slower system and I would have lost about 4-5 hours. So I actually have 60 in there.
Such things don’t come with the cost of reformatting a whole drive…
Just boot up a live linux, plug in the stick and delete / change your problematic file.
Which version of Cgminer 3.7.2 would I download for a Linux run system there are several to choose from . Thanks
Just substitute 3.7.2 in place of the command to download 2.11.4 in the guide. Good Luck
Thanks will give that a try.
I replaced 3.72 into the script like mentioned and it will not connect , timesout after 19 attempts.any ideas? Im typing it on the mining rig not remotely using Putty. still have keyboard and monitor attached
wget http://ck.kolivas.org/apps/cgminer/3.7/cgminer-3.7.2-x86_64-built.tar.bz2
tar jxvf cgminer-3.7.2-x86_64-built.tar.bz2
The site was down last nite as well. Try to look at it on web browser to make sure he didnt m9ve stuff around
hi i think i did everything allright
but when i typ “cgm” to monitor cg miner i get:
“There is no screen to be attached matching cgm.”
is this bad??
mark, your miner is not running likely due to miner_launcher.sh not starting it. go into your last steps of the guide, check letter by letter your entries compared to the guide, make your entries look exactly like the guide, because you have a mistake somewhere in your work from that section, or earlier in writing nano mine_litecoins.sh. Before you do this, Start cgminer with this command
./mine_litecoins.sh
If it starts and connects to the pool, then the trouble is with miner_launcher.sh. Just check every step through the guide from miner_launcher.sh on to the end of the instructions. If it doesn’t start, the problem is in the nano mine_litecoins.sh file. Good Luck!
I installed xubuntu and when i try to install the drivers, it says….
E: Unable to locate package fglrx-amdcccle-updates-dev
i am thinking this has something to do with xorg?
i am linux illiterate so if someone could help i would much appreciate it…
Looks like a typo:
sudo apt-get install fglrx-updates fglrx-amdcccle-updates fglrx-updates-dev
Looks like you are typing: fglrx-amdcccle-updates-dev
Followed everything to a “T” but having difficulty determining if it’s doing anything.
Cgminer “saw the cards”. I went forward with the remaing directions to turn it into a headless machine.
Now if I can’t connect to it using putty, can I simply plug a monitor into it and see what is happening or is there a command I need to send the “screen” back to the machine?
Newbie, you probably need to reconnect with monitor , mouse and keyboard to check it out. In the terminal screen, type cgm to bring up the screen of the miner crunching work at the pool (if it is connected to the pool). You can adjust the GPU’s while in the screen by pressing “g” on the keyboard, then “c” to change GPU settings. It is important to enter “20” as the setting for Powertune for the GPU, which will give you the max kh/s for your GPU at whatever eng. and mem. settings you have selected. I’m getting 600- 630 kh/s with engine 1050, memory 1450 and powertune 20, for each of my 3 Sapphire 7950’s. Then hit any random key twice to go back to the production screen. Hit “control a,d” to exit back to the terminal prompt.
While in the terminal screen, find out the rig’s IP address by typing /sbin/ifconfig and hit “enter. The address is in the first few lines this command pulls up. Then you can put the IP address in the putty screen on your everyday windows computer to connect to the miner terminal screen. You will have to type your username from xubuntu, and your xubuntu pw to get in. You’ll not see your pw as you type it, just hit enter, after typing it. Good Luck!
My rig hangs sometimes on a grub screen… not sure why. If I have keyboard and monitor I can start X Ubuntu
What is the ROOT password for this install.
su – ? what do i need to enter?
cheers
ps for those wondering how to get administrative root access on this install:
sudo passwd
enter new passwd
then do a ” su -”
and you have root access
hope it helps
Sorry, actually sudo su to get elavated privs.
Again, changing the default root pwd as decribed is not recommended! sudo su is the way to go.
sudo passwd
enter new passwd
then do a ” su -”
and you have root access
Hi root,
the root password in ubuntu or xubuntu is hidden from the end user and can’t be accessed. It’s built this way to protect the user and even though there is a way to change it, it’s not recommended.
The su (super user) is the way the system is designed to give you the permissions you need to perform root functions without comprimising security.
When you use putty to ssh into your box you need to provide the username and password for the account you created when you installed the system. Then once you are logged in use su to give you the permissions you need to get the job done.
From windows the command would look like this from the command line:
putty.exe -ssh username@yourip
You will then be prompted to enter your password, the one you created during setup.
If you are using the gui, you can provide your username and password under the ssh menu on the left.
http://etherealmind.com/putty-command-line/
Can someone confirm that the following commands are correct to install the amd graphics drivers for an Asus R9 280x on Ubuntu?
sudo apt-get install fglrx-updates fglrx-amdcccle-updates fglrx-updates-dev
sudo aticonfig –lsa
sudo aticonfig –adapter=all –initial
sudo reboot
I thought I installed these correctly but after the reboot it hangs on the splash screen. I’m a linux dummy so I’m kinda lost. I can boot to the Grub Menu and go to recovery mode but I’m not sure what strategy to take at this point. Should I just reinstall the OS, or is there a way to uninstall the drivers and start over…or what I really want to do is to just install windows but i wanted to take this opportunity to work with ubuntu. Thanks everyone for any assistance!
try pasting this or from in the above instructions:
sudo apt-get install fglrx-updates fglrx-amdcccle-updates fglrx-updates-dev
sudo aticonfig –lsa
sudo aticonfig –adapter=all –initial
sudo reboot
it should be — instead of – in front of lsa, adapter and initial.
hope that helps
whoops, that didn’t paste right, I meant it should be two hyphens instead of one.
Hi Jim,
I really appreciate your assistance! I’ve been working on setting up this rig for a couple days non stop and it’s been a bear. I’m the furthest along today then I have been so I’m excited. I did go ahead and reinstall linux on the USB installed the OS security updates.
So I successfully executed the following commands:
sudo apt-get install fglrx-updates fglrx-amdcccle-updates fglrx-updates-dev
sudo aticonfig –lsa
however when I execute this line:
sudo aticonfig –adapter=all –initial
I get the following output……
sudo aticonfig –adapter=all –initial
No layout section was found in the file: ‘/etc/X11/xorg.conf’.
Please run ‘aticonfig –initial’ first or modify your configuration file manually and run aticonfig again.
aticonfig: parsing the command-line failed.
Any ideas here….? I was exploring the GUI and found settings for the adapter where you can change it from xorg drivers to other driver options but did not want to change anything yet.
Thank You!!!!
my xubuntu 13.10 is also hanging on the grub screen and will not install xubuntu. using asrock 970 mobo any ideas. might have to try reflashing 13.04
Trying to install 2x ( R9 270x )
xubuntu (complete noob)
I run the first command, does a lot of stuff.
second command ( sudo aticonfig –lsa )
I get the error:
aticonfig: No supported adapters detected
Super frustrated, please help
I got same problem and with 270x and I solved it with this:
http://www.thefanclub.co.za/how-to/ubuntu-amd-catalyst-install
Just run the program through and choose the beta version of driver.
For installing xubuntu 13.10 and R290x I had to take a slightly different approach – was getting stalled out at the splash screen after following the graphics install steps.
1) Reinstall XUbuntu (easier with a clean slate)
2) Download latest driver: http://support.amd.com/en-us/kb-articles/Pages/latest-linux-beta-driver.aspx
3) Run the remaining steps from the guide:
sudo aticonfig –lsa
sudo aticonfig –adapter=all –initial
sudo reboot
After that was good to go – hope this helps anyone else who hits that snag
Hey Man, Thanks so much for posting the article it’s been very helpful to get me started. I am having an issue with utilizing cgminer on ubuntu 12.4. I am at the end of STEP 5 and cgminer does not detect my gpu device
[2013-12-08 01:56:00] CL Platform 0 vendor: Advanced Micro Devices, Inc.
[2013-12-08 01:56:00] CL Platform 0 name: AMD Accelerated Parallel Processing
[2013-12-08 01:56:00] CL Platform 0 version: OpenCL 1.2 AMD-APP (1124.2)
[2013-12-08 01:56:00] Error -1: Getting Device IDs (num)
[2013-12-08 01:56:00] clDevicesNum returned error, no GPUs usable
[2013-12-08 01:56:00] 0 GPU devices max detected
[2013-12-08 01:56:00] USB all: found 13 devices – listing known devices
[2013-12-08 01:56:00] No known USB devices
Any suggestions?
Thanks!
Also after going through the whole process and trying to run cgm through an ssh connection I get the error ‘There is no screen to be attached matching cgm.’
Receive this as well. Having a tough time of this one haha.
[2013-12-08 03:34:21] Started cgminer 2.11.4No protocol specified
No protocol specified
[2013-12-08 03:34:22] Error -1: Getting Device IDs (num)
[2013-12-08 03:34:22] clDevicesNum returned error, no GPUs usable
[2013-12-08 03:34:22] No devices detected!
[2013-12-08 03:34:22] Waiting for USB hotplug devices or press q to quit
[2013-12-08 03:34:22] Need to specify at least one pool server.
Input server details.
URL:
Try xubuntu 13.04 and cgminer 3.7.2 and try the latest AMD cat’s. The link is in these comments at least twice.
Please help,
I don’t think I’m installing cgminer correctly. I can’t open it at all. I got all the way to this step
sudo chmod +x miner_launcher.sh
once i enter this, i get nothing. The program just hangs there. What am i doing wrong??
Youre doing nothing wrong. That command just sets the file to be allowed to execute. It doesnt execute it.
execute it with
./miner_launcher.sh
My rig has a serious problem. It starts up and is fine but within a day the hash rate will crash. At its peak hash rate is 1883 and slowly the hash rate will decline to 0. The only solution I have found is to restart the miner, but it happens so often that it is such an inconvenience.. not to mention the downtime when I’m sleeping that could be used for mining. I have no idea what is causing the gpus to crash. I have followed your guide to the letter with msi 7950 twin frozr III. I would appreciate your help on this matter greatly.
Maybe see how long it takes for this to occur, and set a script or cron job to restart the system?
That’s all I got on this issue, other than reinstalling from scratch of course.
Thanks for the great guide!
My questions are I didn’t choose to auto log in at the start of the Xubuntu – how can I do this
Also I was reading that the GPU dummy plug thingy may no longer be required and some suggestions around enabling this under Linux via some commands
Again, thanks for the guide!
Do you have any experiences with your worker turning into non active for no reason? Mine dropped just out. I booted and ran things in terminal. No life in pool after 20 minutes of waiting.
hi,
i´m using 3 xfx 7970 on a rig with xubuntu
cgminer shows only one card heating up,
a total hasrate of around 500kh/s and each card shows a third of the 500…
also the clocks on the other 2 cards are very low (eng. 300mhz and mem. 150mhz) and the activity is at 0%
tryed with and without crossfire bridges, with and without monitors attached to the cards, differend settings in the config (thread-cocurrency, clocks for each card…) but there are no changes whatsoever to the hashrate.
i would be sooo lucky if anyone could give me a little tip.
p.s.: sry for my bad english, im from germany 😀
update: updating the ati drivers seems to do the trick…
all three running at about 500kh/s now and the total is the sum of the three cards.
now i finally can go on with some optimizing 😀
Any reason my cgminer seems to be mining BTC instead of LTC after doing this tutorial? no stats showing up on my LTC pool site and the miner seems to be mining in Mhash/s which isnt right for LTC.
(5s):131.2M (avg):131.1Mh/s | A:0 R:0 HW:0 U:0.0/m WU:2.0/m
ST: 2 SS: 0 NB: 6 LW: 70 GF: 0 RF: 0
add –scrypt to the startup arguments
Great set of instructions! Thanks for all your hard work. Now I’ve got a question:
Installed all software on new system as instructed. Everything installs, but I can’t get my ASUS F2 A85-V Pro to use onboard video for my monitor and the Gigabyte HD 7850 (I know – slow, but I have two 7950’s on the way) for cgminer.
cgminer sees the GPU correctly (the 7850). I’ve tried enabling onboard video, but when I do, the system fails to boot.
Please help, I cant get into bios menu.
Im not sure what im doing wrong but my screen wont work. Im using the alternative gigabyte motherboard with a few gigabyte 280x for now.
-Which videocard do i plug in the monitor to?
-Do I use the dvi display port or the hdmi?
-Does the keyboard have to be plugged into usb or the old keyboard port?
Also should any fan spin upon power up or is all that temperature controlled?
Check all power cables, the fans should be spinning all the time. Use HDMI in the GPU in the first 16x slot.
[…] (source: http://www.cryptobadger.com/2013/04/build-a-litecoin-mining-rig-linux/) […]
This was extremely helpful. I’m definitely going to send some LTC your way once I mine it.
Quick question. My friend did the windows version and I did ubuntu. Same exact hardware, but he is pulling 400 Kh/s and I’m only getting 100 Kh/s with Power-Color 6950s. Any suggestions? We even uses (basically) the same scrypt but I’m beginning to think it is the drivers or something. Any help would be appreciated.
Try reducing the clock speed of the GPU’s. My Gigabyte R280x’s run at 1100mhz/1.2v stock and I was getting around 600kh. I reduced the vddc to 1.150 and the clock speed to 1040 and I get 725kh per card.
Speed will kill the hashes here 🙂 – maybe windows is just better at managing the clocks of the cards than linux.
The AMD driver thing was killing me, thanks to your tutorial and https://launchpad.net/~makson96/+archive/fglrx for the legacy driver support I FINALLY got my AMD4770 to use the drivers. Not gonna be the best rig but I’m just running it with old parts. 350W PS, 4GBram, AMD4770, and this Linux run off a 32GB 133xCF card connected to SATA adapter. Not expecting high hash rate. something to play with and MAYBE make some coin.
[…] followed this guide: http://www.cryptobadger.com/2013/04/build-a-litecoin-mining-rig-linux/ which had me install catalyst drivers. I’m not sure what the problem is, any help is much […]