Bitcoin Forum
June 20, 2024, 06:16:45 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 »
  Print  
Author Topic: CGWatcher 1.4.0, the GUI/monitor for CGMiner and BFGMiner to prevent downtime  (Read 180418 times)
richiep41
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
August 03, 2013, 09:03:58 PM
 #121

This is the 3rd or 4 version and they have been flawless for me, but I just tried the latest update on two of my machines and it failed on both. It seems to be related to the API, which I see the previous couple of posts are about, but not in reference to it failing. If it matters, both of my machines are on window7-64bit with the latest version of cgminer. I tried several different things, such as doing it from a fresh start, with both a new copy of cg miner and not importing any of the watcher config (except for the config file for cgminer) I tried some other things too, but I'm a little lost when it comes to configuring API setting. Just before sending this here, I ran the debug and giot the message "no connection could be made because the target machine actively refused it 127.0.0.1"
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
August 03, 2013, 09:21:08 PM
 #122

I haven't changed anything related to cgminer's API or monitoring (at least not that I can think of, but there is always the chance that changing something can affect something else I didn't think of). Most of the recent changes have been related to CGRemote, which is its own separate component.

I'm not sure exactly where you're having the problem... is it that CGWatcher does not connect and monitor cgminer after it starts it? If you use CGWatcher to start cgminer, it should take care of enabling the API automatically if it's not already enabled. If you can reproduce the problem, or specifically: start CGWatcher and click Start Mining so it launches cgminer. If it does not connect to cgminer (it will say something about not being able to connect to cgminer's API), go to the Tests tab and click Create Debug Report and email it to me (address in Readme). This gives a dump of info that should be helpful in figuring out what has gone wrong.

There are also permission issues that are occasionally reported, but you should be able to rule this out if you run CGWatcher as Administrator and the problem still occurs.

CGWatcher, a GUI/monitor for CGMiner & BFGMiner: http://www.cgwatcher.com
CGRemote, a remote mining dashboard for all of your miners: http://www.minerremote.com
BTC: 12TAYjmSrdDHLNpmix2MG6y3R868SMM7Fx    LTC: LM6Un6hZvPzLBggJWiAVG6E6w2GfaHukXY
richiep41
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
August 03, 2013, 10:05:53 PM
 #123

I just sent you the email with the debug conents
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
August 04, 2013, 05:04:29 AM
Last edit: August 04, 2013, 07:04:37 AM by milone
 #124

This was resolved earlier by email but for anyone else with similar problems, there is a bug that occurs when a profile's config file has " -" (space dash) in the filename. Because CGWatcher then adds the config filename to the arguments, and it uses " -" to separate arguments, it garbles the arguments. I thought I handled this but I'm obviously off somewhere. I'll fix this in the next update, but a temporary workaround is to delete all arguments for the profile, set its config file to the renamed file without " -" in the filename, then you can add back any arguments you originally had in the Miner Arguments textbox and save the profile.


Edit: this bug actually affected profiles that had config file filenames with spaces, even without a following dash. It has been fixed and 1.2.5.1 is available. It's also worth checking that profile arguments aren't scrambled, though that should only be the case if you saved the profile recently.

CGWatcher, a GUI/monitor for CGMiner & BFGMiner: http://www.cgwatcher.com
CGRemote, a remote mining dashboard for all of your miners: http://www.minerremote.com
BTC: 12TAYjmSrdDHLNpmix2MG6y3R868SMM7Fx    LTC: LM6Un6hZvPzLBggJWiAVG6E6w2GfaHukXY
samfisher
Member
**
Offline Offline

Activity: 60
Merit: 10


View Profile
August 04, 2013, 03:33:03 PM
 #125

I've got a bug that has been happening quite often lately.  Started about 2 versions ago I believe (currently on 1.2.5.1)  The reported "Current Total Hashrate" sometimes doesn't match up with what CGMiner says, and as a result, it falls below my restart-miner threshold.  This ONLY happens after CGWatcher restarts my miner for some reason (not driver crash or anything).  This can only be solved by closing CGWatcher completely and restarting it again.  Also, temperature reading has been very different as well.  It doesn't seem to read from CGMiner anymore, as you can see the reported temps are all different than what CGMiner reports (actually, this instance GPU 0 was right, but it has been up to 10c wrong in the readings often too).


 *Link Removed*
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
August 04, 2013, 05:53:53 PM
 #126

