Pages:
Author

Topic: LinuxCoin A lightweight Debian based OS with everything ready to go. - page 39. (Read 285123 times)

sr. member
Activity: 308
Merit: 251
Hi,

Is it possible to get hold of the source config for compiling the Linuxcoin liveCD there are a few things a would like to customize for myself.

So far LinuxCoin is the only distro that I have managed to get a Dual 6990 video cards working sucessfully, and I am interested to see what is different to say a install of Debian Wheezy or Ubuntu 11.04, for which I cannot not get dual 6900 video cards working.

There is no source config. It's been heavily customized by chrooting the filesystem and tweaking. 
newbie
Activity: 13
Merit: 0
Hi,

Is it possible to get hold of the source config for compiling the Linuxcoin liveCD there are a few things a would like to customize for myself.

So far LinuxCoin is the only distro that I have managed to get a Dual 6990 video cards working sucessfully, and I am interested to see what is different to say a install of Debian Wheezy or Ubuntu 11.04, for which I cannot not get dual 6900 video cards working.
sr. member
Activity: 308
Merit: 251
Try this out

Code:
sudo su
aticonfig --od-enable
aticonfig  --odsc=990,300 --adapter=all
aticonfig --odcc --adapter=all
aticonfig --pplib-cmd="set fanspeed 0 80"
DISPLAY=0.1 aticonfig --pplib-cmd="set fanspeed 0 80"
./phoenix.py -u http://USERNAME_miner1:[email protected]:8332/ -k phatk VECTORS BFI_INT AGGRESSION=9 WORKSIZE=256 DEVICE=0 FASTLOOP=false -a 5
./phoenix.py -u http://USERNAME_miner1:[email protected]:8332/ -k phatk VECTORS BFI_INT AGGRESSION=13 WORKSIZE=256 DEVICE=1 FASTLOOP=false -a 5

Did you try mem at 305/310 etc?
Could be your mem clock is holding back the GPU performance.

320-335 seems to be the sweet spot for my 5870s, you need to find yours.

I don't think the clocks will make -+30MHs difference Wink Those 5830's need to be whipped Cheesy
full member
Activity: 126
Merit: 100
Did you try mem at 305/310 etc?
Could be your mem clock is holding back the GPU performance.

320-335 seems to be the sweet spot for my 5870s, you need to find yours.
full member
Activity: 196
Merit: 100
Oikos.cash | Decentralized Finance on Tron
You are definitely not useless, Folax! Thanks!

Adapter0
279.6 Mh/s, Usage=98%, Fanspeed=80%, Temp=67.00C

Adapter1
279.5 Mh/s, Usage=99%, Fanspeed=70%, Temp=59.50C

The side of the case is open with a 12" personal fan on Low, 6" away blowing directly on the GPUs.

Very pleased.

NOW- I need to move on to remoting this machine as a headless miner.

I'm sure we can help you squeeze a lot more out of your cards ! I can squeeze about 313MHs out of my 5830's what miner you using and whats your clock setup etc ?

PS: Working on the website and going to try and get a wiki etc online Cheesy


This is my startup routine:

To Start Mining:

Launch a Root Terminal

# cd /opt/miners/phoenix

# python phoenix.py -u http://USERNAME_miner0:[email protected]:8332/ -k phatk VECTORS BFI_INT AGGRESSION=9 WORKSIZE=128 DEVICE=0 FASTLOOP=false

Without closing Root Terminal #1, Launch Root Terminal #2

# cd opt/miners/phoenix

# python phoenix.py -u http://USERNAME_miner1:[email protected]:8332/ -k phatk VECTORS BFI_INT AGGRESSION=11 WORKSIZE=128 DEVICE=1 FASTLOOP=false


Using ATI OverDrive Control:


$ sudo -s

# aticonfig --od-enable

# aticonfig --odgc --adapter=0,1

# aticonfig --adapter=0,1 --odsc=900,300

# aticonfig --odcc --adaptor=0,1

# sleep 5 ; aticonfig --odgc --adpater=0,1

Do this twice, once for adapter=0 and once for adapter=1 if the arguement "0,1" or "all" doesn't work.


Set Fan Speeds:

