1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-01 18:55:36 +00:00
Commit Graph

1282 Commits

Author SHA1 Message Date
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
Con Kolivas
b50041c880 Allow per-device fan ranges to be set and use them in auto-fan mode. 2011-09-08 13:29:13 +10:00
Con Kolivas
9b5cd61886 Implement accepting a range of engine speeds as well to allow a lower limit to be specified on the command line. 2011-09-08 13:04:39 +10:00
Con Kolivas
9752704ebe We should be passing a float for the remainder of the vddc values. 2011-09-08 10:57:50 +10:00
Con Kolivas
7ea7f5f324 Allow temperatures greater than 100 degrees. 2011-09-08 10:51:32 +10:00
Con Kolivas
df78f45dd9 Latest glibc appears to want linking against -lm as well for dlopen. 2011-09-08 09:53:14 +10:00
Con Kolivas
c64c27fa6f Only show longpoll received delayed message at verbose level. 2011-09-08 09:39:32 +10:00
Con Kolivas
4bb6b38134 More readme docs. 2011-09-08 09:31:31 +10:00
Con Kolivas
01a0d0a745 Add a --no-adl option to disable ADL monitoring and GPU settings. 2011-09-07 20:24:15 +10:00
Con Kolivas
26d1264c00 FAQ updates. 2011-09-07 20:19:16 +10:00
Con Kolivas
4628db5bfd Change the fan speed by only 5% if it's over the target temperature but less than the hysteresis value to minimise overshoot down in temperature. 2011-09-07 10:44:57 +10:00
Con Kolivas
3997f308a0 Add a thermal cutoff option as well and set it to 95 degrees by default. 2011-09-07 10:43:26 +10:00