Bitcoin Forum
June 30, 2024, 12:38:34 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: [Mining OS] SimpleMining.net - Easy to use GPU MINING Operating System on: November 29, 2017, 06:55:44 AM
"#!/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 ! Smiley"
    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 ! Smiley"
    echo "ERROR: System doesnt see ANY gpu in system. Check GPU connection. Power connections and risers and power to risers ! Smiley"
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.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!