GUI for device=0 you open by clicking the icon, GUI for device=1 you open by typing into a root terminal:

# AMDOverdriveCtrl -i=3

A new GUI will open for the 2nd GPU. Try loading the saved profiles into each GUI instance, otherwise manually adjust fanspeed.


I've noticed that if I set AGGRESSION on Adpater=0 to more than Adapter=1, Adapter=1 will slow radically and Usage will drop to ~30%, thus the settings above.
sr. member
Activity: 308
Merit: 251
You are definitely not useless, Folax! Thanks!

Adapter0
279.6 Mh/s, Usage=98%, Fanspeed=80%, Temp=67.00C

Adapter1
279.5 Mh/s, Usage=99%, Fanspeed=70%, Temp=59.50C

The side of the case is open with a 12" personal fan on Low, 6" away blowing directly on the GPUs.

Very pleased.

NOW- I need to move on to remoting this machine as a headless miner.

I'm sure we can help you squeeze a lot more out of your cards ! I can squeeze about 313MHs out of my 5830's what miner you using and whats your clock setup etc ?

PS: Working on the website and going to try and get a wiki etc online Cheesy
full member
Activity: 196
Merit: 100
Oikos.cash | Decentralized Finance on Tron
You are definitely not useless, Folax! Thanks!

Adapter0
279.6 Mh/s, Usage=98%, Fanspeed=80%, Temp=67.00C

Adapter1
279.5 Mh/s, Usage=99%, Fanspeed=70%, Temp=59.50C

The side of the case is open with a 12" personal fan on Low, 6" away blowing directly on the GPUs.

Very pleased.

NOW- I need to move on to remoting this machine as a headless miner.
full member
Activity: 126
Merit: 100
Couple of questions about AMDOverdriveCtrl V1.2.1. I have two HD 5830s running

1. How do I change between the two 5830 cards? Seems like it only shows Device0.

2. Would the GUI need to remain open after loading saved profiles? Seems to be YES!

ATIconfig CLI Question:

1. What is CLI command to set fan speed at 80% for both Device=0 and Device=1?
1. GUI for device=0 you open by clicking the icon, GUI for device=1 you open by typing in root terminal:
Code:
AMDOverdriveCtrl -h
It will list your GPU's, I guess GPU0 is active, GPU1 and GPU2 inactive, GPU3 is active, this means GPU3 is the 2nd card, the one you want to run a new instance of AMDOverdriveCtrl for, so now you do:
Code:
AMDOverdriveCtrl -i=3

A new GUI will open for the 2nd GPU.

2. I keep the GUI's open, the fans stay up to speed that way and it's handy to monitor temps.
full member
Activity: 196
Merit: 100
Oikos.cash | Decentralized Finance on Tron
Couple of questions about AMDOverdriveCtrl V1.2.1. I have two HD 5830s running

1. How do I change between the two 5830 cards? Seems like it only shows Device0.

2. Would the GUI need to remain open after loading saved profiles? Seems to be YES!

ATIconfig CLI Question:

1. What is CLI command to set fan speed at 80% for both Device=0 and Device=1?
legendary
Activity: 1148
Merit: 1001
Radix-The Decentralized Finance Protocol
When I run this, the auto fan setting in the saved profile isn't applied.  When I run "AMDOverdriveCtrl -i 0 -b miner.ovdr" It returns the values in the profile and then returns to the command prompt.  I am running this from the root terminal.  the only way I can get the fan profiles to work is to launch AMDOverdriveCtrl -i 0, and then manually load the saved profile.  Then the terminal window updates with the fan speeds.  Any ideas here?  I would reallly like to get this to run from the command line so I can script it on startup.

For the fan setting to be saved in the profile, you have to click the set button in the GUI. Otherwise the setting active will be the one saved.

What I do is create the file with the GUI and then edit the profile text file manually and dont use the GUI anymore.

Btw, I found that the fan controlled by temperature (the graph thingy) only worked well with the GUI opened. You can save it to the profile, and load it, but it wont behave properly unless the GUI is opened. I dont care because I have my fans at fixed 90%, but others might. I opened a bug at the AMDOverdriveCtrl bugtrack but last time I checked there was no answer.
full member
Activity: 126
Merit: 100
I understand people like to have things automated so they can reboot the machine and have all go by itself, but I fail to understand why you want to reboot in the first place.

