"#!/bin/bash
CONFIG_FILE="/root/config.txt"
source $CONFIG_FILE
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_SINGLE_ALLOC_PERCENT=100
export GPU_MAX_HEAP_SIZE=100
export GPU_FORCE_64BIT_PTR=1
# Preparing miners
echo "============ Preparing miners ============="
sudo rm -Rf /root/miner
sudo rm -Rf /var/tmp/miner/
sudo cp -Rp /root/miner_org /var/tmp/miner/
sudo ln -s /var/tmp/miner /root/miner
# Overclocking
echo "============ OVERCLOCKING ================="
if [ $osSeries == "R" ]; then
amdconfig --od-enable --adapter=all
amdconfig --od-setclocks=$MINER_CORE,$MINER_MEMORY --adapter=all &
/root/utils/atitweak/atitweak -p $MINER_POWERLIMIT --adapter=all &
fi
if [ $osSeries == "RX" ]; then
sudo /root/utils/oc_dpm.sh "$MINER_CORE" "$MINER_MEMORY" "$MINER_OCVDDC"
fi
if [ $osSeries == "NV" ]; then
sudo /root/utils/oc_nv.sh $MINER_CORE $MINER_MEMORY $MINER_POWERLIMIT
fi
if [ $osSeries == "none" ]; then
echo "ERROR: System doesnt see ANY gpu in system. Check GPU connection. Power connections and risers and power to risers !
"
echo "Here is what system see as GPU list:"
lspci | grep "VGA"
echo "ERROR: System doesnt see ANY gpu in system. Check GPU connection. Power connections and risers and power to risers !
"
echo "ERROR: System doesnt see ANY gpu in system. Check GPU connection. Power connections and risers and power to risers !
"
fi
while true; do
echo "============ Starting Miner ==============="
MINER_DIR=`dirname $MINER_PATH`
cd $MINER_DIR
if [ $MINER_PATH != "null" ]; then
$MINER_PATH $MINER_OPTIONS
echo "Miner ended/crashed. Restarting miner in 10 seconds --------------"
sleep 10
else
echo "GO TO GLOBAL OPTIONS or RELOAD RIG if you already configured options and this ris is new added !!!!!"
sleep 10
fi
done"
this is what I get if I try to mine anything other than equihash algo. I have tested with 1 card and 3, no matter the overclock.