Advertisement
JMilone

CGWatcher 1.3.1 ReadMe

Sep 9th, 2013
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 116.91 KB | None | 0 0
  1. CGWatcher
  2. version 1.3.1
  3. © 2013 Justin Milone
  4. Milone99k@gmail.com
  5. http://manotechnology.blogspot.com/p/cgwatcher.html
  6.  
  7.  
  8.  
  9. DONATE:
  10. This software is provided free of charge by the developer. Support its continued development and the development of related projects like CGRemote by sending a small donation to one of the following addresses:
  11.  
  12. BTC: 19msnBddmcaHnbTTQgFgzPDuy6PqfBgFJh
  13. LTC: LM6Un6hZvPzLBggJWiAVG6E6w2GfaHukXY
  14. NMC: NJjD4rP5xy2mgSK8gXXsZwFkdknbvtvy3q
  15. (Click Donate button in About tab for more options)
  16.  
  17.  
  18. UPDATE:
  19. See the Changelog at the bottom for more information on what has changed in this update.
  20.  
  21. *Do not download CGWatcher from any other website! The program keeps appearing on SourceForge at double the size it should be, meaning it likely has malware added. SourceForge has removed some of these but they keep popping up every so often.*
  22.  
  23.  
  24. REPORTING BUGS OR PROBLEMS:
  25. Please include the debug report when submitting a bug. You can create the report by clicking 'Create Debug Report' in the Tests tab.
  26.  
  27.  
  28. PURPOSE:
  29. CGWatcher is a GUI/monitor for CGMiner and BFGMiner, the bitcoin mining program. It provides a graphical user interface, along with control and monitoring options to help ensure mining runs consistently. These miners are capable of detecting and recovering from many problems that can interrupt mining, but there are cases where it is not and having a small utility to keep an eye on it and give it a push when necessary has allowed me to setup 24/7 mining computers without having to constantly monitor them.
  30.  
  31.  
  32. HOW IT WORKS:
  33. CGMiner (and BFGMiner) has an API allowing other applications to communicate with them for purposes like this. Specifically, it uses RPC to allow communication between the two applications. CGWatcher sends a command to the miner, and the miner returns a reply message. These commands can be simple requests for information (such as asking what the current hash rate is or what devices it is using) along with commands that tell the miner to do something (change pools, disable a device, or restart, etc.) This allows a GUI to be written with a more user-friendly interface without affecting the miner's performance and hash rate. The miner gets to stay lightweight and as fast as possible, and the more resource-intensive GUI program only sends requests when necessary. This communication is not enough to have a noticable effect on the miner's performance.
  34.  
  35.  
  36. REQUIREMENTS:
  37. The .NET Framework 4.0 is required. The latest version of CGMiner or BFGMiner is recommended, although changes to these programs may require updates to CGWatcher, which I will try to do as quickly as possible. These miners must be ran with parameters giving CGWatcher full API privilege for full functionality. This is now done automatically any time the miner is started from CGWatcher, regardless of whether or not it is in the config file or arguments. CGWatcher will only ensure full API access is given to 127.0.0.1. If you want to allow full API access to other IP addresses, you can still use the api-allow option as it is not overwritten (CGWatcher just makes sure 127.0.0.1 is listed in W: group.)
  38.  
  39.  
  40.  
  41. USING CGWATCHER:
  42.  
  43. SETUP
  44.  
  45. CGWatcher requires no installation. It is recommended to not use the 'Program Files' or 'Program Files (x86)' folders to store CGWatcher or miners because they may require elevated permissions to be able to save files there (including config files and CGWatcher's settings files).
  46.  
  47. ** If you are using Windows 8, it may be necessary to run CGWatcher as Administrator because not doing so causes permissions issues when CGWatcher attempts to get info on the miner's process. This then causes CGWatcher to not correctly match the process to a profile, which can make it ignore the miner completely.
  48.  
  49.  
  50. NOTIFICATIONS
  51.  
  52. Starting with version 1.1.8, CGWatcher will display a notification when its monitor takes an action. Notifications are queued, meaning if you close one the next will be displayed and so on. Their default duration is 5 seconds, but this may be longer depending on importance. Clicking anywhere on a notification will close it.
  53.  
  54. Unlike message boxes, notifications do not have any effect on the monitor and will not prevent it from continuing to run. The program will continue to work as normal even when a notification is displayed, and no input is required on your part to close notifications (they will close automatically after their duration expires), but you can click on them to close them if they get in the way.
  55.  
  56. There are six types of notifications:
  57.  
  58. - Good - [green] means something good has happened (e.g. a block found, or a GPU being re-enabled after it had been disabled due to overheating.)
  59.  
  60. - Neutral - [yellow] a problem occurred but CGWatcher was able to take action to resolve it (e.g. restarting a miner because criteria for a monitoring check was met.)
  61.  
  62. - Bad - [red] a problem has occurred and CGWatcher was unable to resolve (e.g. failing to restart a miner when it attempted to.)
  63.  
  64. - Schedule - [blue] are displayed when Scheduled Actions are triggered. Information on these actions are also added to the log.
  65.  
  66. - Remote - [purple] are displayed when a command to change something has been sent by CGRemote.
  67.  
  68. - Miscellaneous - [teal] are everything else.
  69.  
  70. You can disable notifications by checking the 'Hide Notifications' option in the Settings tab, and then clicking 'Save Settings'. This is not recommended, though you could still see this information in the log.
  71.  
  72.  
  73.  
  74. PROFILES
  75.  
  76. Mining profiles that allow you to easily switch between crypto-currencies. Upon starting CGWatcher for the first time, a default profile will be created for you. If a miner is running when you start it for the first time, it will set that miner to the default profile. If a miner is not running, it will check for a miner (cgminer.exe or bfgminer.exe) in the same directory or subdirectories (miner,cgminer,bfgminer). If it cannot find a miner, you will need to edit the profile and set the miner you want to use for the profile. You can do this as well as add, edit, or delete profiles by clicking 'Manage Profiles...' in the Settings tab.
  77.  
  78. (Note: CGWatcher will only automatically create a profile for a running miner if no profiles exist. Once at least a one profile exists, any miners detected that were not started by CGWatcher will result in a prompt asking if you'd like to create a profile for that miner.)
  79.  
  80. *Notice: Starting with version 1.1.5.0, how CGWatcher checks for running miners that it did not start has changed. Instead of just looking for miner processes, it will now require miners that have API enabled and ignore any that do not. It will start by looking to see if the running miner belongs to any of its profiles, and if so it will check that profile's configuration to find which API port to use to communicate with it. If the running miner does not belong to a profile, it will use the API port set in the Settings tab to communicate with the miner. If communication fails (API is not enabled or is using a different port), the miner will be ignored.
  81.  
  82. To add, edit, or create profiles, use the 'Manage Profiles...' button on the Settings tab to open the Profile Manager. Although the Settings tab displays the active profile's settings, you cannot edit them here.
  83.  
  84. For each profile, you can specify the following:
  85.  
  86. -Profile name (required) - a unique name (e.g. "Bitcoin", "Litecoin")
  87.  
  88. -Miner Path (required) - path to the miner's .exe (or .bat/.cmd file used to launch the miner). Each profile can have its own miner, they can all use the same one, or a mix of both.
  89.  
  90. -Config File (optional) - a config file to use with the miner (does not have to be in the same directory as the miner). If the config file path contains spaces, CGWatcher will automatically put quotes around it to prevent an error in the miner. You can specify the complete file path, or just the filename for config files in the same directory as the miner and CGWatcher will convert it to the complete path for you. If you've named config files in Config File Editor (see below), they will appear in a drop-down list in the Config File textbox allowing you to select a config file by name it it will be automatically converted to its file path.
  91.  
  92. You can also include web addresses (URLs) to config settings. It can be a file like http://web.host.com/myname/myconfig.conf or a direct link to just the config data like Pastebin's raw text URLs like http://pastebin.com/raw.php?i=CEz1Vgvn. Assuming you've entered a valid URL and clicked Save to save the profile, CGWatcher will download the URL to its own folder and link it to the URL so that if you use the URL in other profiles, only one local file is updated. The file is updated from the URL any time you save a profile using it, or when the miner is started or restarted to ensure it has the most up-to-date settings.
  93.  
  94. An example using the basic config file I've uploaded to Pastebin, who's RAW URL is http://pastebin.com/raw.php?i=CEz1Vgvn. In Profile Manager, I would enter http://pastebin.com/raw.php?i=CEz1Vgvn in the Config File path. Upon saving, CGWatcher would download the file to its own folder, or a "webconfig" subfolder, and save it as "rawiCEz1Vgvn.conf". This is the file it will actually use when starting the miner. But before it starts the miner, it will update this file by re-downloading to get the latest version. I can also update this file to the latest version that is online by either saving the profile again, or opening the Config File Editor for this URL and clicking the Refresh button in the bottom next to the URL textbox.
  95.  
  96. You can still use "include" config files in web config files, since the include path is relative to the miner path (not the parent config file.) However including a web config file URL is not supported.
  97.  
  98. -Miner Arguments (optional) - arguments used when launching the miner. Note: if you set a .bat or .cmd file as the Miner Path, any arguments in the .bat or .cmd file will be saved to the .bat or .cmd file. Changing the profile arguments in CGWatcher will not affect other lines in the .bat or .cmd file, so if you're setting GPU_MAX_ALLOC_PERCENT or GPU_USE_SYNC_OBJECTS in your batch/command file before launching the miner, these lines will remain unaffected. Essentially this means that whether your miner path is an .exe, .bat, or .cmd file, you can edit arguments in the Profile Manager.
  99.  
  100. When using CGWatcher, arguments always override config files... meaning if the same option is specified in both, the setting in arguments is used. This is the opposite of how cgminer handles them. I did this to allow for shared config files while letting arguments be used to customize the config at each miner. This can now also be done using variables.
  101.  
  102. - Coin (optional) - If the profile is used to mine one type of crypto-coin, you can select the coin here. Assigning a coin to the profile allows the profile to be considered when determining the most profitable profile to mine with. If you do not assign a coin to the profile, the profile is ignored when determining profitability. It is therefore recommended that you create a profile for each type of coin you mine, and then use Scheduled Actions to switch profiles.
  103.  
  104. If you've set a config file in the Miner Arguments using --config, CGWatcher will automatically extract it from the arguments and set it as the Config File. So if you see the --config option disappear from the Miner Arguments textbox, it is because it is now specified in the Config File textbox... and if it is in the Config File textbox, it will be used when launching the miner.
  105.  
  106. There are two profiles you should be aware of in CGWatcher - the active profile and the current mining profile. The active profile is the one you want to use for mining and you can change this any time in the Settings tab by selecting a profile from the drop-down list and clicking 'Save Settings'. However, if the miner was running while you switched to a new profile, you will need to restart the miner for it to use the new profile. CGWatcher will prompt you to restart the miner when this happens, but if you choose not you will not be actually using the new active profile until you restart the miner. The Status tab, as well as the bottom right corner of the window when the miner is running, display the current mining profile - the profile the miner is currently using. The Settings tab will show you the active profile. This active profile is what is saved and loaded the next time CGWatcher opens.
  107.  
  108. - The only time you need to worry about the current mining profile is if you change profiles while a miner is running and choose not to restart the miner when CGWatcher asks you. -
  109.  
  110. Example of active profile vs. current mining profile: You are mining with a profile called "Bitcoin". While the miner is still running, you go to the Settings tab and change the active profile to "Litecoin" and click 'Save Settings'. You will be asked if you want to restart the miner so it will switch to the "Litecoin" profile now, and declining means the miner will keep running under the "Bitcoin" profile until the next time it is restarted or stopped and started.
  111.  
  112.  
  113. INTERFACE
  114.  
  115. To keep the interface as small as possible, features are separated into tabs. Tabs can be navigated using function keys F1 to F11. Upon starting for the first time, you should go to the Settings tab and click 'Manage Profiles...' to setup your mining profiles. The Settings tab also allows for changing the miner's API IP address and port, but this will start out set default to the miner's defaults and should not need changed for most people. The API port is only used if the api-port option is not set in the miner's config file or arguments (when starting/restarting miner using CGWatcher, api-port in arguments overrides api-port in config file). If you are running multiple instances of CGWatcher to monitor multiple miners, you should set a unique port in each CGWatcher and miner to avoid cross-communication. For multiple instances, you can also check the 'Force this API port' to override any specified api-port option when the miner is launched from that CGWatcher instance. This will ensure that each of your CGWatcher instances are using unique API ports with their respective miners.
  116.  
  117. Below is a list of the tabs and information on the features each tab contains:
  118.  
  119.  
  120. STATUS
  121.  
  122. The Status tab provides general information such as hash rate (current and average), accepted and rejected shares, etc. Moving the mouse over a text box will provide you with more information about the data being shown in it. This tab also features a line graph showing the current hash rate and GPU temperatures for the last ten times information was polled from the miner.
  123.  
  124. At any time, you can refresh the information in CGWatcher by clicking the Refresh button. If monitoring is enabled, this will be done automatically at the interval you specify. However, if you wish to update it instantly without changing the interval, you can use this button at any time. Clicking the Refresh button will update information but it will not perform any checks regarding the miner's status or perform any miner restarts.
  125.  
  126. The Status tab also includes a large Pause/Un-Pause button. If a miner is currently running, the button will be labeled "Pause Mining". Clicking it will shutdown the miner. Once the miner is not running, the button turns into a "Start Mining" button. Clicking it will launch the miner using the active profile and begin mining. The idea behind this button is to have a very easy way to "pause" mining if you wish to do something on the computer (like watch a video, for example) where you will need more performance from your GPU than you can get while mining, since mining usually maxes out your GPU. Depending on your GPU(s) and intensity settings, you may not need to pause the miner to do something like watch a video, but the option is there nonetheless.
  127.  
  128.  
  129. Q: What is the difference between "Pause Mining" and "Stop" buttons?
  130.  
  131. A: As far as the miner is concerned... nothing. But CGWatcher assumes that if you pause mining, that you want things to carry on as they were prior to pausing once the miner is started again. This means scheduled actions that persist through miner restarts will be re-applied after pause/start, where stop/start they won't.
  132.  
  133.  
  134. On the bottom of the window underneath all of the tabs, you will see a status display on the left (which only appears when CGWatcher is doing something.)
  135. On the right is a miner status display that shows whether an accessible miner is running or not, and if CGWatcher is monitoring it. If the miner was started outside of CGWatcher and CGWatcher does not have API access to it, it will show that no miner is running. If the miner was started using CGWatcher and API access is disabled for some reason, it will show that the miner is running (but no miner data will be available.)
  136.  
  137.  
  138. MONITOR
  139.  
  140. The Monitor tab provides options for monitoring CGMiner and watching for problems and correcting them. Changes to the settings on this tab are applied instantly and do not need to be "Saved."
  141.  
  142.  
  143. "Monitor Settings"
  144.  
  145. "Enable monitoring, get miner status every: <seconds>" - This turns on the monitoring feature which will request mining information from the miner at the interval you set. This option has to be turned on in order to enable the other monitoring and recovery options below it, because with it disabled it will not continuously watch the miner. The default value of 10 seconds means every 10 seconds CGWatcher will request data from the miner, update the display, and perform the checks that you've enabled. When this option is turned on, you will see "[Monitoring]" added to the text in the CGWatcher title bar.
  146.  
  147. Each time the monitor refreshes, it will check to see if the miner is running and if it is responding. If the miner being monitored stops responding for 3 consecutive checks, it will kill the process and restart it. You can change the number of consecutive checks required by changing the NotRespondingRestartChecks setting in the [Monitor] section of the INI file.
  148.  
  149. The Windows Error Reporting UI creates a small window that comes up when a program stops responding, listing different options like 'Close the program', 'Check for a solution and restart', etc. In order to prevent this from preventing CGWatcher from killing a non-responding miner, the WER UI is disabled when CGWatcher starts, and its setting is restored when CGWatcher closes. This means that the UI will not be displayed for other programs that stop responding while CGWatcher is running, so if you wish to prevent CGWatcher from doing this you can set AllowDisableWERUI=False in the [Monitor] section of the INI file.
  150.  
  151.  
  152. "Restart if total hashrate falls below: <hashrate> <Kh/s;Mh/s;Gh/s> - On occasion I have seen the hashrate fall to virtually nothing for some unknown reason. To correct this, you can enable this option and set it to a low value such as 10% of your current hashrate. For example, if your current hashrate is 500 Mh/s, you may want to set this at 50 Mh/s (or below). A number this low will avoid restarting due to small fluctuations in hashrates that can occur. If the total hashrate is below this cutoff for 3 consecutive checks, the miner will be restarted.
  153. (Note: You can change the number of consecutive checks by editing the HashRateCounter value in CGWatcher.exe.ini)
  154.  
  155.  
  156. "Restart miner every: (hours of continuous mining): <hours>" - As a sort of last resort, you can specify a number of hours of continuous mining before the miner is restarted. For example, the default value of 24 means the miner will be restarted after it runs for 24 continuous hours (without stopping). Whenever the miner is stopped or restarted, this timer resets. As an example, if you set this to 2 hours and a temporary problem disrupted mining, it should ensure that at most you will have 2 hours of downtime.
  157.  
  158.  
  159. "Restart [miner/computer] if [accepted/total] shares stop increasing for: <minutes>" - If your accepted share count stops increasing for an unusually long amount of time, this likely indicates a problem with your pool or network. For solo mining, you may find checking the total share count (accepted, rejected, and stale) more helpful. Setting this to 10, for example, means that if your accepted share count doesn't increase for 10 minutes, the miner or computer gets restarted.
  160.  
  161.  
  162. "Restart [miner/computer] when sick or dead devices are detected" - More often than not, the miner will detect sick or dead GPUs but is unable to restart them and continue mining. When CGWatcher detects these sick or dead GPUs, it restarts the miner. (Note: This option no longer attempts to restart the sick or dead GPU only, as that often fails. Instead it now completely restarts the miner or the computer depending on your selection.) If you find that restarting the miner fails to resolve the problem, you can also select to restart the computer when this happens. If conditions to restart the computer are met, you will be shown a 30-second countdown window from which you can cancel the restart. By default, when a restart is performed CGWatcher will not force close other programs, meaning is another program prompts you to save something before closing, it may prevent or postpone the restart. If you wish for CGWatcher to force close other programs when it performs a restart, you can set the ForceCloseProgramsOnRestart=True under the [Monitor] section in the INI file.
  163.  
  164. Starting in version 1.2.8, the "sick or dead" option now also applies to FPGA and ASIC devices. If you don't wish to have the miner restarted when these devices become sick or dead, you can disable this in CGWatcher.exe.ini. Find the [Monitor] section and the setting RestartOnSickDeadUSBDevices=True. Change this to RestartOnSickDeadUSBDevices=False and restart CGWatcher.
  165.  
  166.  
  167. "Restart miner if full API access becomes read-only or if API access is lost completely" - If CGWatcher had API access to the currently running miner process but then lost it, it indicates a problem with the miner and it will restart it by killing the process and restarting. Likewise, if CGWatcher had full API access and this became read-only or lost completely, it also performs the kill and restart. If it has read-only access and never had full access, it will not restart the miner. Nor will it restart any miner that it never had API access to.
  168.  
  169.  
  170. "Ensure miner stays running unless paused or stopped in CGWatcher" - means what it says. If you enable this option and you or some unknown force closes the miner outside of CGWatcher, CGWatcher will start it up again. And it will continue to do this until you enable this option. Stopping the miner by using the Pause Mining or Stop buttons will prevent the miner from being restarted. If starting the miner fails 3 consecutive times, CGWatcher will give up and notify you of a problem.
  171.  
  172. "Restart miner if mining device count is below (all devices):" - set the minimum number of devices that must be mining when the miner start grace period (default 3 min) ends. If this number of devices is not met, the miner is restarted. This does not apply to miners that were running before CGWatcher.
  173.  
  174.  
  175. "Other Settings"
  176.  
  177.  
  178. "Enable overheat protection for GPUs not protected by the miner" - enable or disable CGWatcher's overheat protection features. See OVERHEAT PROTECTION below.
  179.  
  180.  
  181. OVERHEAT PROTECTION
  182.  
  183. If the miner is able to detect a GPU's temperatures, it provides overheat protection as long as the auto-gpu option is enabled. If you use both the auto-fan and auto-gpu options, the miner provides additional protection by controlling the GPU's clock and fan speeds to keep it running in the temp-target range. However, the miner is unable to detect information for all GPUs, specifically Nvidia GPUs, because it only uses the AMD ADL library to get this information. So if the miner is not able to get the GPU's temperature but CGWatcher is, CGWatcher will try to provide basic overheat protection also using the temp-target, temp-overheat, and temp-cutoff settings. If the temperature passes the temp-overheat setting, CGWatcher will lower its intensity by one in an attempt to get temperatures back to the temp-target range. It will continue to do this as long as the temperature is too high. If the temperature returns to below the temp-target, CGWatcher will gradually increase its intensity back to the original setting unless the temperature passes the temp-overheat again, in which case it lowers the intensity by one again. If the temperature passes the temp-cutoff, CGWatcher will disable the GPU. Once its temperatures return back to less than or equal to the temp-target, it will re-enable the GPU.
  184.  
  185. For AMD GPUs that the miner is providing overheat protection for (if auto-gpu is enabled), CGWatcher takes a hands-off approach other than when the miner disables them for exceeding temp-cutoff. Although the miner tries to re-enable them once they return to target temperatures, this does not seem to happen successfully so CGWatcher will restart the GPU once it has returned to temp-target or below.
  186.  
  187. So CGWatcher classifies overheat protection into three types:
  188.  
  189. Miner managed - The miner is capable of getting the GPU's temperature and the auto-gpu option is enabled. This means the only time CGWatcher will act is if the miner disables the GPU for overheating, CGWatcher will make sure it gets restarted successfully once it has cooled down to the target range.
  190.  
  191. CGWatcher managed - If the auto-gpu option is disabled, or if the miner is not capable of getting a GPU's temperature and CGWatcher is, it provides complete overheat protection for the GPU. This includes adjusting intensity and disabling GPUs that exceed temp-cutoff and re-enabling them once they return to the target range.
  192.  
  193. No protection - If neither the miner or CGWatcher can get a valid temperature for the GPU, it has no overheat protection. This also applies to GPUs that do report a valid temperature if auto-gpu is disabled and CGWatcher's overheat protection is disabled.
  194.  
  195. CGWatcher's overheat protection is enabled by default, but you can disable it in the Monitor tab. Keep in mind that temp-target, temp-overheat, and temp-cutoff all have default values of 75, 85, and 95 respectively. This means that even if you don't explicitly set these options, they are still set to their default values. Also, CGWatcher only provides overheat protection for GPUs that report a temperature between 1 and 150. Anything outside this range is considered invalid and unreliable. (Yes, I realize 150 is high but I wanted to cap it conservatively. Usually invalid temperatures are way off, e.g. 500c or -500c.) CGWatcher will only check GPUs that have an "ALIVE" status, as any other status means the GPU is not mining.
  196.  
  197. Q: Why does my intensity end up switching back and forth between two values after being lowered by overheat protection?
  198.  
  199. A: These two values are right on the edge of the temp-overheat temperature. The lower value drops temperatures below temp-overheat, the higher value makes temperatures rise above temp-overheat. So often you end up with the intensity going back and forth between these two. This isn't necessarily a bad thing, and may be preferable to a more constant intensity. If 10 drops temps below temp-overheat, and 11 brings temps above temp-overheat, you'll eventually average an 10.5 intensity. If it were to try to stick with one, you may end up at 10. So by changing back and forth often, you're squeezing a little extra hashrate out of the GPU while the temps permit, then dropping it down a notch when they don't.
  200.  
  201.  
  202. "Start Miner Failures"
  203.  
  204. These settings allow you to choose how you want CGWatcher to handle occasions where the miner doesn't start correctly. This limit does not apply when you start the miner by clicking on the "Start" or "Start Mining" button. Because you've clicked on the button, CGWatcher knows you're there and able to diagnose and fix whatever problem is causing the miner to not start, so it only tries to start the miner once in these circumstances.
  205.  
  206. "Maximum attempts to start miner before taking action" is how many times in a row CGWatcher will try starting the miner. Why would it do this? Because occasionally there are hiccups that cause the miner to not start correctly, while waiting a few seconds and trying again can result in a successful start. This option allows you to control how aggressive CGWatcher is at making sure the miner starts.
  207.  
  208. "Action to take if failed start attempts reach limit" tells CGWatcher what to do if the limit set above has been reached, meaning CGWatcher tried to start the miner that many times in a row, and each time it failed.
  209.  
  210. Actions:
  211.  
  212. Give up - stops trying to start the miner until either you interact with it, the monitor steps in, a scheduled action occurs, or a request to start the miner is received from CGRemote.
  213.  
  214. Keep trying - will try to start the miner up to 99 times. Once it reaches 99 it will give up.
  215.  
  216. Switch to last working profile - activates the last known working profile (in which the miner started properly) and then tries to start the miner using that profile.
  217.  
  218.  
  219. "Maximum attempts to perform a scheduled action" is how many times each scheduled action should be attempted if it fails the first time. This gets more complicated when you consider that some scheduled actions may perform several steps, some of which may fail and some may succeed. For example, switching profiles 1) activates the profile, and 2) may restart or start the miner (depending on settings and conditions). It may activate the profile alright, but then fail to restart the miner. In these cases, if the scheduled action has a stop time set, it usually categorizes it as a success so that the stop time will still be honored. If it deemed the entire action a failure, the stop time would not be triggered. This is also the case where the action is set to change something to a value it already is. For example, if an action is created to change intensity to 13 on idle, even if the GPU's intensity is already 13 it will show as successful rather than showing that it failed because the intensity is already at 13.
  220.  
  221.  
  222. The scheduler has turned out to be one of the more complex features of CGWatcher. It improves with each update, but there may be things that need to be changed or corrected. If you find it is not working as expected, please let me know. I try to take into account that different users may expect different things, and when these differences are far enough apart I try to create a setting the user can change. It is an important feature that many users rely on so letting me know about problems with the way you're using it is the only way these things can be worked out.
  223.  
  224.  
  225.  
  226. DEVICES
  227.  
  228. This tab shows mining device information, and is broken down into more tabs - one for each type of device. Currently it only supports GPUs. If you would like to help in adding support for other types of devices, please run the Device Test on that device's tab and email me the results.
  229.  
  230. At the top of the GPU tab is the number of GPUs found and a drop-down box for selecting a GPU. Once you select one, you can see information specific to that GPU (hashrate, clock, temperature, etc.) Some of these text boxes are read-only (gray text) and some are editable (black text) if the miner is running, meaning you can change values and click 'Apply Changes' to change those settings on the GPU even while mining. This makes it easier to test and adjust different settings without having to edit the config file and restart the miner, or use the miner's command-driven interface.
  231. Towards the bottom is a large text box containing more information for the selected GPU. Underneath is the selected GPU's status (ACTIVE, DISABLED, etc.) and buttons to enable/disable or restart the GPU. (Note that enable/disable and restart are just in terms of mining and will not affect other programs.)
  232.  
  233. If you have a low monitor interval you may not have time to change settings in between refreshes. If you are just changing one setting, you may have enough time to change it and click Apply Changes because CGWatcher will not update a textbox that you are changing. If you find that you need more time, you can click the 'Freeze' button next to the GPU list to stop updates on all editable fields. This will allow you to edit the settings uninterrupted, click 'Apply Changes', then click the same 'Un-freeze' button to resume updates in these fields. Even while frozen, all other fields will continue to update as usual.
  234.  
  235. Changing GPU settings to values outside of their operating ranges can cause system crashes and possibly damage components! Please make sure you know what you are doing before you change these. These settings can all be changed in the miner arguments and config file as well, but neither program is responsible should you push your hardware outside of its operating range and break something.
  236.  
  237. GPU data will refresh every at the same rate as the monitor interval, regardless of whether or not the miner is running.
  238.  
  239. The GPU tab also displays the overheat protection status for each GPU. See OVERHEAT PROTECTION section above for more information.
  240.  
  241. FPGA and ASIC devices - I do not have these devices yet so I added support based on data sent by users. I think it is working fairly well, with the only complaint so far that ASICs are appearing as FPGAs. This is not a CGWatcher issue, it is being reported this way from the miner. In fact, BFGMiner seems to treat all devices as FPGAs and has no ASIC-specific data. To correct this, you can open a device detail (click the device's button in the list) and click the 'Edit this Device' link in the bottom, left corner. This will allow you to reassign the device to FPGA or ASIC and change the code and name of the device. This data remains as original behind the scenes to ensure proper communication with the miner. It is simply making the device "look" like it is being reported correctly from the miner.
  242.  
  243. You can also create new codes and names for future devices that may not yet be correctly identified by the miner or CGWatcher.
  244.  
  245.  
  246. POOLS
  247.  
  248. This tab is similar to the devices tab, except that it shows pool information. You can select a pool from the drop-down list at the top to see information specific to that pool. You can enable/disable a pool, change the pool's priority (which will adjust other pools' priorities accordingly), and switch to a specific pool (which will enable the pool (if it is disabled) and set its priority to 0). The large text box shows more information specific to the selected pool.
  249.  
  250. If the miner is running, the pool information is retrieved both from the miner and from the miner's config file or arguments. If the miner is not running, pool information is retrieved from the active profile's config file or arguments.
  251.  
  252. Clicking the 'Manage Pools' button will open the current mining profile's config file in Config File Editor. You can change any config settings, including adding, editing, or removing pools. Once changes to the config file are saved, the miner will need to be restarted to load the updated configuration.
  253.  
  254.  
  255. REPORT
  256.  
  257. This tab's purpose is for all of the data I couldn't fit anywhere else. It shows information regarding CGWatcher and its monitor (if enabled), the current miner, and the active profile. At the bottom is debug information that may be helpful when troubleshooting problems or bugs. If you are having a problem with CGWatcher, submitting the text in this tab along with a description of what is happening should be enough to troubleshoot in most cases.
  258.  
  259. Similar to the GPU tab, you can freeze the report by clicking the 'Freeze Report' button. This prevents any updates to the report data so you can read it without interruption. When you want to resume updates, click the same 'Un-freeze Report' button.
  260.  
  261.  
  262. REMOTE
  263.  
  264. The Remote tab is for future configuration and use with CGRemote, which will allow you to monitor and control your miners remotely. In order to enable remote access by CGRemote, you have to enable the CGRemote server (Enable CGRemote Access checkbox).
  265.  
  266. Most of the information displayed is just to assist you in setting up the miner in CGRemote. For example, showing your local and public IP address because one of these will be required when setting up the miner in CGRemote. When setting up the miner, you do not have to use the miner's computer name as the miner name. It is just provided as a suggestion.
  267.  
  268. The two options you do need to set in the Remote tab are:
  269.  
  270. - Port: the local port used when listing for CGRemote. You will need to enter this port when setting up the miner in CGRemote. Additionally, port-forwarding may be necessary if accessing the miner from outside of its local network. More information on doing this will be provided with CGRemote.
  271.  
  272. REMOTE SETTINGS
  273.  
  274. - Default Miner Path: when creating a global profile in CGRemote that will be pushed out to all of your miners, it is unlikely that all miners will have the same folder and file structure. Therefore the master profile does not have a miner path set. Instead this profile will use the Default Miner as specified in this option. It is preloaded with the most used miner (according to the rig's profiles) or the first profile's miner if a most used cannot be determined. If the first profile uses a batch file, it will keep looking in an attempt to find a miner executable. Although batch/command files can be used here, it is recommended to point to the miner executable so arguments in the batch file do not interfere.
  275.  
  276. *Note - When using CGRemote, you can also edit each rig's profiles individually, which does allow you to set the miner path because you can navigate the rig's filesystem to select the miner. If you do this, this miner will be used instead of the default miner.
  277.  
  278. - PassKey: cgminer and bfgminer allow you to secure remote access by specifying which IP addresses can access their API. Because I wanted CGRemote to work from anywhere without having to constantly add or change the allowed IP addresses every time you wanted to access your miner from a new IP address (for example, taking a laptop with CGRemote to a friend's house and therefore using their IP address), I chose to go with a password, or key, or passkey, to authenticate CGRemote. You create the passkey, and set it in CGWatcher and CGRemote. If a request is made to CGWatcher without the correct passkey, the request is denied.
  279.  
  280. Note: Except for the initial communication between CGWatcher and CGRemote, all messages are compressed and encrypted using the passkey to provide additional security.
  281.  
  282. If you are using CGRemote to access the miner directly (non-Windows miners, for example), you will have to set the allowed IP addresses as usual and the passkey would not be used. Data going directly from CGRemote to the miner is not compressed or encrypted.
  283.  
  284.  
  285. SCHEDULE
  286.  
  287. (The monitor has to be enabled for any scheduling option to work.)
  288.  
  289. "Scheduled Actions" - starting with version 1.2, you can create scheduled actions that are triggered at a specific time and day, or every so many hours. These actions are displayed in the Settings tab, and each has an 'Enabled' checkbox and Edit and Delete button to modify or remove them. Each type of action is displayed in a different colored font.
  290.  
  291. For each action listed, you can check or un-check the checkbox to enable/disable it. Clicking Delete will obviously remove it, and clicking Edit will open the Scheduled Action window to change its settings.
  292.  
  293. Scheduled Action window:
  294.  
  295. You can think of the Scheduled Action window as building a sentence describing what you want CGWatcher to do. Changing one option may filter other options available or change them completely. The actions are:
  296.  
  297. - Start mining: starts the miner when triggered if it is not already running.
  298.  
  299. - Stop mining: stops the miner when triggered if the miner is running.
  300.  
  301. - Restart mining: restarts the miner if it is running. If it is not running, the action is ignored.
  302.  
  303. - Change intensity: changes intensity the specified GPU to the specified value.
  304.  
  305. - Change all intensities: changes intensity of all enabled and alive GPUs to the specified value.
  306.  
  307. - Enable device: enables the specified device.
  308.  
  309. - Disable device: disables the specified device.
  310.  
  311. - Restart device: restarts the specified GPU.
  312.  
  313. - Switch profile: switches (activates) the specified profile. If the miner is running and using a different profile, the miner is restarted using the new active profile. If the miner is not running, the active profile is switched but the miner is not started. To start it, you can create a 'Start mining' action after.
  314.  
  315. - Restart computer: restarts the computer when triggered. To ensure mining resumes after restart, ensure CGWatcher is set to start with Windows and to launch the miner when started. Also keep in mind that a Windows login screen will require user input before mining resumes.
  316.  
  317. - Run program: runs the specified program with (optional) specified arguments. An example where this may be useful is setting TeamViewer to run when TeamViewer closes (caused by TeamViewer crashing). This should help allow you to re-connect instead of waiting until you can get physical access to the miner.
  318.  
  319.  
  320. "Persist through miner restarts if condition still exists"
  321.  
  322. Some actions have a "persist through restarts" option that when checked will be reapplied if CGWatcher restarts the miner after it has already been triggered. This applies in the following cases:
  323.  
  324. - Pause Mining button is clicked, then the miner is started again
  325. - miner is restarted by Monitor (sick/dead GPU, low hashrate, etc.)
  326. - miner is restarted by another scheduled action (restart, switch profiles, etc.)
  327. - miner is restarted by CGRemote
  328.  
  329. These actions are not re-applied in the following cases:
  330.  
  331. - Stop button is clicked
  332. - Restart button is clicked
  333. - the action reaches its stop time
  334. - the action is disabled
  335. - the action is deleted
  336. - the miner is restarted when user prompted after changing something (changing profile, save settings, etc.)
  337.  
  338.  
  339. "Stop times"
  340.  
  341. Certain actions can also have stop times, including changing intensity, enabled/disabling devices, switching profiles, and running a program. When the stop time is reached, CGWatcher will return whatever was changed back to its previous condition. If its a device, it will go back to its previous intensity or enabled state. If the active profile was switched, CGWatcher will go back to the previous profile that was in use before the action was triggered. If a program was started, the program will be closed (only the instance that was started will be closed.)
  342.  
  343.  
  344. Switching profiles in scheduled actions is self-explanatory with the exception of the options enclosed in braces { }, which signify a conditional profile. By selecting these options, the profile that is switched to depends on the conditions at the time the action is triggered. For coin and profitability related options, it will use the data from http://coinchoose.com to determine which profile is currently the most profitable, highest reward, lowest network hashrate, etc. Any profiles that do not have coins assigned are ignored for coin-related options. If the current miner or active profile is the best for the specified condition, it tries to stick with the current profile rather than restarting the miner to use a different profile mining with the same conditional value.
  345.  
  346. For each of these conditional profile options, you can select 1st, 2nd, 3rd, etc. up to the number of profiles you have assigned coins to. Choosing [2nd] [{most profitable}] will switch to your second most profitable profile.
  347.  
  348. PROFILES THAT HAVE NOT BEEN ASSIGNED COINS WILL NOT BE CONSIDERED WHEN USING COIN-RELATED CONDITIONS!
  349.  
  350. While profitability data is updated at regular intervals in the background, if a 'switch profile to most profitable' action is triggered and the data has not been updated in the past 15 minutes the monitor will attempt to update the data before running the action to ensure it correctly chooses the current most profitable.
  351.  
  352. Each action has a set frequency at which to run. You can set it to run at a specific time on the selected days, set it to run every so many hours, set it to run on a specific date and time, set it to run when the computer is idle or not idle, or set it to run when a program starts or stops. When using the run every X hours option, each action keeps track of the last time it was ran and is ran again after X hours. So creating a Restart miner action to run every 8 hours means this action will occur every 8 hours, and has no dependency on other actions. The last time the action is ran is saved and remembered even if CGWatcher closes in between running.
  353.  
  354. You can set multiple actions to run at the same time as well, and they will be ran one after the other. However, if they are set at the exact same time (including seconds) there is no way to know which will run first. If you want to ensure one runs before the other, make sure there is at least a one-second difference.
  355.  
  356. For actions set to run at intervals (e.g. every 8 hours), modifying or enabling the action resets its timer.
  357.  
  358. You can essentially create as many scheduled actions as you wish. They are listed in the order they will be ran. Moving your mouse over an action in the Schedule tab will display when it will next run in the tooltip.
  359.  
  360. *Note - while monitor options have a startup grace period for the miner where they won't perform a restart if the miner had just started, because of the time-sensitive nature of scheduled actions they do not use this grace period and will act when they are set to, regardless of when the miner started. If this causes any unanticipated problems I can change this, or at least make an option to enable it.
  361.  
  362.  
  363.  
  364. "Set intensity of all GPUs to <intensity> if computer idle for <minutes> minute(s)" - After the computer is idle for <minutes>, any GPUs being used by the miner will have their intensities set to the specified <intensity> value. This will not affect GPUs that meet one of the following conditions:
  365.  
  366. - The GPU's intensity is already equal to or higher than <intensity> value. This is because you would only be raising intensity when idle, not lowering it.
  367. - The GPU's intensity is currently lowered by overheat protection.
  368. - The GPU is currently disabled by overheat protection.
  369. - The GPU is disabled.
  370. - The GPU's status is not "ALIVE"
  371. - The GPU's current hashrate is 0 (meaning it is not hashing and my have been disabled by the miner)
  372.  
  373. Once the computer is no longer idle, the GPU intensities will return to their original values unless they meet one of the conditions above. Keep in mind that being returned to their original values will not occur until the first monitor check after the computer is no longer idle. This means if you have your Monitor interval set to 30 seconds, it may take up to 30 seconds after you come back to the computer for the intensities to return to their original values.
  374.  
  375. "Donation Mining" - Support development for CGWatcher and related projects like CGRemote by donating a small portion of your mining time to the developer. This is completely optional, but please consider it as donations from < 1% of users (averaging $0.01/user) so far is discouraging, especially given all of the positive feedback. The about $150 I've received as of version 1.1.8 does not justify the past 18 weeks of work, and unfortunately I expect similar results from CGRemote. To be completely honest, this is making me question whether it is worth the effort to release. This option makes donating even easier than it already was, and is my last attempt at finding a reason to continue work these projects. I'm not looking to pay the bills with this... but the program is likely to have helped you earn more and while positive feedback and feature requests pour in, donations do not.
  376.  
  377. I will explain how this works in detail to help users feel confident that no changes are made to the miner without the user's consent. Unless you've disabled notifications, one is displayed any time the pool changes, regardless of why it changed. This information is also recorded to CGWatcher's log, and miner.log in the CGWatcher directory. If you have concerns, I encourage you to use the miner's log option to verify that CGWatcher's logs are accurate. Additionally, you can always see the current pool URL and username at the top of the miner's UI. Donation mining is available for both SHA256 and Scrypt, and will load a pool depending on what hash method you're currently using. There are also backup pools it may try if the first fails. This is all done quickly as the miner will not switch to a dead pool, so this will not affect mining time.
  378.  
  379. By default, this option will be disabled so I ask that you at least consider it. If you don't want to do it on a schedule, you can use the Start/Stop button to manually control donation mining. When donation mining is active, the time started and duration are displayed on the Schedule tab. When it has completed, it will display the next date and time that donation mining will occur. If you have scheduled donation mining enabled and you run donation mining manually by clicking the Start button, the next scheduled donation mining start time will be recalculated based on the manual start time, allowing you to easily set which time of the day you want it to run. Similarly, if you have donation mining set to run an hour and you start it manually using the Start button, it will still stop donation mining after an hour.
  380.  
  381. Donation mining will not modify config files or arguments. When it occurs, it adds the donation pool (sha256 or scrypt, based on the current profile) to the miner via API and switches the miner to this pool. You will see a notification when this happens, and it will be recorded to the log and miner.log. When donation mining is stopped, it switches back to the previous pool and removes the donation pool via API. If the miner is restarted by CGWatcher's Monitor during donation mining, donation mining will resume after the restart but it will not reset the timer, meaning it will resume where it left off and not mine for longer than you've set it to.
  382.  
  383. Donation mining will not occur during the first three minutes of CGWatcher starting, nor the first three minutes of the miner starting (unless a restart occurred during donation mining). This is to help prevent it from interfering if you are tweaking or testing the miner. Additionally, if starting donation mining should fail, it waits one hour before trying again. If stopping donation mining fails, it waits five minutes before trying again. There are several ways it tries to stop donation mining, including switching pools, disabling the donation pool, and ultimately removing it. The only reason it should ever fail to stop donation mining is if all other pools are dead, meaning it can't switch to any of them. My intentions are not to have it continue donation mining beyond when you've specified, and I put a lot of effort into making sure this does not happen.
  384.  
  385. Keep in mind that mining strategies like round-robin set to switch pools before the donation mining time ends may also cause the donation mining to end prematurely. If you disable the donation mining option while it is running, it will stop after the set number of hours. If you want to stop it before that, you can use the Stop button in the Schedule tab or go to the Pools tab and switch to a different pool. The donation pool will be removed after stopping or switching pools. And of course, if you stop or restart the miner using the Start/Stop/Restart/Pause buttons, donation mining will be stopped and will not resume upon restart until the next scheduled date.
  386.  
  387. I did a lot of testing with donation mining to ensure it does not make any changes without your consent. If you experience a problem, please disable donation mining in the Schedule tab and report the issue.
  388.  
  389.  
  390. SETTINGS
  391.  
  392. This tab is for CGWatcher settings.
  393.  
  394. *Remember to click 'Save Settings' to save any changes to the fields on this tab, including switching profiles. You can see the current active profile displayed in the middle of the tab. Selecting a different profile in the drop-down list will display its settings, but not make it the active profile until you click the 'Save Settings' button.
  395.  
  396. If you change a setting without saving and want to go back to the last saved settings, click the 'Cancel' button. The settings include:
  397.  
  398. Active Profile
  399. Here you can set the active profile you want to use. If the miner is running while you change profiles, you will need to restart it for it to use the new profile. The profile's settings are displayed below, but are read-only. If you want to change profile settings, click the 'Manage Profiles...' button. Next to the Miner and Config File paths, you will see buttons that either open the corresponding file's directory, open the config file in Config File Editor, or open the file in Notepad.
  400.  
  401. - "Profitablity" button opens the Coin Profitability window.
  402.  
  403. Miner Settings
  404.  
  405. - 'Start', 'Stop', 'Restart' buttons - Start, stop, and restart the miner. Note that if you are using the scheduled mining option in the Monitor tab, using these buttons during a scheduled mining time will cancel the 'Stop mining after <hours>' option if you've enabled it. If you would like to stay on the scheduled mining, use the Pause Mining/Start Mining button on the Status tab.
  406.  
  407. - "Miner window mode" - For those who don't like seeing the miner, you can select to have it ran hidden or minimized. Minimized will still show its icon in the taskbar, which you can click on to restore the miner's window. Hidden will cause the miner to not appear on the screen or in the taskbar. The only way you can tell it is working is by checking CGWatcher. You will need to use the buttons in CGWatcher to start/stop/restart the miner. Alternatively, you could kill the cgminer.exe or bfgminer.exe process in Task Manager.
  408.  
  409. - "Miner API Address (IP:port)"" - This is the IP Address and port of the miner's RPC server. This is required for CGWatcher to work, because it communicates with the miner via RPC. The default values are 127.0.0.1:4028.
  410.  
  411. - "Use only this API port (override config settings)" - If an api-port is specified in the miner's config file or arguments, this option will override it using the port you've set above when starting the miner. If this is enabled, CGWatcher will also try to ignore any miners not using this port, which is designed to help manage multiple instances of CGWatcher used to monitor multiple miners at the same time. (Note: Currently running multiple instances of CGWatcher should be done from different folders to avoid one instance overwriting INI settings of another. This will be fixed in the future.)
  412.  
  413. - 'Other Tools...' opens a popup menu containing other tools or features, including:
  414.  
  415. - 'Config File Editor' opens a blank/default config file in Config File Editor. You will also see smaller Config File Editor buttons next to textboxes that contain config file paths, allowing you to quickly open those files in the editor.
  416.  
  417. - 'Coin Profitability' displays profitability and other data on the various crypto-coins.
  418.  
  419. - 'GPU Map' opens the GPU map form. I'll try to explain why you would need to use this:
  420.  
  421. The miner has its own gpu-map option because it has to match up GPU information from OpenCL (which is used for mining) and ADL (used to get and set GPU settings like clock, temp, voltage, etc.) These libraries do not provide information to accurately map GPUs to each other 100% of the time, so the miner provides you with a way to manually map a GPU's hashrate (OpenCL) to its name, clock speed, temperature, etc (ADL).
  422.  
  423. CGWatcher also gathers GPU data using OpenCL, ADL (AMD), and NVAPI (Nvidia). This means that the problem is reintroduced when it comes to CGWatcher displaying the correct mining data for the GPUs it has detected. It attempts to map accurately using the miner's gpu-reorder and gpu-map options, but it may not always do this accurately. Once you manually map CGWatcher's GPUs to the miner's GPUs, the mappings will be saved and used whenever you start CGWatcher. See more information on the GPU map window below.
  424.  
  425. - 'Profile Manager' opens the Profile Manager window.
  426.  
  427. - 'Manage Variables' Allows for custom variables to be placed in config files, arguments, or batch files. CGWatcher will then convert these variables to their values before starting or restarting the miner. Variable names can be anything and are not case-sensitive.
  428.  
  429. There are a few built-in variables:
  430. %COMPUTER% - Your computer name
  431. %USER% - Your Windows username
  432. %HOST% - Your computer hostname
  433.  
  434. You can also specify as many custom variables as you'd like. When creating variables, do not include the percent symbols (%) as they will be included automatically. Enter variables one per line in this format:
  435.  
  436. name=value
  437.  
  438. As an example, you could create variables for worker names:
  439.  
  440. worker1=MyPoolWorkerName.1
  441. worker2=MyOtherPoolWorkerName.1
  442.  
  443. Anywhere you place %worker1% inside of a config file, arguments, or batch files, CGWatcher will replace %worker1% with MyPoolWorkerName.1 before starting or restarting the miner using the config file, arguments, or batch file.
  444.  
  445. Variables are particularly useful for creating an online config file and specifying its URL for a profile in multiple CGWatchers running on multiple computers. You can use variables inside of this config file, then set the variable values on each computer. This allows you to customize each config file with values specific to its hardware or configuration.
  446.  
  447. 'Coin Manager' allows you to add, edit, and delete coins and exchanges shown in the Coin Profitability window. To add a coin, scroll to the bottom of the list and enter the new coin's information on the last (blank) row. When you are finished, click Save to apply your changes, or Close to exit Coin Manager without saving changes.
  448.  
  449.  
  450. - "Share count totals" - Depending on your pool and hashrate, the difficulty of the shares you mine may vary. As an example, if you have a high hashrate the pool may provide you with a diff4 share, which is equivalent to 4 diff1 shares. This is because faster mining devices (specifically ASICs) can mine diff1 shares so quickly that they would request work so often it would overload the pool server. Instead, the pool may send a diff4 (or diff<N>) which gives the device more work to do before requesting new work, reducing the load on the pool server and network usage.
  451.  
  452. By default, CGWatcher displays share counts regardless of their difficulty, so a diff4 share is counted as 1 just as a diff1 share is.
  453.  
  454. Hardware errors are equivalent to diff1 shares, so if you are mining higher difficulty shares your hardware errors may be disproportional to your accepted, rejected, and stale counts.
  455.  
  456. You can change CGWatcher to instead show share counts in their diff1 equivalents, which will then give you a more proportional hardware errors number because all counts will be based on diff1 shares. These numbers may not be perfectly accurate all of the time, as stated in the cgminer readme. But if you would prefer to see how many diff1 shares you've mined instead of how many 'shares' you've mined, you can set this option to 'Diff1'.
  457.  
  458. Regardless of which option you use, the percentages next to each share count and hardware errors should be correct and take into consideration that hardware errors are equivalent to diff1 shares.
  459.  
  460.  
  461.  
  462. CGWatcher Settings
  463.  
  464. - "Run when Windows starts" adds a startup entry for CGWatcher. This means it will launch automatically when Windows starts. This is useful in the case of system restarts to ensure mining resumes automatically (after a system crash, for example). However, if your computer requires you to login to Windows, you would obviously have to login first before mining could be resumed after a system crash and automatic restart.
  465.  
  466. - "Start Minimized" starts CGWatcher minimized. If the "Minimize to system tray" option is also enabled, CGWatcher will start minimized to the system tray.
  467.  
  468. - "Minimize to system tray" - minimizes CGWatcher to the system tray. This means it will not appear in the taskbar. Instead, its icon will be in the system tray above (or near) the clock. Double-click the CGWatcher icon to restore its window.
  469.  
  470. - "Run miner when started" - will launch the active profile's miner and start mining when you run open CGWatcher (if the miner is not already running). For continuous mining after a system crash in the above example, you would also want to enable this feature.
  471.  
  472. By default CGWatcher waits 10 seconds before launching the miner upon starting. You can change this to any number of seconds you'd like by opening CGWatcher.exe.ini and changing AutoLaunchDelay=10 to AutoLaunchDelay=N (where N is the number of seconds to wait before launching the miner.)
  473.  
  474. The idea is, in case of a system crash (BSOD, "Blue screen of death"), the computer is automatically restarted. The order to resume mining would be:
  475.  
  476. Computer restarts -> [Windows login?] -> Launch CGWatcher automatically -> Launch CGMiner automatically = mining resumed
  477.  
  478. - "Don't prompt on exit" - By default, CGWatcher will ask you if you're sure you want to exit if: the miner is running, monitoring is enabled, and the reason for exit is the user is closing the window. Enable this option to prevent any prompts upon exiting.
  479.  
  480. - "Auto check for update" - When checked, CGWatcher will check for an update when it starts, and then check for an update every 24 hours. If an update is found, it will display a notice for 30 seconds or until you click on it, and a link to the download page will be displayed in the About tab. This option and the resulting notice if a new version is found will not affect monitoring.
  481.  
  482. - "Auto-update (beta)" - When a new version is found during an update check, CGWatcher will launch its update utility (update.exe) which will download the necessary update files. It will then close CGWatcher, replace the old files with the new files, and then re-launch CGWatcher. It only closes CGWatcher if it has successfully downloaded the update files, and will relaunch even if a problem occurs in replacing files in an attempt to keep CGWatcher running even if not all files were updated successfully.
  483.  
  484. - "Notify of new coins" - When a new coin is found on CoinChoose, a notification will be displayed and a log entry created showing the coin name and profitability data. This should be helpful for those looking to get a jump on mining new alt-coins.
  485.  
  486. - "Hide Notifications" - When checked, you will not be shown notifications when CGWatcher's monitor does something regarding the miner.
  487.  
  488.  
  489. LOG
  490.  
  491. This displays the CGWatcher log for the current session (since CGWatcher was started).
  492. - 'Clear Log Text' - clears only the textbox without deleting any log entries.
  493. - 'Clear Entire Log' - completely deletes all data from the log file.
  494. - 'Open in Notepad' - if you need to view older log events, this button opens the cgwatcher.log file located in the same directory as CGWatcher. This will display the entire log history, either from the last time you cleared it or the first time you ran CGWatcher.
  495. - 'Show Debug Log Entries' - the log typically keeps you updated on what CGWatcher is doing or has done. There are also debug log entries that provide error and troubleshooting information. Checking this box shows those entries as well.
  496.  
  497.  
  498. TESTS
  499.  
  500. This tab allows you to send commands to CGMiner and see what kind of reply messages it sends back. This can be useful for requesting information that I haven't yet implemented into the program. The reply messages are comma-delimited, but checking the "Convert comma-separated results into line-separated results" will do what it says, making the results easier to read. Un-checking it reverts back to the comma-delimited message.
  501.  
  502. If you wish to send multiple commands in one click, enter the commands in the Diagnostic text box (separate them by commas). Then click Run. The reply messages for all of the commands will be displayed in the large Result message text box.
  503.  
  504. The 'Create Debug Report' collects a lot of information helpful in troubleshooting problems. If you are reporting a bug, please provide the information from this report and send via email to Milone99k@gmail.com.
  505.  
  506.  
  507. ABOUT
  508.  
  509. Displays information about CGWatcher. The link will direct you to the official CGWatcher page. The 'Check for Update' button will check for program updates and if available, will provide a download link. If you have the 'Auto-update' option enabled in the Settings tab, this button will also initiate the auto-update process if a new version is available.
  510.  
  511.  
  512. SOURCE
  513.  
  514. The project will be open-sourced on GitHub in the near future, but the code is currently involved in another project so it will not be until that project is completed. I also still have to learn how to use GitHub. The repositories for CGWatcher and CGRemote will be located at:
  515.  
  516. Future CGWatcher Repository: https://github.com/justinmilone/CGWatcher
  517. Future CGRemote Repository: https://github.com/justinmilone/CGRemote
  518.  
  519.  
  520. UPDATES
  521.  
  522. After an update is released, changes or bug fixes shortly after may not result in a new version number. Instead I will append a letter to the end of the version (e.g 1.1.5.1c) to signify a change has been made since release. Using the example, if you downloaded when the latest version was 1.1.5.1b or when the latest version was just 1.1.5.1, you'll know that changes have been made since you downloaded that may fix problems that you might encounter. You can get the updated version by downloading again (using the same link). Any changes will be listed at the top of the CGWatcher download page so you can see if you need to download the latest revision.
  523.  
  524.  
  525. CONFIG FILE EDITOR
  526.  
  527. The Config File Editor attempts to make editing your miner's configuration easier. To start, it displays the config file in a grid allowing you to see all available settings and a description of each. Settings that can only be enabled or disabled will have a true or false option. Settings that allow numbers only (not including lists of numbers) will only allow numbers. The 'Validate' button attempts to check your settings for errors that may prevent the miner from starting or working correctly.
  528.  
  529. * The Config File Editor is in beta and is not yet perfect. It has undergone quite a bit of testing but with so many possible configurations, it will take some user testing to get bugs worked out.
  530.  
  531. * Settings set to default values are not written to the config file when saving. They are also not converted to arguments, because they are set to default values and don't need to be explicitly set as arguments.
  532.  
  533. * To add, edit, or remove pools, locate Pools in the config file grid. (There may be a Pools category heading as well in Category view mode), but you want the Pools that says '(Collection)' in the cell next to it. Click on the word '(Collection)' and a small '...' button will appear in the cell. Click on this '...' button to open the pool window.
  534.  
  535. When editing pools, you can create names for them as well so they are more easily identifiable when editing them later on. Pool names are saved inside the config file, but will not cause a problem with the miner. To change pool priorities, use the up and down arrows in the pools window to move pools up and down the list. The top of the list is the first priority, the bottom of the list is last priority.
  536.  
  537. Because new config options may be added to cgminer or bfgminer at any time, the Config File Editor handles options that it does not yet fully support by placing them in a "Misc Options" collection. This allows it to provide basic support for these options, although it does no validation against the values.
  538.  
  539. 'Name #' - You can name your config files so when you're using them in profiles they will be easier to access. Enter a name for the config file in the Name textbox. Then when managing your profiles, you can select a Named config file from the Config File textbox drop-down instead of needing to browse your computer for it. After clicking out of the Config File textbox, it will be converted to the config file path automatically.
  540.  
  541. 'Validate before saving' - By default, the Config File Editor will try to validate most option values before saving to make sure they are valid and in the correct format. In rare cases depending on the operating system's culture settings, the Config File Editor could tell you a value is invalid when it may be. In these cases, you can disable validation by un-checking this box if you are sure the values you've entered are correct.
  542.  
  543. 'Ensure API is enabled upon saving' - If enabled, the API access needed by CGWatcher will always be enabled when saving the config file, regardless if these settings were enabled in the grid. It will not affect other groups/IP address in the api-allow setting, it only makes sure api-listen is enabled and that 127.0.0.1 is included in the W: group of api-allow.
  544.  
  545. The Config File Editor Menu
  546.  
  547. - File -> New : Create a new config file.
  548. - File -> Open : Open an existing config file.
  549. - File -> Save (As) : Save the current config file.
  550. - File -> Close : Close the Config File Editor.
  551. - Tools -> Import Settings -> From Config File... : select an existing config file to import settings from. The current settings will be overwritten, but will not be permanent until you save the config file.
  552. -Tools -> Import Settings -> From Named Config File -> <select> : if you've set names for config files using the Name textbox in Config File Editor, these config files can be loaded quickly by just this name, both in Config File Editor and in the Mining Profiles window. This is the same as the previous menu item, but quicker and easier.
  553. - Tools -> Import Settings -> From Arguments : enter or paste miner arguments to have them converted to a config file. If you have a config file open, you will be asked if you want to overwrite only the settings listed in the arguments, or if you want to create a new config file using only the settings listed in the arguments.
  554. - Tools -> Export Settings -> To Arguments : converts the current config file to miner arguments.
  555. - Tools -> Open this Config File in Notepad : opens config file in Notepad. There is also a button next to the config file's Path to open in Notepad.
  556. - Tools -> Validate this Config File : checks the config file for errors in the settings' formats or values.
  557.  
  558.  
  559. COIN PROFITABILITY
  560.  
  561. Displays profitability data on all coins listed on http://coinchoose.com. Profitability is based on the value of coins in bitcoin, or how many bitcoins the coin is worth. The current best price is displayed, along with the exchange currently offering the best price. You can click on the exchange to open it in your browser.
  562.  
  563. All columns in the Coin Profitability window can be sorted by clicking on the column header cell. Click once to sort ascending, and again to sort descending. The coins that you are mining (coins that you have assigned to profiles) are bolded in black text in the table. Coins that you have not assigned to a profile are dark gray text. You can filter the coins to only show coins you are mining by checking the 'Show only mined coins' checkbox at the bottom of the window.
  564.  
  565. Along with profitability, the network hashrate is also displayed.
  566.  
  567. The coin data is updated at regular intervals, regardless of whether the Coin Profitability window is opened or not. The default update interval is 15 (minutes), but can be changed by editing the CoinRefreshInterval value in the [CGWatcher] section of the INI file. The minimum refresh rate is 5 minutes to limit the requests made to the website. The maximum is 1380 (23 hours) to ensure the data is updated at least daily. Any value set outside of these limits will be changed to be within them.
  568.  
  569. Coin names, symbols, and algorithms are stored in the INI file after updating so basic data is available even if CGWatcher is unable to connect to http://coinchoose.com upon starting. If there is no profitability data available, the Switch profile to -> {Most profitable} action will be not work and will be ignored until the data is updated. This action will also be ignored if the profitability data has not been updated in the past 24 hours, which is why the maximum refresh interval is 23 hours.
  570.  
  571. When it comes to displaying the exchange and a link to its website, there are several exchanges initially loaded when CGWatcher starts for the first time. However, as exchanges come and go, CGWatcher may not know about all of them. You can add exchanges manually to the INI file in the [Exchanges] section, using this format:
  572.  
  573. index=coinchoose code|name|url
  574.  
  575. For example:
  576.  
  577. 0=CRY|Cryptsy|https://www.cryptsy.com
  578. 1=CNE|Coins-E|http://www.coins-e.com
  579. 2=VCX|Vircurex|https://vircurex.com
  580.  
  581. To find the coinchoose code, you can check the coinchoose API at http://coinchoose.com/api.php
  582.  
  583.  
  584. This data is provided by http://coinchoose.com. A link to the website is displayed at the bottom of the Coin Profitability window. CGWatcher is not affiliated with this website, but it is a very useful tool so please visit the site and support its developer.
  585.  
  586.  
  587. COIN MANAGER
  588.  
  589. Add, edit, and remove coins and exchanges that are used in profitability mining and displayed in the Profitability window. Changes are not saved until the Save button is clicked. The Reload button will reload the coins and you will lose changes that have not been saved.
  590.  
  591.  
  592. GPU MAP EDITOR
  593.  
  594. The GPU Map window lists all of the miner's GPUs on the left. It lists the name (or die codename) or the GPU and its current hashrate to help identify which GPU is which in a multi-GPU system. Unfortunately, the identifying information available from OpenCL means it is difficult to guarantee an accurate match to ADL or NVAPI GPUs, so on the right is a drop-down list for each miner's GPU that lists all of the GPUs CGWatcher was able to detect. You will see that this information is easier to identify a GPU, and is what links the OpenCL data like hashrate to a GPU's name, clock speed, fan speed, temperature, etc. While I tried to plan for weird and unusual system configurations, there may need to be additional work done to allow proper mapping.
  595.  
  596. If you find that the new method of GPU detection breaks CGWatcher although it had worked in previous versions, you can set UseBackupHardwareMode=True in the [CGWatcher] setting of the INI file. This will attempt to return to the former method of GPU detection (getting data only from the miner.)
  597.  
  598. I recommend backing up the CGWatcher folder any time you update to a newer version in case the new version breaks something. Because the section and setting names in the INI file occasionally change, backing up the .exe alone may result in you losing some of your previously saved settings.
  599.  
  600.  
  601. COMMAND LINE ARGUMENTS
  602.  
  603. Starting with version 1.2, there are a few command line arguments you can use when launching CGWatcher:
  604.  
  605. -m starts CGWatcher minimized.
  606. -s launches the miner when CGWatcher starts (after default 10 second delay).
  607. -p [NAME] activates the NAME profile upon starting.
  608. -v [port] sets override miner API port to force miners to use (in cases of multiple instances.)
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615. CHANGELOG:
  616.  
  617. version 1.3.1 (9/9/2013)
  618. - add bitburner code/name to default mining devices.
  619. - improved automatic API enabling to fix issues with api-allow option being modified incorrectly and locking out other API monitoring applications.
  620. - thread sync locking on remote socket collection handling.
  621. - fix default profiles and variables file paths being saved to CGWatcher.exe.ini which caused profiles and variables to not save correctly if the CGWatcher folder was moved or copied to another location because the paths would still point to the original location. These are now left blank unless you change them manually to non-default paths.
  622. - CGRemote file explorer commands expanded to allow full directory navigation, file copy, file info, and existing commands improved.
  623. - CGRemote commands to add, modify, and delete profiles improved.
  624. - Ads may be displayed occasionally (30 seconds per hour, can be closed by clicking X) on CGWatcher's main window with the exception of donation miners.
  625. - Update and version data backup sites added to (hopefully) get around the main site being blocked in certain countries.
  626. - Pool elapsed time now recorded per pool, available in the Pools tab and Report tab. Also includes a percentage to see which pools were used and how much.
  627. - Remote options window created to provide additional options for CGRemote in the future, and allow for setting a default miner path (which defaults to your most-used miner executable) to use with global profiles.
  628. - Several other improvements (I lost track at some point).
  629.  
  630.  
  631. version 1.3.0 (8/25/2013)
  632. - FIXED: CGWatcher closing unexpectedly without any error messages during hardware refresh. I believe I found the cause, please let me know if I haven't.
  633. - FIXED: Ignore profile switching if profile being switched to is already active.
  634. - CHANGED: Max wait time for miner to start doubled (30 seconds for exe, 60 seconds for batch files). This is the maximum wait time for API to initialize. If it initializes sooner or the miner window closes, it stops waiting.
  635. - ADDED: Coin Manager allows you to add, edit, and remove coins and exchanges.
  636. - ADDED: Scrollbars to tabs if necessary (if Windows text size is set to > 100%). It will still look ugly, but at least you can get to all controls.
  637. - ADDED: Notifications when new coins appear on coinchoose, showing name, algorithm, and profitability info. This can be disabled by changing NotifyOnNewCoins=True to NotifyOnNewCoins=False in CGWatcher.exe.ini. (default is enabled).
  638. - FIXED: Incorrect profile being shown for miner after prompted to create new profile (again).
  639. - FIXED: Some minor issues fixed that may have caused API access failure in certain (rare) circumstances, particularly when starting CGWatcher while a miner was already running.
  640. - ADDED: Additional logging when changing intensity on idle so the result is logged regardless of what happens, even if skipped. Remember that the intensity on idle is only changed if the idle intensity is higher than the current intensity, or either of the values are "D".
  641. - CHANGED: Failed scheduled actions no longer disabled, but marked as Failed when their consecutive failures meet the limit set in Monitor tab. They will not be triggered when Failed=True. Failed flag is reset when the miner is successfully started/restarted or the action is modified or enabled.
  642. - ADDED: Events created in preparation of creating scheduling options based on miner events.
  643. - ADDED: Notification displayed and log entry recorded when new coins are found on CoinChoose.
  644. - FIXED: pools using -userpass/-O option being applied to config file correctly.
  645.  
  646.  
  647. version 1.2.9 (8/23/2013)
  648. - ADDED: settings for customizing how CGWatcher handles miner start failures.
  649. - ADDED: setting for how many times a scheduled action should be tried if it fails the first time.
  650. - ADDED: "start miner if not already running" option for certain scheduled actions.
  651. - FIXED: spaces in config file path bug
  652. - FIXED: variables not being replaced in arguments in some sitatuions.
  653. - FIXED: scheduler logic part II. This may require additional work, but it's getting there.
  654. - ADDED: Prompt for pool if no pool has been specified rather than trying to wait for user to enter in miner prompt.
  655. - ADDED: coins to profile drop-down list in Settings tab.
  656. - CHANGED: GPU status getting updated sooner after miner restart to ensure scheduled actions that modify a GPU's settings are not skipped because the GPU is thought to be inactive.
  657. - ADDED: several more commands added for CGRemote.
  658. - CHANGED: When data is requested from CGRemote while CGWatcher is in the middle of starting, restarting, or stopping the miner, a busy response is returned until the action is completed to avoid unnecessary messages.
  659. - FIXED: hashrates showing XXX.9999 or XXX.0001 rounded to nearest whole number. This is caused by using single variables to store hashrates, which promote speed and therefore may slightly lose precision. This still may occur for some numbers, but less often. It is only a visual quirk and does not negatively affect mining.
  660. - FIXED: Several other improvements or fixes were made that I forgot to write down. There are some new items on the to-do list as well, it's just a matter of getting to them.
  661.  
  662.  
  663. version 1.2.8 (8/20/2013)
  664. - FIXED: Scheduler almost completely re-written to ensure new options peacefully coexist with old options.
  665. - CHANGED: Scheduled actions will not persist through restart if they have a stop time that will occur within before the next estimated monitor check time.
  666. - CHANGED: Scheduled action notifications are standardized for all options, and now followed by a result notification (green or red depending on success or failure).
  667. - CHANGED: Scheduled actions set to persist through restarts will still persist if Pause Mining button is clicked by user. Stop button and Restart button cancels persistance.
  668. - CHANGED: All monitor checks will not be performed during the first 30 seconds of mining or after CGWatcher starting to ensure the miner is able to start properly. Any actions that fall within this time frame will be performed immediately following this grace period.
  669. - CHANGED: CGremote notifications changed from gray to purple to make more visible.
  670. - CHANGED: Variables moved from CGWatcher.exe.ini to variables.ini, whose file path can be changed in CGWatcher.exe.ini [Settings] VariablesDataFile=<path>
  671. - FIXED: Variables not working correctly if you included the surrounding %...% in their names when creating them.
  672. - FIXED: Bug causing variables not to be applied correctly to web config files.
  673. - FIXED: Bug causing config file load error if pool names contained brackets.
  674. - FIXED: Pool passwords not displayed when pool specified in arguments (no config file). This did not affect mining.
  675. - ADDED: -v <port> command line argument allows setting miner API override port (miner will only use this port). This applies only while CGWatcher is running with this command used at launch or until user saves settings (it is not saved to INI file by using command alone).
  676. - FIXED: Scheduled actions set to run on specific date not being triggered correctly.
  677. - FIXED: Scheduled actions set to run on specific date that also have a stop time set are not deleted until after stopped.
  678. - FIXED: Start mining and restart mining routines re-written to use temporary config files and batch files to ensure originals are not altered in case they are being shared by multiple miners.
  679. - FIXED: Batch files given twice as long startup time since they can take a little longer to get going depending on other commands.
  680. - CHANGED: "Restart miner when sick or dead GPUs detected" monitor option will now apply to FPGA and ASIC devices by default. Previously this was disabled by default to get some feedback without causing any problems.
  681. - FIXED: "Hashrate cutoff" monitor option bugging you if you left the sha256 or scrypt hashrate at zero.
  682. - ADDED: (Updater v1.2) MD5 Hash Check in Auto-Update utility to ensure auto-update files have not been modified.
  683. - ADDED: If 2> log argument is found and miner not using batch/command file, a temporary one is created and used to launch the miner to fix .NET's problem with this argument.
  684. - CHANGED: Minutes of inactivity before computer is considered idle on Schedule tab applies to all settings (included scheduled actions) so changed interface to make this clearer.
  685. - CHANGED: Scheduled actions "program starts" and "program stops" changed to "program is running" and "program is not running" to make it clearer that these may be applied as long as the specified program is running/not running if action is set to persist through restarts.
  686. - CHANGED: Scheduled action frequencies "is idle" and "is not idle" wording changed to better indicate these actions will be applied any time these conditions are true.
  687. - FIXED: Scheduled actions resorted after each check in which actions are triggered to ensure they are always performed in chronological order.
  688. - ADDED: Scheduled action "run program" that will launch a specified program (with optional specified arguments). This action can have a stop time, and like other actions can be triggered when a program stops running. (e.g. "run TeamViewer" when "TeamViewer" stops running). If a stop time is set, it will only close the instance it created and no other instances.
  689. - CHANGED: Scheduled actions that are set to run when the computer is idle, not idle or when a program is running or not running are no longer persistable through restarts. These actions are applied any time the condition is true, including after restarts.
  690. - FIXED: Notification that GPU was restarted after being disabled from overheat when it had actually been re-enabled by scheduler.
  691. - CHANGED: Restart miner/computer when sick or dead GPU is detected now also includes FPGA and ASIC devices by default. Previously this had to be enabled manually in the ini file.
  692.  
  693.  
  694.  
  695.  
  696. version 1.2.7 (8/17/2013)
  697.  
  698. (some of these changes were made in 1.2.6.1)
  699. - FIXED: When prompted to create new profile if miner found not matching one, new profile created successfully but miner assigned to wrong profile.
  700. - TEST: Added ability to restart miner if sick or dead FPGA or ASIC is detected. Not sure if these devices are reported as sick or dead and if so, if restarting the miner is the best option (compared to restarting device). Can be enabled by changing [Monitor] RestartOnSickDeadUSBDevice=False to True.
  701. - TEST: For 40+ devices, check that no devices have been truncated from devs command resulting in them not being reported. For these devices a separate command is sent to get data for each device. Some data is still unavailable for these last devices, specifically data that is truncated in the stats command.
  702. - FIXED: thread-concurrency in arguments not being applied correctly to config file if it was a comma-separated list of values.
  703. - ADDED: recent additions to config related to ASIC and FPGA devices now available in Config File Editor.
  704. - ADDED: Certain scheduled actions can have stop times.
  705. - FIXED: Scheduled action logs reporting actions were persisted through a restart when they weren't.
  706. - FIXED: Notification showing miner command failed even when it succeeded.
  707. - FIXED: Scheduled Action form showing wrong profile when editing scheduled action that switches to a specific profile (not profitability-related)
  708. - ADDED: CGRemote capabilities extended to include modifying schedule and settings.
  709. - ADDED: Option to set stop time for applicable scheduled actions. At stop time the action will restore item to its previous state.
  710. - TEST: a bug was reported that when a scheduled action to stop mining occurred and the 'Ensure miner stays running' option is enabled, the miner would be restarted. I didn't find anything obvious that would cause this but rewrote some of the code involved, blew in it, and hit it a few times like an old Nintendo cartridge. In subsequent tests the issue seemed to be resolved.
  711. - FIXED: Other minor bug fixes and improvements.
  712.  
  713.  
  714. version 1.2.6 (8/12/2013)
  715. - Fixed everything, then added some new bugs.
  716. - Significant improvements when communicating with CGRemote.
  717. - CGWatcher considers stop mining request from CGRemote as user initiated so if the "Ensure miner is running" option is enabled, it will not restart the miner.
  718. - CGWatcher considers stop mining scheduled actions as user initiated so if the "Ensure miner is running" option is enabled, it will not restart the miner.
  719. - Note added to acknowledge local IP address may be incorrect if more than one network adapter is present. I did change the method for getting the local IP to hopefully work better.
  720. - Convert decimal place to period any time a decimal value is sent to CGRemote (not often as most data comes this way right from the miner and is passed on to CGRemote)
  721. - Change Intensity When Idle option fixed so that if the miner is restarted while the computer is still idle (via CGRemote), the intensities will be changed again after the miner has been running for at least 30 seconds.
  722. - New "Persist through miner restart" option available for certain scheduled actions like changing intensity or enabling/disabling a device and certain frequencies like on idle/off idle so if, for example, you create a scheduled action to raise intensity when the computer becomes idle, this intensity will be carried over if the miner is restarted by the Monitor, Scheduler, or CGRemote. This does not apply to user-initiated restarts like a user clicking the restart button.
  723. - Miner can now be controlled using the following key combinations (to hopefully make it easier to stop the miner if intensity is set too high and mouse won't move):
  724. - Shift+M start the miner
  725. - Shift+T stop the miner
  726. - Shift+R restart the miner (no confirmation prompt)
  727. - Shift+P pause/resume miner
  728.  
  729. - For 'Change Intensities on Idle' option and 'Change Intensity/ies' scheduled actions, you can now specify two values separated by a backslash for SHA256/Scrypt. CGWatcher will use the value for the current algorithm.
  730. - 'Restart miner if hashrate falls below' monitor option now has values for SHA256 and Scrypt, so the option doesn't have to be changed when switching algorithms.
  731. - Fixed GPU reported as inactive if disabled by the miner for overheating and then the miner was restarted.
  732. - Reduced need for modifying config files before miner start when using batch files to only when necessary to enable API or change api-port.
  733. - Fixed autorun when Windows starts not being saved if auto-start miner was disabled.
  734. - Preset and custom variables can be used inside batch/command files, arguments, and config files. (e.g. %USER% replaced with username)
  735. - Increased potential value for difficulty since alt-coins may produce bizarre values
  736. - Added new block and found block minute averages on Status tab
  737. - Option to hide FPGA and ASIC devices if being reported incorrectly by the miner after device is unplugged and plugged back in. Open the device detail, click Hide in bottom left corner.
  738. - Improved support for batch and command files, including additional time when waiting for start. Improved parsing also.
  739. - Other improvements and fixes. Does anyone read these things? At a certain point I stopped writing down changes.
  740.  
  741.  
  742. version 1.2.5 (8/2/2013)
  743. - Auto-update utility (update.exe) fixed so it will download files to correct folder and not get stuck in a continuous cycle due to saving files to parent folder of CGWatcher folder.
  744. - Fixed Profile Manager showing file not found when trying to open config file from web url in Notepad.
  745. - Fixed bugs in processing responses to CGRemote.
  746. - Other minor improvements, fixes, and additions related to CGRemote communication.
  747.  
  748.  
  749. version 1.2.4 (7/24/2013)
  750. - Made changes to CGRemote interaction in preparation for CGRemote beta. 1.2.4 will be the minimum version required for CGRemote.
  751. - Fixed CGWatcher launching miner twice when started if auto-launch miner option and 'Ensure miner is running' option were both enabled.
  752. - Fixed pools not displaying correctly if miner not running and no config file is used. Additional fix applied to this regarding batch files.
  753. - Fixed more stuff.
  754.  
  755.  
  756. version 1.2.3 (7/19/2013)
  757. - Fixed enable/disable GPU that may have changed incorrect GPU in certain cases
  758. - Fixed difficulty overflows caused by ridiculous amount of decimal places in difficulty values
  759. - Added {highest reward}, {lowest difficulty}, {lowest network hashrate}, and {lowest network hashrate (average)} to scheduled action profile options.
  760. - When creating scheduled actions that switch to conditional profiles (e.g. most profitable), you can now select 1st, 2nd, 3rd, etc. to switch to 1st most profitable, 2nd most profitable, etc.
  761. - Added edit device option to correct devices being reported incorrectly by miner (e.g. ASIC reported as FPGA). Click Edit this Device link in bottom left corner of device detail to edit the device's properties.
  762. - Added average temperature to GPU data textbox in GPU tab. Currently this is a test for accuracy and will later be used to diagnose GPU issues where temperature drops suddenly because of problems with the miner.
  763. - Changed cgwatcher to force close programs on restart (after giving 30-second countdown with cancel button).
  764. - Improved program initialization speed (starts quicker).
  765. - Improved performance of interface updates when the miner's status has changed.
  766. - Coins no longer listed on coinchoose are now deleted *IF* they are not assigned to a profile in order to keep the coin list relatively clean as altcoins come and go.
  767. - Scheduled action last run times are saved so if CGWatcher is closed and re-opened, they will not be reset and will attempt to run N hours after the last run time. If last run time + N hours is in the past, time will be added in increments of N hours until the next run time is in the future (or now).
  768. - GPUs, FPGAs, and ASICs not enabled with status of ALIVE now have current hashrate set to 0 to give an accurate hashrate, even though a number may still be reported by the miner. Please let me know if this has unintended consequences.
  769. - Scheduled actions are not performed during a miner restart. If a restart is taking place at the time a scheduled action is triggered, it will be performed after the restart is completed.
  770. - Option to restart computer if accepted or total share counts do not change for N minutes added.
  771. - Allow for URLs when setting profile config files. More information in Profiles section above.
  772. - Rearranged schedule options to allow for more options and also create room for future options.
  773.  
  774. version 1.2.2 (7/14/2013)
  775. - Fixed a bug preventing profiles from saving correctly. The bug was introduced in 1.2.1 as a result of changing how profiles work in order to allow sorting, while still keeping backwards compatibility so it would not mess up existing profiles from previous versions.
  776.  
  777. version 1.2.1 (7/11/2013)
  778. - Profiles can now be sorted, either automatic (alphabetically) or custom sort.
  779. - Fixed 'Start with Windows' bug where startup entries were being created twice in certain cases. If this occurred, simply running version 1.2.1 (or newer) will cleanup entries and correct the problem.
  780. - Coins you are mining are now bolded in the Coin Profitability window, with the ability to filter coins to only ones you mine also.
  781. - Improvements to Coin Profitability window and data refreshes, including Refresh button improvement.
  782. - CGRemote code improvements. Removed 'coming soon' message and enabled CGRemote option in preparation for beta.
  783. - Miner detection relaxed to allow for monitoring of miners even if process filename is not retrieved do to access denied errors (reported in Windows 8). There may need to be additional adjustments though for these circumstances because I'm not sure what other process info is unobtainable. The best resolution of Windows 8 issues is to run CGWatcher as Administrator.
  784. - Schedule and process info added to debug report for help with troubleshooting.
  785. - Miner Start button in Tests tab shows conditions at the moment miner was started (similar to debug report) for help with troubleshooting.
  786. - Processes button in Tests tab now provides more information on why a miner process may have been ignored for help with troubleshooting.
  787.  
  788. version 1.2.0.0 (7/5/2013)
  789. - Created Scheduled Actions option to replace and improve upon existing scheduling option.
  790. - Improved socket code in preparation for CGRemote beta.
  791. - Added Schedule and CGRemote notification types (blue and gray respectively).
  792. - Added coin option to profiles, allowing user to assign to profiles which coin they are mining to allow for determining profitability.
  793. - Added coin profitability window showing data from http://coinchoose.com (see above).
  794. - Fixed overheat protection only re-enabling or raising intensity on overheated GPU when its temp returns to under temp-target. Now this occurs once temp is under temp-overheat.
  795. - Fixed issue with overheat protection not properly raising intensity in certain cases
  796. - GPUs disabled by overheat (by CGWatcher or the miner) will now show OVERHEAT (disabled) as a status. Clicking Enable button in GPU tab will restart the GPU to re-enable it (although if the temp is still above temp-cutoff, it will be disabled again if overheat protection is enabled.
  797. - Overheat protection info has been made clearer in the GPU tab.
  798. - Added support for new ASIC API options in cgminer 3.3.1 (API 1.26), and asc|N option in ASIC device test to improve future support.
  799. - Added debug logging to help resolve permission issues with Windows 8 related to accessing process info.
  800. - Notification added on startup if you are running CGWatcher from within Program Files, Program Files (x86), ProgramData, or Windows folder without running as Administrator as this could cause permission issues when writing to files.
  801. - Removed prompt on Stop button unless without full API access.
  802. - Command arguments (-m start minimized, -s start miner on launch, -p NAME activate profile on launch). If profile NAME has spaces in it, surround the name with quotation marks.
  803. - Fixed auto-start with Windows issue that may have prevented successful creation of HKCU startup entry if HKLM entry failed due to invalid permissions.
  804. - Disabling auto-start will check both HKCU and HKLM and remove from both if necessary to ensure it is not ran at startup.
  805. - Additional information regarding new features added to the Report tab.
  806.  
  807.  
  808. version 1.1.9.0 (6/25/2013)
  809. - Rewrote 'start miner' function and any code dealing with batch or command files to resolve issues reported by some users. All reported problems should now be fixed.
  810. - Support for "include" option added to Config File Editor. The option can be edited under Misc. Options. CGWatcher will now be aware of the additional config file, although some additional support may need to be added in the future.
  811. - Pools set in arguments are set to first priority when arguments are applied to config files. This is to remain consistent with argument options overriding config file options when using CGWatcher. Pools set in the config file won't be removed, they'll just follow pools set in arguments in terms of priority.
  812. - Commented lines (starting with REM) in batch and command files are now ignored.
  813. - Added info to debug report.
  814. - All options in the config file are now saved when saving the config file, even if they are set to their default values.
  815. - Fixed error handling when recording events to log (I had forgotten to un-comment code after testing).
  816. - Donation mining option added to Schedule tab. See above for more info.
  817. - Misc. fixes and improvements.
  818.  
  819.  
  820. version 1.1.8.0 (6/19/2013)
  821. - Added support for unsupported options in Config File Editor. Options that Config File Editor does not fully support are now placed into a "Misc Options" collection so they can still be edited in the Config File Editor. You can also add or remove options from this collection. No validation is done on the values of these options. Because CGWatcher is written for CGMiner, options added in BFGMiner may be placed in this collection. Also, any options added in the future by either program will appear here if they are in your config file.
  822. - Support for pool-priority option in config file added (for BFGMiner).
  823. - Fixed bug when changing pool priority in Pools tab when there are more than 10 pools.
  824. - Fixed bug that may cause incorrect values to be used when applying arguments to a config file before the miner is started. This only occurred when you set the same options in the config file and in arguments.
  825. - Fixed bug in json character escaping.
  826. - Notifications displayed when CGWatcher takes an action (for most actions). Clicking on a notification will close it, but if there are other notifications in the queue they will be displayed next. Default notification duration is 5 seconds, but some notifications may be displayed longer depending on importance. Notifications are also always available in the log.
  827. - 'Hide Notifications' option added to Settings tab to hide notifications.
  828. - Other minor improvements to config file saving, fixing common mistakes.
  829. - Misc bug fixes.
  830.  
  831.  
  832. version 1.1.7.0 (6/15/2013)
  833. - If CGWatcher has to modify a config file, batch file, or command file before starting the miner, it saves the original file to memory and once the miner is started (even if it fails to start), the original version is saved. This has been the case for the past few versions of CGWatcher, but because of the way it saved config files, it may have reorganized settings when restoring the original file. This has been changed to restore the file to the exact way it was before, and should that fail it will use the previous method of saving as a backup. If both fail to save, which is unlikely, it will be reported in the log.
  834. - Because CGWatcher may modify a config file, batch file, or command file before starting the miner, it will now save the modified file to debug_config.txt or debug_batcmd.txt (in CGWatcher directory) so you can see exactly what modifications it made. These are copies of the files used to start the miner. Because it restores the files to their original versions right after the miner starts, these copies can be used for troubleshooting should a problem arise because they show the exact settings used to start the miner.
  835. (Reasons CGWatcher may modify these files before launching the miner: override config settings with argument settings, enable API, override API port if specified in the Settings tab, etc.)
  836. - Situations in which CGWatcher has to modify a config file or .cmd/.bat file before starting the miner have been reduced as much as possible so these files are only modified if absolutely necessary.
  837. - Check Mining Profitability link has been changed to http://www.coinchoose.com.
  838. - UI notice that arguments override config file settings in Profile Manager.
  839. - UI notice that you must click 'Save Settings' to switch to a different profile.
  840. - UI notification when you find a block.
  841. - Fixed Profile Manager prompting to save changes sometimes when changes had not been made.
  842. - Fixed Update Download link in About tab.
  843. - Donation button added to About tab providing donation addresses.
  844. - Additional validation of intensities improved (still based on hash method).
  845. - Computer Idle Seconds, Last Check Date/Time added to Report tab.
  846. - Fixed bug that may incorrectly identify GPUs when changing GPU settings while mining if the system also had additional GPUs that were not mining.
  847. - Fixed allowing FPGA or ASIC devices where Enabled=N to be included in total hashrate if a hashrate is being reported for them.
  848. - Schedule option added to increase intensity of all GPUs to a specified value whenever the system is idle for X minutes. (As with other options, Monitor must be enabled. See option description above.)
  849.  
  850.  
  851. version 1.1.6.0 (6/15/2013)
  852. - ASIC/FPGA devices are shown. Clicking on a device's ID button will open device details. Note: Some ASICs may currently appear as FPGAs. This is due to the miner reporting them that way, which may be due to their configuration. This should improve with newer miner versions. Also, I don't currently have FPGA or ASIC, so support was based on test results I received which in most cases were all one type of device and did not include GPUs... so there may be issues that need to be worked out in some cases. In other words... this is beta ASIC and FPGA support.
  853. - Included hardware errors share percentages on status tab (these will not be included in the Total Shares monitor option)
  854. - Corrected overheat protection type to only apply miner protection if auto-gpu is used, as the miner does not use temp-cutoff without it.
  855. - GPUs must have temperatures (1 - 150) to be considered valid. Although this is a very conservative range, it will prevent constant restarts if temperatures are invalid (> 150) and assumes anything beyond that is invalid.
  856. - Tabs can be navigated using function keys (F1-F11)
  857. - Fixed potential problem created by BFGMiner returning Name=OCL instead of Name=GPU for GPUs in API commands.
  858. - Support for 64-bit miners added.
  859. - OpenCLNet.dll rebuilt so the original file will not work with 1.1.6 and beyond.
  860. - Additional check that active profile's miner path is valid before attempting to start miner to make it clearer for new users that this needs to be set prior to starting the miner (unless CGWatcher finds the miner on its own on first run.)
  861. - Fixed BFGMiner version not being reported.
  862. - Fixed CGWatcher improperly reporting that it was providing overheat protection if overheat protection was disabled in the INI file.
  863. - Enabling/Disabling overheat protection can now be done in the Monitor tab.
  864. - Added strategy to pool info
  865. - device option available in Config File Editor again since it has been fixed in cgminer 3.2.1. The option's description explains that < 3.2.1 only allow for one GPU, so arguments must be used for more than one. The device option now applies to all devices, not just GPUs, as per cgminer 3.2.1 changelog.
  866. - Validate before saving option added to Config File Editor (enabled by default) can be disabled if your culture settings cause problems with validating settings before saving.
  867.  
  868.  
  869. version 1.1.5.1 (6/10/2013)
  870. -Fixed issue with GPU mapping when more than one OpenCL platform exists and GPUs are not on platform (index) 0.
  871. -Added support for FPGA and ASIC devices, but not currently displayed because I am hoping to get more device test results. If you use these devices, please run the test on the FPGA or ASIC tab and email me the results. You can check if these devices are detected correctly by clicking the 'Show FPGA' or 'Show ASIC' buttons on the Tests tab.
  872. -Fixed open miner path directory in Profile Manager
  873. -Cancel button will give option of canceling wait for miner start (at bottom next to status)
  874. -Arguments will now take priority over config file (if same option is specified in both.) Pools set in arguments will be appended to pools set in a config file.
  875. -Fixed .cmd/.bat files causing miner to be killed on restart. Instead a quit is performed if full API access, or kill if not. This ensures any other commands in the .bat/.cmd file are reloaded during restart.
  876. -Added check processes for cgminer-nogpu.exe.
  877. -If miner disables GPU for exceeding temp-cutoff, cgwatcher will restart it once it returns below temp-target because the miner is usually unable to re-enable it successfully.
  878. -Profiles without a pool specified can not be saved. At least one pool must be specified in a config file or arguments. Otherwise this would cause the miner to prompt for this info on each restart.
  879. -Fixed bug with saving arguments to bat/cmd file that may have removed other lines in certain conditions.
  880. -Miner processes that are detected but fail to communicate with CGWatcher are now saved so it doesn't keep trying to communicate with them (if it has not found a process to monitor.) Hopefully this will not cause issues with detection, but miners started from within CGWatcher should not be affected.
  881. -Hardware information will refresh at same interval as monitor (instead of 5 seconds as in 1.1.5.0), but will continue to refresh even if miner is not running (when possible).
  882.  
  883.  
  884. version 1.1.5.0 (5/30/2013)
  885. - CGWatcher now gets GPU information (clock, temp, etc.) on its own for most AMD and Nvidia cards. If the miner is capable of getting GPU information as well (as it does for most AMD cards), the miner's information is used to ensure both programs are using same information.
  886. - GPU Map form to map GPUs detected by CGWatcher to miner GPUs in cases where automatic mapping is not correct.
  887. - Backup/fallback hardware detection mode added for problems with new method.
  888. - Overheat protection added for any GPUs that CGWatcher is capable of getting temperature for if the miner is unable to get temperature for.
  889. - Overheat protection status displayed for each GPU.
  890. - Full API access will always be enabled when starting a miner from CGWatcher.
  891. - Hashrate bug that caused hashrates to not be displayed occasionally fixed.
  892. - If miner path is a .bat or .cmd file, a miner restart will actually stop then start the miner to make sure any other commands are also ran.
  893. - Multiple instances of CGWatcher now allowed but currently require being ran from different folders. This will be changed in future versions to allow multiple instances from the same folder.
  894. - Support for multiple miner instances if each miner is using a unique API port (as specified in the miner's configuration or using default CGWatcher port.)
  895. - Miners already running when CGWatcher is started that do not have API access are ignored.
  896. - Force API port option added.
  897. - API calls to miner reduced.
  898. - Monitor checks that miner has not stopped responding. Restarts miner if not responding for 3 consecutive checks. Value can be changed in INI (NotRespondingRestartChecks)
  899. - WER UI disabled on CGWatcher start and restored on exit to prevent hang ups on miners that stopped responding, feature can be disabled in INI (AllowDisableWERUI)
  900. - GPU activity changed to progressbar.
  901. - GPU fan % changed to slider based on calculated fan min and max (if possible.) If min and max value cannot be determined, slider is disabled but rpm can still be edited for supported GPUs.
  902. - Small GUI enhancements to make certain data more visible.
  903. - Splash screen added to indicate instance has started and is loading since loading time is now longer.
  904. - Chart now updates regardless of whether or not miner is running.
  905. - Restart miner when sick or dead GPUs are detected changed to allow computer restart also.
  906. - Restart option gives 30-second countdown providing opportunity to cancel.
  907. - Restart option has force close option in INI file (ForceCloseProgramsOnRestart)
  908. - Schedule tab created, schedule options moved to it to allow future enhancements and additional room for options on the Monitor tab.
  909. - Device tests moved to their respective tabs.
  910. - Bug fixed preventing miner using .bat or .cmd files with 2>log.txt from launching.
  911. - Bug fixed when modifying arguments for miner using .bat or .cmd file (arguments changed in Profile Manager are saved to .bat or .cmd file automatically.)
  912. - Open directory buttons removed from Settings tab to prevent confusion. Changing miner or config file path must be done in the Profile Manager.
  913. - Device option removed from Config File Editor because specifically enabling multiple devices using the config file is not supported in cgminer. Instead do this in arguments using -d <device>.
  914. - Miner.log created to record miner events. Right now is limited to some process info, hardware errors, pool change, pool and GPU status changes, new blocks, found blocks, etc.
  915. - Log entries kept in memory reduced. Ultimately they will not be stored in memory but it was a quick way to show/hide debug entries. In the future a separate debug log may be used instead.
  916. - Misc. bug fixes and improvements.
  917.  
  918.  
  919. version 1.1.4.1 (5/14/2013)
  920. - added option to choose checking for accepted share count or total share count (accepted, rejected, and stale) changes.
  921. - fixed bug that prevented the correct hashrate cutoff types from being saved (Kh/s,Mh/s,Gh/s)
  922. - fixed bug that caused messagebox when 'Ensure miner stays running' option is enabled after switching profiles.
  923.  
  924.  
  925. version 1.1.4.0 (5/12/2013)
  926. - Config File Editor added.
  927. - Mining profiles added.
  928. - Improved monitor and restarting ability.
  929. - Notify user of (3) consecutive failed miner starts.
  930. - Scheduled Mining bug fix.
  931. - Hashrate/temperature chart displays temps for up to 8 GPUs.
  932. - Restart if API access becomes read-only or is lost option.
  933. - Check total share count option now only checks accepted share count.
  934. - Some data added/removed from Status tab to keep up with mining changes. Discarded work now only shown on Report tab.
  935. - Created tabs for other devices, Device Tests on Tests tab to allow help in implementing support for these devices.
  936. - Fixed bug with window position saving on multiple monitors that caused CGWatcher to open in wrong monitor.
  937. - Introduces several smaller features and improvements, maybe some new bugs.
  938.  
  939.  
  940. version 1.1.3
  941. - Scrypt mining detected automatically and hashrates are corrected accordingly.
  942. - Culture problems fixed where using a decimal instead of a comma produced incorrect hashrates.
  943. - Miner is restarted when sick or dead GPUs are detected, as restarting the GPU often fails.
  944. - Increased API buffer size to prevent chinese characters from appearing when miner returned a lot of data.
  945. - Ability to switch miners (CGMiner to BFGMiner or vice versa) handled in case that should ever happen.
  946. - Share percentages displayed and include stale and discarded in total to give more accurate percentages.
  947. - Check for Update button in the About tab added.
  948. - Restart when hashrate below X now fixed to require the hashrate to be below the value for three consecutive CGWatcher refreshes. This number can be changed by changing the HashRateCounter value in CGWatcher.exe.ini. You can also now select whether this value is in Kh/s, Mh/s, or Gh/s.
  949. - Miner restarts are improved. If CGWatcher lost full API access or the miner closes unexpectedly on the "restart" command, it is correctly handled by CGWatcher.
  950. - Miner is given a startup grace period where it will not be restarted during in order to give it time to start mining. The default is 180 seconds. This can be changed by changing RestartGracePeriod value in CGWatcher.exe.ini.
  951. - CGWatcher remembers window position including multi-monitor setups and monitor changes.
  952.  
  953.  
  954. version 1.1.2
  955. - Form size increased to make room for more options.
  956. - Simple scheduling option added.
  957. - Minimize to system tray option added.
  958. - Select CGMiner window mode (normal, minimized, hidden) option added.
  959. - Editable options now marked in black text, read-only in gray text (in most cases).
  960. - Closing CGWatcher while CGMiner is running will prompt the user to confirm closing.
  961. - Added support for BFGMiner.
  962.  
  963.  
  964.  
  965.  
  966. THINGS TO DO:
  967. - Feature suggestions can be sent to Milone99k@gmail.com. Requests from donators get priority.
  968.  
  969.  
  970.  
  971. KNOWN ISSUES:
  972. - Hosting your miner and/or config files on Google Drive may cause CGWatcher to not detect the miner, though the relaxed requirements of detection may help with this. I will be setting up Google Drive in order to look more into this issue. The same might be true of Dropbox, although it has not been specifically reported.
  973. - Windows 8 permission issues prevent CGWatcher from detecting miner properly in some cases. Running CGWatcher as Administrator resolves this problem. I am working on setting up a Windows 8 miner to troubleshoot.
  974. - Automatic GPU mapping may not be accurate, although it was on all systems I tested on. GPU temperature data may not be available for all devices, but you should be notified in the GPU tab if this is the case and overheat protection cannot be provided.
  975.  
  976.  
  977. LIBRARIES
  978.  
  979. http://openhardwaremonitor.org/license/ - Collect GPU data for AMD and Nvidia GPUs and Intel CPUs.
  980.  
  981. http://openclnet.codeplex.com/license - .NET OpenCL library to detect OpenCL devices the same way the miner does in order to better match GPUs.
  982.  
  983. http://json.codeplex.com/license - used to read/write Json for the miner's config file.
  984.  
  985. http://www.codeproject.com/Articles/5304/Read-Write-XML-files-Config-files-INI-files-or-the - a library that I use for writing and reading INI, XML, and config files. (no license stated)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement