Bitcoin Forum

Other => Beginners & Help => Topic started by: cpt_howdy on January 23, 2012, 01:19:45 AM



Title: Updating Phoenix Miner on LinuxCoin - help
Post by: cpt_howdy on January 23, 2012, 01:19:45 AM
First time post! I just started mining recently, and am loving supporting the bitcoin network and obsessing over the tiny amounts of money I can earn through mining...
This is a problem created by the combination of being both a mining n00b and a linux n00b:
I've been using LinuxCoin for a week now quite happily,  but I've realised the Phoenix version is quite outdated (no phatk2 for instance, only phatk). I've downloaded the newest version, checked all the file privileges are the same as for the previous version, then pointed my script files to the new directory, but I keep getting the error:

FATAL kernel error: Failed to load OpenCL kernel!

Interestingly enough, if I SSH into the machine as root and run "phoenix.py" manually, it works - using the following syntax "./phoenix.py -u http://xxxxxxxx:8332 -k phatk2 DEVICE=0 VECTORS BFI_INT FASTLOOP=false AGGRESSION=13 WORKSIZE=256".
Is there something fundamental I'm missing here?
Any help would be much appreciated.


Title: Re: Updating Phoenix Miner on LinuxCoin - help
Post by: jake262144 on January 23, 2012, 02:06:05 AM
You sure your script files cd to the right directory before invoking ./phoenix.py ?
something like:
Code:
cd /opt/bcm/phoenix-new && ./phoenix.py


Title: Re: Updating Phoenix Miner on LinuxCoin - help
Post by: cpt_howdy on January 23, 2012, 10:19:32 AM
Nope, unfortunately that's not the problem - here's my startminers.sh file:

#!/bin/bash
sudo DISPLAY=:0 aticonfig --od-enable
sudo DISPLAY=:0 aticonfig --odsc="990,300" --adapter=all
sudo DISPLAY=:0 aticonfig --odcc --adapter=all
cd /opt/miners/phoenix/
#cd /opt/miners/phoenix-bak
exec > /home/user/minelog.txt
./phoenix.py -u http://xxxxx:8332 -k phatk DEVICE=0 VECTORS BFI_INT FASTLOOP=false AGGRESSION=13 WORKSIZE=256
sleep 2

This script is called from an auto.sh script as per the LinuxCoin wiki instructions:

#!/bin/bash
xhost +
echo $DISPLAY > /home/user/.display
lxterminal --command "/usr/local/bin/startminers.sh"

Called for startup from"auto.desktop" using:

[Desktop Entry]
Type=Application
Name=coin
Exec=lxterminal --command "/home/user/auto.sh"
Terminal=true