1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00
Commit Graph

2468 Commits

Author SHA1 Message Date
Kano
c21fc06560 define API option --api-groups 2012-06-27 21:28:18 +10:00
Kano
e4f9cc4e3e api.c allow unwell devices to be enabled so they can be cured 2012-06-27 21:21:54 +10:00
Con Kolivas
baaa870d2c Merge pull request #240 from kanoi/master
miner.php - fix/enable autorefresh for custom pages
2012-06-26 22:41:57 -07:00
Kano
f43ee5d652 miner.php - fix/enable autorefresh for custom pages 2012-06-27 15:26:27 +10:00
Con Kolivas
eae545f27a Merge pull request #239 from kanoi/master
miner.php allow custom summary pages - new 'Mobile' summary
2012-06-26 22:14:13 -07:00
Kano
edd1f83a77 miner.php allow custom summary pages - new 'Mobile' summary 2012-06-27 15:08:59 +10:00
ckolivas
794b6558a3 Merge branch 'master' of https://github.com/ckolivas/cgminer 2012-06-27 10:55:50 +10:00
ckolivas
21a23a45d7 Work around pools that advertise very low expire= time inappropriately as this leads to many false positives for stale shares detected. 2012-06-27 10:15:57 +10:00
Paul Sheppard
d3e2b62c54 Change sick/dead processing to use device pointer, not gpu array.
Change BFL timing to adjust only when hashing complete (not error/idle etc.).
2012-06-26 14:45:48 -07:00
Paul Sheppard
78d5a81d70 Merge branch 'master' of https://github.com/ckolivas/cgminer.git 2012-06-26 12:32:09 -07:00
Con Kolivas
fab619ad38 Merge pull request #238 from kanoi/master
fpgautils.c include a debug message for all unknown open errors
2012-06-26 05:40:22 -07:00
Con Kolivas
ae400b4f09 Only show ztex board count if any exist. 2012-06-26 22:38:18 +10:00
Con Kolivas
68a3a9ad10 There is no need for work to be a union in struct workio_cmd 2012-06-26 22:37:24 +10:00
Kano
c8fcf5ac65 fpgautils.c include a debug message for all unknown open errors 2012-06-26 20:45:59 +10:00
Con Kolivas
028597d37d Merge pull request #237 from luke-jr/serial_open_failerr
Log a specific error when serial opens fail due to lack of user permissions
2012-06-25 23:07:23 -07:00
Con Kolivas
405eeb6337 Merge pull request #236 from kanoi/master
fpgautils.c - set BAUD rate according to termio spec
2012-06-25 23:06:57 -07:00
ckolivas
b198423d17 Don't keep rolling work right up to the expire= cut off. Use 2/3 of the time between the scantime and the expiry as cutoff for reusing work. 2012-06-26 16:01:06 +10:00
ckolivas
6e80b63bb8 Revert "Increase the getwork delay factored in to determine if work vs share is stale to avoid too tight timing."
This reverts commit d8de1bbc5b.

Wrong fix.
2012-06-26 15:43:03 +10:00
Luke Dashjr
f8774ff611 Log a specific error when serial opens fail due to lack of user permissions 2012-06-26 04:14:57 +00:00
ckolivas
c7eb9f3761 Microsecond multiplier error. 2012-06-26 14:05:54 +10:00
ckolivas
d8de1bbc5b Increase the getwork delay factored in to determine if work vs share is stale to avoid too tight timing. 2012-06-26 13:07:08 +10:00
ckolivas
dffda2382f Increase GPU timing resolution to microsecond and add sanity check to ensure times are positive. 2012-06-26 12:50:52 +10:00
ckolivas
999dba479a Revert "Use much more damping when determining average opencl duration to change dynamic intensity."
This reverts commit 04e528d38f.

Didn't help.
2012-06-26 12:26:25 +10:00
Paul Sheppard
1ef52e0bac Check for submit_stale before checking for work_restart
(to keep Kano happy)
2012-06-25 19:23:10 -07:00
ckolivas
04e528d38f Use much more damping when determining average opencl duration to change dynamic intensity. 2012-06-26 11:29:29 +10:00
ckolivas
79a4e25742 Opencl code may start executing before the clfinish order is given to it so get the start timing used for dynamic intensity from before the kernel is queued. 2012-06-26 11:12:13 +10:00
Paul Sheppard
df9e76bd73 Merge branch 'master' of https://github.com/ckolivas/cgminer.git 2012-06-25 10:56:04 -07:00
Paul Sheppard
f149aea91e Redo recover removal.
FML.
2012-06-25 10:33:18 -07:00
Paul Sheppard
90d82aa61d Revert to pre pool merge 2012-06-25 10:27:08 -07:00
Paul Sheppard
50e996c753 Get rid of recover mode. Not useful at all.
Change zero hash to no start error. Neither is accurate, but zero hash makes less sense than no start.
2012-06-25 10:01:34 -07:00
Kano
c540cd9126 fpgautils.c - set BAUD rate according to termio spec 2012-06-26 02:34:44 +10:00
Con Kolivas
b2cef11480 Merge pull request #235 from kanoi/master
icarus - must allows allocate memory for icarus_info
2012-06-25 06:18:27 -07:00
Kano
3763cb0bad icarus - must allows allocate memory for icarus_info 2012-06-25 23:16:07 +10:00
Con Kolivas
cc557b3f8d Merge pull request #234 from kanoi/master
fpgautils.c - must initialise c_cflag before using it
2012-06-25 06:05:48 -07:00
Kano
cb1634debf fpgautils.c - linux ordering back to the correct way 2012-06-25 22:35:16 +10:00
Con Kolivas
e53c033aa8 Icarus needs not +2 for realloc, just +1. 2012-06-25 20:12:55 +10:00
Con Kolivas
e30e2f783a Merge pull request #233 from kanoi/master
miner.php enhancements: refresh, restart, font configurable
2012-06-25 03:11:17 -07:00
Kano
5ef8528470 miner.php remove unneeded '.'s 2012-06-25 20:02:40 +10:00
Kano
f2e6ac50a4 miner.php add auto refresh options 2012-06-25 19:53:13 +10:00
Kano
597f5fa389 miner.php add 'restart' next to 'quit' 2012-06-25 18:12:00 +10:00
Kano
cffd5aee30 miner.php make fontname/size configurable with myminer.php 2012-06-25 18:01:49 +10:00
Con Kolivas
c027492fa4 Make the pools array a dynamically allocated array to allow unlimited pools to be added. 2012-06-25 17:06:26 +10:00
Con Kolivas
5cf4b7c432 Make the devices array a dynamically allocated array of pointers to allow unlimited devices. 2012-06-25 16:59:29 +10:00
Con Kolivas
eaf1505381 Dynamic intensity for GPUs should be calculated on a per device basis. Clean up the code to only calculate it if required as well. 2012-06-25 13:31:52 +10:00
Con Kolivas
17ba2dca63 Logic fail on queueing multiple requests at once. Just queue one at a time. 2012-06-25 10:51:45 +10:00
Con Kolivas
42ea29ca4e Use a queueing bool set under control_lock to prevent multiple calls to queue_request racing. 2012-06-25 00:58:18 +10:00
Con Kolivas
63dd598e2a Queue multiple requests at once when levels are low. 2012-06-25 00:42:51 +10:00
Con Kolivas
757922e4ce Use the work clone flag to determine if we should subtract it from the total queued variable and provide a subtract queued function to prevent looping over locked code. 2012-06-25 00:33:47 +10:00
Con Kolivas
49dd8fb548 Don't decrement staged extras count from longpoll work. 2012-06-25 00:25:38 +10:00
Con Kolivas
d93e5f710d Count longpoll's contribution to the queue. 2012-06-25 00:23:58 +10:00