Good guide! I stumbled onto this while looking for screen session help. I've been scavenging the internet trying to figure this out:
Is there any way to make a simple, purely miner (no overclock) startup script that puts each miner into its own screen? I've been experimenting with something like:
#!/bin/sh
screen -d -m -S "gpu0"
screen -d -m -S "gpu1"
screen -p gpu0 -X python pheonix.py -blah -blah
screen -p gpu1 -X python pheonix.py -blah -blah
Thanks!
Hi Zamicol,
I did not have much luck running screen as a normal user since the tty devices are created on demand now with udev even though I put my normal user in the tty group. I normally run screen using sudo so that the super user will create the devices and then I can connect to the screen instance. The only problem is that when I want to reconnect I also have to do a sudo screen. The /usr/local/bin/startminer.sh script I created in the top post can be ran without overclocking. You can just leave out the aticonfig lines from the script that are used for overclocking.
DISPLAY=:0 aticonfig --od-enable --adapter=all
DISPLAY=:0 aticonfig --od-setclocks=875,1000 --adapter=${1} You should be able to start the /usr/local/bin/startminer.sh script using the following command:
sudo /usr/bin/screen -dmS gpu0 su -c '/usr/local/bin/startminer.sh 0' YourLogin
or
sudo /usr/bin/screen -dmS gpu0 su -c '/usr/local/bin/startminer.sh 1' YourLogin
for the 2nd gpu.
- DukeJer
If you find this post helpful feel free to donate to address: 19oQLN2v1auiGqBDFfxSDUfu8Ax6ooT6xs