Message boards :
Graphics cards (GPUs) :
2nd boinc client not seeing gpu's
Message board moderation
| Author | Message |
|---|---|
|
Send message Joined: 27 Oct 12 Posts: 14 Credit: 29,337,200 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Hi I am currently running 2 gtx 660s, but because i do game at the same time i have my main gpu ignored so only gpu grid runs on my second gpu, now what id like to do, which i have been trying to figure out is. id like to run my main gpu when im not gaming but suspend work when i am gaming. but as far as i know if i allowed both gpus to do wu i cant suspend one gpu using boinc. what i have tried is running 2 boinc clients. i got the second client to work except its not finding any gpu whatsoever, the core client works fine but the 2nd client just isnt seeing any gpu. Does anyone know what i can do to fix this problem wether getting the 2nd boinc to see the gpu or some other setting i dont know about :) Core client Secondary client |
|
Send message Joined: 2 Jan 09 Posts: 303 Credit: 7,321,800,090 RAC: 245 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Here is a wiki of the different settings you can use to micro control Boinc: http://boinc.berkeley.edu/wiki/Client_configuration One that might interest you is to tell Boinc you have two installations, another would be the one to tell Boinc to stop crunching when you are running X program, ie your game. Your pc is hidden so I can't tell which version of Boinc you are using but the last several versions let you go into the Boinc Manager, down by the clock in Windows, and add an exclusion file under Tools, computing preferences then exclusive applications. |
|
Send message Joined: 27 Oct 12 Posts: 14 Credit: 29,337,200 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
i know i can set preferences but i have multple gpus in my pc that arent in an sli configuration. meaning im already using my second gpu constantly, but im not using my main gpu to do work. if i set preferences it affects both gpu's, not just one. |
skgivenSend message Joined: 23 Apr 09 Posts: 3968 Credit: 1,995,359,260 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Unfortunately you cannot suspend/Snooze one GPU at a time. It's all or nothing. This feature was requested over a year ago, but it has not been implemented into Boinc Manager. The only thing I can suggest is before gaming, alter your cc_config.xml file to ignore the GPU you game with and then tell Boinc to Read config files, and after gaming reverse the changes. You might be able to write a script to do it. FAQ's HOW TO: - Opt out of Beta Tests - Ask for Help |
|
Send message Joined: 27 Oct 12 Posts: 14 Credit: 29,337,200 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
ive tried running 2 boinc clients, which i can easily do for cpu but the second client doesnt see any usable gpu, which is strange since the first one sees it no problem |
|
Send message Joined: 27 Oct 12 Posts: 14 Credit: 29,337,200 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
im currently playing around with scripting the cc config file, will let you all know if itll due the trick. thanks skgiven for the idea |
|
Send message Joined: 27 Oct 12 Posts: 14 Credit: 29,337,200 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
ok well, the script to change cc config when gaming seems to work, ty. |
skgivenSend message Joined: 23 Apr 09 Posts: 3968 Credit: 1,995,359,260 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Can you share the script so that others, and especially those with less skills, can use it? FAQ's HOW TO: - Opt out of Beta Tests - Ask for Help |
|
Send message Joined: 27 Oct 12 Posts: 14 Credit: 29,337,200 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
yep can do, well the way i did it, was easiest for me since i knew how to make a batch file, but i created two cc_config files put them both in two seperate folders, folder 1 and folder 2, then i created 2 batch files, one batch to copy and paste the cc config in folder 1 into the boinc folder, and the second batch was to copy and paste the cc config in folder 2 into boinc folder, essentially switching out cc configs at a click of the button. Batch 1, echo y|XCOPY c:\gpu0\cc_config.xml c:\ProgramData\Boinc\ batch 2 echo y|XCOPY c:\gpu1\cc_config.xml c:\ProgramData\Boinc\ the reason i added echo y| into the command was when putting in the xcopy command dos will ask if you wish to confirm and youd have to enter y, echo y| in front of the xcopy command did the trick. Bassically the one cc config has one of the gpu's excluded and the other cc config has them running all. will have to go to boinc manually and hit read config under Advanced > Read Config also have to manually suspend the task that was running on the gpu when you turn off the gpu or itll keep running, and will have to hit resume when putting the one gpu back to work, but the second gpu can and will continue crunching numbers. remember im also not running in an sli configuration, the games i play dont require 2 660's heh. If anyone knows of a better way to do this im willing to give it a try, im constantly changing things with my pc, its fun heh |
Retvari ZoltanSend message Joined: 20 Jan 09 Posts: 2380 Credit: 16,897,957,044 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Batch 1, You can use the /y switch of the XCOPY command instead of the "ECHO y|". Batch 1: XCOPY c:\gpu0\cc_config.xml c:\ProgramData\Boinc\ /y batch 2: XCOPY c:\gpu1\cc_config.xml c:\ProgramData\Boinc\ /y |
skgivenSend message Joined: 23 Apr 09 Posts: 3968 Credit: 1,995,359,260 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
You can use the Boinc command line commands to automate reading the cc_config file after you modify it: cd C:\Program Files\BOINC boinccmd --read_cc_config
boinccmd --project http://www.gpugrid.net/ suspend * disable GPU0 boinccmd --project http://www.gpugrid.net/ resume FAQ's HOW TO: - Opt out of Beta Tests - Ask for Help |
skgivenSend message Joined: 23 Apr 09 Posts: 3968 Credit: 1,995,359,260 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
My attempt at a set of instructions for Win7 (and similar; Vista, W8)... How To automate suspending one GPU while allowing other GPUs to run using batch files and Boinc commands (useful when gaming or when watching HD video): The idea is that you simply double click one batch file to disable GPU0 so you can game on that GPU or watch video's... and then simply double click on the other batch file to enable GPU0 again. Included are options to suspend/resume GPU0 if you are attached to GPUGrid and MilkyWay. If you have other GPU projects attached you will need to add instructions for those projects. If you are only attached to GPUGrid, you can remove all reference to MW. Create 2 folders under the C:\ directory called,
‘EnableGPU0’
</cc_config> <options> <exclude_gpu> <url>http://www.gpugrid.net/</url> <type>NVIDIA</type> <device_num>0</device_num> </exclude_gpu> <exclude_gpu> <url>http://milkyway.cs.rpi.edu/milkyway/</url> <type>NVIDIA</type> <device_num>0</device_num> </exclude_gpu> </options> </cc_config>
boinccmd --project http://www.gpugrid.net/ suspend boinccmd --project http://milkyway.cs.rpi.edu/milkyway/ suspend XCOPY c:\DisableGPU0\cc_config.xml c:\ProgramData\Boinc\ /y boinccmd --read_cc_config ping 1.1.1.1 -n 1 -w 6000 > nul boinccmd --project http://www.gpugrid.net/ resume boinccmd --project http://milkyway.cs.rpi.edu/milkyway/ resume
boinccmd --project http://www.gpugrid.net/ suspend boinccmd --project http://milkyway.cs.rpi.edu/milkyway/ suspend XCOPY c:\EnableGPU0\cc_config.xml c:\ProgramData\Boinc\ /y boinccmd --read_cc_config ping 1.1.1.1 -n 1 -w 6000 > nul boinccmd --project http://www.gpugrid.net/ resume boinccmd --project http://milkyway.cs.rpi.edu/milkyway/ resume
FAQ's HOW TO: - Opt out of Beta Tests - Ask for Help |
|
Send message Joined: 27 Oct 12 Posts: 14 Credit: 29,337,200 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
thank you for the replies will be editing my batch file further, didnt know there was a read cc config command , i tried looking for the command but google wasnt very helpfull, but with the new command itll make things alot easier and quicker. And i do hope other find this usefull since alot of people do play video games and other things. i originally had tried running my intel graphics but that didnt go so well games were too laggy on low settings :) i dont mind low graphics but when theres lag that when problems arrise heh. anyway again thanks. |
©2025 Universitat Pompeu Fabra