#!/bin/bash export GPU_FORCE_64BIT_PTR=1 export GPU_MAX_HEAP_SIZE=100 export GPU_MAX_ALLOC_PERCENT=100 export GPU_SINGLE_ALLOC_PERCENT=100 # Configure your card fan and memory OC : # Here a value of 1400 is choosen. # Start from lower and increase by step of 100 # Let it run for 10 minutes, if no crash -> increment again /usr/bin/nvidia-settings -c :0 -a "[gpu:0]/GPUFanControlState=1" -a "[gpu:0]/GPUTargetFanSpeed=100" -a "[gpu:0]/GPUMemoryTransferRateOffset[3]=100" # Repeat for the next GPU : #/usr/bin/nvidia-settings -c :0 -a "[gpu:1]/GPUFanControlState=1" -a "[gpu:1]/GPUTargetFanSpeed=100" -a "[gpu:1]/GPUMemoryTransferRateOffset[3]=100" # Launch your miner, here xmr-stak cd /xmrstak xterm -geometry 80x40+620+0 -e ./bin/xmr-stak