mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 20:44:19 +00:00
When disabling fanspeed monitoring on adl failure, remove any twin GPU association. This could have been leading to hangs on machines with dual GPU cards when ADL failed.
This commit is contained in:
parent
d594aaf80f
commit
057a38eb1c
5
adl.c
5
adl.c
@ -695,6 +695,11 @@ int gpu_fanpercent(int gpu)
|
||||
applog(LOG_WARNING, "You will need to start cgminer from scratch to correct this");
|
||||
applog(LOG_WARNING, "Disabling fanspeed monitoring on this device");
|
||||
ga->has_fanspeed = false;
|
||||
if (ga->twin) {
|
||||
applog(LOG_WARNING, "Disabling fanspeed linking on GPU twins");
|
||||
ga->twin->twin = NULL;;
|
||||
ga->twin = NULL;
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user