Bitcoin Forum
May 11, 2024, 06:52:05 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   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 180389 times)
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
August 26, 2013, 04:48:44 AM
Last edit: August 26, 2013, 05:10:21 AM by milone
 #161

Can you download again and see if this problem still exists? The download should now be version 1.3.0.1 (still called CGWatcher-1.3.0.rar).

It seems the method I'm using to check that the miner process is still running is saying that it isn't... but it only happens on some computers. Maybe it's a permission issue? There are now a few different methods for checking - the overkill approach - until I can pinpoint the exact problem. Oddly enough this particular code has not been changed in any recent versions.

CGMiner is starting, right? CGWatcher is just not picking it up? (And is probably therefore closing it and trying again?)


EDIT: Sorry, I just made another change. I noticed the "MinerExecutable" property in your log was incorrect, so that should now big fixed as well. The MD5 for this is CD8FB3886E35A16D7A62B3DDBCCEFC8D.

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
1715410325
Hero Member
*
Offline Offline

Posts: 1715410325

View Profile Personal Message (Offline)

Ignore
1715410325
Reply with quote  #2

1715410325
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715410325
Hero Member
*
Offline Offline

Posts: 1715410325

View Profile Personal Message (Offline)

Ignore
1715410325
Reply with quote  #2

1715410325
Report to moderator
TMakc
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
August 26, 2013, 04:41:16 PM
 #162

Can you download again and see if this problem still exists? The download should now be version 1.3.0.1 (still called CGWatcher-1.3.0.rar).
...
CGMiner is starting, right? CGWatcher is just not picking it up? (And is probably therefore closing it and trying again?)


EDIT: Sorry, I just made another change. I noticed the "MinerExecutable" property in your log was incorrect, so that should now big fixed as well. The MD5 for this is CD8FB3886E35A16D7A62B3DDBCCEFC8D.


    
Nothing has changed

