Con Kolivas
|
12e99c83dd
|
Initialise all the iSizes of the ADL structures for completeness.
|
2011-09-16 16:42:11 +10:00 |
|
Con Kolivas
|
07c21bcbc4
|
Don't forget to set the actual fanspeed too!
|
2011-09-16 10:40:58 +10:00 |
|
Con Kolivas
|
3c38adc9ce
|
Only set the speed once, but set it only if fanspeed get says the card is ok and ready.
|
2011-09-16 10:27:36 +10:00 |
|
Con Kolivas
|
67fe6ab726
|
Don't both with adapter speed set as it has no effect on mining speed.
|
2011-09-16 10:26:25 +10:00 |
|
Con Kolivas
|
92e1ffd374
|
Store the targetfan even if the later getfanspeed fails in case it's temporary.
|
2011-09-16 08:31:27 +10:00 |
|
Con Kolivas
|
8feb661dbf
|
Set the fanspeed in coarse rounded up values and then ever finer grained values in case the card does not support fine values.
|
2011-09-15 20:48:20 +10:00 |
|
Con Kolivas
|
8566ed44d2
|
Just keep whatever longpoll we have if it's working instead of risking the stop/start dereference problem.
|
2011-09-15 20:06:09 +10:00 |
|
Con Kolivas
|
ae6fe96593
|
Revert "Restart longpoll under lock when we'll be reusing it on pool switch to prevent derefs."
This reverts commit 2cae5c1dc3 .
Gets stuck. Needs more thought.
|
2011-09-15 17:37:02 +10:00 |
|
Con Kolivas
|
2cae5c1dc3
|
Restart longpoll under lock when we'll be reusing it on pool switch to prevent derefs.
|
2011-09-15 14:51:04 +10:00 |
|
Con Kolivas
|
3f10e80a93
|
If the user defined flag is not set on fanspeed, set the fanspeed with it first.
|
2011-09-15 12:19:07 +10:00 |
|
Con Kolivas
|
8e2becc12d
|
Change pth from being a pointer as we can dereference if we're unlucky on stopping longpoll.
|
2011-09-15 11:46:17 +10:00 |
|
UukGoblin
|
88fd7c1d38
|
use ATISTREAMSDKROOT env variable if available...
... to determine the location of OpenCL libs
clean up the use of OPENCL_* vars in autostuff
|
2011-09-15 11:34:39 +10:00 |
|
Con Kolivas
|
87ec3f4789
|
Convert fanspeed management to default on exit.
|
2011-09-15 11:21:54 +10:00 |
|
Con Kolivas
|
833e020dfd
|
Standardise the way all non-mining threads are destroyed to make sure we can safely cancel them, freeing ram and NULLifying pointers.
|
2011-09-15 10:34:59 +10:00 |
|
Con Kolivas
|
e1c7235227
|
Get the current pool priority under lock to avoid dereferencing.
|
2011-09-14 23:15:42 +10:00 |
|
Con Kolivas
|
918ec7b0b2
|
Enable adl earlier to allow values to be set in init_adl or they're silently ignored!
|
2011-09-14 23:03:50 +10:00 |
|
Con Kolivas
|
1db6ab0b01
|
Set targetfan when fanspeed is set on parameters.
|
2011-09-14 23:03:37 +10:00 |
|
Con Kolivas
|
fc4279136e
|
Use the longpoll provided work to test_work_current since we know it's almost certainly from a new block even though we may check it later again.
|
2011-09-14 21:48:53 +10:00 |
|
Con Kolivas
|
2e09eee708
|
Use the gpu_fan set value as the starting fan speed.
Don't try and change the value if get() doesn't match as it's unreliable, just save the reentrant value.
Limit fanspeeds to reported iMax and iMin.
|
2011-09-14 21:45:04 +10:00 |
|
Con Kolivas
|
84a3ee45fd
|
Bump version to 2.0.2.
|
2011-09-11 15:33:36 +10:00 |
|
Con Kolivas
|
d3ac27940a
|
Update NEWS.
|
2011-09-11 15:18:23 +10:00 |
|
Con Kolivas
|
9d84e91560
|
Properly substitute DLOPEN flags to build with ADL support when -ldl is needed and not when opencl is not found.
|
2011-09-11 13:32:19 +10:00 |
|
Con Kolivas
|
863488e3d0
|
Display fan percentage on devices that only support reporting percent and not RPM.
|
2011-09-11 12:32:36 +10:00 |
|
Con Kolivas
|
d42211f09a
|
Missing bracket from output.
|
2011-09-11 12:01:17 +10:00 |
|
Con Kolivas
|
88eb514cd1
|
Only display supported values from fanspeed on change settings.
|
2011-09-11 11:57:08 +10:00 |
|
Con Kolivas
|
b4009adaac
|
Remove redundant check.
|
2011-09-11 11:47:22 +10:00 |
|
Con Kolivas
|
ebae03f22b
|
Do not bother resetting values to old ones if changes to GPU parameters report failure, instead returning a failure code only if the return value from get() differs.
|
2011-09-11 11:38:02 +10:00 |
|
Con Kolivas
|
dff1a81da7
|
Use a re-entrant value to store what fanspeed we're trying to set in case the card doesn't support small changes.
Force it to a multiple of 10% if it fails on trying to speed up the fan.
|
2011-09-11 11:25:28 +10:00 |
|
Con Kolivas
|
076677dd53
|
Flag any devices with autofan or autogpu as being managed.
|
2011-09-11 11:08:01 +10:00 |
|
Con Kolivas
|
a602f4e55f
|
Only force the adapter speed to high if we've flagged this device as being managed.
|
2011-09-11 11:06:52 +10:00 |
|
Con Kolivas
|
d5fe2cfd7a
|
Flag devices that have never started and don't allow enabling of devices without restarting them.
|
2011-09-11 10:48:39 +10:00 |
|
Con Kolivas
|
fa790a4f12
|
Fix a rare crash in HASH_DEL due to using different mutexes to protect the data.
|
2011-09-11 10:33:30 +10:00 |
|
Luke Dashjr
|
1f15d7eafa
|
Advertise rollntime extension support
Thanks to raijin for testing!
|
2011-09-10 09:24:33 +10:00 |
|
Con Kolivas
|
bcba6f83fb
|
Exit cleanly if we abort before various threads are set up or if they no longer exist.
|
2011-09-09 21:04:16 +10:00 |
|
Con Kolivas
|
5abf83860b
|
Bump version to 2.0.1
|
2011-09-09 12:21:19 +10:00 |
|
Con Kolivas
|
c486e55802
|
Update NEWS.
|
2011-09-09 12:20:51 +10:00 |
|
Con Kolivas
|
e7ec2d0471
|
Update README.
|
2011-09-09 12:17:02 +10:00 |
|
Con Kolivas
|
ab67b14460
|
Make RPM 4 characters wide in curses status for neatness.
|
2011-09-09 12:01:06 +10:00 |
|
Con Kolivas
|
25c77ae85f
|
Only display values in the log if they're supported and standardise device log line printing.
|
2011-09-09 11:53:45 +10:00 |
|
Con Kolivas
|
1917643dd0
|
Do away with the increasingly confusing and irrelevant total queued and efficiency measures per device.
|
2011-09-09 10:19:01 +10:00 |
|
Con Kolivas
|
2fafdab985
|
Allow adapterid 0 cards to enumerate as a device as they will be non-AMD cards, and enable ADL on any AMD card.
|
2011-09-09 10:03:10 +10:00 |
|
Con Kolivas
|
758afbf00e
|
Add -lpthread, not -pthread and remove -lm which is not required.
|
2011-09-08 21:42:00 +10:00 |
|
Con Kolivas
|
6c8341f133
|
Define max gpudevices in one macro.
|
2011-09-08 14:44:14 +10:00 |
|
Con Kolivas
|
4b43efceca
|
Use a terser device status line to show fan RPM as well when available.
|
2011-09-08 14:27:32 +10:00 |
|
Con Kolivas
|
f1cf79ae9d
|
With many cards, the GPU summaries can be quite long so use a terse output line when showing them all.
|
2011-09-08 14:17:05 +10:00 |
|
Con Kolivas
|
b7d817812c
|
Setting the hysteresis is unlikely to be useful on the fly and doesn't belong in the per-gpu submenu.
|
2011-09-08 14:10:55 +10:00 |
|
Con Kolivas
|
0e1c291624
|
Display fan range in autofan status.
|
2011-09-08 14:05:41 +10:00 |
|
Con Kolivas
|
355b24cef3
|
Document the temperature command line changes.
|
2011-09-08 14:00:03 +10:00 |
|
Con Kolivas
|
e0a9f1aae3
|
Allow temperature targets to be set on a per-card basis on the command line.
|
2011-09-08 13:53:10 +10:00 |
|
Con Kolivas
|
d6f3bd0564
|
Display which GPU has overheated in warning message.
|
2011-09-08 13:33:24 +10:00 |
|