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

5649 Commits

Author SHA1 Message Date
Noel Maersk
3ade514b94 log: Do not pad log string with a space. 2014-01-11 17:33:00 +02:00
Noel Maersk
f6f950273b log: Change log_dateformat to log_show_date and make it bool. 2014-01-11 17:32:57 +02:00
Martin Danielsen
ba1c47781f log: Added a switch to the log date and time format.
It is possible to switch back to full date and time on each log line with "--log-dateformat 1". The short time-only format is default with the value of 0.

Log with short time-only format looks like:
 [23:59:59] Accepted 389c47d1 Diff 1.16K/512 GPU 0 pool 0
 [00:00:16] Log date is now 2013-12-22
 [00:00:16] Stratum from pool 0 detected new block
 [00:00:33] Accepted 7a4950a4 Diff 536/512 GPU 0 pool 0
2014-01-11 17:32:39 +02:00
Martin Danielsen
fd8d465b02 core: Timeout on switching back to a pool after a broken connection lowered from 5 minutes to one minute. 2014-01-11 17:32:34 +02:00
Noel Maersk
5f8e69ff40 doc: Fix build instructions. 2013-12-22 17:17:48 +02:00
Noel Maersk
02c7b9de7b misc: AUTHORS cleanup. 2013-12-22 17:04:11 +02:00
Noel Maersk
1cb220781a core: Clarify --scrypt deprecation message. 2013-12-22 16:45:33 +02:00
Noel Maersk
8cc7ba7867 misc: Add Benjamin to AUTHORS.
Rename AUTHORS to AUTHORS.md.
2013-12-22 16:43:04 +02:00
Benjamin Herrenschmidt
9b8a7319c0 core: Add back a dummy --scrypt option
Removing it means existing shell scripts fail unless they are updated
to remove passing the option. Instead, just print a deprecation
warning.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-12-22 13:10:20 +11:00
Benjamin Herrenschmidt
4256bd10d8 adl: Properly restore default perf levels
We were copying the *pointer* to the perf levels structure rather
than the structure itself, and thus restoring the perf levels
did basically nothing.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-12-22 12:58:34 +11:00
Benjamin Herrenschmidt
f44d2fc57f adl: Fix query of default fan speed
This fixes a crash of the AMD driver when quitting as we were trying
to apply what basically is an uninitialized value.

Adds additional code to cope with a failure to retrieve just in case
we hit another problem like that in the future.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-12-22 12:58:34 +11:00
Noel Maersk
199cb10e18 HAVE_OPENCL is mandatory, remove checks form code an build system. 2013-12-05 20:49:18 +02:00
Noel Maersk
75e0cfc847 Update AUTHORS (add Noel Maersk aka veox). 2013-12-04 15:58:30 +02:00
Noel Maersk
dcd417a2be Update README with minimal instructions on how to build with ADL SDK. 2013-12-04 15:54:47 +02:00
Noel Maersk
e1413db04d README stray semicolon. 2013-12-04 15:52:43 +02:00
Noel Maersk
a5ba238c26 README whitespace. 2013-12-04 15:50:37 +02:00
Noel Maersk
82298d6457 README update. 2013-12-04 15:48:35 +02:00
Noel Maersk
dcb0111a22 Add all sources unconditionally in Makefile.am.
As in wolf's branch: cfac323a4f
2013-12-04 00:37:49 +02:00
Noel Maersk
edf6779650 Minor README improvements. 2013-12-03 21:27:13 +02:00
Noel Maersk
16730ed90e Reinstitute MAX_INTENSITY=42, but this time with a note in SCRYPT-README. 2013-12-03 21:14:25 +02:00
Noel Maersk
4bc93fbf8b Remove mentiones of unused options. 2013-12-03 21:14:07 +02:00
Noel Maersk
4532cb54ad Minor SCRYPT-README imrovements.
A few unnecessary words.
2013-12-03 20:51:55 +02:00
Noel Maersk
d062a6086d Revert MAX_INTENSITY increase.
Tested with new Catalyst drivers and AMD APP SDK. This is silly and breaks
things.
2013-12-03 20:51:08 +02:00
Noel Maersk
533f16aeb1 Increase MAX_INTENSITY to 42.
Untested, since I do not have the hardware that supports such high a setting.

Requested by yellowz06 on Litecoin Forum:
https://forum.litecoin.net/index.php/topic,6925.msg54952.html#msg54952
2013-11-27 14:08:27 +02:00
Noel Maersk
ebecc791e5 Remove unused HashFast header files. 2013-11-25 02:01:24 +02:00
Noel Maersk
fd57382ef7 Remove USE_USBUTILS define clauses.
This software shall not support USB devices. They should be handled
by different software. Inter-software compatibility (such as stats
pulling) should be maintained on an API level.
2013-11-25 01:58:50 +02:00
Noel Maersk
664fc33b0c Remove code for Bitcoin GPU kernel execution. 2013-11-24 22:16:16 +02:00
Noel Maersk
ec1796e864 Remove scrypt selection form configure.ac altogether. 2013-11-24 20:06:38 +02:00
Noel Maersk
59c46ff094 Don't track *.lo 2013-11-24 19:53:21 +02:00
Noel Maersk
323af83fdb Remove define-clauses for USE_SCRYPT. 2013-11-24 19:52:14 +02:00
Noel Maersk
aa06d390be Don't report that scrypt is enabled in configure output. 2013-11-24 19:42:40 +02:00
Noel Maersk
95586f72f0 Squash-merge branch dead-end with unnecessary check removals. 2013-11-24 16:18:10 +02:00
Noel Maersk
9f64ee9c99 Remove USB, FPGA and ASIC files.
Code referencing these files is still present, but not compiled through the use of defines.
2013-11-24 15:52:29 +02:00
Noel Maersk
bb29c29efb Update README warning. 2013-11-24 15:36:50 +02:00
Noel Maersk
37cd3fb04c Get rid of several opt_scrypt checks.
--scrypt will eventually become a default, and is the only reason to use this
version of cgminer.
2013-11-24 15:28:53 +02:00
Noel Maersk
593080d972 Update READMEs. 2013-11-19 02:39:17 +02:00
Noel Maersk
d0070c0424 HARD RESET to: Remove Bitcoin detection code.
I'm pretty sure no one was working on this but me.

The code was unusable (gave 100% hardware errors) due to me not
testing it sufficiently. I hope this will not happen again.

ADL doesn't work for some reason, too.
2013-11-19 02:32:58 +02:00
Noel Maersk
8ea32a0b7a Don't run configure automatically. 2013-11-17 03:31:25 +02:00
Con Kolivas
829f0687bf Bump version to 3.7.2 2013-11-06 00:26:12 +11:00
Con Kolivas
5d7c99f389 Revert "Return ETIMEDOUT regardless if we fail in cgsem_mswait since we may be waiting on it on shutdown and the return response is harmless."
This reverts commit 3dcae53e38.
2013-11-06 00:24:16 +11:00
Con Kolivas
0485208342 Bump version to 3.7.1 2013-11-05 22:07:26 +11:00
Con Kolivas
528eadb7fa Update NEWS 2013-11-05 21:59:49 +11:00
Con Kolivas
3dcae53e38 Return ETIMEDOUT regardless if we fail in cgsem_mswait since we may be waiting on it on shutdown and the return response is harmless. 2013-11-05 21:56:01 +11:00
Con Kolivas
82a97a04f5 Avalon doesn't like losing its device data even after it's been unplugged. 2013-11-05 21:27:11 +11:00
Con Kolivas
31bbaa1491 Don't free the cgpu data on shutting down avalon driver. 2013-11-05 21:21:57 +11:00
Con Kolivas
ce196049fd Clean up completely on avalon shutdown. 2013-11-05 21:19:48 +11:00
Con Kolivas
a4c96d759a Use cgsem timed waits in avalon driver to not miss any queued wake ups to account for async messages coming during a flush work. 2013-11-05 21:09:08 +11:00
Con Kolivas
7011a7a008 Statline before is too long on icarus that doesn't have monitoring. 2013-11-05 19:20:38 +11:00
Con Kolivas
b1be5c6d12 Different windows+usb combinations respond with varying levels of reliability wrt timeouts so use a nominal extra 40ms before cancelling transfers that fail to time out on their own. 2013-11-05 19:18:20 +11:00
Con Kolivas
21f18956a8 Revert "Use no cancel transfer functions on windows in callback_wait"
This reverts commit 8f6acad8ec.
2013-11-05 19:11:20 +11:00