Con Kolivas
b6066217e0
Only increase gpu engine speed by a larger step if the temperature is below hysteresis instead of increasing it to max speed.
12 years ago
Paul Sheppard
9f74e650b3
Tidy up device error counts
12 years ago
Con Kolivas
272ba4ed89
Avoid attempting to recursively lock the console mutex by disabling warnings in gpu_fanpercent when fanspeed monitoring fails on windows. Debugged by luke-jr.
12 years ago
Con Kolivas
933627e73b
Reinstate fix ADL gpu-map not working when there are more ADL devices than openCL patch by Nite69. Add virtual adl mapping for when none is specified on the command line to not crash without a map specified.
12 years ago
Con Kolivas
afa7310e9c
If there are more devices than nDevs, don't iterate over them as they may overwrite devices mapped below that with the mapping option.
12 years ago
Con Kolivas
78d6019330
Revert "Fix ADL gpu-map not working when there are more ADL devices than openCL. Patch supplied and tested by Nite69."
...
This reverts commit 2a474fe914
.
Broken.
12 years ago
Con Kolivas
e34105a47a
Set memory clock based on memdiff if present from with engine changes, allowing it to parallel manual changes from the menu as well.
12 years ago
Con Kolivas
2a474fe914
Fix ADL gpu-map not working when there are more ADL devices than openCL. Patch supplied and tested by Nite69.
12 years ago
Con Kolivas
920c56c93b
Add specific information when ADL detects error -10 saying the device is not enabled.
12 years ago
Luke Dashjr
a1edc7dbcb
Bugfix: Fix build without curses but with OpenCL
13 years ago
Con Kolivas
29c0f7bd37
Detect large swings in temperature when below the target temperature range and change fan by amounts dependant on the value of tdiff.
13 years ago
Con Kolivas
e16452f09f
Adjust the fanspeed by the magnitude of the temperature difference when in the optimal range.
13 years ago
Con Kolivas
55aaa7c1cc
Slightly different message since restart may not be successful.
13 years ago
Con Kolivas
07045055e9
Revert "Restarting cgminer from within after ADL has been corrupted only leads to a crash. Display a warning only and disable fanspeed monitoring."
...
This reverts commit 07212db106
.
Reverting this did not fix the crashes people were having with ADL failing after a week and removed the functionality this patch originally intended.
13 years ago
Con Kolivas
057a38eb1c
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.
13 years ago
Con Kolivas
1e3888336b
Consider the fan optimal if fanspeed is dropping but within the optimal speed window.
13 years ago
Con Kolivas
59679c57c7
Only adjust GPU speed up if the fanspeed is within the normal fanrange and hasn't been turned to maximum speed under overheat conditions.
13 years ago
Con Kolivas
07212db106
Restarting cgminer from within after ADL has been corrupted only leads to a crash. Display a warning only and disable fanspeed monitoring.
13 years ago
Con Kolivas
23b224faf9
Reinit_adl is no longer used.
13 years ago
Con Kolivas
46a679f39e
Revert "Provide simple macros for the repeated use of checking the first value of the input char with strncasecmp."
...
This reverts commit 87708a6a0e
.
Broken.
13 years ago
Con Kolivas
87708a6a0e
Provide simple macros for the repeated use of checking the first value of the input char with strncasecmp.
13 years ago
Con Kolivas
f5f089f5b4
Add a --gpu-map option which will allow arbitrarily mapping ADL devices to OpenCL devices for instances where association by enumeration alone fails.
13 years ago
Con Kolivas
dc70fe9ce0
Do a complete cgminer restart if the ATI Display Library fails, as it does on windows after running for some time, when fanspeed reporting fails.
13 years ago
Con Kolivas
1152b4b4e0
Re-initialising ADL simply made the driver fail since it is corruption over time within the windows driver that's responsible.
...
Revert "Attempt to re-initialise ADL should a device that previously reported fanspeed stops reporting it."
This reverts commit d4c513030f
.
13 years ago
ckolivas
d4c513030f
Attempt to re-initialise ADL should a device that previously reported fanspeed stops reporting it.
13 years ago
ckolivas
43ef4e0443
Move the ADL setup and clearing to separate functions and provide a reinit_adl function to be used when adl fails while running.
13 years ago
Con Kolivas
2f71520368
Set the starting fanspeed to a safe and fairly neutral 50% when autofan is enabled.
13 years ago
Kano
eeec98098f
code changes for supporting a simple device history
13 years ago
Luke Dashjr
f05a319e01
CGPU API for device names
13 years ago
Luke Dashjr
ed8382c88d
Make curses TUI support optional at compile-time.
13 years ago
Con Kolivas
28f99bebf7
Use the return value of fan_autotune to set fan_optimal instead of passing it as a pointer.
13 years ago
Con Kolivas
d48faf3998
Pass the lasttemp from the device we're using to adjust fanspeed in twin devices.
13 years ago
Con Kolivas
0d083b63f5
Left out an else after the if statement.
13 years ago
Con Kolivas
b77656b78b
If we're well below the target temperature, increase gpu engine speed back to maximum in case we have gotten lost between profiles during an idle
...
period.
13 years ago
Con Kolivas
03f4f7e6a6
We should be setting the value of fan_optimal, not its address.
13 years ago
Con Kolivas
083c676378
Revert "Fan control should be fast enough to adjust now without needing to set a high starting speed."
...
This reverts commit e69080e987
.
On 2nd thought, this is still a safe default.
13 years ago
Con Kolivas
e69080e987
Fan control should be fast enough to adjust now without needing to set a high starting speed.
13 years ago
Con Kolivas
d1cddf8bad
Update licensing to GPL V3.
13 years ago
Con Kolivas
02295c69c8
Allow devices that are disabled due to overheating to be flagged as recovering instead of disabling them and re-enable them if they're below ideal
...
temperatures and --no-restart has not been set.
13 years ago
Con Kolivas
810ad04578
More copyright updates.
13 years ago
Con Kolivas
be9db9ce63
Copyright updates.
13 years ago
Con Kolivas
fa4ce8daf2
Keep track of intended engine clock speed and only adjust up if it's higher than the last intended speed. This avoids setting the clock speed to one
...
relative to a lower profile one by mistake.
13 years ago
Con Kolivas
d1cf80a546
Use gpu-memdiff on startup if an engine clockspeed is set and a memdiff value is set.
13 years ago
Con Kolivas
66ea9304af
Revert "Adjust engine speed up according to performance level engine setting, not the current engine speed."
...
This reverts commit 68217ef6ee
.
This did not have the desired effect and only added complexity.
13 years ago
Con Kolivas
c42709745a
Revert "Logic fail on engine multiplier."
...
This reverts commit b0787e07c8
.
2nd of 3.
13 years ago
Con Kolivas
eb5dcc60a0
Revert "Correct yet more logic fail :("
...
This reverts commit 83b76da2c6
.
First of 3.
13 years ago
Con Kolivas
83b76da2c6
Correct yet more logic fail :(
13 years ago
Con Kolivas
b0787e07c8
Logic fail on engine multiplier.
13 years ago
Con Kolivas
68217ef6ee
Adjust engine speed up according to performance level engine setting, not the current engine speed.
13 years ago
Con Kolivas
07c2ee5317
Put win32 equivalents of nanosleep and sleep into compat.h fixing sleep() for adl.c.
13 years ago