Con Kolivas
2b78182445
Set the fanspeed to the nominal chosen for GPUs.
2013-05-30 12:16:19 +10:00
Con Kolivas
274bf69485
Clamp initial GPU fanspeed to within user specified range.
2013-05-30 11:20:42 +10:00
Kano
7e3242b05c
adl fix trailing %
2013-05-02 23:07:06 +10:00
Kano
6fb32f7b5d
convert sleep(const) to nmsleep()
2013-02-08 02:32:27 +11:00
Con Kolivas
f14bf5b16c
Merge pull request #326 from pshep/error_counters
...
Error counters
2012-11-17 22:06:49 -08:00
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.
2012-11-18 17:03:50 +11:00
Paul Sheppard
9f74e650b3
Tidy up device error counts
2012-11-04 20:17:43 -08:00
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.
2012-08-20 11:52:15 +10:00
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.
2012-08-20 10:34:25 +10:00
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.
2012-08-15 11:55:30 +10:00
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.
2012-08-15 11:49:23 +10:00
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.
2012-08-15 10:37:00 +10:00
Con Kolivas
2a474fe914
Fix ADL gpu-map not working when there are more ADL devices than openCL. Patch supplied and tested by Nite69.
2012-08-15 09:55:40 +10:00
Con Kolivas
920c56c93b
Add specific information when ADL detects error -10 saying the device is not enabled.
2012-08-06 11:39:32 +10:00
Luke Dashjr
a1edc7dbcb
Bugfix: Fix build without curses but with OpenCL
2012-07-15 05:37:49 +00:00
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.
2012-06-28 09:42:24 +10:00
Con Kolivas
e16452f09f
Adjust the fanspeed by the magnitude of the temperature difference when in the optimal range.
2012-06-28 09:26:33 +10:00
Con Kolivas
55aaa7c1cc
Slightly different message since restart may not be successful.
2012-06-28 09:11:29 +10:00
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.
2012-06-28 09:07:22 +10:00
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.
2012-06-22 13:38:47 +10:00
Con Kolivas
1e3888336b
Consider the fan optimal if fanspeed is dropping but within the optimal speed window.
2012-06-14 11:24:32 +10:00
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.
2012-06-12 21:02:59 +10:00
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.
2012-05-31 08:34:06 +10:00
Con Kolivas
23b224faf9
Reinit_adl is no longer used.
2012-05-06 12:01:04 +10:00
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.
2012-05-05 12:55:00 +10:00
Con Kolivas
87708a6a0e
Provide simple macros for the repeated use of checking the first value of the input char with strncasecmp.
2012-05-04 23:05:00 +10:00
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.
2012-04-23 17:40:47 +10:00
Luke Dashjr
b8778839e9
Merge branch 'master' into unify_drivers
...
Conflicts:
cgminer.c
2012-04-21 02:36:19 -04:00
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.
2012-04-14 17:38:31 +10:00
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
.
2012-04-14 00:18:00 +10:00
ckolivas
d4c513030f
Attempt to re-initialise ADL should a device that previously reported fanspeed stops reporting it.
2012-03-29 11:47:28 +11:00
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.
2012-03-29 10:51:59 +11:00
Con Kolivas
2f71520368
Set the starting fanspeed to a safe and fairly neutral 50% when autofan is enabled.
2012-03-28 22:36:48 +11:00
Con Kolivas
7458927f02
Merge pull request #155 from luke-jr/no_curses
...
Make curses TUI support optional at compile-time.
2012-03-28 04:25:54 -07:00
Kano
eeec98098f
code changes for supporting a simple device history
2012-03-23 01:50:45 +11:00
Luke Dashjr
f05a319e01
CGPU API for device names
2012-03-18 21:32:01 -04:00
Luke Dashjr
ed8382c88d
Make curses TUI support optional at compile-time.
2012-03-12 18:38:45 -04:00
Con Kolivas
28f99bebf7
Use the return value of fan_autotune to set fan_optimal instead of passing it as a pointer.
2012-02-26 16:45:03 +11:00
Con Kolivas
d48faf3998
Pass the lasttemp from the device we're using to adjust fanspeed in twin devices.
2012-02-26 16:40:05 +11:00
Con Kolivas
0d083b63f5
Left out an else after the if statement.
2012-02-22 14:52:57 +11:00
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.
2012-02-22 14:39:22 +11:00
Con Kolivas
03f4f7e6a6
We should be setting the value of fan_optimal, not its address.
2012-02-22 14:26:29 +11:00
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.
2012-02-22 10:44:21 +11:00
Con Kolivas
e69080e987
Fan control should be fast enough to adjust now without needing to set a high starting speed.
2012-02-22 10:39:52 +11:00
Con Kolivas
d1cddf8bad
Update licensing to GPL V3.
2012-02-21 22:23:07 +11:00
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.
2012-02-19 20:19:47 +11:00
Con Kolivas
810ad04578
More copyright updates.
2012-02-18 23:16:08 +11:00
Con Kolivas
be9db9ce63
Copyright updates.
2012-02-18 23:00:21 +11:00
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.
2012-02-18 22:29:12 +11:00
Con Kolivas
d1cf80a546
Use gpu-memdiff on startup if an engine clockspeed is set and a memdiff value is set.
2012-02-18 19:49:52 +11:00