Thread 'Is there a simple way to disable/enable a GPU?'

Message boards : GPUs : Is there a simple way to disable/enable a GPU?
Message board moderation

To post messages, you must log in.

AuthorMessage
Khali

Send message
Joined: 1 Feb 14
Posts: 7
United States
Message 68523 - Posted: 25 Mar 2016, 9:55:32 UTC

My system has two GPU's. I have a GTX 680 that runs Boinc 24/7. I also have a GTX 780 Ti that my monitor is hooked up to. The GTX 780 Ti runs Boinc projects when I am not at the PC.

When I am at the PC I want to remove the 780 Ti from being available for Boinc projects and be dedicated to games or playing videos. If I have the 680 on one project and the 780 Ti on another this isn't an issue since I can just suspend the project the 780 Ti is working on. But when I have both GPU's on the same project that will not work. Well, it does but it also shuts down the 680, which I don't want to do. The way I have been handling this has been to go into the config files and editing a exclusion line for just the 780 Ti.

Is there a simpler way to do what I have described without having to edit the config files every time?
ID: 68523 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15560
Netherlands
Message 68541 - Posted: 26 Mar 2016, 20:34:16 UTC - in response to Message 68523.  

No, not at this time.
ID: 68541 · Report as offensive
HAL9000
Help desk expert
Avatar

Send message
Joined: 13 Jun 14
Posts: 81
United States
Message 68601 - Posted: 29 Mar 2016, 17:46:16 UTC - in response to Message 68523.  

My system has two GPU's. I have a GTX 680 that runs Boinc 24/7. I also have a GTX 780 Ti that my monitor is hooked up to. The GTX 780 Ti runs Boinc projects when I am not at the PC.

When I am at the PC I want to remove the 780 Ti from being available for Boinc projects and be dedicated to games or playing videos. If I have the 680 on one project and the 780 Ti on another this isn't an issue since I can just suspend the project the 780 Ti is working on. But when I have both GPU's on the same project that will not work. Well, it does but it also shuts down the 680, which I don't want to do. The way I have been handling this has been to go into the config files and editing a exclusion line for just the 780 Ti.

Is there a simpler way to do what I have described without having to edit the config files every time?

You could automate the process a little for yourself.
Configure cc_config1.xml with <ignore_nvidia_dev>#</ignore_nvidia_dev>
Configure cc_config2.xml without <ignore_nvidia_dev>.
Then run a script before playing a game like
copy BOINCdata\cc_config1.xml BOINCdata\cc_config.xml /Y
boinccmd --read_cc_config
ID: 68601 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5128
United Kingdom
Message 68603 - Posted: 29 Mar 2016, 17:54:06 UTC - in response to Message 68601.  

He'd need to do a

boinccmd --quit
boinc

with some extra command line switches on that final restart. BOINC can't enable/disable GPUs on the fly, it has to be a stop/start.
ID: 68603 · Report as offensive
HAL9000
Help desk expert
Avatar

Send message
Joined: 13 Jun 14
Posts: 81
United States
Message 68604 - Posted: 29 Mar 2016, 17:58:39 UTC - in response to Message 68603.  
Last modified: 29 Mar 2016, 18:00:01 UTC

He'd need to do a

boinccmd --quit
boinc

with some extra command line switches on that final restart. BOINC can't enable/disable GPUs on the fly, it has to be a stop/start.

I had forgotten about that.
The <exclude_gpu> option could be used with --read_cc_config to stop the GPU from being used without restarting BOINC. However BOINC would have to be restarted after the standard config was put in place to get the GPU to be used again.
ID: 68604 · Report as offensive

Message boards : GPUs : Is there a simple way to disable/enable a GPU?

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.