main.c


Log

Author Commit Date CI Message
Con Kolivas 9a0b7096 2011-10-17T13:51:40 Update documentation about new configuration file with an example file.
Con Kolivas 6d004ddf 2011-10-17T13:25:57 Write unix configuration to .cgminer/cgminer.conf by default and prompt to overwrite if given a filename from the menu that exists.
Con Kolivas 09f6736a 2011-10-17T12:27:41 Style cleanups.
Con Kolivas 31d3af02 2011-10-16T20:04:45 Support new configuration file format courtesy of Chris Savery which can write the config file from the menu and will load it on startup.
Con Kolivas 3ba86c49 2011-10-15T14:55:51 Cosmetic fixes.
Luke Dashjr e8720b90 2011-10-09T00:05:48 Support work without midstate or hash1, which are deprecated in bitcoind 0.5+
Con Kolivas f9308f8f 2011-10-09T13:21:06 Disable work division for CPU mining which can lead to repeated work being performed.
Con Kolivas 81418d62 2011-10-09T13:15:29 Update displayed messages.
Con Kolivas 27b05db4 2011-10-09T12:59:45 Use ADL activity report to tell us if a sick GPU is still busy suggesting it is hard hung and do not attempt to restart it.
Con Kolivas a37b827e 2011-10-09T12:37:56 Display the total solved blocks on exit (LOL if you're lucky).
Con Kolivas a2072d73 2011-10-09T12:22:32 Merge branch 'altivec'
Con Kolivas 5133cf5b 2011-10-09T12:22:00 Add altivec 4 way support courtesy of Gilles Risch.
Con Kolivas 6cd906a4 2011-10-09T11:19:40 Properly check shares against target difficulty.
Con Kolivas 6dc10efa 2011-10-06T13:13:19 Don't try to build adl features without having adl.
Con Kolivas 3e527c6a 2011-09-30T17:15:40 Retry pools after a delay of 15 seconds if none can be contacted on startup unless a key is pressed.
Con Kolivas 9087345f 2011-09-29T10:27:32 Expire shares as stale with a separate timeout from the scantime, defaulting to 120 seconds.
Con Kolivas ffc88ef0 2011-09-29T10:08:30 Enable 100% donation by default. This reverts commit 9e9d25c7bad94116c50bb7d2225510930d092f5e.
Con Kolivas ac0d3030 2011-09-29T09:46:32 Don't make donation work interfere with block change detection allowing donation to work regardless of the block chain we're mining on.
Con Kolivas 9e9d25c7 2011-09-29T09:39:29 Enable 0.5% donation by default.
Con Kolivas f6d35a70 2011-09-27T17:52:54 Must initialise the donorpool mutex or it fails on windows.
Con Kolivas d2db7be5 2011-09-27T14:54:36 Roll any work we can even if other requests are staged.
Con Kolivas 75e21434 2011-09-27T14:36:18 Display per device intensity in various status lines.
Con Kolivas 1dc6e64b 2011-09-27T14:25:49 Set dynamic to false for all devices given separate args...
Con Kolivas 35a490b9 2011-09-27T14:25:02 Explicitly disable dynamic mode when an intensity is set.
Con Kolivas 648c6b7c 2011-09-27T14:17:52 Intensity is signed integer, fix its display.
Con Kolivas 5a4dabe2 2011-09-27T13:40:03 Add message about donation to startup.
Con Kolivas 47be27e8 2011-09-27T11:22:43 Make longpoll retry indefinitely to restart as well, or limited by opt_retries.
Con Kolivas 28796de7 2011-09-27T11:14:43 Merge https://github.com/geekmug/cgminer into gitmug
Con Kolivas 4128b954 2011-09-26T18:49:15 Add a --donation feature which reads a url/userpass from the author's site and contributes a percentage of getworks to the author, but default to off.
Scott Dial 19911e57 2011-09-26T20:16:24 Correct some memory management issues.
Scott Dial 760b0064 2011-09-26T19:58:47 Don't mess with GPU stuff if we don't have them.
Con Kolivas 21c2bc46 2011-09-26T15:24:20 Make it possible to set the intensity on a per-card basis, dynamic or static values.
Con Kolivas 5b40f979 2011-09-26T10:47:24 Make sure we do not attempt to adl manage devices we have explicitly disabled.
Con Kolivas 7c26948e 2011-09-23T20:14:19 Merge pull request #50 from kanoi/kano Hash is 32 bytes (64 nibbles)
Kano afe03c63 2011-09-24T02:20:21 Hash is 32 bytes (64 nibbles)
Con Kolivas 8759bc13 2011-09-23T10:59:55 Hard code the watchdog interval to 3 seconds in case log interval is greatly different.
Con Kolivas 813aee38 2011-09-23T10:22:06 Show menu again after enable, disable and restart GPU.
Con Kolivas 20ddda10 2011-09-23T10:19:24 Autoselect a GPU from the menu if it's the only device.
Con Kolivas c04abf5c 2011-09-23T09:44:09 Include polarssl implementation of sha256 (sha2) and remove dependency on openssl.
Kano 037e8ac8 2011-09-21T21:48:23 Change Accept/Reject message to show hash and BLOCK notification
Kano ba14a670 2011-09-21T21:45:24 Remove EOL spaces from stderr and curses
Kano 8ecd15a6 2011-09-20T16:19:21 Add BLOCK! notification and remove end of line blanks when not needed
Con Kolivas 9696b4d6 2011-09-18T23:17:50 Get rid of the convoluted way we detect whether LP discovered the new block and just use the work retrieved by the LP to know.
Kano 625e7a64 2011-09-18T18:55:36 Fix tabs
Kano 37b017fd 2011-09-18T15:10:12 Show hash (instead of nonce) in Accept/Reject messages
Con Kolivas b8ea0dd1 2011-09-17T13:23:58 Update curses logging to allow LOG_WARNING and LOG_ERR messages to still go through while within the menu, and drop share message to LOG_NOTICE.
Con Kolivas 8566ed44 2011-09-15T20:05:22 Just keep whatever longpoll we have if it's working instead of risking the stop/start dereference problem.
Con Kolivas ae6fe965 2011-09-15T17:37:02 Revert "Restart longpoll under lock when we'll be reusing it on pool switch to prevent derefs." This reverts commit 2cae5c1dc3884deb35430cf6af4d192666ac01c4. Gets stuck. Needs more thought.
Con Kolivas 2cae5c1d 2011-09-15T14:51:04 Restart longpoll under lock when we'll be reusing it on pool switch to prevent derefs.
Con Kolivas 8e2becc1 2011-09-15T11:45:24 Change pth from being a pointer as we can dereference if we're unlucky on stopping longpoll.
Con Kolivas 833e020d 2011-09-15T10:33:23 Standardise the way all non-mining threads are destroyed to make sure we can safely cancel them, freeing ram and NULLifying pointers.
Con Kolivas e1c72352 2011-09-14T23:15:42 Get the current pool priority under lock to avoid dereferencing.
Con Kolivas fc427913 2011-09-14T21:48:53 Use the longpoll provided work to test_work_current since we know it's almost certainly from a new block even though we may check it later again.
Con Kolivas 863488e3 2011-09-11T12:32:36 Display fan percentage on devices that only support reporting percent and not RPM.
Con Kolivas d42211f0 2011-09-11T12:01:17 Missing bracket from output.
Con Kolivas d5fe2cfd 2011-09-11T10:48:39 Flag devices that have never started and don't allow enabling of devices without restarting them.
Con Kolivas fa790a4f 2011-09-11T10:33:30 Fix a rare crash in HASH_DEL due to using different mutexes to protect the data.
Con Kolivas bcba6f83 2011-09-09T21:04:16 Exit cleanly if we abort before various threads are set up or if they no longer exist.
Con Kolivas ab67b144 2011-09-09T12:01:06 Make RPM 4 characters wide in curses status for neatness.
Con Kolivas 25c77ae8 2011-09-09T11:53:45 Only display values in the log if they're supported and standardise device log line printing.
Con Kolivas 1917643d 2011-09-09T10:19:01 Do away with the increasingly confusing and irrelevant total queued and efficiency measures per device.
Con Kolivas 6c8341f1 2011-09-08T14:44:14 Define max gpudevices in one macro.
Con Kolivas 4b43efce 2011-09-08T14:27:32 Use a terser device status line to show fan RPM as well when available.
Con Kolivas f1cf79ae 2011-09-08T14:17:05 With many cards, the GPU summaries can be quite long so use a terse output line when showing them all.
Con Kolivas e0a9f1aa 2011-09-08T13:53:10 Allow temperature targets to be set on a per-card basis on the command line.
Con Kolivas b50041c8 2011-09-08T13:29:13 Allow per-device fan ranges to be set and use them in auto-fan mode.
Con Kolivas 9b5cd618 2011-09-08T13:04:39 Implement accepting a range of engine speeds as well to allow a lower limit to be specified on the command line.
Con Kolivas 9752704e 2011-09-08T10:57:50 We should be passing a float for the remainder of the vddc values.
Con Kolivas 7ea7f5f3 2011-09-08T10:51:32 Allow temperatures greater than 100 degrees.
Con Kolivas c64c27fa 2011-09-08T09:39:32 Only show longpoll received delayed message at verbose level.
Con Kolivas 01a0d0a7 2011-09-07T20:24:15 Add a --no-adl option to disable ADL monitoring and GPU settings.
Con Kolivas 3997f308 2011-09-07T10:43:26 Add a thermal cutoff option as well and set it to 95 degrees by default.
Con Kolivas f89c032d 2011-09-06T12:04:23 The ° character is not reliably shown on all platforms so remove it.
Con Kolivas 73e33c09 2011-09-06T11:30:48 Retry also if the decoding of work fails.
Con Kolivas f10f8fae 2011-09-06T11:07:36 Retry before returning a failure to get upstream work as a failure to avoid false positives for pool dead.
Con Kolivas 2053de6d 2011-09-06T10:11:34 Add the directory name from the arguments cgminer was called from as well to allow it running from a relative pathname.
Con Kolivas 2f5f7efd 2011-09-05T22:34:28 No need to use the re-entrant strtok_r and mingw32 doesn't support it anyway.
Con Kolivas 2155acf1 2011-09-05T20:46:24 Queue requests ignoring the number of staged clones since they get discarded very easily leading to false positives for pool not providing work fast enough.
Con Kolivas fc454e88 2011-09-05T13:43:50 Update the status window only from the watchdog thread, do not rewrite the top status messages and only refresh once all the status window is complete, clearing the window each time to avoid corruption.
Con Kolivas 93935eb7 2011-09-05T11:01:50 Move and print at the same time in curses to avoid random trampling display errors.
Con Kolivas e8981823 2011-09-05T10:29:08 Add temperature to standard output where possible and use more compact output.
Con Kolivas 47f1a759 2011-09-04T23:23:31 Implement setting the GPU powertune value of all devices or each device as a comma separated value.
Con Kolivas bd292258 2011-09-04T22:56:19 Add support for monitoring powertune setting.
Con Kolivas 3a5663ca 2011-09-04T22:25:31 Implement setting the GPU fan speed of all devices or each device as a comma separated value.
Con Kolivas 8ae273c5 2011-09-04T22:08:42 Implement setting the GPU voltage of all devices or each device as a comma separated value.
Con Kolivas 54bc30ce 2011-09-04T22:01:58 Implement setting the GPU memory clock speed of all devices or each device as a comma separated value.
Con Kolivas ec8808d0 2011-09-04T21:55:06 Implement setting the GPU engine clock speed of all devices or each device as a comma separated value.
Con Kolivas 12a167a3 2011-09-04T13:57:40 Implement menus to change temperature limits.
Con Kolivas 306dad9f 2011-09-04T10:27:21 Add gpu statistics to debugging output via the watchdog thread.
Con Kolivas 1ed21937 2011-09-04T10:19:29 Combine all stats collating into one function to avoid repeating function calls on each variable.
Con Kolivas e9f886d8 2011-09-04T09:43:53 Allow target, overheat and hysteresis temperatures to be set from command line.
Con Kolivas 9b7262ec 2011-09-04T00:36:14 Clean up by setting performance profiles and fan settings to startup levels on exit.
Con Kolivas fc36e13d 2011-09-04T00:00:12 Merge branch 'master' into adl_support
Con Kolivas 1898d851 2011-09-03T23:59:11 Avoid a dereference if the longpoll thread doesn't exist.
Con Kolivas e9b5885e 2011-09-03T22:30:11 Add a gpu autotune option which adjusts GPU speed to maintain a target temperature within the bounds of the default GPU speed and any overclocking set.
Con Kolivas dcc97e45 2011-09-03T15:46:57 Add an --auto-fan command line option to allow all GPUs to have autofan enabled from startup.
Con Kolivas 495adcbf 2011-09-03T15:33:53 Implement auto fanspeed adjustment to maintain a target temperature and fanspeed below 85%, with an overheat check that will speed the fan up to 100%.
Con Kolivas 35ace463 2011-09-03T13:02:21 Enable changing of engine clock setting on the fly.
Con Kolivas d57cd919 2011-09-03T10:53:35 Implement ATI ADL support for GPU parameter monitoring now and setting later (temp, fan, clocks etc.). Check for the presence of the ADL header files in ADL_SDK. Import adl_functions.h from amd overdrive ctrl. Implement a setup function that tries to detect GPUs that support the ADL and link in the parameters into the gpus struct. Put a summary of monitoring information from the GPU menu.
Con Kolivas 063efb19 2011-09-02T10:37:00 Rename localgen occasions to getwork fail occasions since localgen is unrelated now.