Last active
August 23, 2017 06:43
-
-
Save twalling/7695824 to your computer and use it in GitHub Desktop.
cgminer litecoin setup
This file contains 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
{ | |
"pools" : [ | |
{ | |
"url" : "URL", | |
"user" : "USER.WORKER", | |
"pass" : "PASS" | |
} | |
], | |
"intensity": "13", | |
"thread-concurrency": "8192", | |
"worksize": "256", | |
"gpu-engine": "1100", | |
"gpu-fan": "85", | |
"gpu-memclock": "1500", | |
"temp-cutoff": "95", | |
"temp-overheat": "85", | |
"temp-target": "80", | |
"gpu-threads": "2", | |
"scrypt": true | |
} |
This file contains 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
export GPU_USE_SYNC_OBJECTS=1 | |
export GPU_MAX_ALLOC_PERCENT=100 | |
export DISPLAY=:0 | |
find *.bin -delete | |
sleep 5 | |
./cgminer |
This file contains 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 | |
DEFAULT_DELAY=0 | |
if [ "x$1" = "x" -o "x$1" = "xnone" ]; then | |
DELAY=$DEFAULT_DELAY | |
else | |
DELAY=$1 | |
fi | |
sleep $DELAY | |
su USER -c "screen -dmS cgm /home/USER/bin/cgminer/cgminer.sh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment