Bitcoin Forum
May 01, 2024, 09:24:16 PM *
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 180384 times)
Digicoiner
Sr. Member
****
Offline Offline

Activity: 310
Merit: 250


In Crypto I trust.


View Profile
November 05, 2013, 08:05:04 AM
 #221

I've upgraded to version 1.2.0.1 with no complaints from Kaspersky 2012.  I'll try to upgrade to the current version in a couple of days.  Thanks.
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714598656
Hero Member
*
Offline Offline

Posts: 1714598656

View Profile Personal Message (Offline)

Ignore
1714598656
Reply with quote  #2

1714598656
Report to moderator
1714598656
Hero Member
*
Offline Offline

Posts: 1714598656

View Profile Personal Message (Offline)

Ignore
1714598656
Reply with quote  #2

1714598656
Report to moderator
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
November 05, 2013, 07:07:52 PM
 #222

Kaspersky responded today:

Quote
Hello,

Sorry, it was a false detection. It will be fixed in the next update.
Thank you for your help.

Best regards,
Herman Moskalenko

39A/3 Leningradskoe Shosse, Moscow, 125212, Russia  Tel./Fax: + 7 (495) 797 8700  http://www.kaspersky.com http://www.viruslist.com

There is a good chance the false-positive will be back in the next update. I'll try to submit new versions before they're released so by the time they're released the false-positive has been fixed... but sometimes I make changes often so this becomes a PITA.

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
November 15, 2013, 08:01:06 AM
 #223

Hello Milone!
I have a problem with CGWather. It is closed for some reason. An excerpt of the log here.
Code:
[14.11.2013 17:55:53]        Active profile changed from "WORLDCOIN" to "TagCoin".
[14.11.2013 17:55:53]        CGRemote requested miner restart...
[14.11.2013 17:55:53]    [d] Miner.Restart begin.
[14.11.2013 17:55:53]        Because the active profile has changed, I will attempt to stop and then start the miner so the new active profile's settings are used...
[14.11.2013 17:55:53]    [d] Miner.PerformStopStartRestart called. (Profile=TagCoin;Miner=M:\cgminer-3.3.1-windows\cgminer.exe;HasFullAPIAccess=True;Initiator=CGRemote;Reason=#NAME# was successfully restarted using the "#PROFILE#" profile.)
[14.11.2013 17:55:53]    [d] Miner.StopMining called: Miner=M:\cgminer-3.3.1-windows\cgminer.exe;ProcessID=1500 (True);BatchProcessID=0 (False);Config=M:\CGWatcher-1.2.0.1\temp.conf;Arguments=--config M:\cgminer-3.3.1-windows\MULTY_WDC_MNC_PXC_LTC.conf;HasFullAPIAccess=True;KillOnReadOnlyAccess=True;IsBatCmdFile=False;ProcessID=1500;.
[14.11.2013 17:55:56]    [d] Miner.IsProcessAlive(1500) returns False. [First try, test process is nothing.  ex: Process with an Id of 1500 is not running.] (CPID0/CMPID=0/CBPID=0)
[14.11.2013 17:55:56]    [d] Miner.StartMining (for restart) called. [Profile=TagCoin;MinerFile=M:\cgminer-3.3.1-windows\cgminer.exe;MinerFileUsed=M:\cgminer-3.3.1-windows\cgminer.exe;MinerExecutable=M:\cgminer-3.3.1-windows\cgminer.exe;Config=M:\CGWatcher-1.2.0.1\temp.conf (M:\cgminer-3.3.1-windows\TAGCOIN.conf);Arguments=--config M:\CGWatcher-1.2.0.1\temp.conf;Anticipated Port=4028;Used Port=4028;HasFullAPIAccess=False;IsBatCmd=False;BatCmdPath=M:\cgminer-3.3.1-windows\cgminer.exe (M:\cgminer-3.3.1-windows\cgminer.exe);LastKnownInstanceCount=0/0]
[14.11.2013 17:55:56]    [d] Miner.IsProcessAlive(3632) returns True. [First try, process is alive.] (CPID3632/CMPID=3632/CBPID=0)
[14.11.2013 17:55:56]    [d] Waiting for CGMiner to initialize API. Process 3632 alive=True, minerid=3632.
[14.11.2013 17:55:57]    [d] Watch for miner, expected process is 3632 (alive).
[14.11.2013 17:55:57]    [d] CGMiner process is running using ProcessID 3632, expecting port 4028.
[14.11.2013 17:56:02]    [d] CGMiner running and API initialized on port 4028, process matched to profile TagCoin.
[14.11.2013 17:56:02]    [d] Finish wait for miner to start, process is 3632 (alive).
[14.11.2013 17:56:02]        CGMiner was successfully restarted using the "TagCoin" profile.
[14.11.2013 17:56:02]    [d] Miner.Restart end.
[14.11.2013 17:56:03]    [d] Unhandled Exception: System.InvalidOperationException: The Undo operation encountered a context that is different from what was applied in the corresponding Set operation. The possible cause is that a context was Set on the thread and not reverted(undone).    at System.Threading.SynchronizationContextSwitcher.Undo()    at System.Threading.ExecutionContextSwitcher.Undo()    at System.Threading.ExecutionContext.runFinallyCode(Object userData, Boolean exceptionThrown)    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteBackoutCodeHelper(Object backoutCode, Object userData, Boolean exceptionThrown)    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)    at System.Net.ContextAwareResult.Complete(IntPtr userToken)    at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)    at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

