Bitcoin Forum

Bitcoin => Mining => Topic started by: M3t on April 11, 2013, 01:50:27 AM



Title: How do I only have cgminer use 1 gpu?
Post by: M3t on April 11, 2013, 01:50:27 AM
I want cgminer to only use 1 gpu so I can play games with the other. How is this possible, and will the game i'm playing be smart enough to only run on the other gpu? how does it know >.< ??


Title: Re: How do I only have cgminer use 1 gpu?
Post by: Sekioh on April 11, 2013, 01:58:10 AM
Typically games use the first one it see's, you're using it right now just to view your OS, initialized on startup it looks for plugged in monitors.

In order to use the other cores or cards you use it's device number with "device": "1" in the config, or from the command line when you're starting it up it's '--device 1' or short version '-d 1' replacing 1 with the number you want to mine from. I have 2 5970s which have two core processors apiece, so I got 0,1,2,3 to pick from. I run with -d 1 -d 3 to run the second and fourth (secondary processors on each one), the command line does accept repeating flags like that, the config didn't want to accept more than one device line though, don't know why.


Title: Re: How do I only have cgminer use 1 gpu?
Post by: M3t on April 11, 2013, 02:01:29 AM
edit: nvm teehee figured it out :3~ ty!


Title: Re: How do I only have cgminer use 1 gpu?
Post by: Sekioh on April 11, 2013, 02:03:08 AM
No it starts at 0, I just use second and fourth for mining, myself. Third is an altcoin on low throttle just for kicks, keeps temperature down instead of trying to grind 100% on two cores and put that poor fan under stress, and 0 left off lets Windows respond snappy and if I got a game up. :]


Title: Re: How do I only have cgminer use 1 gpu?
Post by: M3t on April 11, 2013, 02:04:22 AM
No it starts at 0, I just use second and fourth for mining, myself. Third is an altcoin on low throttle just for kicks, keeps temperature down instead of trying to grind 100% on two cores and put that poor fan under stress, and 0 left off lets Windows respond snappy and if I got a game up. :]

desu :3


Title: Re: How do I only have cgminer use 1 gpu?
Post by: M3t on April 11, 2013, 02:06:02 AM
Wait, now that my GPU 0 is off... won't my game still try to suck some juice out of the GPU 1 (the one that's mining)?

How do I make my game ONLY run on GPU 0 ?


Title: Re: How do I only have cgminer use 1 gpu?
Post by: crazyates on April 11, 2013, 02:58:45 AM
Wait, now that my GPU 0 is off... won't my game still try to suck some juice out of the GPU 1 (the one that's mining)?

How do I make my game ONLY run on GPU 0 ?
Do you have crossfire turned on? If yes, turn it off. If no, then you're already all set.


Title: Re: How do I only have cgminer use 1 gpu?
Post by: NightAss on April 11, 2013, 02:00:38 PM
this is my cgminer.conf file  the red part is witch cards are on

for bitcoin mining intensity 1 lets me play all the games I want my hash rate will drop when playing but when I am out of the game my hashing will go back to about 90% of what it would if I had the intensity up

http://www.youtube.com/watch?v=7ExWNbqd9k8   I recorded that wile mining with intensity 1



{
"pools" : [
   {
      "url" : "http://ltc.cryptocoined.com:9327",
      "user" : "LNY23w3JhBPnhgVjzW7vq4ZAPhS4XdVUym",
      "pass" : "123"
   }
]
,
"intensity" : "15,15,15",
"vectors" : "1,1,1",
"worksize" : "256,256,256",
"kernel" : "scrypt,scrypt,scrypt",
"lookup-gap" : "0,0,0",
"thread-concurrency" : "8192,8192,8192",
"shaders" : "2048,2048,2048",
"gpu-engine" : "0-0,0-0,0-0",
"gpu-fan" : "0-85,0-85,0-85",
"gpu-memclock" : "1250,1250,1250",
"gpu-memdiff" : "0,0,0",
"gpu-powertune" : "0,0,0",
"gpu-vddc" : "0.000,0.000,0.000",
"temp-cutoff" : "120,120,120",
"temp-overheat" : "85,85,85",
"temp-target" : "80,80,80",
"api-port" : "4028",
"auto-gpu" : true,
"expiry" : "120",
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "1",
"hotplug" : "5",
"log" : "5",
"no-pool-disable" : true,
"queue" : "1",
"scan-time" : "30",
"scrypt" : true,
"temp-hysteresis" : "2",
"shares" : "0",
"kernel-path" : "/usr/local/bin",
"device" : "0",
"device" : "1"
}


Title: Re: How do I only have cgminer use 1 gpu?
Post by: Vigil on April 21, 2013, 02:57:46 AM
Set its intensity to 0 or disable it. --disable-gpu


Title: Re: How do I only have cgminer use 1 gpu?
Post by: mcarturr on April 21, 2013, 09:16:59 PM
is better if you use guiminner and select 1 gpu


Title: Re: How do I only have cgminer use 1 gpu?
Post by: Kalen on April 23, 2013, 03:09:22 AM
Unless you have special settings within the game, it should use the GPU that is connected to your monitor that displays the game.
Works the same with videos, etc.


Title: Re: How do I only have cgminer use 1 gpu?
Post by: Amph on April 23, 2013, 05:40:29 PM
it's possible to make this but with one gpu nvidia and the other ati?


Title: Re: How do I only have cgminer use 1 gpu?
Post by: Malawi on April 23, 2013, 05:52:51 PM
it's possible to make this but with one gpu nvidia and the other ati?

That should not be a problem. Be sure that your Nvida is device 0(you may have to swap them around at the MB), since that's the one you are going to use for gaming.
(Nvida is not that good for mining even though they sometimes are better for gaming)


Title: Re: How do I only have cgminer use 1 gpu?
Post by: Amph on April 24, 2013, 11:28:03 AM
yeah, this is my intent, using nvida for gaming, and an ati for mining, i'm only worried about installing double drivers...