Message boards : BOINC Manager : How to allow only specific GPU to use?
Message board moderation
| Author | Message |
|---|---|
|
New member Send message Joined: 11 Dec 25 Posts: 4 |
Hello. I'd like to allow specific GPU(GPU in AMD 7950x), not 3080, to compute. Is there any settings? Or mb task filter with tasks for AMD GPUs? |
JordSend message Joined: 29 Aug 05 Posts: 15756
|
With Notepad, make a file called cc_config.xml in your BOINC Data directory (if it not already exists) and add into it: <cc_config> <log_flags> </log_flags> <options> <<ignore_cuda_dev>1</ignore_cuda_dev> </options> </cc_config> Save it as cc_config.xml, making sure it doesn't get an added .txt (which Windows likes to do), and make sure it's set to UTF-8 encoding. After that, exit BOINC completely and restart it. |
|
Send message Joined: 2 Feb 22 Posts: 94
|
The system has 1 AMD GPU and 1 NVIDIA GPU, so shouldn't it be <ignore_nvidia_dev>0</ignore_nvidia_dev> According to the manual (https://boinc.berkeley.edu/wiki/Client_configuration) it should be <ignore_nvidia_dev> instead of <ignore_cuda_dev>. The latter is deprecated but still works according to the source code. Please remove the typo at the beginning of line 5. '<<ignore...' should be ''<ignore...''. |
JordSend message Joined: 29 Aug 05 Posts: 15756
|
Well, I can't remove typo's anymore than you can. But you're right, it should've been nvidia instead of cuda. <cc_config> <log_flags> </log_flags> <options> <ignore_nvidia_dev>1</ignore_nvidia_dev> </options> </cc_config> |
|
New member Send message Joined: 11 Dec 25 Posts: 4 |
It appears to be good config. Some tasks ended with computation error :)[/img] |
|
New member Send message Joined: 11 Dec 25 Posts: 4 |
Next day - NVIDIA computations is running... cc_config.xml: <cc_config> <log_flags> </log_flags> <options> <<ignore_cuda_dev>1</ignore_cuda_dev> </options> </cc_config> https://fastpic.org/view/126/2025/1214/04d0a863871fb5a62c19a8c1f6bbfd5c.png.html |
|
New member Send message Joined: 11 Dec 25 Posts: 4 |
<cc_config> <log_flags> </log_flags> <options> <ignore_nvidia_dev>1</ignore_nvidia_dev> </options> </cc_config> Updated info on config. Still running nvidia |
JordSend message Joined: 29 Aug 05 Posts: 15756
|
In reply to Vitalii's message of 14 Dec 2025: Updated info on config. >> After that, exit BOINC completely and restart it. GPU detection and decisions are made at BOINC client startup. So also make sure that when you exit BOINC Manager, that you select to stop running apps and exit. As it's very much possible to only stop BOINC Manager (the GUI) but continue to run the client. It's the client that needs to be restarted for this to stick. And double check that cc_config.xml doesn't have an added (but invisible) .txt extension, as Windows likes to hide extensions on everything. |
|
Send message Joined: 2 Feb 22 Posts: 94
|
In reply to Vitalii's message of 14 Dec 2025: <cc_config> The BOINC manual page linked in my previous post states this: "<ignore_nvidia_dev>N</ignore_nvidia_dev> Ignore (don't use) a specific NVIDIA GPU. You can ignore more than one. Replaces <ignore_cuda_dev/>. Requires a client restart. Example: <ignore_nvidia_dev>0</ignore_nvidia_dev> will ignore the first NVIDIA GPU in the system." So, as long as you only have 1 NVIDIA GPU replace your <ignore_nvidia_dev>1</ignore_nvidia_dev> with <ignore_nvidia_dev>0</ignore_nvidia_dev>. And don't forget to restart the BOINC client. |
JordSend message Joined: 29 Aug 05 Posts: 15756
|
I most def must brush up on my older knowledge of options and logs. Thanks for the second pat on my fingers. |
Copyright © 2025 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.