Gazza1 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 15, 2014, 04:16:50 PM Last edit: January 15, 2014, 04:33:54 PM by Gazza1 |
|
Does somebody have a step by step guide for setting up mining in Linux? I prefer Xubuntu, or something lightweight and fast, Ubuntu would be fine too though. I've tried many of the guides on the internet and they all seem to come up with an error at one point or another.
This is for GPUs
I'm just looking for something straight forward.
|
Impossible is a word found only in the dictionary of fools.
|
|
|
Gazza1 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 15, 2014, 05:39:41 PM |
|
bump for move
|
Impossible is a word found only in the dictionary of fools.
|
|
|
|
chek2fire
Legendary
Offline
Activity: 3416
Merit: 1142
Intergalactic Conciliator
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 15, 2014, 10:49:26 PM |
|
What you need to know and what you want to mining? I have setup a netbook with xubuntu and some asic usb miners
|
|
|
|
Gazza1 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 17, 2014, 12:08:25 AM |
|
Thanks man. Best guide I've seen so far. I followed everything to a T and the miner won't start when it reboots or even if I execute it directly. I don't know what I could of done wrong. I'm testing it on my main machine with just one video card since I am still learning. Everything seemed to go sucessfully after trying it multiple times, the miner just won't start. I wish I could say where it might be going wrong. I am really looking forward to figuring this out and to be done with teamviewer and windows.
|
Impossible is a word found only in the dictionary of fools.
|
|
|
Kenshin
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 17, 2014, 12:11:51 AM |
|
You must have done something wrong. Did you use the same hardware as described in the list?
Tell us what your hardware, PSU, GPU, Motherboard, RAM. And we can help you.
|
|
|
|
Gazza1 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 17, 2014, 12:14:08 AM |
|
My main machine is using an Asus P8-Z77M Pro, 3770k, 16GB ram, a fresh empty install on SSD, Corsair HX 750, and a single sapphire 7970.
My other rigs are sapphire 7970s and 280x's with all corsair and seasonic gold with MSI z77a-gd65 mobos, 8gb ram, and ivy bridge g1610's
I used the Xubuntu 12.10 from the link and the recommended version of cgminer
For now I am just trying it on the main rig until I get it right
|
Impossible is a word found only in the dictionary of fools.
|
|
|
jdh015232
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 17, 2014, 12:16:28 AM |
|
my guide says to buy windows...:p
|
|
|
|
Kenshin
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 17, 2014, 12:18:15 AM |
|
Did you install the drivers, like in the guide? You said the miner will not start. You mean the whole PC got no power? or the GPU just not mining? Did you do this part? 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
|
|
|
|
Gazza1 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 17, 2014, 12:23:25 AM |
|
Yes I did that part and the verify worked. The machine boots, the cgminer just won't start
|
Impossible is a word found only in the dictionary of fools.
|
|
|
XBladeRunner
Newbie
Offline
Activity: 34
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 17, 2014, 12:44:25 AM |
|
Do you mean does not start at system boot or won't start manually? Are there any error messages?
|
|
|
|
Gazza1 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 17, 2014, 12:53:38 AM |
|
no error messages at all throughout the whole process. It won't start at boot, or manually from the terminal or right click execute
It must be something really simple I'm just not seeing
|
Impossible is a word found only in the dictionary of fools.
|
|
|
Kenshin
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 17, 2014, 01:42:30 AM |
|
no error messages at all throughout the whole process. It won't start at boot, or manually from the terminal or right click execute
It must be something really simple I'm just not seeing
what command do you run? Could you paste your script here?
|
|
|
|
Gazza1 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 17, 2014, 04:39:09 AM |
|
Well I tried it 7 times. I followed the steps to a T, I even copied and pasted all the commands. I changed out the parts where my username belongs, I even tried the newest version of cgminer included the needed fix for it. cgminer will not start. There are no errors throughout the process. What a pain.
|
Impossible is a word found only in the dictionary of fools.
|
|
|
Gazza1 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 17, 2014, 04:44:22 AM |
|
this is in miner_launcher.sh #!/bin/bash DEFAULT_DELAY=0 if [ "x$1" = "x" -o "x$1" = "xnone" ]; then DELAY=$DEFAULT_DELAY else DELAY=$1 fi sleep $DELAY su cheetah -c "screen -dmS cgm /home/cheetah/mine_litecoins.sh" this is in mine_litecoins.sh #!/bin/sh export DISPLAY=:0 export GPU_MAX_ALLOC_PERCENT=100 export GPU_USE_SYNC_OBJECTS=1 cd /home/cheetah/cgminer-2.11.4-x86_64-built ./cgminer --scrypt -I 13 --thread-concurrency 8192 -o stratum+tcp://stratum-eu.dgb.luckyminers.com:3332 -u xxxx -p xxxx Then I tried with cgminer 3.7.2 I try starting it with ./miner_launcher.sh and also rebooting The one thing that is always different from the instruction is when I type sudo nano .bashrc there is nothing in the file at all, it doesn't say # enable programmable completion… anywhere.
|
Impossible is a word found only in the dictionary of fools.
|
|
|
|
esotericizm
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 17, 2014, 11:21:14 AM |
|
have you downloaded the APP_SDK and ADL_SDK? I noticed the first guide posted didn't seem to include it
|
|
|
|
Kenshin
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 17, 2014, 04:51:04 PM |
|
this is in miner_launcher.sh #!/bin/bash DEFAULT_DELAY=0 if [ "x$1" = "x" -o "x$1" = "xnone" ]; then DELAY=$DEFAULT_DELAY else DELAY=$1 fi sleep $DELAY su cheetah -c "screen -dmS cgm /home/cheetah/mine_litecoins.sh" this is in mine_litecoins.sh #!/bin/sh export DISPLAY=:0 export GPU_MAX_ALLOC_PERCENT=100 export GPU_USE_SYNC_OBJECTS=1 cd /home/cheetah/cgminer-2.11.4-x86_64-built ./cgminer --scrypt -I 13 --thread-concurrency 8192 -o stratum+tcp://stratum-eu.dgb.luckyminers.com:3332 -u xxxx -p xxxx Then I tried with cgminer 3.7.2 I try starting it with ./miner_launcher.sh and also rebooting The one thing that is always different from the instruction is when I type sudo nano .bashrc there is nothing in the file at all, it doesn't say # enable programmable completion… anywhere. So strange, it should work. ![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif) I built 4 miners following this guide without any problem, that is why I introduce this to you.
|
|
|
|
|
|