Code:
[26.08.2013 20:23:38]         -- Begin CGWatcher v1.3.0.1 Process -------------------------------------------------------
[26.08.2013 20:23:39]    [d] WER DontShowUI value exists (1) and was set to 1 (disabled).
[26.08.2013 20:23:40]        Active profile is "ltcmine"
[26.08.2013 20:23:40]        No CGMiner instance found.
[26.08.2013 20:23:40]        Preparing to launch CGMiner in 10 second(s)...
[26.08.2013 20:23:41]        Monitoring is turned on at 10 second intervals.
[26.08.2013 20:23:44]        User clicked Start Mining button. Attempting to start miner...
[26.08.2013 20:23:44]    [d] Miner.StartMining called. [Profile=ltcmine;MinerFile=C:\My Programs\Miners\cgminer-3.4.0-windows\cgminer.exe;MinerFileUsed=C:\My Programs\Miners\cgminer-3.4.0-windows\cgminer.exe;MinerExecutable=C:\My Programs\Miners\cgminer-3.4.0-windows\cgminer.exe;Config=C:\My Programs\Miners\CGWatcher-1.3.0.1\temp.conf (C:\My Programs\Miners\cgminer-3.4.0-windows\ltcmine);Arguments=--config ""C:\My Programs\Miners\CGWatcher-1.3.0.1\temp.conf"" --api-listen --api-allow W:127.0.0.1;Anticipated Port=4028;Used Port=4028;IsBatCmd=False;BatCmdPath=C:\My Programs\Miners\cgminer-3.4.0-windows\cgminer.exe (C:\My Programs\Miners\cgminer-3.4.0-windows\cgminer.exe);LastKnownInstanceCount=0/0]
[26.08.2013 20:23:45]    [d] Miner.IsProcessAlive(4332) returns False. [First try, test process is nothing.  ex: Пpoцecc c идeнтификaтopoм 4332 нe выпoлняeтcя.] (CPID4332/CMPID=4332/CBPID=0)
[26.08.2013 20:23:45]    [d] Waiting for CGMiner to initialize API. Process 4332 alive=False, minerid=4332.
[26.08.2013 20:23:46]    [d] Watch for miner, expected process is 4332 (not alive).
[26.08.2013 20:23:46]    [d] CGMiner process is running using ProcessID 4332, expecting port 4028.
[26.08.2013 20:23:47]    [d] Finish wait for miner to start, process is 0 (not alive).
[26.08.2013 20:23:47]    [d] CGMiner process 0 not alive at Miner.StartMining exit.
[26.08.2013 20:23:47]        Start miner failed on 1st attempt. Killing any remaining processes.
[26.08.2013 20:23:47]    [d] Miner.IsProcessAlive(4332) returns False. [First try, test process is nothing.  ex: Пpoцecc c идeнтификaтopoм 4332 нe выпoлняeтcя.] (CPID0/CMPID=0/CBPID=0)
[26.08.2013 20:23:47]    [d] Miner.StartMining called. [Profile=ltcmine;MinerFile......

I'm still on version 1.2.8.1
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
August 26, 2013, 07:18:39 PM
 #163

I'm sorry, that was a misunderstanding on my part. I didn't realize the miner actually wasn't starting (so the IsProcessAlive function was working properly). Please try 1.3.0.2, I think I have fixed this problem and a few others related to starting the miner. If this doesn't fix it, please try starting the miner using 1.3.0.2, then after it fails to start go to the Tests tab and click Create Debug Report, and email me the information displayed. It should tell me everything I would need to know to find what is going wrong.

But I think 1.3.0.2 should fix it.

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
TMakc
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
August 27, 2013, 04:11:45 AM
 #164

... Please try 1.3.0.2, I think I have fixed this problem and a few others related to starting the miner. ...


With 1.3.0.2 everything works fine. Thank you!
xIIImaL
Legendary
*
Offline Offline

Activity: 1372
Merit: 1005


View Profile
August 28, 2013, 02:39:39 PM
Last edit: August 28, 2013, 04:54:52 PM by xIIImaL
 #165

I have another small problem. When I press the button "Disable device", everything works fine, GPU is disabled. But when scheduler is switching profiles or miner restarts, device starts to work again, and I have to press the button again to disable the device.

How can I disable the device for a long time, with using switching profiles? or it can be fixed?
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
August 28, 2013, 06:21:35 PM
 #166

Yeah that disable button applies only to the current miner process, as do any other changes in that tab. Allowing these changes to be saved to the config file (or arguments) is on the to-do list, but I'm not sure how soon I'll get to it.

I would suggest instead creating a scheduled action to disable that GPU for whatever period of time you'd like, and when creating the action check the "Persist through miner restarts..." checkbox so it is re-applied if the miner is restarted. Hold your mouse over this checkbox to see more information on when it is or isn't re-applied.

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 28, 2013, 07:20:58 PM
 #167

Yeah that disable button applies only to the current miner process, as do any other changes in that tab. Allowing these changes to be saved to the config file (or arguments) is on the to-do list, but I'm not sure how soon I'll get to it.

I would suggest instead creating a scheduled action to disable that GPU for whatever period of time you'd like, and when creating the action check the "Persist through miner restarts..." checkbox so it is re-applied if the miner is restarted. Hold your mouse over this checkbox to see more information on when it is or isn't re-applied.

Thanks for the answer. Yes, I created scheduled action "Persist through miner restarts..." ..but it don't work in BFGminer.. Huh After the restart a disabled GPU running again! Huh  (about Cgminer don't know, I don't use it because he doesn't work correctly on my configuration)
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
August 28, 2013, 07:43:30 PM
 #168

If you can send me more information, I'll see what is going wrong. Specifically, after a restart occurs and it does not get re-applied, go to the Tests tab and click Create Debug Report. Then email me that information... it should give some info as to why it failed in the included log entries.

Initially there was a problem with CGWatcher trying to re-apply the actions too soon after restart, before the device information was updated. This meant it skipped re-applying actions to a device because the device status hadn't been updated yet so was still showing as Inactive. I made some changes to help ensure this wouldn't happen, but it may need to be adjusted more.

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 28, 2013, 08:15:33 PM
 #169

Ok, I sent email.
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
August 28, 2013, 08:34:14 PM
 #170

Scheduled actions are not persisted through restarts caused by the 'Restart' button being clicked.

Regarding the "persist through miner restarts" option (this is shown when the mouse is over the checkbox and also in the Readme)...

