151 Commits (68111323b363ac89333feb742e4372aa02db0f30)

Author SHA1 Message Date
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." 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." 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. 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 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." 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 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 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." 13 years ago
Con Kolivas c42709745a Revert "Logic fail on engine multiplier." 13 years ago
Con Kolivas eb5dcc60a0 Revert "Correct yet more logic fail :(" 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
Con Kolivas 405a2120f8 Remove unnecessary check for opt_debug on every invocation of applog at LOG_DEBUG and place the check in applog(). 13 years ago
Con Kolivas 2b61d973cd Remove the test for whether the device is on the highest profil level before raising the GPU speed as it is ineffectual and may prevent raising the GPU 13 years ago
Luke Dashjr 543265d66a Generalize --temp-cutoff and implement support for reading temperature from BitFORCE FPGAs 13 years ago
Con Kolivas c72a8b8cc9 Silence ADL warnings. 13 years ago
Con Kolivas 23685aa41e Continue auto-management of fan and engine speeds even if a device is disabled for safety reasons. 13 years ago
Con Kolivas f8fed37e02 No need to check we're highest performance level when throttling GPU engine speed. 13 years ago
Con Kolivas af5aaece97 Revert "Pass the correct GPU from the menu to the adl code." 13 years ago
Con Kolivas 94059c06f4 Ensure all virtual_gpu entries are set when the number of ADL devices does not match the number of OpenCL devices. 13 years ago
Con Kolivas c9404f4d11 Make sure to set virtual adapters if --dev-reorder is not enabled or device numbers don't match. 13 years ago
Con Kolivas 5a14ec53c8 Add a --dev-reorder option to only reorder devices according to PCI Bus ID when requested. 13 years ago