Hello! Great scrypt! I have a question. I use Bamt/Smos and disable GPU0 (Integrated graphics) in bamt.conf and cgminer.conf but cgmon still check it and reboot because it Sick or Dead. How can i disable check for GPU0 in scrypt?
Hi,
You can disable checking of GPU 0 like this.
Find this line:
below it add this new line:
I was having an issue with my APUs causing unwanted reboots so I added a way of disabling the checking on one GPU. This change to the script seems to have broken the log file and still have to disable the check of shares because the disabled GPU will still trigger a reboot. I do not know how to program TCL so I am sure there is a better approach to what I did but it fixes the issue I was having with Cgmon.
#Added this to the top of the script to disable chosen GPU
# Disable status checking of GPU
# set value of disabled GPU to prevent unwarranted reboot
set gpu(disable) "0"
# Added this line to the fore mentioned fix under line if {$gpu_status >1} {
# Find out which GPU is having a problem
# Added 'if {$i == $gpu(disable)} {break}' MAO HashrSyndicate
set data [split $argx "\n"]
foreach line $data {
set gpu_status [lindex $line 4]
if {$gpu_status >1} {
if {$i == $gpu(disable)} {break}