Post
Topic
Board Mining (Altcoins)
Re: tdxminer lyra2z/XZC Miner for AMD GPUs on Linux
by
zientarski
on 25/06/2018, 13:25:00 UTC
My friend made auto start script

/etc/rclocal   - add start script

start script:

#!/bin/bash
# My first script
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100
/usr/sbin/rocm-smi --setsclk 0 1 2 3 4 5 --setfan 255
export HSA_ENABLE_SDMA=0
tmux new -d -s session
tmux send -t session '/opt/tdxminer/tdxminer -a lyra2z -o stratum+tcp:// -u -p ENTER

connect to session
tmux attach -t session