Pages:
Author

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

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?

Try:
Code:
$ sudo -s
# aticonfig --od-enable
# aticonfig --odgc
# aticonfig --odsc=GPU,mem
# aticonfig --odcc
# sleep 5 ; aticonfig --odgc
This will (1) make you root (2) enable OverDrive (3) list lock ranges for both GPU and Memory (4) set (5) commit and (6) wait 5 seconds and confirm they took.  If you have more than one card you need to do --adapter=0 and --adapter=0 for each of the aticonfig commands.  Note that this doesn't handle fan speed tweaking.

Thank you! You are certainly a gentleman and a scholar ;-)
newbie
Activity: 47
Merit: 0
2. Experiment with ATIoverclockCtrl to lower memory speeds as far as possible. REQUEST: would someone post the actual linux command strings for this, please?

Try:
Code:
$ sudo -s
# aticonfig --od-enable
# aticonfig --odgc
# aticonfig --odsc=GPU,mem
# aticonfig --odcc
# sleep 5 ; aticonfig --odgc
This will (1) make you root (2) enable OverDrive (3) list lock ranges for both GPU and Memory (4) set (5) commit and (6) wait 5 seconds and confirm they took.  If you have more than one card you need to do --adapter=0 and --adapter=0 for each of the aticonfig commands.  Note that this doesn't handle fan speed tweaking.
full member
Activity: 196
Merit: 100
Oikos.cash | Decentralized Finance on Tron
Type, in a root terminal:

Code:
cd /opt/miners/phoenix

Code:
python phoenix.py -u http://username:[email protected]:8339/ -k phatk VECTORS BFI_INT AGGRESSION=7 WORKSIZE=128 DEVICE=0 FASTLOOP=false

New root terminal
Code:
cd /opt/miners/phoenix

Code:
python phoenix.py -u http://username:[email protected]:8339/ -k phatk VECTORS BFI_INT AGGRESSION=7 WORKSIZE=128 DEVICE=1 FASTLOOP=false

Now start 'upgrading' the aggression level until you see one of the miners hashrates get instable.
I like one miner at aggression=11 and the other at 9 for most stable results.

Then start AMDoverclocktool to up the GPU and down the MEM speed of GPU0, start a new version for GPU1 (has to be from root terminal: AMDOverdriveCtrl i=3 ) and do the same until you are satisfied with the hashrates.



Yes!! Up and mining  with 2 x HD5830 now with this basic startup routine. Hash rates are not spectacular as expected: 222Mh/s and 235Mh/s for total of 457Mh/s.

Next steps:
1. Upgrade AGGRESSION incrementaly to find optimum setting.

2. Experiment with ATIoverclockCtrl to lower memory speeds as far as possible. REQUEST: would someone post the actual linux command strings for this, please?

3. When above are completed, I want to go headless and contol it from my Win7 desktop/gaming machine. I really have no clue as to what's required for this step and will be back pleading for assistance, I'm sure (week or so away I'd guess).

Thanks to drgr33n for Bitcoin 0.02.1b and others that assisted me so far.
sr. member
Activity: 308
Merit: 251

Yes it's there on purpose. LinuxCoin has been set to issue sudo aticonfig --initial --adapter=all a pon every reboot. Is yours not being generated ?

It is, I saw taht inside /etc/rc.local it gets re-generated, but I'm running LinuxCoin headless, and when I ssh into it I don't find it anymore, because, I think, /etc/gdm/PostLogin/Default (which should happen after /etc/rc.local) has removed it.

Maybe you could remove the old one and re-generate it inside rc.local, so that it is always available inside /etc/X11/

spiccioli.


Dam I forgot about rc.local thats line shouldn't be there as it's now handled by gdm's PreSession script. And it shouldn't be removed until you log out ? Let me run some tests bud.
sr. member
Activity: 700
Merit: 250
just started a wiki:
http://linuxcoin.wikia.com/

feel free to contibute
legendary
Activity: 1379
Merit: 1003
nec sine labore

Yes it's there on purpose. LinuxCoin has been set to issue sudo aticonfig --initial --adapter=all a pon every reboot. Is yours not being generated ?

It is, I saw taht inside /etc/rc.local it gets re-generated, but I'm running LinuxCoin headless, and when I ssh into it I don't find it anymore, because, I think, /etc/gdm/PostLogin/Default (which should happen after /etc/rc.local) has removed it.

Maybe you could remove the old one and re-generate it inside rc.local, so that it is always available inside /etc/X11/

spiccioli.
sr. member
Activity: 308
Merit: 251
drgr33n,

/etc/gdm/PostLogin/Default

has

Code:
sudo rm /etc/X11/xorg.conf&

can this be the cause for xorg.conf being deleted after every reboot?

spiccioli


Yes it's there on purpose. LinuxCoin has been set to issue sudo aticonfig --initial --adapter=all a pon every reboot. Is yours not being generated ?
legendary
Activity: 1379
Merit: 1003
nec sine labore
drgr33n,

/etc/gdm/PostLogin/Default

has

Code:
sudo rm /etc/X11/xorg.conf&

can this be the cause for xorg.conf being deleted after every reboot?

spiccioli
legendary
Activity: 1379
Merit: 1003
nec sine labore
I'm getting the below error in the new version, I didn't get it with any of the earlier versions. I'm not running headless
or through SSH, So I shouldn't have to export my display. I know X is running, because my desktops loaded. Am I just
missing a step or something I need to do in the latest version?

"ERROR - X needs to be running to perform ATI Overdrive(TM) commands"

Sounds like you might have a problem with fglrx ? can you post the output of

Code:
cat /etc/X11/xorg.conf
cat /var/log/Xorg.0.log

drgr33n,

I'm testing it, it seems to me that /etc/X11/xorg.conf gets wiped at every reboot, so I need to issue a

Code:
sudo aticonfig --initial --adapter=all

at every reboot, to recreate it, otherwise I can't use aticonfig commands.

spiccioli
full member
Activity: 126
Merit: 100
I then save the profile and then open the profile with leafpad.  I modify the profile to have suitable clock settings for the GPU and save it. 
Want to try this too (and will find out it doesn't work this way), but I wonder where the profiles are stored, at what location?
donator
Activity: 392
Merit: 252
I took a video of my (rough) initial buildout. Of course, I am running Linuxcoin 0.2.1b, and it's working out great! Thanks again!

http://www.youtube.com/watch?v=4paxWauHKEI
donator
Activity: 392
Merit: 252
Anyone had any luck with 11.6 in downclocking mem on a 69xx to more than 100MHz below core?

Not yet. If you come across a solution, do let me know!
legendary
Activity: 1379
Merit: 1003
nec sine labore

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
donator
Activity: 2058
Merit: 1007
Poor impulse control.
Anyone had any luck with 11.6 in downclocking mem on a 69xx to more than 100MHz below core?
newbie
Activity: 28
Merit: 0
Hello,

I've been trying to figure out how to get to a higher overclock than 840 for my video card but have so far been unsuccessful.

First, I load a root terminal and enter "aticonfig --od-enable".  Then, I load AMDOverdriveCtrl and make some modifications to the best levels allowable on the software.  I then save the profile and then open the profile with leafpad.  I modify the profile to have suitable clock settings for the GPU and save it.  When I open another root terminal and attempt to load the profile 'AMDOverdriveCtrl -i (insert number of a gpu here) -a (insert chosen profile name here).ovdr' I get an error.  "Overdrive Error Could not apply overdrive settings."  I have the powertune settings at 20%.

Basically, I don't seem to be able to go above the allowable defaults.  I've done plenty of reading and finding this "aticonfig --od-enable" excited me, thinking that was the solution to my problem.  I thought I was so clever when I modified the profile with leafpad, haha.
newbie
Activity: 42
Merit: 0
Nifty progress today.

Code: (/home/user/.config/autostart/auto.desktop)
[Desktop Entry]
Encoding=UTF-8
Name=coin
Exec=lxterminal --command "/home/user/start.sh"
Terminal=true

Code: (/home/user/start.sh)
#!/bin/bash
xhost +
echo $DISPLAY > /home/user/.display
lxterminal --title miner1_start --command "/home/user/miner1.sh"
lxterminal --title miner2_start --command "/home/user/miner2.sh"

Code: (/home/user/miner1.sh)
#!/bin/bash
cd /opt/miners/phoenix
./phoenix.py -u http://__USER__:__PASSWORD__@__PROXY/POOL__:__PORT__/ -k phatk BFI_INT VECTORS FASTLOOP=false AGGRESSION=11 DEVICE=0

Code: (/home/user/miner2.sh)
#!/bin/bash
cd /opt/miners/phoenix
./phoenix.py -u http://__USER__:__PASSWORD__@__PROXY/POOL__:__PORT__/ -k phatk BFI_INT VECTORS FASTLOOP=false AGGRESSION=11 DEVICE=1

Code: (/home/user/restart.sh)
#!/bin/bash
export DISPLAY=`cat /home/user/.display`
pc=`ps waxuf | grep miner1.sh -c`
ld=`aticonfig --odgc --adapter=0 | grep "GPU load" | cut -c 30-35 | cut -d % -f 1`
if [[ $pc -lt 2 ||  $ld -lt 50 ]] ; then
 killall -KILL miner1.sh
 nohup lxterminal --title miner1 --command /home/user/miner1.sh &
fi
pc=`ps waxuf | grep miner2.sh -c`
ld=`aticonfig --odgc --adapter=1 | grep "GPU load" | cut -c 30-35 | cut -d % -f 1`
if [[ $pc -lt 2 ||  $ld -lt 50 ]] ; then
 killall -KILL miner2.sh
 nohup lxterminal --title miner2 --command /home/user/miner2.sh &
fi

Code: (crontab -e)
1,11,21,31,41,51 * * * * /home/user/restart.sh

miner1.sh and miner2.sh are owned by root.root, and are setuid/setgid (mode 6755) while the others are owned by user.user and are mode 0755.

Very simple to extend this to multiple miners, and it will restart any that are crashed or hung.

I can't get this to work ...

It just sits at a terminal screen that says miner1_start with a cursor for a while then it say

./miner1.sh: line 3:  3361 Killed                  ./phoenix.py -u http://usr@[email protected]:8332/ -k phatk BFI_INT VECTORS FASTLOOP=false AGGRESSION=11 DEVICE=0


I took out the user and pass .... if I just type the command in it works fine ... any help would be great

newbie
Activity: 54
Merit: 0
That's strange, I just put it back in and booted it and everything's working fine, That's what I get for trying
to do stuff when I'm half asleep, my bad  Grin
sr. member
Activity: 308
Merit: 251
I'm getting the below error in the new version, I didn't get it with any of the earlier versions. I'm not running headless
or through SSH, So I shouldn't have to export my display. I know X is running, because my desktops loaded. Am I just
missing a step or something I need to do in the latest version?

"ERROR - X needs to be running to perform ATI Overdrive(TM) commands"

Sounds like you might have a problem with fglrx ? can you post the output of

Code:
cat /etc/X11/xorg.conf
cat /var/log/Xorg.0.log
newbie
Activity: 54
Merit: 0
I'm getting the below error in the new version, I didn't get it with any of the earlier versions. I'm not running headless
or through SSH, So I shouldn't have to export my display. I know X is running, because my desktops loaded. Am I just
missing a step or something I need to do in the latest version?

"ERROR - X needs to be running to perform ATI Overdrive(TM) commands"
member
Activity: 79
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?

I would first try clonezilla, it is a linux based imaging suite that can clone drives to an image file. I use it all the time although I have not used it with LinuxCoin yet Wink
Pages:
Jump to: