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

2105 Commits

Author SHA1 Message Date
Con Kolivas
20ce1ebf2a Typo. 2011-07-29 20:40:57 +10:00
Con Kolivas
0eaacb8c3e Merge pull request #23 from Kovensky/cgminer
Use pkg-config to check for libcurl version (actually links this time) (actually merges this time)
2011-07-28 22:10:11 -07:00
Diogo Franco
44faebecca Fix the Makefile.am for the last commit
That LIBCURL_CHECK_CONFIG macro apparently did some things wrong
too, like adding libraries to a non-standard "LIBCURL" variable
instead of "LIBCURL_LIBS". Fixes linking after the previous commit.
2011-07-29 00:04:39 -03:00
Diogo Franco
dc49d2407d Use pkg-config to check for libcurl version
Fixes autogen on OSX Lion, might fix for other platforms which
don't ship those libcurl m4 macros.
2011-07-29 00:04:39 -03:00
Con Kolivas
106d367b83 Revert "Use pkg-config to check for libcurl version"
This reverts commit 98387f94ac.

Broke generic building.
2011-07-29 12:50:55 +10:00
Con Kolivas
591666eacb Merge pull request #21 from Kovensky/cgminer
Use pkg-config to check for libcurl version
2011-07-28 18:28:41 -07:00
Diogo Franco
98387f94ac Use pkg-config to check for libcurl version
Fixes autogen on OSX Lion, might fix for other platforms which
don't ship those libcurl m4 macros.
2011-07-28 22:24:11 -03:00
Con Kolivas
3803760689 Reimplement the per-thread getwork count with proper accounting at get_work(). 2011-07-29 11:11:42 +10:00
Con Kolivas
0fe22d8d94 Revert "Only update the thread getwork queue count if it actually results in a getwork request from the server."
This reverts commit 2e607d44f2.