When this happens, please go to the Tests tab and click the 'Create Debug Report' button and email me the results (address in readme).

CGMiner doesn't return a value for total (current) hashrate, so it is the sum of hashrates for all mining devices. Because of this there may be a delay in updating the total current hashrate because devices are updated on their own thread and although they refresh at the same interval the monitor interval, they don't necessarily occur at the same time. So if your monitor refresh interval is 10 seconds, it may refresh and then take up to ~10 seconds for the devices (and total current hashrate) to update. Ideally in this example they would run 5 seconds apart, but that doesn't always happen. That may not be the issue here but is worth mentioning I guess.

CGWatcher uses the temperatures reported by CGMiner if available. Otherwise it retrieves the temperature on its own. So for the temperatures to be that different, something is happening that is causing CGWatcher to not get this info from CGMiner... and then for some reason the temperature it gets is wrong, or off.

And lastly, did something happen to GPU1 in the example you've shown? It has a higher hashrate but lower accepted shares (and a lower temperature but that may be coincidental). Was it possibly disable and then re-enabled at some point? Do you know what CGWatcher reported as the status for GPU1?

Anyway, it's difficult to say without the debug info. Including cgwatcher.log in the email (as an attachment) may be helpful as well as it goes back further than the debug report.

CGWatcher, a GUI/monitor for CGMiner & BFGMiner: http://www.cgwatcher.com
CGRemote, a remote mining dashboard for all of your miners: http://www.minerremote.com
BTC: 12TAYjmSrdDHLNpmix2MG6y3R868SMM7Fx    LTC: LM6Un6hZvPzLBggJWiAVG6E6w2GfaHukXY
samfisher
Member
**
Offline Offline

Activity: 60
Merit: 10


View Profile
August 05, 2013, 12:39:36 AM
 #127

When this happens, please go to the Tests tab and click the 'Create Debug Report' button and email me the results (address in readme).

CGMiner doesn't return a value for total (current) hashrate, so it is the sum of hashrates for all mining devices. Because of this there may be a delay in updating the total current hashrate because devices are updated on their own thread and although they refresh at the same interval the monitor interval, they don't necessarily occur at the same time. So if your monitor refresh interval is 10 seconds, it may refresh and then take up to ~10 seconds for the devices (and total current hashrate) to update. Ideally in this example they would run 5 seconds apart, but that doesn't always happen. That may not be the issue here but is worth mentioning I guess.

CGWatcher uses the temperatures reported by CGMiner if available. Otherwise it retrieves the temperature on its own. So for the temperatures to be that different, something is happening that is causing CGWatcher to not get this info from CGMiner... and then for some reason the temperature it gets is wrong, or off.

And lastly, did something happen to GPU1 in the example you've shown? It has a higher hashrate but lower accepted shares (and a lower temperature but that may be coincidental). Was it possibly disable and then re-enabled at some point? Do you know what CGWatcher reported as the status for GPU1?

Anyway, it's difficult to say without the debug info. Including cgwatcher.log in the email (as an attachment) may be helpful as well as it goes back further than the debug report.

Alright the next time I see it happen I'll get the debug file.


1) It is indeed 10 seconds interval set in Settings, but it lasts for long enough that "Restart miner/computer if below x hash rate" with the 3 minute grace period kicks in and restarts the miner repeatedly every 3 minutes Tongue

2) Yea, no idea why this happens though.


3) It's probably still warming up, cos this was taken a few seconds into starting the miner, GPU1 normally catches up in the next few seconds if you leave it alone Tongue

Also, I do have another program that has API access.  It's a bare minimum monitoring software, but doesn't require exclusive API access.  It works flawlessly as it pushes it's stats to a website and it works for days without restarting the miner, but once in awhile CGMiner restarts the miner.  Couldn't manage to see what the Notification said in time though ):

Thanks a bunch Cheesy

 *Link Removed*
xIIImaL
Legendary
*
Offline Offline

Activity: 1372
Merit: 1005


View Profile
August 05, 2013, 01:32:42 PM
 #128

I have some problems when enabled scheduled mode "switch to the 1st most profitable" and in this time sometimes some pools are having status "DEAD", and cgminer/bfgminer glitch.. can't be started normally..  Please fix this at the next update or add a new scheduled mode to avoid these glitches..

P.s. sorry for my english I'm from afar Smiley
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
August 05, 2013, 07:42:03 PM
 #129

Yeah I need to have it switch to the next most profitable in this case if all pools in 1st most profitable are down. It also needs to do this if it switches to a profile that has incorrect configuration that causes the miner to not start, which in that case it should just go back to the profile it was previously on. I ran into this myself the other day but have been busy with CGRemote so I'll work on it as soon as I can.

CGWatcher, a GUI/monitor for CGMiner & BFGMiner: http://www.cgwatcher.com
CGRemote, a remote mining dashboard for all of your miners: http://www.minerremote.com
BTC: 12TAYjmSrdDHLNpmix2MG6y3R868SMM7Fx    LTC: LM6Un6hZvPzLBggJWiAVG6E6w2GfaHukXY
xIIImaL
Legendary
*
Offline Offline

Activity: 1372
Merit: 1005


View Profile
August 05, 2013, 07:45:16 PM
Last edit: August 05, 2013, 08:03:23 PM by xIIImaL
 #130

Thanks! Smiley To avoid such glitches i using now a multiple pools in bfgminer config.   CGwatcher the best and forever!
noncecents
Member
**
Offline Offline

Activity: 74
Merit: 10


View Profile
August 09, 2013, 01:52:14 AM
 #131

When there are BitErupters being used they are shown on the FPGA tab.

Whenever a device is unplugged and plugged into another port a ghost device is left behind.

Could it be possible to hide these so they don't fill up the status page in Devices > FPGA?
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
August 09, 2013, 02:06:06 AM
 #132

If an ASIC is being shown as an FPGA it is because the miner is reporting it that way. BFGMiner seems to treat all ASICs as FPGAs as far as the API goes, while CGMiner does differentiate the two unless an ASIC is using FPGA drivers (or something along those lines). This is why I added an option to customize a device so you can change it to at least appear correctly in CGWatcher. In the bottom left corner of the device detail display there is a link labaled "Edit device". Clicking this will allow you to change what the device is and even customize its name (although behind the scenes it is still treated as an FPGA when communicating with the miner). I don't have FPGAs or ASICs yet so testing of this was limited, so if you experience any problems let me know.

The miner also treats unplugged-then-plugged-back-in devices as new devices, so CGWatcher is being told there is another device. I'll add an option to hide devices to handle this. Does the hashrate of the old device go to zero? Or is there any changes to the device's data that I could look for to hide it automatically?

If you do provide more information, the "Create Debug Report" button in the Tests tab will dump a bunch of info that may be helpful. Also in the Tests tab there are buttons labeled "Show FPGA" and "Show ASIC". When you have these ghost devices, if you click "Show FPGA" and send me the results I may be able to find something to determine if a device needs hidden or not. Preferably send this info to my email (in the readme) as it's a lot of data to dump into this thread.

CGWatcher, a GUI/monitor for CGMiner & BFGMiner: http://www.cgwatcher.com
CGRemote, a remote mining dashboard for all of your miners: http://www.minerremote.com
BTC: 12TAYjmSrdDHLNpmix2MG6y3R868SMM7Fx    LTC: LM6Un6hZvPzLBggJWiAVG6E6w2GfaHukXY
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
August 13, 2013, 01:33:12 AM
 #133

Version 1.2.6 has a ton of improvements and bug fixes, and anyone using CGRemote should update to this version with the new CGRemote update (1.0.3). See original post or readme for most of the changes (I stopped writing them down after a while.)

CGWatcher, a GUI/monitor for CGMiner & BFGMiner: http://www.cgwatcher.com
CGRemote, a remote mining dashboard for all of your miners: http://www.minerremote.com
BTC: 12TAYjmSrdDHLNpmix2MG6y3R868SMM7Fx    LTC: LM6Un6hZvPzLBggJWiAVG6E6w2GfaHukXY
samfisher
Member
**
Offline Offline

Activity: 60
Merit: 10


View Profile
August 13, 2013, 03:07:13 PM
 #134

  • Other improvements and fixes. Does anyone read these things? At a certain point I stopped writing down changes.


I definitely do Smiley

 *Link Removed*
crazyearner
Legendary
*
Offline Offline

Activity: 1820
Merit: 1001