I just install linuxcoin on a USB thumb drive, then ok the AMD agreement and cd / to the miner and run the command to start it.
Then I click AMDoverdriveCtrl and set the clocks.
Do the same for GPU no.2 and done.
No reboot for days, weeks.

So why do you want to reboot the PC? All settings can be applied without rebooting, right? It's not a Windows system Smiley

On a side note:
I have a 'limited' 5870 (BIOS clock limits) and have just saved the AMDoverdriveCtrl profile (GUI still running), edited the profile and loaded it again.
The limited card is now being successfully clocked past it's BIOS limits and is stable.

Now off to find the highest possible settings... Grin
sr. member
Activity: 252
Merit: 250
2. Experiment with ATIoverclockCtrl to lower memory speeds as far as possible. REQUEST: would someone post the actual linux command strings for this, please?

I preffer to use AMDOverdriveCtrl itself as command line interface than aticonfig. If you set up a configuration with the GUI of AMDOverdriveCtrl and save it as a profile, then you can load it into the card with this command:

Code:
AMDOverdriveCtrl -i X -b deviceX.ovdr

Where X is the id (number) of the card and deviceX.ovdr is the name of the profile file you saved. You can even edit the profile text file manually and dont use the GUI anymore.

When I run this, the auto fan setting in the saved profile isn't applied.  When I run "AMDOverdriveCtrl -i 0 -b miner.ovdr" It returns the values in the profile and then returns to the command prompt.  I am running this from the root terminal.  the only way I can get the fan profiles to work is to launch AMDOverdriveCtrl -i 0, and then manually load the saved profile.  Then the terminal window updates with the fan speeds.  Any ideas here?  I would reallly like to get this to run from the command line so I can script it on startup.
legendary
Activity: 1379
Merit: 1003
nec sine labore

Is that a thumb drive with a 1GB Fat32 partition and the rest configured with an ext4 one, or just one big Fat32 partition?

Thx!


It's a dual partition one, but it makes no difference since dd copies every sector from one usb key to the other so your copy ends up with the same layout of your source.

spiccioli.
member
Activity: 90
Merit: 10

I have my Thumb drive setup and working like I want, is there a way to replicate the thumb drive sector by sector encase this one gets corrupted?

EnzoMatrix,

I clone them this way:

put your empty USB stick in a usb port, then issue a

Code:
dmesg

you should see something like:

Code:
[38443.728018] usb 3-4: new high speed USB device number 3 using ehci_hcd
[38443.863492] usb 3-4: New USB device found, idVendor=0951, idProduct=1624
[38443.863496] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[38443.863498] usb 3-4: Product: DataTraveler G2
[38443.863500] usb 3-4: Manufacturer: Kingston
[38443.863501] usb 3-4: SerialNumber: 0013729B6EB8E9616000002A
[38443.863978] scsi15 : usb-storage 3-4:1.0
[38444.893201] scsi 15:0:0:0: Direct-Access     Kingston DataTraveler G2  PMAP PQ: 0 ANSI: 0 CCS
[38444.894329] sd 15:0:0:0: Attached scsi generic sg2 type 0
[38445.626356] sd 15:0:0:0: [sdb] 15679488 512-byte logical blocks: (8.02 GB/7.47 GiB)
[38445.626847] sd 15:0:0:0: [sdb] Write Protect is off
[38445.626850] sd 15:0:0:0: [sdb] Mode Sense: 23 00 00 00
[38445.626852] sd 15:0:0:0: [sdb] Assuming drive cache: write through
[38445.630964] sd 15:0:0:0: [sdb] Assuming drive cache: write through
[38445.654546]  sdb: unknown partition table
[38445.657168] sd 15:0:0:0: [sdb] Assuming drive cache: write through
[38445.657173] sd 15:0:0:0: [sdb] Attached SCSI removable disk

Here I've just inserted a Kingston 8Gb USB stick, note the name it gets in the line where it tells you how bit it is: here is

Code:
[38445.626356] sd 15:0:0:0: [sdb] 15679488 512-byte logical blocks: (8.02 GB/7.47 GiB)

