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

6366 Commits

Author SHA1 Message Date
aznboy84
fbcde31b81 Create hamsi_old.cl 2014-07-01 01:29:22 -04:00
aznboy84
84b21e0e3a bitblock header 2014-07-01 01:29:21 -04:00
aznboy84
99abe7e8bc Bitblock kernel 2014-07-01 01:29:21 -04:00
aznboy84
fd417c0f0f Add shabal.c and whirlpool.c to source list 2014-07-01 01:29:20 -04:00
aznboy84
63153e6420 Whirlpool algo 2014-07-01 01:29:20 -04:00
aznboy84
9711682f67 Whirlpool header 2014-07-01 01:29:20 -04:00
aznboy84
f1f5046abb Shabal header 2014-07-01 01:29:19 -04:00
aznboy84
b728a32696 Shabal algo 2014-07-01 01:29:19 -04:00
aznboy84
52b4daba7c Add bitblock to source list 2014-07-01 01:29:18 -04:00
aznboy84
18e0ed0042 Add BitBlock kernel 2014-07-01 01:29:18 -04:00
ystarnaud
6f8d38ee11 Remote config files
Config parser can now read config files stored remotely via
https/http/ftp. Requires libcurl.
2014-07-01 00:51:54 -04:00
Jan Berdajs
1c2de13498 fix broken disabled devices when remove-disabled is set 2014-07-01 02:08:58 +02:00
Jan Berdajs
8f53b7c86c safer 2014-07-01 01:47:14 +02:00
Jan Berdajs
976873ba49 more locks for devices 2014-07-01 01:38:32 +02:00
Jan Berdajs
d9b1f2065d unused preprocessor directive 2014-07-01 01:29:27 +02:00
Jan Berdajs
50483e35cb spaces/indent 2014-07-01 01:29:15 +02:00
Jan Berdajs
92deefcbca Fix bad lock 2014-07-01 01:19:07 +02:00
Jan Berdajs
40894db5d2 Changing disabled devices on pool switch is not possible if remove-disabled is set (enabled) 2014-07-01 01:12:14 +02:00
Jan Berdajs
7507790880 GPUs cannot be hotplugged 2014-07-01 01:04:44 +02:00
Jan Berdajs
7f0451336b Refactor and stability improvements when restarting threads
enable_device should not modify mining_threads because this is unsafe after initialization. it is also not necessary in most cases where it is currently used, except in initialization
refactored some of the new restart_mining_threads code and incorporated above change for better stability
properly handle disabled devices in restart_mining_threads when opt_removedisabled is set
total_devices was set incorrectly if the disabled devices were not at the end of devices, so total_devices is now always the number of detected devices, since that is what is in the devices variable
2014-06-30 23:57:02 +02:00
Jan Berdajs
be7d47dcee add lock when accessing mining_threads 2014-06-30 22:12:19 +02:00
Jan Berdajs
028f19e946 remove old commented-out code 2014-06-30 21:54:55 +02:00
Jan Berdajs
ba7c4892fb Remove obsolete benchmark mode
This mode/setting is unusable left-over from SHA-256 cgminer. It does not work with Scrypt or other algorithms that are used in sgminer. Removed in single commit so it can be used as reference, if benchmark mode is added in the future.
2014-06-30 21:44:44 +02:00
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