The count looks far too difficult to add up with this change since many are queued generically.
2011-07-29 11:02:47 +10:00
Con Kolivas
2e607d44f2 Only update the thread getwork queue count if it actually results in a getwork request from the server. 2011-07-29 10:39:58 +10:00
Con Kolivas
4365896ba2 Release the command queue created after we've copied the binary data. 2011-07-29 10:17:36 +10:00
Con Kolivas
283d5d2343 Create a command queue from the program created from source which allows us to flush the command queue in the hope it will not generate a zero sized binary any more. 2011-07-29 10:09:24 +10:00
Con Kolivas
1f837909fc Bump version number. 2011-07-29 01:16:39 +10:00
Con Kolivas
7a8ceee294 Update news. 2011-07-29 01:15:57 +10:00
Con Kolivas
5b9bfedda1 Display the correct current hash as per blockexplorer, truncated to 16 characters, with just the time. 2011-07-29 00:40:47 +10:00
Con Kolivas
668ab18f8f More logging info. 2011-07-28 23:14:47 +10:00
Con Kolivas
53e05c6413 Log to the output file at any time with warnings and errors, instead of just when verbose mode is on. 2011-07-28 19:55:54 +10:00
Con Kolivas
5a64ebcca6 Update news. 2011-07-28 13:08:17 +10:00
Con Kolivas
c94737ceab Add http:// if it's not explicitly set for URL entries. 2011-07-28 12:44:50 +10:00
Con Kolivas
9c52bc2074 Add faq about logging. 2011-07-28 12:07:23 +10:00
Con Kolivas
f0fe82ea37 Some Intel HD graphics support the opencl commands but return errors since they don't support opencl. Don't fail with them, just provide a warning and disable GPU mining. 2011-07-28 10:49:36 +10:00
Con Kolivas
10fa821e33 Update utility and efficiency figures when displaying them. 2011-07-28 10:46:28 +10:00
Con Kolivas
0006eb2da4 Make the "quiet" mode still update the status and display errors, and add a new --real-quiet option which disables all output and can be set once while running. 2011-07-28 10:36:48 +10:00
Con Kolivas
da06a348d0 The work length in the miner thread gets smaller but doesn't get bigger if it's under 1 second.
This could end up leading to CPU under-utilisation and lower and lower hash rates.
Fix it by increasing work length if it drops under 1 second.
2011-07-28 10:03:31 +10:00
Con Kolivas
a0924933d0 Restarting a hung GPU can hang the rest of the GPUs so just declare it dead and provide the information in the status. 2011-07-28 09:59:18 +10:00
Con Kolivas
013557a96e Bump version number. 2011-07-27 22:30:06 +10:00
Con Kolivas
b86df663d2 Update news. 2011-07-27 22:29:40 +10:00
Con Kolivas
45faff2e26 Add debugging output to all tq_pop calls. 2011-07-27 22:28:41 +10:00
Con Kolivas
2e2b2ba14c Add debugging output to tq_push calls. 2011-07-27 22:20:57 +10:00
Con Kolivas
70fa8f319b Make the display options clearer. 2011-07-27 21:58:08 +10:00
Con Kolivas
4b52f44054 Update news. 2011-07-27 20:49:34 +10:00
Con Kolivas
c7978f11ed Dividing work is like the work is never removed at all so treat it as such. However the queued bool needs to be reset to ensure we *can* request more work even if we didn't initially. 2011-07-27 20:40:06 +10:00
Con Kolivas
e82e390295 If work has been cloned it is already at the head of the list and when being reinserted into the queue it should be placed back at the head of the list. 2011-07-27 16:40:52 +10:00
Con Kolivas
9c12d49684 Attribute split work as local work generation. 2011-07-27 16:29:37 +10:00
Con Kolivas
720032dacd Make sure to decrease queued count if we discard the work. 2011-07-27 15:11:57 +10:00
Con Kolivas
967acd39bd Don't put an extra work item in the queue as each new device thread will do so itself. 2011-07-27 15:06:04 +10:00
Con Kolivas
82698fbffd Do away with queueing work separately at the start and let each thread grab its own work as soon as it's ready. 2011-07-27 15:01:08 +10:00
Con Kolivas
6cc8d22beb Properly detect stale work based on time from staging and discard instead of handing on, but be more lax about how long work can be divided for up to the scantime. 2011-07-27 14:53:43 +10:00
Con Kolivas
45d5435781 Make cpu mining work submission asynchronous as well. 2011-07-27 14:29:51 +10:00
Con Kolivas
380d145c64 Make threads report out when they're queueing a request and report if they've failed. 2011-07-27 14:03:01 +10:00
Con Kolivas
324dd93bb7 Don't take more than one lock at a time. 2011-07-27 10:36:16 +10:00
Con Kolivas
98f609b5be Sanity check to prove locking. 2011-07-27 10:31:44 +10:00
Con Kolivas
c72840284f Abstract out the decay time function and use it to make hash_div a rolling average so it doesn't change too abruptly and divide work in chunks large enough to guarantee they won't overlap. 2011-07-27 10:00:58 +10:00
Con Kolivas
a48895829e Update both windows separately, but not at the same time to prevent the double refresh crash that old libncurses has.
Do the window resize check only when about to redraw the log window to minimise ncurses cpu usage.
2011-07-27 09:41:52 +10:00
Con Kolivas
6f905932af Only free the thread structures if the thread still exists. 2011-07-27 08:32:25 +10:00
Con Kolivas
40bc82d4ca Don't adjust hash_div only up for GPUs. Disable hash_div adjustment for GPUs. 2011-07-27 02:03:59 +10:00
Con Kolivas
1aadfc580b Two redraws in a row cause a crash in old libncurses so just do one redraw using the main window. 2011-07-27 01:41:16 +10:00
Con Kolivas
3060b97de3 Bump version number. 2011-07-26 23:45:19 +10:00
Con Kolivas
0f6cf16f37 Update news. 2011-07-26 23:33:53 +10:00
Con Kolivas
93b284dbca Best to serialise the restarting of threads to avoid device initialisation issues. 2011-07-26 23:17:25 +10:00