So its name is sdb.

With a
Code:
mount
command you can verify that your corrent USB stick (the one you booted from) is not sdb,

Code:
/dev/sda1 on /live/image type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro)
/dev/sda2 on /live/cow type ext4 (rw,noatime,user_xattr,acl,barrier=1,data=ordered)

look for the lines that contain /live/image and /live/cow.

then, to do the copy

Code:
dd if=/dev/sda of=/dev/sdb bs=64K

which calls dd and gives it the input file (on linux everything is a file, even a disk) the if=, the output file of= and a block size bs= to make it go faster otherwise it does a sector by sector copy (512 bytes) and so it can take a fairly longer time.

PAY ATTENTION
If you make a mistake and put as output file your current USB stick (the one you booted from) you will erase it!! Be carefull. Smiley



Is that a thumb drive with a 1GB Fat32 partition and the rest configured with an ext4 one, or just one big Fat32 partition?

Thx!
legendary
Activity: 1148
Merit: 1001
Radix-The Decentralized Finance Protocol
You can even edit the profile text file manually and dont use the GUI anymore.
Where are the profiles saved?

Wherever you choose to save it.
donator
Activity: 392
Merit: 252
4x 6950 @ 1731.40 MH/s under Linuxcoin 0.2.1b

full member
Activity: 126
Merit: 100
You can even edit the profile text file manually and dont use the GUI anymore.
Where are the profiles saved?
full member
Activity: 154
Merit: 100
I just got Linuxcoin 0.2.1b up and running and it worked very well out of the box.  I must tip my hat to you on a great release.  I only had to make some minor changes (run aticonfig --adapter=all --initial -f again, change permissions/ownership on /opt/miners/phoenix/ , do svn update from within /opt/miners/phoenix/ to get the latest version with the +3% speed boost Ma() function, copy over the /etc/OpenCL directory from another computer because for whatever reason the AMD EULA popup never appeared and thus those files never got written, and then there's the unfortunate issue with /var/run/screen having the wrong permissions set with every boot).

But anyway, all of those tweaks took no more than 30 minutes, which is an excellent price to pay for getting access to Catalyst 11.6!  I have my four 5830s running at 960,335 MHz clock speeds now (up from a limit of 900 on Linuxcoin 0.2a with Catalyst 11.5).  Each one is pushing around 304-305 MHash/s for a total rig output of 1220 MHash/s.  That is way more than I ever thought these 5830s were going to be able to output, and they're all running at below 70degC to boot!

And you did a good job listening to all of the suggestions in here.  I don't see a one that didn't make it in.  Hell, you even included the firmware-atheros package, so 0.2.1b worked out of the box with my wireless card without even having to copy that driver over on a USB stick.  Very nice  Grin  I just sent you a donation.  You earned it!
full member
Activity: 196
Merit: 100
Oikos.cash | Decentralized Finance on Tron
2. Experiment with ATIoverclockCtrl to lower memory speeds as far as possible. REQUEST: would someone post the actual linux command strings for this, please?

I preffer to use AMDOverdriveCtrl itself as command line interface than aticonfig. If you set up a configuration with the GUI of AMDOverdriveCtrl and save it as a profile, then you can load it into the card with this command:

Code:
AMDOverdriveCtrl -i X -b deviceX.ovdr

Where X is the id (number) of the card and deviceX.ovdr is the name of the profile file you saved. You can even edit the profile text file manually and dont use the GUI anymore.

That tip is much appreciated! I'm all for simpler & easier.
legendary
Activity: 1148
Merit: 1001
Radix-The Decentralized Finance Protocol
2. Experiment with ATIoverclockCtrl to lower memory speeds as far as possible. REQUEST: would someone post the actual linux command strings for this, please?

I preffer to use AMDOverdriveCtrl itself as command line interface than aticonfig. If you set up a configuration with the GUI of AMDOverdriveCtrl and save it as a profile, then you can load it into the card with this command:

Code:
AMDOverdriveCtrl -i X -b deviceX.ovdr

Where X is the id (number) of the card and deviceX.ovdr is the name of the profile file you saved. You can even edit the profile text file manually and dont use the GUI anymore.
Pages:
Jump to: