Created
October 11, 2021 19:31
-
-
Save narajaon/511c865f7605eb80406742429c3401c9 to your computer and use it in GitHub Desktop.
Start t-rex miner with a RTX 3080
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "SETTING UP NVIDIA" | |
sudo nvidia-smi -i 0 -pl 280 | |
sudo nvidia-settings -a [gpu:0]/GPUMemoryTransferRateOffsetAllPerformanceLevels[3]=1300 | |
sudo nvidia-settings -a [gpu:0]/GPUGraphicsClockOffsetAllPerformanceLevels[3]=-200 | |
sudo nvidia-settings -a [gpu:0]/GPUFanControlState=1 | |
sudo nvidia-settings -a [fan:0]/GPUTargetFanSpeed=70 | |
sudo nvidia-settings -a [fan:1]/GPUTargetFanSpeed=70 | |
echo "LAUNCHING TREX" | |
./t-rex -a ethash -o stratum+tcp://eu1.ethermine.org:4444 -u 0x392B291A49Cd09181Cb5384BCDAAd90A19A5fd1b -p x -w rig0 | |
echo "CLEANING UP" | |
sudo nvidia-settings -a [gpu:0]/GPUFanControlState=0 | |
sudo nvidia-smi -i 0 -pl 320 | |
sudo nvidia-settings -a [gpu:0]/GPUMemoryTransferRateOffsetAllPerformanceLevels[3]=0 | |
sudo nvidia-settings -a [gpu:0]/GPUGraphicsClockOffsetAllPerformanceLevels[3]=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment