1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-08 22:08:02 +00:00
Commit Graph

6393 Commits

Author SHA1 Message Date
ystarnaud
9d54637e3c Fix HW Issue at startup
Fixed an issue where the GPUs would be initialized on first pool alive,
but the mining threads would end up being initialized on another pool
because it was selected right away.
2014-06-30 00:12:12 -04:00
ystarnaud
3ae5f97b94 Algorithm Switcher Update
Updated Algorithm switcher to change on pool rather than on algorithm.
This way if, for example, 2 pools use the same algorithm but different
GPU settings, the settings will be applied when changing pool.

Additionally:
* Included a "common" algorithm type in API pool/profile listing. For
example using "marucoin-mod" will return "X13", "darkcoin-mod" will
return "X11", scrypt + nfactor != 10 will return "NScrypt", etc...

* Added "kernel" config option to be backwards compatible with other
miners' configs.

* Added a few algorithm aliases: x11mod -> darkcoin-mod, x13mod ->
marucoin-mod...

* New config keyword: "includes", which holds an array of include files.
This is to counter the JSON limitation not allowing multiple values with
the same name, thus preventing inclusion of multiple files.
2014-06-28 00:54:17 -04:00
Noel Maersk
10fcbd3302 tools: typo in update_changelog.sh. 2014-06-27 18:25:16 +03:00
Noel Maersk
0677b9564e Merge branch 'master' into v5_0
Conflicts (resolved):
	NEWS.md
	sgminer.c
	util.c
2014-06-27 18:21:11 +03:00
Noel Maersk
92d2256dda Bump version to 4.2.2. 2014-06-27 17:59:08 +03:00
Noel Maersk
ae941268bd tools: update_changelog.sh and entire ChangeLog. 2014-06-27 17:54:05 +03:00
ystarnaud
82518d6396 Merge pull request #291 from Elbandi/v5_0
Fix typo
2014-06-27 08:22:15 -04:00
Elbandi
cc699e1d37 Fix typo 2014-06-27 13:17:55 +02:00
ystarnaud
044bf70901 Nfactor fix
Sometimes the json parser, will read/apply nfactor before algorithm is set. When that is the case, set_algorithm() will reset nfactor to 10 preventing nscrypt from loading properly. Corrected the function to use previously set nfactor or default to 10.
2014-06-25 01:01:03 -04:00
Noel Maersk
78014ab0d5 work queue: verbose log as to why staged work is being discarded. 2014-06-24 19:20:32 +03:00
ystarnaud
7024d14c88 Fix high fan issue at startup/algo switch
Was setting fan speed to gpu_fan (which is the max) instead of min_fan on GPU settings change.
2014-06-24 10:45:43 -04:00
ystarnaud
f0527d3d43 Fix high fan issue at startup/algo switch
Was setting fan speed to gpu_fan (which is the max) instead of min_fan on GPU settings change.
2014-06-24 10:45:39 -04:00
ystarnaud
99082f4269 GPU initialization update
Undo 212009a48a as it caused some issues with some pools and configs.
2014-06-23 20:45:16 -04:00
ystarnaud
212009a48a GPU Initialization update
Moved the GPU initialization block to happen when a pool is actually switched to. Sometimes the first pool alive isn't the first pool switched to. This would result in unnecessary kernel loading if the first pool detected alive isn't used right away.
2014-06-23 17:20:26 -04:00
ystarnaud
76287736e2 Fixed GPU initialization
Fixed the GPU initialization to happen only after the first pool alive is switched to. This way no unnecessary kernels are loaded.
2014-06-23 16:40:34 -04:00
ystarnaud
e9b82991ec 60 second quit fix after algo switch 2014-06-23 12:04:05 -04:00
ystarnaud
b91f2d3501 60 second quit fix after algo switch 2014-06-23 12:01:24 -04:00
ystarnaud
3a728e65fb Fix possible config issue
Fixing a possible problem where loading default profile would override global level options.
2014-06-23 05:17:07 -04:00
ystarnaud
416c6b68bf Update AUTHORS.md 2014-06-22 14:37:52 -04:00
troky
c78f14d7e1 Update windows-build.txt 2014-06-22 11:01:56 +02:00
ystarnaud
0bdb7d340a Fix issue compiling in mingw32 2014-06-21 23:57:35 -04:00
ystarnaud
4278c8773b Fixed kernel problems under 13.12
Should address #284
2014-06-21 19:35:44 -04:00
ystarnaud
8dea195662 Merge pull request #281 from Elbandi/v5_0
Use macros in queue_talkcoin_mod_kernel
2014-06-21 18:38:28 -04:00
ystarnaud
707ddd6c4a Merge pull request #282 from ystarnaud/x11mod
Updated x11 and x13 kernels
2014-06-21 18:33:24 -04:00
ystarnaud
ea1de3262a Updated x11 kernel 2014-06-21 18:25:52 -04:00
Elbandi
2925ea0f65 Use macros in queue_talkcoin_mod_kernel 2014-06-21 23:35:48 +02:00
ystarnaud
1914cef959 Fixed x13 and other issues
Corrected the x13 errors and fixed a few issues with the config parser's
handling of the default_profile.
2014-06-21 15:18:20 -04:00
ystarnaud
298a752150 Merge remote-tracking branch 'upstream/v5_0' into x11mod 2014-06-21 13:19:33 -04:00
ystarnaud
f6adfd548e Updated x13 kernel 2014-06-21 13:19:13 -04:00
troky
d7d387a214 MSVS fix for talkcoin commit. 2014-06-21 18:43:59 +02:00
ystarnaud
e96f279cf0 Sync with v5_0 2014-06-21 12:41:49 -04:00
ystarnaud
56055754eb Whitespace and indentation fix
Fixed whitespace and indentation of lasybear's pull request #272.
2014-06-21 12:31:48 -04:00
ystarnaud
056a9f754a Merge pull request #272 from lasybear/v5_0
Add talkcoin-mod (NIST5 algo) by Issue #268 + AMD drivers v14.6 for Windows compatibility fix
2014-06-21 12:19:23 -04:00
ystarnaud
1fb86b3377 Update configuration.md 2014-06-21 04:47:31 -04:00
ystarnaud
5e8bba2af9 Update configuration.md
Added more details about the default profile, globals and profiles along with example configurations.
2014-06-21 04:46:05 -04:00
troky
1965131784 Moved strsep() implementation from winbuild.h to compat.h 2014-06-21 10:33:06 +02:00
ystarnaud
3975f0441f Updated x13 kernel 2014-06-20 22:01:05 -04:00
Yann St. Arnaud
83b2ac9ec7 Compatibility update for MSVS
Added an implementation of strsep() that should work with MSVS.
Hopefully resolves issue #278
2014-06-20 17:23:26 -04:00
troky
3f83f221fb Moved (reverted) some struct definitions to api.c. MSVS doesn't like them in .h 2014-06-20 20:08:50 +02:00
troky
85a6adf8fb MSVS project update for config_parser commit 2014-06-20 20:06:14 +02:00
Noel Maersk
513307c790 config: remove commented-out old config-loading code. 2014-06-20 20:43:08 +03:00
Noel Maersk
76dd32a2c8 config: one less branching in load_default_profile(), some whitespace. 2014-06-20 20:22:01 +03:00
ystarnaud
ef722e697d Fix to apply correct GPU engine clock or range
This addresses issue #265. GPU engine clock will be the exact value or range specified, with the correct min/max.
2014-06-20 13:10:13 -04:00
Noel Maersk
5430d1ee91 config: be a little less cryptic on what's going on in load_default_profile(). 2014-06-20 19:09:18 +03:00
Noel Maersk
0886740a5f Merge branch 'config-parser' into v5_0 2014-06-20 17:24:15 +03:00
Noel Maersk
6228694100 config: conflict with v5_0 (develop) branch, opt_algorithm was changed from a pointer. 2014-06-20 17:08:16 +03:00
Noel Maersk
0b85c05c35 misc: update AUTHORS and NEWS with changes from branch config-parser (and a few others). 2014-06-20 17:05:35 +03:00
Noel Maersk
5309da57cc config: remove unused variable. 2014-06-20 16:53:00 +03:00
ystarnaud
4021704e68 Update configuration.md 2014-06-20 16:53:00 +03:00
ystarnaud
3042745757 Update API.md (3 squashed commits). 2014-06-20 16:53:00 +03:00