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

6547 Commits

Author SHA1 Message Date
troky
89c380a4ac Added WhirlpoolX algorithm 2015-03-09 11:01:20 +01:00
troky
f27f8dd544 Merge pull request #408 from nwoolls/bug/clang-inline-errors
Fix errors compiling on OS X
2015-01-13 11:00:57 +01:00
Nate Woolls
cd9d037a2e Fix errors compiling on OS X
e.g. Undefined symbols for architecture x86_64:
  "_quarkhash", referenced from:
      _quarkcoin_test in sgminer-quarkcoin.o
      _quarkcoin_regenhash in sgminer-quarkcoin.o
      _scanhash_quarkcoin in sgminer-quarkcoin.o

See: http://clang.llvm.org/compatibility.html#inline
2015-01-12 22:15:53 -05:00
ystarnaud
387bb28952 Neoscrypt fixes
Pushed the wrong kernel previously and I changed the TC to not override
the intensity. As with scrypt, intensity will calculate TC only if TC is
not set.
2014-12-03 19:22:33 -05:00
troky
4ced43ba2b MSVS fix. 2014-12-03 23:07:14 +01:00
ystarnaud
4ba8a68043 Merged develop branch with master +updates
Moved the develop code to master. Moving forward all updates will be
done on master unless it's work on a major feature.

This update contains all previous develop code as well as a few new ones
that weren't pushed yet:

* Added neoscrypt compatibility for xintensity/rawintensity
* Neoscrypt now uses correct TC if not specified or set to 0
* Reworked the application of pool settings on algorithm switch which
should resolve TC/Intensity changes between algos such as X11 and
neoscrypt
2014-12-03 10:09:55 -05:00
troky
7f88bab725 Fixed missing declaration. 2014-11-23 13:35:46 +01:00
ystarnaud
81d9c9e574 Events framework
Added the ability to have users run commands, reboot the system or quit sgminer based on system events. These events can be defined and placed throughout the sgminer source. So far the events are: "gpu_sick", "gpu_dead" and "idle". I will document further shortly. Config example available here: http://pastebin.com/2rRv3EzH
2014-11-19 18:33:11 +01:00
ystarnaud
611b370255 Fix for random HW errors
A typo when checking the algorithm used was causing the diff1targ value not to evaluate properly in test_nonce(). This caused the test to fail and increase HW errors. Thanks to Zuikkis for pointing that out!
2014-11-19 12:22:47 +01:00
ystarnaud
8a6168fa4b Fix for UI/API intensity changes
The API and UI functions to change intensity would update the gpu
settings directly without updating the config option strings. This
resulted in the intensity updates not saving in config files. This
update should resolve that problem.

Also added API functions to change xintensity and rawintensity.
2014-11-19 12:21:11 +01:00
ystarnaud
42737acf66 Added Neoscrypt with Wolf9466 improvements. 2014-11-19 12:06:16 +01:00
troky
0557017ca8 Merge branch 'master' of https://github.com/sgminer-dev/sgminer 2014-11-19 11:19:08 +01:00
ystarnaud
c0515e8fa3 Added alt kernel file option 2014-11-19 11:18:25 +01:00
troky
95134c70fd Merge pull request #399 from Phoenix48/patch-2
Updated windows-build.txt
2014-11-17 09:09:28 +01:00
Phoenix48
ce3635874e Update windows-build.txt 2014-11-16 22:47:23 -05:00
Phoenix48
2fe4551aa8 Update windows-build.txt 2014-11-16 22:44:49 -05:00
Phoenix48
1005853d58 Update windows-build.txt
Updated links and added various precisions to be more "Newbie proof"
2014-11-16 22:27:10 -05:00
ystarnaud
b53cc151aa Fix worksize per GPU
Improper use of strtok() on the original config string instead of a copy
resulted in the worksize being cut down to GPU0's worksize only after
first use.
2014-11-17 00:16:02 +01:00
troky
ba9818a707 Fix version display in windows builds (mingw) 2014-11-16 19:52:30 +01:00
troky
32d95dd967 Updated to MSVS 2013 2014-11-16 12:51:58 +01:00
troky
e481d67e59 MSVS fix. 2014-09-19 18:50:02 +02:00
badman74
247d70e594 more algo optimization
added x11 compiler otions to more algo's
2014-09-19 18:44:17 +02:00
ystarnaud
9603479e88 Cleanup X11/X13 options
Call X11 compiler options from X13 compiler options to avoid changing
stuff in multiple locations later on.
2014-09-19 18:43:47 +02:00
ystarnaud
c3e1842b62 Added documentation for Xn algorithm options 2014-09-19 18:39:47 +02:00
ystarnaud
b3c07acd08 Xn Algorithms Fine Tuning
Added options to fine tune X11-15 algorithms
2014-09-19 18:38:57 +02:00
ystarnaud
a90bbf7dd2 Added "Fresh" Algorithm and optimized it for a slight speed increase using extra kernels. 2014-09-19 18:26:39 +02:00
troky
eb2ad8b3eb Removed AMD APP SDK include files. 2014-09-03 18:43:20 +02:00
troky
e39121bdfe Version bump for MSVS project. 2014-09-03 13:35:25 +02:00
Jan Berdajs
0ec49125c5 update changelog for v5 release 2014-09-02 22:35:21 +02:00
Jan Berdajs
7a16f7832b bump version to 5.0.0, update changelog 2014-09-02 22:34:39 +02:00
Jan Berdajs
447dd68611 Merge branch 'v5_0' 2014-09-02 22:23:18 +02:00
Jan Berdajs
92a92500d0 Merge pull request #361 from Phoenix48/patch-1
Update cygwin-build.txt
2014-07-27 03:23:58 +02:00
Phoenix48
5bf26e7a02 Update cygwin-build.txt
Changed line 61 to "git clone git://github.com/sgminer-dev/sgminer.git" (Updated to the new address "sgminer-dev" instead of "veox", and changed to "git://" instead of "git@" because it is way easier for newbies to download it that way).

Also added a warning at line 75 that users MUST download the ADL_SDK version 6.0 because v7.0 won't work with SGMiner 4.2.2
2014-07-21 23:33:18 -04:00
troky
3ddffaa915 Compatibility fix. 2014-07-21 02:26:39 +02:00
troky
dbe0263c2d Fixed device display when both --device and --remove-disabled options are used. 2014-07-20 18:34:47 +02:00
troky
82b5320f36 Check if mining threads are initialized before restarting them. 2014-07-19 17:44:43 +02:00
Jan Berdajs
5bd2689069 Hard reset only when gpu-threads or devices are changed, but not when algorithm is changed.
Also a little refactor.

Conflicts:
	sgminer.c
2014-07-11 19:06:48 +02:00
Jan Berdajs
deacbdd65e immediately exit threads if doing hard reset 2014-07-11 19:04:07 +02:00
Jan Berdajs
19fcb5eae7 improve locking to prevent race condition
stratum could respond faster than we are able to add the sent share into the hash, which could cause memory leaks
2014-07-11 19:03:53 +02:00
troky
283e8fbd1a Added coding.md 2014-07-11 16:54:55 +02:00
troky
e0b34485f7 Fixed compatilibilty issues on MSVS. 2014-07-11 09:46:05 +02:00
ystarnaud
a408e856b2 Fix API profile list
API Profile list showed the default profile twice.
2014-07-09 14:37:41 -04:00
ystarnaud
f8fcbbcd0a Config writer fix
Reworked how the config writer works to properly save the config file.
Sometimes settings would get lost in profiles.

Also changed algorithm switch to only perform a soft reset and lowered
the verbosity of the algorithm switcher.
2014-07-09 14:23:07 -04:00
troky
8b44007901 Fixed compatilibilty issues on MSVS. 2014-07-09 10:39:36 +02:00
ystarnaud
72590bdcf2 Fix potential division by 0 if nfactor is not set 2014-07-08 14:34:01 -04:00
Jan Berdajs
b4dd3aeb75 Forgot include needed for pthread_kill 2014-07-08 07:10:11 +02:00
Jan Berdajs
04722e2517 sshare could have already been free'd by parse_stratum_response in stratum_rthread by the point we reach this code - possible segfault fixed 2014-07-08 05:49:12 +02:00
troky
2d23a7d634 Added missing permission flags to Windows build #333 2014-07-07 18:58:26 +02:00
Jan Berdajs
4a9ee47cd9 Add log-file option to automatically redirect stderr to a file
From bfgminer b0240dd004
2014-07-07 13:16:36 +02:00
Jan Berdajs
0bd7a9ff63 After cancelling a thread (unless it's detached, but mining threads aren't), it is always necessary to join the thread so the system will release resources.
This also simplifies kill_mining a bit.
2014-07-07 12:35:27 +02:00