Running 2 cgminers question
-
Okay so I have a 7970 and a 280x running on my computer… it works running one cgminer but my 7970 likes -g1 and my 280x likes -g 2… and sense that is a global command I can’t run both in the same cgminer.
So I took my batch file and copied it, named one miner.bat and miner 1.bat
So here is my 7970 bat file
setx GPU_MAX_ALLOC_PERCENT 100
cgminer --scrypt -o stratum+tcp://coinotron.com:3337 -u crazyinside.1 -p xxxxx -d 0 -I 13 --gpu-engine 1125 --gpu-memclock 1575 --shaders 2048 -w 256 --gpu-fan 68
and here is my 280x bat file
setx GPU_MAX_ALLOC_PERCENT 100
cgminer --scrypt -o stratum+tcp://coinotron.com:3337 -u crazyinside.1 -p hellya -d 1 -I 13 -g 2 --gpu-engine 1050 --gpu-memclock 1500 --shaders 2048 -w 256 --gpu-fan 68
So when I open both it opens to cgminers and they both show the other card off and the right one running… but whichever .bat i second it takes those gpu clocks for both cards!
So if i open the 7970… then the 280x the 7970 will then start running 1050/1500 instead of 1125/1575 :(
Also if i close one of them with Q command… it will shut the fan off on the other card.
Any thougths on how to fix this?
-
If I’m not mistaken, you should be able to create one conf for cgminer with separate settings for each gpu. Then you would create one a simple batch file to start them both. You would have to look up your settings but here’s an example:
Your conf file would look something like this (save it as mysettings.conf)
{
“pools” : [
{
“url” : “stratum+tcp://blahblablah:3333”,
“user” : “username”,
“pass” : “pass”
}
]
,
“intensity” : “13,19”,
“vectors” : “1,1”,
“worksize” : “256,256”,
“kernel” : “scrypt,scrypt”,
“lookup-gap” : “0,0”,
“thread-concurrency” : “21712,21712”,
“shaders” : “1792,1792”,
“gpu-engine” : “0-850,0-850”,
“gpu-fan” : “0-80,0-80”,
“gpu-memclock” : “1250,1250”,
“gpu-memdiff” : “0,0”,
“gpu-powertune” : “0,0”,
“gpu-vddc” : “0.962,0.962”,
“temp-cutoff” : “100,100”,
“temp-overheat” : “100,100”,
“temp-target” : “100,100”,
“api-port” : “4028”,
“expiry” : “120”,
“gpu-dyninterval” : “7”,
“gpu-platform” : “0”,
“gpu-threads” : “1”,
“hotplug” : “5”,
“log” : “5”,
“no-pool-disable” : true,
“queue” : “1”,
“scan-time” : “6”,
“scrypt” : true,
“temp-hysteresis” : “3”,
“shares” : “0”,
“kernel-path” : “/usr/local/bin”
}batch file would look like this:
setx GPU_MAX_ALLOC_PERCENT 100
cgminer -c mysettings.conf