Thread 'How to allow only specific GPU to use?'

Message boards : BOINC Manager : How to allow only specific GPU to use?
Message board moderation

To post messages, you must log in.

AuthorMessage
Vitalii
New member

Send message
Joined: 11 Dec 25
Posts: 7
Message 117679 - Posted: 11 Dec 2025, 6:18:42 UTC

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?
ID: 117679 · Report as offensive     Reply Quote
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15758
Netherlands
Message 117680 - Posted: 11 Dec 2025, 11:47:44 UTC - in response to Message 117679.  

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.
ID: 117680 · Report as offensive     Reply Quote
computezrmle

Send message
Joined: 2 Feb 22
Posts: 94
Germany
Message 117681 - Posted: 11 Dec 2025, 14:35:36 UTC - in response to Message 117680.  

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...''.
ID: 117681 · Report as offensive     Reply Quote
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15758
Netherlands
Message 117715 - Posted: 12 Dec 2025, 22:50:39 UTC - in response to Message 117681.  

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> 
ID: 117715 · Report as offensive     Reply Quote
Vitalii
New member

Send message
Joined: 11 Dec 25
Posts: 7
Message 117730 - Posted: 13 Dec 2025, 19:21:09 UTC

It appears to be good config.
Some tasks ended with computation error :)[/img]
ID: 117730 · Report as offensive     Reply Quote
Vitalii
New member

Send message
Joined: 11 Dec 25
Posts: 7
Message 117743 - Posted: 14 Dec 2025, 9:46:16 UTC

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
ID: 117743 · Report as offensive     Reply Quote
Vitalii
New member

Send message
Joined: 11 Dec 25
Posts: 7
Message 117744 - Posted: 14 Dec 2025, 9:48:40 UTC - in response to Message 117743.  

<cc_config>
<log_flags>
</log_flags>
<options>
<ignore_nvidia_dev>1</ignore_nvidia_dev>
</options>
</cc_config>

Updated info on config.
Still running nvidia
ID: 117744 · Report as offensive     Reply Quote
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15758
Netherlands
Message 117745 - Posted: 14 Dec 2025, 11:18:12 UTC - in response to Message 117744.  

In reply to Vitalii's message of 14 Dec 2025:
Updated info on config.
Still running nvidia

>> 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.
ID: 117745 · Report as offensive     Reply Quote
computezrmle

Send message
Joined: 2 Feb 22
Posts: 94
Germany
Message 117748 - Posted: 14 Dec 2025, 11:52:21 UTC - in response to Message 117744.  

In reply to Vitalii's message of 14 Dec 2025:
<cc_config>
<log_flags>
</log_flags>
<options>
<ignore_nvidia_dev>1</ignore_nvidia_dev>
</options>
</cc_config>

Updated info on config.
Still running nvidia

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.
ID: 117748 · Report as offensive     Reply Quote
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15758
Netherlands
Message 117749 - Posted: 14 Dec 2025, 12:04:05 UTC - in response to Message 117748.  

I most def must brush up on my older knowledge of options and logs. Thanks for the second pat on my fingers.
ID: 117749 · Report as offensive     Reply Quote
Vitalii
New member

Send message
Joined: 11 Dec 25
Posts: 7
Message 117755 - Posted: 15 Dec 2025, 13:39:34 UTC

NVIDIA is still computing...
Is computer reboot OK as BOINC client disconnect-connect?
https://fastpic.org/view/126/2025/1215/_45befccd6c203e9f785a9af03cc4712a.png.html
ID: 117755 · Report as offensive     Reply Quote
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15758
Netherlands
Message 117756 - Posted: 15 Dec 2025, 13:56:36 UTC - in response to Message 117755.  
Last modified: 15 Dec 2025, 13:57:14 UTC

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.
ID: 117756 · Report as offensive     Reply Quote
mmonnin

Send message
Joined: 1 Jul 16
Posts: 180
United States
Message 117762 - Posted: 16 Dec 2025, 2:25:48 UTC

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>
ID: 117762 · Report as offensive     Reply Quote
Vitalii
New member

Send message
Joined: 11 Dec 25
Posts: 7
Message 117763 - Posted: 16 Dec 2025, 14:16:51 UTC

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.
ID: 117763 · Report as offensive     Reply Quote
ProfileVitalii Koshura
Volunteer developer
Help desk expert
Avatar

Send message
Joined: 29 Mar 17
Posts: 124
Germany
Message 117766 - Posted: 16 Dec 2025, 16:23:53 UTC - in response to Message 117763.  

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.
ID: 117766 · Report as offensive     Reply Quote
Vitalii
New member

Send message
Joined: 11 Dec 25
Posts: 7
Message 117770 - Posted: 16 Dec 2025, 18:01:59 UTC - in response to Message 117766.  

TY. Now it running as expected :)
ID: 117770 · Report as offensive     Reply Quote

Message boards : BOINC Manager : How to allow only specific GPU to use?

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.