View Profile
August 13, 2013, 09:01:14 PM
 #135

milone have you considered making something that's Avalon friendly like custom built and applied within firmware of it ?

=
  R E B E L L I O U S 
  ▄▀▀▀▀▀▄▄                           ▄▄▀▀▀▀▀▄
▄▀        █▄▄                     ▄▄█        ▀▄
█            █████████████████████            █
█▄          ██       ██ ██       ██          ▄█
█        █            █            █        █
  █    █               █               █    █
   █ ██               █ █               ██ █
    █ █               █ █               █ █
    █ ███▄  █████▄   ██ ██   ▄█████  ▄███ █
    █     ███     █         █     ███     █
     █   █   ▀███ █  █   █  █ ███▀   █   █
     █   █      █ █  █   █  █ █      █   █
     █   █      ██  █     █  ██      █   █
      █  █     ██  █       █  ██     █  █
      █  █    ██  █ ███████ █  ██    █  █
      █ ███   ██  █         █  ██   ███ █
       █   ▀███      █   █      ███▀   █
        █     ██       █       ██     █
         █      █   ▄▄███▄▄   █      █
          ███   ███▀       ▀███   ███
             █████           █████
                  ███████████
  ▄▀▀▀▀▀▄▄                           ▄▄▀▀▀▀▀▄
▄▀        █▄▄                     ▄▄█        ▀▄
█            █████████████████████            █
█▄          ██       ██ ██       ██          ▄█
█        █            █            █        █
  █    █               █               █    █
   █ ██               █ █               ██ █
    █ █               █ █               █ █
    █ ███▄  █████▄   ██ ██   ▄█████  ▄███ █
    █     ███     █         █     ███     █
     █   █   ▀███ █  █   █  █ ███▀   █   █
     █   █      █ █  █   █  █ █      █   █
     █   █      ██  █     █  ██      █   █
      █  █     ██  █       █  ██     █  █
      █  █    ██  █ ███████ █  ██    █  █
      █ ███   ██  █         █  ██   ███ █
       █   ▀███      █   █      ███▀   █
        █     ██       █       ██     █
         █      █   ▄▄███▄▄   █      █
          ███   ███▀       ▀███   ███
             █████           █████
                  ███████████
  R E B E L L I O U S
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
August 14, 2013, 01:58:54 PM
 #136

I don't have an Avalon so I hadn't considered it. There are so many devices coming out that I think keeping the GUI device-independent is best at the moment.

I think CGRemote should work well for this though. It's a Windows application but can monitor and control local and remote miners on any OS. It's currently being tested by a group of users, so I haven't posted here yet. But I'd estimate its release sometime in the next couple weeks.

More info and video demo:

http://manotechnology.blogspot.com/p/cgremote.html


CGWatcher, a GUI/monitor for CGMiner & BFGMiner: http://www.cgwatcher.com
CGRemote, a remote mining dashboard for all of your miners: http://www.minerremote.com
BTC: 12TAYjmSrdDHLNpmix2MG6y3R868SMM7Fx    LTC: LM6Un6hZvPzLBggJWiAVG6E6w2GfaHukXY
ReCat
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile WWW
August 14, 2013, 03:35:30 PM
 #137

This is pretty awesome. Will be using this later on, once I got my mining rig up again.

BTC: 1recatirpHBjR9sxgabB3RDtM6TgntYUW
Hold onto what you love with all your might, Because you can never know when - Oh. What you love is now gone.
Jazkal
Sr. Member
****
Offline Offline

Activity: 319
Merit: 250



View Profile
August 15, 2013, 12:10:17 AM
 #138

I have a problem with the frequency it is checking the CoinChoose site. I have it set to check every 5 mins, but it only updates every 10-12 mins. Is there somewhere else I need to set to get it to pull the data?
MonsterZero
Member
**
Offline Offline

Activity: 72
Merit: 10


View Profile
August 15, 2013, 02:07:23 PM
 #139

And yes Milone, people do read those things  Wink  Thank you for your work.
lemonte
Hero Member
*****
Offline Offline

Activity: 624
Merit: 502


View Profile
August 15, 2013, 02:12:02 PM
 #140

And yes Milone, people do read those things  Wink  Thank you for your work.

Hey man,

is your name on here a Godzilla, or Glassjaw reference?


Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!