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

1015 Commits

Author SHA1 Message Date
Luke Dashjr
014d43b06a Bugfix: fix linking when OpenCL is not detected 2011-09-23 10:46:59 +10:00
Con Kolivas
0ae3f71824 Check last temperature we reached and don't change fan speed if it's already correcting. 2011-09-23 10:46:34 +10:00
Con Kolivas
813aee385b Show menu again after enable, disable and restart GPU. 2011-09-23 10:22:35 +10:00
Con Kolivas
20ddda10dc Autoselect a GPU from the menu if it's the only device. 2011-09-23 10:19:24 +10:00
Con Kolivas
701c29fa64 Add message about needing to export display on linux. 2011-09-23 10:10:31 +10:00
Con Kolivas
da764e5441 Reset opencl flags if not detected to prevent build failure without opencl. 2011-09-23 10:04:09 +10:00
Con Kolivas
c04abf5cbe Include polarssl implementation of sha256 (sha2) and remove dependency on openssl. 2011-09-23 09:44:09 +10:00
Con Kolivas
11e5d2eadd Merge branch 'kano' of https://github.com/kanoi/cgminer into kanoi 2011-09-23 09:27:01 +10:00
Kano
037e8ac887 Change Accept/Reject message to show hash and BLOCK notification 2011-09-21 21:48:23 +10:00
Kano
ba14a6705e Remove EOL spaces from stderr and curses 2011-09-21 21:45:24 +10:00
Kano
8ecd15a616 Add BLOCK! notification and remove end of line blanks when not needed 2011-09-20 16:19:21 +10:00
Con Kolivas
9696b4d6ba Get rid of the convoluted way we detect whether LP discovered the new block and just use the work retrieved by the LP to know. 2011-09-18 23:18:47 +10:00
Kano
31a9176977 Add details of how to set the password for ssh 2011-09-18 21:46:24 +10:00
Kano
14c557faa9 Watch USB disk space in /var/log/ 2011-09-18 21:45:30 +10:00
Kano
3dae209d4e Add details of how to set the password for ssh 2011-09-18 21:16:24 +10:00
Kano
625e7a64c9 Fix tabs 2011-09-18 18:55:36 +10:00
Kano
37b017fda4 Show hash (instead of nonce) in Accept/Reject messages 2011-09-18 15:10:12 +10:00
Kano
bc96efa56f Watch USB disk space in /var/log/ 2011-09-18 14:48:40 +10:00
Con Kolivas
1016ae4cd4 Bump version number to 2.0.3. 2011-09-17 13:38:37 +10:00
Con Kolivas
d0901858f5 Update NEWS. 2011-09-17 13:36:04 +10:00
Con Kolivas
b8ea0dd194 Update curses logging to allow LOG_WARNING and LOG_ERR messages to still go through while within the menu, and drop share message to LOG_NOTICE. 2011-09-17 13:25:04 +10:00
Con Kolivas
5a24c2829a Try to set temperature regardless of whether get fanspeed fails. This may need to be reverted if it causes problems. 2011-09-16 16:46:14 +10:00
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