Author

Topic: Guide For Mining In LINUX (Read 665 times)

full member
Activity: 238
Merit: 100
January 17, 2014, 04:40:41 PM
#19
No worries man

I finally got it to work Cheesy  Grin  Thanks for the help guys.

I used a combination of this guide below and the guide you gave me.  I used xubuntu 13.10 this time just for kicks
https://docs.google.com/document/d/1Gw7YPYgMgNNU42skibULbJJUx_suP_CpjSEdSi8_z9U/preview?sle=true

sr. member
Activity: 280
Merit: 250
January 17, 2014, 11:51:04 AM
#18
this is in miner_launcher.sh

Quote
#!/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

Quote
#!/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

I built 4 miners following this guide without any problem, that is why I introduce this to you.
hero member
Activity: 750
Merit: 500
January 17, 2014, 06:21:14 AM
#17
have you downloaded the APP_SDK and ADL_SDK? I noticed the first guide posted didn't seem to include it
full member
Activity: 238
Merit: 100
January 17, 2014, 05:41:08 AM
#16
this guide doesn't work and gives error when installing video driver.  why is linux such a pain the ass.
http://blog.truepps.com/complete-guide-to-mine-scrypt-on-xubuntu-13-10/
full member
Activity: 238
Merit: 100
January 16, 2014, 11:44:22 PM
#15
this is in miner_launcher.sh

Quote
#!/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

Quote
#!/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.
full member
Activity: 238
Merit: 100
January 16, 2014, 11:39:09 PM
#14
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.
sr. member
Activity: 280
Merit: 250
January 16, 2014, 08:42:30 PM
#13
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?
full member
Activity: 238
Merit: 100
January 16, 2014, 07:53:38 PM
#12
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
newbie
Activity: 34
Merit: 0
January 16, 2014, 07:44:25 PM
#11
Do you mean does not start at system boot or won't start manually? Are there any error messages?
full member
Activity: 238
Merit: 100
January 16, 2014, 07:23:25 PM
#10
Yes I did that part and the verify worked.  The machine boots, the cgminer just won't start
sr. member
Activity: 280
Merit: 250
January 16, 2014, 07:18:15 PM
#9
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?

Quote
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
hero member
Activity: 756
Merit: 500
January 16, 2014, 07:16:28 PM
#8
my guide says to buy windows...:p
full member
Activity: 238
Merit: 100
January 16, 2014, 07:14:08 PM
#7
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
sr. member
Activity: 280
Merit: 250
January 16, 2014, 07:11:51 PM
#6
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.
full member
Activity: 238
Merit: 100
January 16, 2014, 07:08:25 PM
#5

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.
legendary
Activity: 3430
Merit: 1142
Ιntergalactic Conciliator
January 15, 2014, 05:49:26 PM
#4
What you need to know and what you want to mining? I have setup a netbook with xubuntu and some asic usb miners
sr. member
Activity: 280
Merit: 250
January 15, 2014, 01:06:02 PM
#3
full member
Activity: 238
Merit: 100
January 15, 2014, 12:39:41 PM
#2
bump for move
full member
Activity: 238
Merit: 100
January 15, 2014, 11:16:50 AM
#1
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.



Jump to: