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

1547 Commits

Author SHA1 Message Date
Con Kolivas
f85b85d244 Re-check for a longpoll supporting pool every 30 seconds if none is found initially. 2012-02-19 21:28:23 +11:00
Con Kolivas
b217cbee0d Report threads as busy waiting on getwork on startup to avoid them being flagged sick on startup during slow networking. 2012-02-19 20:33:09 +11:00
Con Kolivas
02295c69c8 Allow devices that are disabled due to overheating to be flagged as recovering instead of disabling them and re-enable them if they're below ideal
temperatures and --no-restart has not been set.
2012-02-19 20:19:47 +11:00
Con Kolivas
e9c3d7309a Tahiti prefers worksize 64 with poclbm. 2012-02-19 18:32:56 +11:00
Con Kolivas
e5be2d242e Merge pull request #121 from Diapolo/master
clean diakgcn kernel update
2012-02-18 13:16:27 -08:00
Philip Kaufmann
99d058a1f1 re-forked cgminer - initial commit to update DiaKGCN kernel 2012-02-18 16:44:09 +01:00
Con Kolivas
30936f17e3 No need to expressly retain the opencl program now that the zero binary issue is fixed. 2012-02-18 23:28:41 +11:00
Con Kolivas
810ad04578 More copyright updates. 2012-02-18 23:16:08 +11:00
Con Kolivas
22d3034e10 Show error code on any opencl failure status. 2012-02-18 23:13:45 +11:00
Con Kolivas
be9db9ce63 Copyright updates. 2012-02-18 23:00:21 +11:00
Con Kolivas
0b6e35cda9 Add detection for version 898.1 SDK as well but only give SDK 2.6 warning once on startup instead of with each device initialisation. 2012-02-18 22:49:49 +11:00
Con Kolivas
17cc279adb Always use a fresh connection for longpoll as prolonged persistent connections can fail for many reasons. 2012-02-18 22:41:48 +11:00
Con Kolivas
fa4ce8daf2 Keep track of intended engine clock speed and only adjust up if it's higher than the last intended speed. This avoids setting the clock speed to one
relative to a lower profile one by mistake.
2012-02-18 22:29:12 +11:00
Con Kolivas
d1cf80a546 Use gpu-memdiff on startup if an engine clockspeed is set and a memdiff value is set. 2012-02-18 19:49:52 +11:00
Con Kolivas
66ea9304af Revert "Adjust engine speed up according to performance level engine setting, not the current engine speed."
This reverts commit 68217ef6ee.

This did not have the desired effect and only added complexity.
2012-02-18 19:43:23 +11:00
Con Kolivas
c42709745a Revert "Logic fail on engine multiplier."
This reverts commit b0787e07c8.

2nd of 3.
2012-02-18 19:43:17 +11:00
Con Kolivas
eb5dcc60a0 Revert "Correct yet more logic fail :("
This reverts commit 83b76da2c6.

First of 3.
2012-02-18 19:42:56 +11:00
Con Kolivas
06721957a0 Freeze the queues on all threads that are sent the pause message to prevent them trying to start up again with saved pings in their queues. 2012-02-18 16:34:06 +11:00
Con Kolivas
83dde50f9d Updates to diakgcn kernel courtesy of Philip Kaufmann <phil.kaufmann@t-online.de> 2012-02-18 15:17:50 +11:00
Con Kolivas
f0e12fc593 Consolidate all screen updates to the watchdog thread and touch both windows before refresh. 2012-02-18 00:25:48 +11:00
Con Kolivas
d2b3fbc90c Curses will be disabled in clean_up so don't do it early in kill_work, and disable_adl so that GPU settings may be restored to normal in case shutting
down curses leads to instability on windows.
2012-02-17 23:11:50 +11:00
Con Kolivas
61328a4292 Stop the mining threads before trying to kill them. 2012-02-17 23:10:01 +11:00
Con Kolivas
1c211c5f41 Plain refresh() does not give reliably screen updates so get rid of all uses of it. 2012-02-17 22:55:33 +11:00
Con Kolivas
86a53824b5 Delete unused variable. 2012-02-16 21:15:58 +11:00
ckolivas
6693898710 Fix diakgcn kernel working by passing it D1A variable and renaming it in the cl code accordingly.
Renumber version consistent with change in code since it now works.
2012-02-16 17:31:22 +11:00
Con Kolivas
a95e4f4d03 Bump version number to 2.2.6. 2012-02-16 01:16:21 +11:00
Con Kolivas
6ab74b0983 Update NEWS. 2012-02-16 01:15:14 +11:00
Con Kolivas
67c4ada1b7 Provide warning on each startup about sdk 2.6 and decrease poclbm kernel selection to LOG_INFO. 2012-02-16 01:10:11 +11:00
Con Kolivas
b4c86ba615 Give SDK 2.6 warning only on building a kernel for !GCN bitalign devices. 2012-02-16 00:48:34 +11:00
Con Kolivas
728e3d4398 Revert "Automatically choose phatk kernel for bitalign non-gcn ATI cards, and then only select poclbm if SDK2.6 is detected."
This reverts commit e7fdadfc8f.

Broke kernel loading.
2012-02-16 00:45:08 +11:00
Con Kolivas
72ee48c113 Merge branch 'master' of github.com:ckolivas/cgminer 2012-02-15 21:46:59 +11:00
Con Kolivas
3d3a3a2f3a Fix unused warnings on win32. 2012-02-15 21:42:12 +11:00
Luke Dashjr
c31c06703f bitforce: Simplify BFopen WIN32 ifdef/else 2012-02-15 21:29:26 +11:00
Luke Dashjr
9631c0b02a Fix initialization warning with jansson 1.3 2012-02-15 21:29:15 +11:00
Luke Dashjr
c904b74b8c bitforce: Cleanup extraneous TODO that isn't needed 2012-02-15 21:29:05 +11:00
Luke Dashjr
2f0a3dc2db Move tcsetattr (and new tcflush) into *nix BFopen to simplify things a bit 2012-02-15 21:28:56 +11:00
Con Kolivas
33b0aa3811 Merge pull request #117 from luke-jr/bitforce_win32_timeout_set
bitforce: Set a 30 second timeout for serial port on Windows, since the default is undefined
2012-02-15 02:26:44 -08:00
Con Kolivas
7d3635c7a4 Add message explaining 2nd thread disabling for dynamic mode and how to tune it. 2012-02-15 21:03:24 +11:00
ckolivas
9a0e4f8fac Move logwindow down once number of devices is known. 2012-02-15 15:21:43 +11:00
ckolivas
e7fdadfc8f Automatically choose phatk kernel for bitalign non-gcn ATI cards, and then only select poclbm if SDK2.6 is detected. 2012-02-15 14:52:29 +11:00
ckolivas
6a78594618 Make SDK 2.6 warning and advice big and bold. 2012-02-15 14:47:02 +11:00
ckolivas
c235c7e373 Allow the refresh interval to be adjusted in dynamic intensity with a --gpu-dyninterval parameter. 2012-02-15 14:35:13 +11:00
ckolivas
e259a994f1 Make curses display visible right from the beginning and fix the window sizes so the initial messages don't get lost once the status window is drawn. 2012-02-15 13:53:26 +11:00
ckolivas
c531f1bd04 Use the max_hashes variable to determine when to abandon work. 2012-02-15 10:34:26 +11:00
ckolivas
b36d857d9b Use the max_hashes variable to increment nonce only in dynamic mode and use the all time highest value. 2012-02-15 10:03:18 +11:00
ckolivas
29f0b2714c The amount of work scanned can fluctuate when intensity changes and since we do this one cycle behind, we increment the work more than enough to prevent repeating work. 2012-02-15 08:51:59 +11:00
Luke Dashjr
538b0ebf88 bitforce: Set a 30 second timeout for serial port on Windows, since the default is undefined 2012-02-14 12:01:30 -05:00
Con Kolivas
158c09107c Merge pull request #115 from luke-jr/bitforce_disable_autoscan
bitforce: Disable automatic scanning when at least one device is specified manually
2012-02-14 05:33:17 -08:00
Con Kolivas
8798a904c6 Merge pull request #116 from holymonson/master
fix strcpy NULL pointer if env HOME unset.
2012-02-14 05:32:53 -08:00
Con Kolivas
5e31785e7b Increase poclbm version number. 2012-02-15 00:29:07 +11:00