[Question] Make BOINC use only 1 of 2 GPUs

Message boards : Questions and problems : [Question] Make BOINC use only 1 of 2 GPUs
Message board moderation

To post messages, you must log in.

AuthorMessage
gerijeb

Send message
Joined: 2 Jul 14
Posts: 5
Brazil
Message 54701 - Posted: 2 Jul 2014, 19:00:37 UTC
Last modified: 2 Jul 2014, 19:01:35 UTC

Hello there and thanks for reading my question.


I have two GPUs installed on my computer, as you can see here:
http://einstein.phys.uwm.edu/show_host_detail.php?hostid=11427868

I use the Radeon GPU as the GPU 0, to which there is a monitor plugged, while also using the second GPU for BOINC. BOINC runs tasks fine on both of them. However, I need to stop GPU computing when I'm playing games. Since I use only the Radeon GPU to play, I'd like to keep my Nvidia working while Radeon is stopped. Could someone help me to set my cc_config file to do so?


Thank you alot!
ID: 54701 · Report as offensive
gerijeb

Send message
Joined: 2 Jul 14
Posts: 5
Brazil
Message 54723 - Posted: 3 Jul 2014, 14:34:00 UTC

Please help me on this issue
ID: 54723 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 54724 - Posted: 3 Jul 2014, 16:13:07 UTC

Sorry, the <exclusive_gpu_app> option in the cc_config.xml file will suspend any and all GPUs in the system when the program within the tags is found in memory.

As far as I know, there is no option to automate what you're asking for. The only option you have is to manually suspend the GPU you want to use for gaming. If that's an option. Or else to suspend all GPUs.

It does make for an interesting feature request though, one that I will forward to the developers.
ID: 54724 · Report as offensive
Profile äxl
Avatar

Send message
Joined: 13 May 10
Posts: 40
Germany
Message 54726 - Posted: 3 Jul 2014, 20:33:49 UTC
Last modified: 3 Jul 2014, 20:34:00 UTC

TThrottle is able to control two GPUs independently.
You can also set it to "Throttle only" if you're not interested in temperature adaptation.
http://www.efmer.eu/boinc/tthrottle_manual.html
My reasons to participate in grid computing:
1. I'm using true renewable energy (German accreditation; no certificate purchasing)
2. Production and disposal (will) amount to about 95% of the energy "used" during the lifetime of my PC
3. Helping
ID: 54726 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 54728 - Posted: 3 Jul 2014, 21:39:47 UTC - in response to Message 54724.  
Last modified: 3 Jul 2014, 21:40:27 UTC

It does make for an interesting feature request though, one that I will forward to the developers.

They think it's an interesting idea as well and put it on their to-do list. Not for the near future though, but eventually it will come. It will help if more people say they want this option. Or add their support for it in ticket [trac]#1361[/trac].
ID: 54728 · Report as offensive
gerijeb

Send message
Joined: 2 Jul 14
Posts: 5
Brazil
Message 54729 - Posted: 4 Jul 2014, 5:54:06 UTC - in response to Message 54728.  

Ageless, thank you for bringing it up to the developers!

I'm trying to use TThrotle to keep GPU usage of my main GPU as low as possible while gaming.


Thank you all.
ID: 54729 · Report as offensive
Profile äxl
Avatar

Send message
Joined: 13 May 10
Posts: 40
Germany
Message 54740 - Posted: 4 Jul 2014, 21:42:13 UTC

Is it possible to keep two instances of BOINC running with different configuration files?
I'm not sure but in the meantime it could be another way to keep two GPUs running independently.
My reasons to participate in grid computing:
1. I'm using true renewable energy (German accreditation; no certificate purchasing)
2. Production and disposal (will) amount to about 95% of the energy "used" during the lifetime of my PC
3. Helping
ID: 54740 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 54742 - Posted: 4 Jul 2014, 22:18:56 UTC - in response to Message 54740.  

Too difficult. Then it's easier to run with two cc_config.xml files, one in which GPU1 is ignored and the other in which it is not. Then just switch between those prior to gaming (remember, all GPU decision actions requires a BOINC restart).
ID: 54742 · Report as offensive
gerijeb

Send message
Joined: 2 Jul 14
Posts: 5
Brazil
Message 54763 - Posted: 5 Jul 2014, 18:22:41 UTC - in response to Message 54742.  

I'm new to modifying cc_config.xml, could you give me an example or a link to a tutorial to ignore GPU1 n that file?
ID: 54763 · Report as offensive
Profile äxl
Avatar

Send message
Joined: 13 May 10
Posts: 40
Germany
Message 54764 - Posted: 5 Jul 2014, 18:30:22 UTC - in response to Message 54763.  

http://boinc.berkeley.edu/wiki/Client_configuration
My reasons to participate in grid computing:
1. I'm using true renewable energy (German accreditation; no certificate purchasing)
2. Production and disposal (will) amount to about 95% of the energy "used" during the lifetime of my PC
3. Helping
ID: 54764 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 54767 - Posted: 5 Jul 2014, 19:56:03 UTC

<cc_config>
<log_flags>
</log_flags>
<options>
<ignore_ati_dev>0</ignore_ati_dev>
</options>
</cc_config>

This will ignore the Radeon, but leave the Nvidia intact.

Use Notepad to put the lines in (copy them in).
Then Save As..
Path to BOINC data directory (default on Windows Vista, 7 and 8.1) at C:\Programdata\BOINC\
Save name: cc_config.xml
Save type: All files
Encoding: ANSI

Saving as an All Files type makes sure there's no trailing .txt extension on. This file requires only an .xml extension for BOINC to be able to work with it.

Next exit BOINC and restart it (Start->All programs->BOINC->BOINC Manager).

If you want both GPUs to be used again, temporarily remove the cc_config.xml file and exit & restart BOINC again.
ID: 54767 · Report as offensive
gerijeb

Send message
Joined: 2 Jul 14
Posts: 5
Brazil
Message 54771 - Posted: 5 Jul 2014, 20:45:02 UTC - in response to Message 54767.  

Ageless, that's amazing, BOINC now ignores ATI and uses NVIDIA. That's all I wanted. Your colaboration was very helpful.

Thank both of you for your time taken to help me.
ID: 54771 · Report as offensive

Message boards : Questions and problems : [Question] Make BOINC use only 1 of 2 GPUs

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.