What would the bat file/exe file look like?
When my RIG accidentally restarts windows, how should I write the bat file/exe file to start Claymore automatically for 1900 mem and 1300 core?
Does this look right for the bat file:
GPU_FORCE_64BIT_PTR 0
GPU_MAX_HEAP_SIZE 100
GPU_USE_SYNC_OBJECTS 1
GPU_MAX_ALLOC_PERCENT 100
GPU_SINGLE_ALLOC_PERCENT 100
ZecMiner64.exe -zpool pool -zwal wallet.name -zpsw x -i 6,6,6,6,6,6,6 -mclock 1900 -cclock 1300
How do I get the Rig to start the Claymore file automatically after restarting?
Put shortcut for .bat or .cmd file with configuration there: Runn=> %programdata%\Microsoft\Windows\Start Menu\Programs\StartUp
This doesn't mean nothing:
GPU_FORCE_64BIT_PTR 0
GPU_MAX_HEAP_SIZE 100
GPU_USE_SYNC_OBJECTS 1
GPU_MAX_ALLOC_PERCENT 100
GPU_SINGLE_ALLOC_PERCENT 100
The right settings are:
SET GPU_FORCE_64BIT_PTR=0
SET GPU_MAX_HEAP_SIZE=100
SET GPU_USE_SYNC_OBJECTS=1
SET GPU_MAX_ALLOC_PERCENT=100
SET GPU_SINGLE_ALLOC_PERCENT=100
(for current CMD environment)
or
SETX GPU_FORCE_64BIT_PTR 0
SETX GPU_MAX_HEAP_SIZE 100
SETX GPU_USE_SYNC_OBJECTS 1
SETX GPU_MAX_ALLOC_PERCENT 100
SETX GPU_SINGLE_ALLOC_PERCENT 100
(adding permanet to a registry user env.)
Cool! Here is what I am understanding for the bat file:
SETX GPU_FORCE_64BIT_PTR 0
SETX GPU_MAX_HEAP_SIZE 100
SETX GPU_USE_SYNC_OBJECTS 1
SETX GPU_MAX_ALLOC_PERCENT 100
SETX GPU_SINGLE_ALLOC_PERCENT 100
ZecMiner64.exe -zpool us1-zcash.flypool.org:3333 -zwal t1RqoKSrBQ3ML2NsXwcvGR2KWheek3Q7dR2.name -zpsw x -i 6 -mclock 1900 -cclock 1300
I am thinking that adding this would get the mem and core set to what I want the gpu's to run at the appropriate frequency. I normally use afterburner to set these, but in a loss of power situation I am not there: -mclock 1900 -cclock 1300 "should" work?
I am also adding a shortcut to the bat file in the windows startup to start the bat file if the computer should have a power outage.
Does this look good?