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: 7 |
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: 15758
|
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: 15758
|
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: 7 |
It appears to be good config. Some tasks ended with computation error :)[/img] |
|
New member Send message Joined: 11 Dec 25 Posts: 7 |
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: 7 |
<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: 15758
|
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: 15758
|
I most def must brush up on my older knowledge of options and logs. Thanks for the second pat on my fingers. |
|
New member Send message Joined: 11 Dec 25 Posts: 7 |
NVIDIA is still computing... Is computer reboot OK as BOINC client disconnect-connect? https://fastpic.org/view/126/2025/1215/_45befccd6c203e9f785a9af03cc4712a.png.html |
JordSend message Joined: 29 Aug 05 Posts: 15758
|
Please post your BOINC startup messages after a fresh restart. The first 30 lines or so should suffice. Do also know that you can disable the Nvidia GPU in your Primegrid (and other projects) preferences. https://www.primegrid.com/prefs.php?subset=project Edit preferences Uncheck Use NVIDIA GPU Update preferences (way way at the bottom) That way, this project won't even send work for the Nivida GPU. If you want to disable the Nvidia GPU in other projects, you do this at their project preferences. |
|
Send message Joined: 1 Jul 16 Posts: 180
|
Why not exclude_gpu. jord you've recommended it before https://boinc.n-helix.com/forum_thread.php?id=7486 cc_config options https://boinc.mundayweb.com/wiki/index.php?title=Client_configuration Template: <exclude_gpu> <url>project_URL</url> <device_num>N</device_num> <type>ATI | NVIDIA | intel_gpu</type> <app>appname</app> </exclude_gpu> |
|
New member Send message Joined: 11 Dec 25 Posts: 7 |
Found reason: BOINC logs shows there is no cc_config.xml... But this file in same folder... https://new.fastpic.org/album/Ou1qvz5RjV P.S. Updated BOINC. It is an option install as service. It mean disable any GPU computation. It is final resort. P.P.S. Checked and unchecked a lot of check boxes at Primegrid online config. |
Vitalii KoshuraSend message Joined: 29 Mar 17 Posts: 124
|
It's in the wrong folder. It should be in BOINC Data folder (by default it's C:\ProgramData\BOINC - and it's hidden) BOINC maintainer. For any insight, check my BOINC Development Blog. |
|
New member Send message Joined: 11 Dec 25 Posts: 7 |
TY. Now it running as expected :) |
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.