[14.11.2013 18:21:39]        -- Begin CGWatcher v1.3.1.1 Process -------------------------------------------------------
[14.11.2013 18:21:56]    [d] WER DontShowUI value exists (1) and was set to 1 (disabled).
[14.11.2013 18:21:57]    [d] Miner.IsProcessAlive(3632) returns True. [First try, process is alive.] (CPID3632/CMPID=3632/CBPID=0)
[14.11.2013 18:21:57]        Running miner detected: CGMiner, a miner I launched.
[14.11.2013 18:21:57]        Active profile is "TagCoin"
[14.11.2013 18:21:57]        CGMiner instance found.
[14.11.2013 18:21:58]        The miner running is the last miner I launched and monitored.
[14.11.2013 18:21:58]        The current running miner's profile is "TagCoin".
[14.11.2013 18:21:58]        CGMiner was already running so I did not launch it upon starting as requested.
[14.11.2013 18:21:59]        Monitoring is turned on at 10 second intervals.
You know what the problem is?
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
November 15, 2013, 10:13:19 PM
Last edit: November 18, 2013, 03:35:12 AM by milone
 #224

Thanks for the feedback, I'll look into this. I think I have an idea what the problem is... I just have to track it down.

I'm working on CGRemote and CGWatcher right now... should have updates for both sometime this weekend.


Edit: Loft: as a temporary fix until I can pinpoint the cause of your problem, CGWatcher 1.3.3 should automatically re-launch itself when it encounters an unhandled exception as it did according to your log. Even if I do fix what caused your issue, I'll probably leave this to protect against any unhandleable unhandled exceptions in the future where CLR is terminating.

You can think of it as CGWatcher dying, but as it takes its last breath it reaches up from the floor and double-clicks the shortcut to launch a new CGWatcher process... then dies, a hero.

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
November 18, 2013, 03:18:26 AM
 #225

New in version 1.3.3 (most significant changes)
  • CoinWarz added as optional coin data provider (API key required, see http://coinwarz.com/v1/api for more info)
  • Do not show CGRemote ads if user is using CGRemote.
  • Drop-down list of coins in Coin Manager -> Custom Field -> Test sorted.
  • Coin algorithm added to custom field value expression variables. Returns 1 for sha256, 2 for scrypt.
  • On Status tab, Efficiency replaced with custom stat. You can leave it at Efficiency, select a different statistic, or create your own statistic.
  • Fixed "when highest/lowest custom field value changes" event description not displaying correctly in scheduled actions list.
  • Added "Device elapsed" to GPU and USB devices as added in miner API 1.32.
  • Unrecognized remote commands will be tested by being sent to miner (if running) rather than just reporting that the command is unrecognized. This will allow new miner API commands to be used manually without necessarily requiring a CGWatcher update.
  • Fixed "Manage Pools" button opening temporary config file instead of actual profile config file.
  • Fixed causing "Switch Profile" in CGRemote to not start miner using new profile.
  • Add "log" and "report" commands for CGRemote to get log and report data.
  • Add "New Block average (seconds)" and "Found Block average (seconds)" values for custom profitability formula field and custom value expression.
  • Add "Utility" and "Work Utility" values for custom profitability formula field.
  • Current and average hashrates added to window title bar.
  • Fixed icarus-timing option incorrectly mirroring usb option in Config File Editor.
  • Tests tab reorganized, additional debug reports and utilities moved to drop-down list.
  • 'Clear all Windows autorun entries' in Tests tab (drop-down) will remove all CGWatcher entries from Windows startup as a way to get a clean slate. It also disables the "Run when Windows starts" setting, which can be re-enabled afterward.
  • Chart on Status tab now shows mining devices only, including FPGA/ASIC devices that report temperature.
  • Setting created to ensure CGWatcher & miner are relaunched automatically after CGWatcher-initiated computer restart.
  • "Restart CGWatcher" scheduled action created, which may help in situations where CGWatcher stops responding or crashes after running for X consecutive days on low memory computers. This has only been reported once, and I often check for memory leaks, but this is a simple alternative (temporary) solution.
  • "Restart CGWatcher" command added for CGRemote.
  • Miner auto-launch delay setting added to UI (Monitor -> Other -> Continuous Mining)
  • Displayed hashrate formatting improved for consistency.
  • CGRemote command to have CGWatcher automatically check and update itself added.
  • Other minor fixes and improvements.

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

Activity: 756
Merit: 500


View Profile
November 18, 2013, 07:38:19 PM
Last edit: November 18, 2013, 09:46:02 PM by lajz99
 #226

New in version 1.3.3 (most significant changes)

I just came to the thread to ask about this, THANK YOU!!

bouc
Jr. Member
*
Offline Offline

Activity: 44
Merit: 1


View Profile
November 27, 2013, 09:24:36 AM
 #227

Hi milone

I just found a bug (if it hasn't already been reported) happening on Win8, win 8.1 and server 2012 (all x64)
Using previously version 1.3.2 and now 1.3.3, saving settings.

initially the path fot cgwatcher.exe was "d:\miner\cgwatcher-1.3.2\cgwatcher.exe"
I did configure some profile, everything was running smooth.

I then update to 1.3.3, and the path to cgwtcher changed to "d:\miner\cgwatcher\cgwatcher.exe" to simplify further updates.

The program did not launch any more when I started Windows (I then put a link in the startup menu folder and it did the job).

And then when I click on save settings, cgwatcher hangs (not responding), forcing me to kill it via process manager.
after that, when I launch cgwatcher again, settings were saved correctly.
I tries to run it as administrator but with no more luck,

I had to manually modify the run key to correct path, and now, it doesn'thang any more and did run smooth, no more hanging on saving settings...

If you have any question, do ask Smiley

And thanks a lot for your helpfull software Smiley
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
November 27, 2013, 07:22:13 PM
 #228

I'll look into what would cause the freeze when saving settings. There is a drop-down list in the 'Debug Reports & Utilities' section in the Tests tab where you can select 'Remove all CGWatcher autorun entries' and click Run. I would suggest doing this before moving CGWatcher to another folder, but it is a recent addition and is my fault for not adding this to the readme yet. I will make changes for CGWatcher to record where it saves an autorun entry to so that if it is moved, it can remove the correct (old) entry. Many miners (myself included) use multiple instances of CGWatcher to watch multiple miner instances so it will only remove entries that match its current path, which means once you move it the old autorun entry gets abandon (unless you run the 'Remove all CGWatcher autorun entries' as mentioned above).

So if I am following you correctly you have the issue resolved, and are just bringing it to my attention? Or is there something not working correctly still? Either way, I appreciate the feedback and will look into 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
codegnome
Sr. Member
****
Offline Offline

Activity: 782
Merit: 258


Betking.io - Best Bitcoin Casino


View Profile
December 07, 2013, 12:29:04 AM
 #229

Is it possible to adjust profitability on a per coin basis?

█▀▀▀











█▄▄▄
██.
1xBit.com
██
▀▀▀█











▄▄▄█
           ▄█▄
         ▀█████▀
         ▄██▀██▄
       ▄█████████▄
     ▀▀███████████▀▀
      ▄███████████▄
   ▄▄███▄███████▄███▄▄
    ▀███████████████▀
   ▄█████████████████▄
▀███████████████████████▀
  ▀▀▀▀▀██████████▀▀▀▀▀▀
          █████
          █████
.
          █       ██
  ▄█▄   ▀▀▄▀▀  █
▀█████▀   ▀     █    ██
 ██▀██      ▀▄
              ▄▄██████
    ▀▀▄▄    ███████████
 ▀▄
       ██████████████
▀▀▄ ▀▀▀
  ████████████████
 ▀
      ██████████████████
   ██
    ██████████████████
            ▀▀▀█
████████████
                  ▀▀▀████████
                        ▀▀▀███
█▀▀▀











█▄▄▄
.
▀▀▀█











▄▄▄█
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
December 07, 2013, 12:37:04 AM
 #230

I'm not sure what you mean. You may be able to use the coin custom field for what you're asking, but I'm not sure what you're asking. Can you give an example? Otherwise, it may be better to ask the guys at CoinChoose or CoinWarz - whichever you're using to get this data.

To create a custom field in CGWatcher:

Go to Settings tab -> click 'Other Tools...' button -> select Manage Coins. In Coin Manager window, click 'Custom Field' tab. Here you can create your own formula using the data variables on the right and mathematical functions (in the drop-down list). An IF(expression,true,false) function is also available, so you can have conditional values. Once you've created your custom expression, test it on a coin at the bottom.

If you open the Coin Profitability window, each time you save your custom field expression the coin data will be updated, so you can check the value of this field for all coins at once.

You can then schedule CGWatcher to switch profiles based on the highest or lowest custom field value, as well as ranked values (2nd highest, 4th lowest, etc).

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

Activity: 9
Merit: 0


View Profile
December 07, 2013, 12:44:27 AM
 #231

I have been running CGWatcher for a few days now and can't say enough good things about it.
I went away for Thanksgiving and came home only to find out my miner software had "crashed" about 3 hours after I left the house (CGMiner).  So, instead of 5 days of Litecoin mining in the bank, I only had 3 hours (not to mention the power bill for running the computer with nothing to show for it).  That prompted me to get CGWatcher up and running and I wish I had done it months ago.

But here's a odd thing that's happened three times so far and I'm not sure if there's something I can do to make it not happen anymore.

Sometimes when I check on the miner rig, CGWatcher says it's restarting CGMiner.  But here's the problem -- Right now, I'm 13,136 seconds into the "restart process".  Is there a way to have it do something other than get "stuck" waiting for the restart to happen??  Like maybe cancel the current restart action and try it again?  Or restart the computer??  Under the "monitor" tab, I have every option checked.

What I've been doing is manually restarting CGWatcher and CGMiner to get it "unstuck".  But that sort of defeats the purpose of CGWatcher.

Any ideas or help would be greatly appreciated.

Thanks everyone!!!
Eboman
codegnome
Sr. Member
****
Offline Offline

Activity: 782
Merit: 258


Betking.io - Best Bitcoin Casino


View Profile
December 07, 2013, 12:52:21 AM
 #232

I would like to customize the profitability totals from CoinWarz. Say add 500% to LTC and subtract 100% from TAG. For example to compensate for stales.

Adjust profitability is a feature in MultiMiner - I am able to adjust the profitability by addition or multiplication. Multiminer no longer supports CGMiner so I am trying to move my rigs to CGWatcher.

I will investigate the custom field and see if that will work for me. Thanks!

█▀▀▀











█▄▄▄
██.
1xBit.com
██
▀▀▀█











▄▄▄█
           ▄█▄
         ▀█████▀
         ▄██▀██▄
       ▄█████████▄
     ▀▀███████████▀▀
      ▄███████████▄
   ▄▄███▄███████▄███▄▄
    ▀███████████████▀
   ▄█████████████████▄
▀███████████████████████▀
  ▀▀▀▀▀██████████▀▀▀▀▀▀
          █████
          █████
.
          █       ██
  ▄█▄   ▀▀▄▀▀  █
▀█████▀   ▀     █    ██
 ██▀██      ▀▄
              ▄▄██████
    ▀▀▄▄    ███████████
 ▀▄
       ██████████████
▀▀▄ ▀▀▀
  ████████████████
 ▀
      ██████████████████
   ██
    ██████████████████
            ▀▀▀█
████████████
                  ▀▀▀████████
                        ▀▀▀███
█▀▀▀











█▄▄▄
.
▀▀▀█











▄▄▄█
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
December 07, 2013, 12:58:15 AM
 #233

Eboman - when this happens (while it is stuck), can you please go to the Tests tab and click the 'Create Debug Report' button. Email the report to my email address at the top of Readme.txt. If you can also attach cgwatcher.log, that may be helpful.

Is cgminer running correctly when this occurs? Typically CGWatcher should wait approximately 30-60 seconds for the miner to start, depending on settings. The only time it will wait indefinitely is if you have not specified any pools, which means you type in your pool manually when prompted by cgminer.

The more info you can provide when this happens, the better.



codegnome - I'll try to get this into the next update. A field will be added in the 'Coins' tab of coin manager allowing you to adjust coins individually.

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

Activity: 36
Merit: 0


View Profile
December 08, 2013, 11:48:58 PM
 #234

Some suggestions:

1. Instead of emailing from your server, how about sending email through the user's server?

2. You already allow switching of coins based on profitability, could you add the ability to switch to the next profitable coin if no results are being generated or if there is some other problem preventing  money from being made on a given coin? Sort of like coin failover?

3. Ability to disable a profile so it is not mined on, even if it is most profitable.

Thanks,

tejsei

Loft
Full Member
***
Offline Offline

Activity: 127
Merit: 100


View Profile
December 09, 2013, 10:24:56 AM
 #235

milone, hi!
I can`t find CGWatcher 1.3.3.2 on your  site
Taxidermista
Legendary
*
Offline Offline

Activity: 1147
Merit: 1001



View Profile
December 09, 2013, 06:23:33 PM
 #236

First of all thank you very mucn for this app, amazing stuff.

I've been using 1.3.3.2 version of CGWatcher a couple of days in 6 miners without problems but now I want to change the mined coin and half of my rigs crash when I try to stop or restart cgminer from inside cgwatcher. I can close cgminer manually without any problems. When I close cgminer from cgwatcher I get a BSOD related to the file ATIKMPAG.SYS every time. I've cleaned and updated AMD drivers without success. Any ideas?

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

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
December 09, 2013, 06:32:34 PM
 #237

milone, hi!
I can`t find CGWatcher 1.3.3.2 on your  site

Sorry, I  forgot to change the version number in the download link. It still pointed to 1.3.3.2, but the link text said 1.3.3.1. It should be fixed now.



First of all thank you very mucn for this app, amazing stuff.

I've been using 1.3.3.2 version of CGWatcher a couple of days in 6 miners without problems but now I want to change the mined coin and half of my rigs crash when I try to stop or restart cgminer from inside cgwatcher. I can close cgminer manually without any problems. When I close cgminer from cgwatcher I get a BSOD related to the file ATIKMPAG.SYS every time. I've cleaned and updated AMD drivers without success. Any ideas?

How are you closing cgminer when you do it outside of CGWatcher? Clicking the X?  CGWatcher sends the 'quit' command when it stops the miner, which is different than clicking the X because the miner shuts down and returns clock and fan speeds back to their original values. This is the same as using the menu in cgminer to quit. Either way, I think I will make some changes to how CGWatcher performs restarts so there is no chance  it will restore clock and fan speeds just to have to bring them back up a few seconds later. That will be in the next update, and may provide better stability. But for stopping the miner, all CGWatcher does is send the 'quit' command to the miner and the miner closes itself after restoring clock speeds and cleaning up. When you click the X it never gets chance to do these things.

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
Taxidermista
Legendary
*
Offline Offline

Activity: 1147
Merit: 1001



View Profile
December 09, 2013, 06:51:15 PM
Last edit: December 09, 2013, 08:06:28 PM by Taxidermista
 #238

First of all thank you very mucn for this app, amazing stuff.

I've been using 1.3.3.2 version of CGWatcher a couple of days in 6 miners without problems but now I want to change the mined coin and half of my rigs crash when I try to stop or restart cgminer from inside cgwatcher. I can close cgminer manually without any problems. When I close cgminer from cgwatcher I get a BSOD related to the file ATIKMPAG.SYS every time. I've cleaned and updated AMD drivers without success. Any ideas?

How are you closing cgminer when you do it outside of CGWatcher? Clicking the X?  CGWatcher sends the 'quit' command when it stops the miner, which is different than clicking the X because the miner shuts down and returns clock and fan speeds back to their original values. This is the same as using the menu in cgminer to quit. Either way, I think I will make some changes to how CGWatcher performs restarts so there is no chance  it will restore clock and fan speeds just to have to bring them back up a few seconds later. That will be in the next update, and may provide better stability. But for stopping the miner, all CGWatcher does is send the 'quit' command to the miner and the miner closes itself after restoring clock speeds and cleaning up. When you click the X it never gets chance to do these things.

Yes, I close cgminer clicking the X, always, I didn't even know there was a Quit command. I'll try it to see if I can replicate the crash.

EDIT: Yes, I replicated the bsod closing cgminer with its Quit command. I'm going to research this new angle.

EDIT 2: I've upgraded my cgminer from 3.2.1 to 3.7.2 to no avail. Still crashing.

Einewton
Sr. Member
****
Offline Offline

Activity: 256
Merit: 250



View Profile
December 09, 2013, 08:49:23 PM
Last edit: December 09, 2013, 11:10:01 PM by Einewton
 #239

First of all thank you very mucn for this app, amazing stuff.

I've been using 1.3.3.2 version of CGWatcher a couple of days in 6 miners without problems but now I want to change the mined coin and half of my rigs crash when I try to stop or restart cgminer from inside cgwatcher. I can close cgminer manually without any problems. When I close cgminer from cgwatcher I get a BSOD related to the file ATIKMPAG.SYS every time. I've cleaned and updated AMD drivers without success. Any ideas?

How are you closing cgminer when you do it outside of CGWatcher? Clicking the X?  CGWatcher sends the 'quit' command when it stops the miner, which is different than clicking the X because the miner shuts down and returns clock and fan speeds back to their original values. This is the same as using the menu in cgminer to quit. Either way, I think I will make some changes to how CGWatcher performs restarts so there is no chance  it will restore clock and fan speeds just to have to bring them back up a few seconds later. That will be in the next update, and may provide better stability. But for stopping the miner, all CGWatcher does is send the 'quit' command to the miner and the miner closes itself after restoring clock speeds and cleaning up. When you click the X it never gets chance to do these things.

+1

This is because we set the GPU clock and memory values into CGMiner... If you take thoes out, you'll notice that you'll no longer get the BSOD... I run into the same thing... This will be a GREAT stability enhancment to close out the CMD window instead of sending the "Quit" command...

Also, milone, man... You're amazing dude... This app is awesome...


I've ran into something over the past few day's and wanted to run it by you... So I've got 7 GPU's that I put into one profile... That works fine, but when one of those GPU's fail, the hash rate falls below the Scrypt hash rate but doesn't restart the miner... Any idea's why?

I'm running into the same issue on another miner I've got that's got 5 GPU's in it... Here's a screen shot of my settings (See that I've set the setting to 3.87)... I would appreciate if you could give me a suggestion for this feature to work?


https://i.imgur.com/NaqrsP6.png

-= Got BitCoin? =-
knowone
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
December 09, 2013, 10:00:52 PM
 #240

I want to use CGWatcher, but I find that I get a much lower hashrate when I start cgminer from CGWatcher than from a batch file.

Example batch file:

ECHO This is "GPU mining.bat".
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1

cgminer --config mdl.conf

pause
exit

===============
Example config file = mdl.conf:

{
"pools" : [
   {   "url" : "stratm+tcp://middlecoin.com:3333",
      "user" : "redacted",
      "pass" : "redacted"
   },
   {   "url" : "stratum+tcp://ltc.give-me-coins.com:3334",
      "user" : "redacted",
      "pass" : "redacted"
   }
   ],
"usb" : ":0",
"scrypt" : true,
"gpu-platform" : "1",
"thread-concurrency" : "21712",
"auto-fan" : true,
"auto-gpu" : true,
"gpu-engine" : "900-1150",
"temp-target" : "80",
"temp-overheat" : "90",
"temp-cutoff" : "95","intensity" : "13",
"worksize" : "256",
"api-listen" : true,
"api-allow" : "W: 127.0.0.1"
}
============

(The same problem also happens with a different config using a single pool.)

I am using cgminer v. 3.6.6, CGWatcher 1.3.3.2, Windows 7 Pro 64 bit SP 1. When cgminer is already running and I start up CGWatcher, it monitors okay and does not affect the hash rate. When starting from the batch file, both cgminer and CGWatcher report a hash rate around 560 Kh/s. When starting or restarting from CGWatcher, I usually get 5 to 20 Kh/s, although once I got in the 450 range.

I hate to report the same problem someone else did, but in a comment at http://manotechnology.blogspot.com/p/cgwatcher.html, Tomáš Bräuer on August 14, 2013, reported his rate dropping from around 800 Kh/s to 620 Kh/s under the same circumstances. Unfortunately, for some reason I can't load the next page of comments from that website to see what he was told.

One oddity is that when monitoring, CGWatcher reports:
[12/9/2013 4:35:05 PM]       -- Begin CGWatcher v1.3.3.2 Process -------------------------------------------------------
[12/9/2013 4:35:09 PM]       Running miner detected: CGMiner using "NEW Fastcoin" profile.
[12/9/2013 4:35:09 PM]       Active profile is "NEW Fastcoin"
[12/9/2013 4:35:09 PM]       CGMiner instance found.
[12/9/2013 4:35:09 PM]       The current running miner's profile is "NEW Fastcoin".
[12/9/2013 4:35:10 PM]       Monitoring is turned on at 30 second intervals.
====================
       . . . and "NEW Fastcoin" profile points to a different pool than the one cgminer is using.

After collecting the log above, I paused and then resumed mining and it came up with the Fastcoin config, running at a 10 Kh/s rate. I then checked the "Show debug log entries" box, paused and restarted cgminer, and the new rate is about 430 Kh/s (vs over 500 when starting from the batch file).

The whole log now reads as follows:
[12/9/2013 4:35:05 PM]       -- Begin CGWatcher v1.3.3.2 Process -------------------------------------------------------
[12/9/2013 4:35:05 PM]   [d] OpenCL.Initialize Error 5: Unable to get device info for device 490231200
[12/9/2013 4:35:06 PM]   [d] WER DontShowUI value exists (1) and was set to 1 (disabled).
[12/9/2013 4:35:08 PM]   [d] 2 miner instances found, 2 ignored.
[12/9/2013 4:35:09 PM]       Running miner detected: CGMiner using "NEW Fastcoin" profile.
[12/9/2013 4:35:09 PM]   [d] Miner.IsProcessAlive(1476) returns True. [First try, process is alive.] (CPID1476/CMPID=0/CBPID=0)
[12/9/2013 4:35:09 PM]       Active profile is "NEW Fastcoin"
[12/9/2013 4:35:09 PM]       CGMiner instance found.
[12/9/2013 4:35:09 PM]       The current running miner's profile is "NEW Fastcoin".
[12/9/2013 4:35:09 PM]   [d] Coins.Refresh complete, 54 coin(s) present.
[12/9/2013 4:35:10 PM]       Monitoring is turned on at 30 second intervals.
[12/9/2013 4:48:53 PM]       User clicked Pause Mining button for CGMiner with full API access. Attempting to stop...
[12/9/2013 4:48:53 PM]   [d] Miner.StopMining called: Miner=C:\gpu miner\cgminer.exe;ProcessID=1476 (True);BatchProcessID=0 (False);Config=C:\gpu miner\fst.conf;Arguments=--config "C:\gpu miner\fst.conf";HasFullAPIAccess=True;KillOnReadOnlyAccess=True;IsBatCmdFile=False;ProcessID=1476;.
[12/9/2013 4:48:56 PM]       CGMiner stopped successfully.
[12/9/2013 4:48:56 PM]       Mining paused successfully.
[12/9/2013 4:48:57 PM]   [d] 1 miner instances found, 1 ignored.
[12/9/2013 4:48:58 PM]   [d] Process 6928 ignored: Unable to match to a profile or communicate with on port 4028.
[12/9/2013 4:48:58 PM]       User clicked Start Mining button. Attempting to start miner...
[12/9/2013 4:48:58 PM]   [d] Miner.StartMining called. [Profile=NEW Fastcoin;MinerFile=C:\gpu miner\cgminer.exe;MinerFileUsed=C:\gpu miner\cgminer.exe;MinerExecutable=C:\gpu miner\cgminer.exe;Config=C:\gpu miner\temp.conf (C:\gpu miner\fst.conf);Arguments=--config "C:\gpu miner\temp.conf";Anticipated Port=4028;Used Port=4028;IsBatCmd=False;BatCmdPath=C:\gpu miner\cgminer.exe (C:\gpu miner\cgminer.exe);LastKnownInstanceCount=0/1]
[12/9/2013 4:48:59 PM]   [d] Miner.IsProcessAlive(8116) returns True. [First try, process is alive.] (CPID8116/CMPID=8116/CBPID=0)
[12/9/2013 4:48:59 PM]   [d] Waiting for CGMiner to initialize API. Process 8116 alive=True, minerid=8116.
[12/9/2013 4:49:00 PM]   [d] Watch for miner, expected process is 8116 (alive).
[12/9/2013 4:49:00 PM]   [d] CGMiner process is running using ProcessID 8116, expecting port 4028.
[12/9/2013 4:49:01 PM]   [d] CGMiner running but without API access... waiting to check again.
[12/9/2013 4:49:04 PM]   [d] CGMiner running but without API access... waiting to check again.
[12/9/2013 4:49:06 PM]   [d] CGMiner running and API initialized on port 4028, process matched to profile NEW Fastcoin.
[12/9/2013 4:49:06 PM]   [d] Finish wait for miner to start, process is 8116 (alive).
[12/9/2013 4:49:06 PM]       CGMiner started successfully.
[12/9/2013 4:50:00 PM]       User clicked Pause Mining button for CGMiner with full API access. Attempting to stop...
[12/9/2013 4:50:00 PM]   [d] Miner.StopMining called: Miner=C:\gpu miner\cgminer.exe;ProcessID=8116 (True);BatchProcessID=0 (False);Config=C:\gpu miner\temp.conf;Arguments=--config "C:\gpu miner\fst.conf";HasFullAPIAccess=True;KillOnReadOnlyAccess=True;IsBatCmdFile=False;ProcessID=8116;.
[12/9/2013 4:50:03 PM]       CGMiner stopped successfully.
[12/9/2013 4:50:03 PM]       Mining paused successfully.
[12/9/2013 4:50:03 PM]   [d] 1 miner instances found, 1 ignored.
[12/9/2013 4:50:04 PM]       User clicked Start Mining button. Attempting to start miner...
[12/9/2013 4:50:04 PM]   [d] Miner.IsProcessAlive(8116) returns False. [First try, test process is nothing.  ex: Process with an Id of 8116 is not running.] (CPID0/CMPID=0/CBPID=0)
[12/9/2013 4:50:04 PM]   [d] Miner.StartMining called. [Profile=NEW Fastcoin;MinerFile=C:\gpu miner\cgminer.exe;MinerFileUsed=C:\gpu miner\cgminer.exe;MinerExecutable=C:\gpu miner\cgminer.exe;Config=C:\gpu miner\temp.conf (C:\gpu miner\fst.conf);Arguments=--config "C:\gpu miner\temp.conf";Anticipated Port=4028;Used Port=4028;IsBatCmd=False;BatCmdPath=C:\gpu miner\cgminer.exe (C:\gpu miner\cgminer.exe);LastKnownInstanceCount=0/1]
[12/9/2013 4:50:05 PM]   [d] Miner.IsProcessAlive(5952) returns True. [First try, process is alive.] (CPID5952/CMPID=5952/CBPID=0)
[12/9/2013 4:50:05 PM]   [d] Waiting for CGMiner to initialize API. Process 5952 alive=True, minerid=5952.
[12/9/2013 4:50:06 PM]   [d] Watch for miner, expected process is 5952 (alive).
[12/9/2013 4:50:06 PM]   [d] CGMiner process is running using ProcessID 5952, expecting port 4028.
[12/9/2013 4:50:07 PM]   [d] CGMiner running but without API access... waiting to check again.
[12/9/2013 4:50:09 PM]   [d] CGMiner running but without API access... waiting to check again.
[12/9/2013 4:50:11 PM]   [d] CGMiner running and API initialized on port 4028, process matched to profile NEW Fastcoin.
[12/9/2013 4:50:11 PM]   [d] Finish wait for miner to start, process is 5952 (alive).
[12/9/2013 4:50:11 PM]       CGMiner started successfully.
[12/9/2013 4:50:12 PM]   [d] Coins.Refresh complete, 54 coin(s) present.
=================

Some of the ignored miner instances mentioned in the log may refer to the fact that I have cgminer-nogpu running some bit erupters in another task. That task has seemingly been unaffected by all this.

Any comments/suggestions from milone or anyone else?



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!