Post
Topic
Board Mining software (miners)
Re: CGWatcher 1.2.8, the GUI/monitor for CGMiner and BFGMiner to prevent downtime
by
ajw107
on 22/08/2013, 01:15:38 UTC
I use one as I am mining LTC, so I need to set the two variables beforehand.  But the temp bat file seems to mess up if there are spaces in the temp config (i.e. CGWatcher) path.  e.g:
Original Bat File:
Quote
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
"D:\Windows Folders\Downloads\Compressed\cgminer-3.3.4-windows\cgminer.exe"  --config "D:\Windows Folders\Downloads\Compressed\cgminer-3.3.4-windows\cgminer.conf"

Temp Bat File:
Quote
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
"D:\Windows Folders\Downloads\Compressed\cgminer-3.3.4-windows\cgminer.exe" Folders\Downloads\Compressed\CGWatcher-1.2.7\temp.conf --api-listen --api-allow W:127.0.0.1 --api-port 4029 --config "D:\Windows Folders\Downloads\Compressed\CGWatcher-1.2.7\temp.conf"
What are the variables you're using?
The variables are the two environmental ones needed to be set for LTC mining (they are the first two lines in the bat file)
Quote
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1

I've tested version 1.2.8.1 (oh by the way, it didn't get picked up when I clicked 'Check for updates', not sure why).  Unfortunately the problem is still there for some reason.  It's weird, as the unquoted and cropped temp.conf file path Folders\Downloads\Compressed\CGWatcher-1.2.7\temp.conf shouldn't even be there, as it's properly quoted and has the full file path and --config argument at the end!?!?!  It looks like maybe something left over from a split or last element in an array being left there.  It is also possible that if you are reading in the cgminer line from the original conf file that it treats the path as two tokens (even though it is quoted), and the Folders\Downloads\Compressed\CGWatcher-1.2.7\temp.conf is actually just garbage not removed as there is one more token than expected.  Just guesses of course, hope you manage to find the cause.
Alex