If checked, this action will be applied after miner restarts until
stopped by a stop time or user-initiated miner stop. This means the
action will continue to be applied until one of the following occur:

  - Stop button is clicked
  - Restart button is clicked
  - the action reaches its stop time (if one is set)
  - the action is disabled
  - the action is deleted

The action will be re-applied after restart if one of the following
occurs (assuming it has not reached its stop time):

  - Pause Mining button is clicked, then miner is started again
  - miner is restarted by Monitor
  - miner is restarted by another scheduled action
  - miner is restarted by CGRemote

If the action should fail to be re-applied three consecutive times,
it is temporarily disabled until the next time the miner restarts.


(The last sentence may be different if you've changed the number of attempts for scheduled actions in the last setting in the Monitor tab.)

If you want to restart the miner and have this action persisted, you can use the 'Pause Mining' button to stop the miner, then start it again. 'Pause Mining' works differently than the 'Restart' and 'Stop' buttons because it allows scheduled actions to persist through restarting the miner. So if you want the action to be re-applied, click 'Pause Mining' then 'Start' or 'Start Mining' and it will resume where it left off.

I did it this way because if you clicked the 'Restart' or 'Stop' button, it knows you are at the computer and assumes if you want to re-disable the device you can do it yourself (as opposed to monitor or scheduler restarts which may occur when you are not present). But I also wanted to have a way to pause or restart mining without disrupting persistable scheduled actions, so the 'Pause Mining' button allows you to do this.

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
Loft
Full Member
***
Offline Offline

Activity: 127
Merit: 100


View Profile
August 29, 2013, 07:01:12 AM
Last edit: August 29, 2013, 07:26:03 AM by Loft
 #171

Hello,milone!
I want to report the features of the program . I have two computers, one is all right with the management of pools, and in the other I can't open the manage pools, as well as the word "Collection" is indicated in Russian language. Screenshot attached. How fix this?

Please add (MEM)MemeCoin in menu "Select coin" Profile Manager.
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
August 29, 2013, 07:27:43 AM
 #172

If you click on the word (collection), a button will appear next to it with three dots (...). Click this button to open the pools editor. I admit it's not very intuitive, but it's an existing control that was quick to implement.

When the pools editor opens (which is a similar, smaller window) you can add, edit, and remove pools, and use the up and down arrow buttons to change the pool priorities.

The window your looking for (second image) has been replaced by the new window you've found (third image). It has the same options, but options are filtered as other options are selected, so some may appear or disapper. It's the same idea, building a sentence describing the action but instead of the layout being horizontal it is now vertical.

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
Loft
Full Member
***
Offline Offline

Activity: 127
Merit: 100


View Profile
August 29, 2013, 03:17:38 PM
 #173

Milone, the matter is that I cannot open the "collection" for editing, as it is written in Russian ("Кoллeкция"), on the other machine is in English and there are no problems.
Actually everything is intuitive and made great, for which great thanks!
Loft
Full Member
***
Offline Offline

Activity: 127
Merit: 100


View Profile
August 29, 2013, 03:24:19 PM
 #174

Thanks, this was a bug related to culture settings. It should be fixed if you download again, if not let me know.

Also, you can un-check the Validate before saving checkbox to skip validation checks before the config file is saved. This will allow you to save config files even if CGWatcher thinks the values are incorrect. But that is a workaround and I'd prefer to fix any bugs causing validation to fail.
Thanks for reporting.

milone, how should I specify voltage 4 video cards? If I'm pointing out like gpu-vddc" : "1.050,1.050,1.165,1.165", then the configuration file does not pass validation.
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
August 29, 2013, 05:17:44 PM
 #175

That is the correct way to set 4 voltages, four comma-separated values. What is Windows set to use for a decimal separator? There may still be an issue I need to fix, particularly when it comes to culture settings that use comma (,) as the decimal separator. The option to turn off validation before saving is there for occasions like this where you know it's right and CGWatcher is wrong.


You can add coins by going to the Settings tab, click 'Other Tools...' then select Coin Manager from the menu. Scroll to the bottom of the grid and enter the new coin on the last row. This is new so please report any problems.


As for the collection, I misunderstood but now I'm left with no idea. Is the culture settings on that computer set to Russian? Since it works correct on one computer and is Russian on the other, my guess is it's related to the computer's language/culture settings (although I would still expect a button to appear). The collection items in the grid are something I don't handle specifically, it is done automatically by the control. I don't actually set it to display the word "(collection)" anywhere in code. If it's a property, it displays its value; if it's a collection it shows (collection) [...]. Or that's how it's supposed to work anyway. Are there any pools in the config file you're trying to edit?

A workaround would be to use Notepad to edit pools, which you can do by clicking the Notepad button anywhere you see it next to the config file path. I've created an example config file here: http://pastebin.com/raw.php?i=CEz1Vgvn to show the correct format.

You can check language/culture settings by going to Control Panel -> Region and Language. Click Additional settings... to see number formatting settings like group and decimal separators. CGWatcher also lists what some culture settings in the Report tab. Even if set to Russian, it should still work (I believe) because CGWatcher is used by miners in 70+ countries, including Russia, and this issue has never been reported. What OS is it running? Also maybe try re-installing/repairing .NET Framework 4.0? I'm just guessing now... I can't get much help from searching because they all translate the word to English for me.


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
WuLabsWuTecH
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
August 30, 2013, 12:06:06 AM
 #176

It keeps getting stuck on waiting for cgminer api to start!  I'm stuck and dunno what i'm doing wrong.  I'm running as admin as suggested.

Code:
-o stratum+tcp://stratum.btcguild.com:3333 -u user_red1 -p 123 --icarus-options 115200:1:1 --icarus-timing 3.0=100 -S //./COM5 -S //./COM6 -S //./COM7 -S //./COM8 -S //./COM9 --api-listen --api-allow W:127.0.0.1

Any ideas?
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
August 30, 2013, 12:27:03 AM
 #177

Are you able to start cgminer outside of CGWatcher with those settings?

If not, then we have to figure out what is causing the problem in cgminer. The best way to do this is to start it from an already open command prompt and add the -T argument so it will tell you what the problem is.

If so, then the problem is in the way CGWatcher is starting cgminer. The best way to troubleshoot this is to start the miner (or try to anyway), and after getting the message that it failed, go to the Tests tab and click Create Debug Report. Then email me the results. You can also click the 'Miner Start' button in the Tests tab to see the exact settings used to start the miner (this is included in the debug report), which may show if an argument or format is getting messed up.

There are certain arguments the .NET Framework does not like. The 2>log.txt option is one of them, and requires that the miner be started using a batch file. There hasn't been any reports of others, but you could try creating a batch file to launch the miner, then point the profile to the batch file instead of cgminer.exe. The arguments will be loaded from the batch file automatically, and if you change any arguments in Profile Manager it will save them back into the batch file.

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
LordTheron
Full Member
***
Offline Offline

Activity: 197
Merit: 100


View Profile WWW
August 30, 2013, 11:20:37 PM
 #178

hi,

Ive been testing cgremote and I have a bit of a problem.  Cgwatcher is working perfect and showing all my asics but cgremote shows me only my jaly and no bitburners. Any idea what may be wrong?
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
August 31, 2013, 08:12:55 PM
Last edit: September 01, 2013, 12:06:55 AM by milone
 #179

Are you able to run a device test in CGWatcher and email me the results? There is a button to do this in each tab, FPGA and ASIC. I'm not sure offhand why this would happen but admittedly there is still quite a bit of work to do in CGRemote, so this is probably something that just hadn't been completely finished. If you can also create a debug report in CGWatcher while the miner is running (go to Tests tab, click 'Create Debug Report') that will also have information helpful on troubleshooting this.

Also, have you customized these devices in CGWatcher (e.g. corrected an ASIC that was being reported as FPGA by the miner so it now shows as ASIC)?

Edit: Also, how many devices do you have?

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
Loft
Full Member
***
Offline Offline

Activity: 127
Merit: 100


View Profile
September 03, 2013, 04:38:12 PM
 #180

Hello, milone. In version 1.3 doesn't work properly manage pools. I work on many pools and if I want a pool of priority, for example, 5 to make a 1, then before I just moved into place 1 and maintained. Now in version 1.3 saves move pools. I have to edit the conf file and manually specify the appropriate priority.
The problems of others has not yet figured out how the results will be, I will .
And one last question on the website http://coinchoose.com there are two calculating profitability relative to BTC profitability and LTC profitability. What is the scheme of switching in the program?
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!