Boinc uses wrong GPU for some projects
log in

Advanced search

Message boards : Number crunching : Boinc uses wrong GPU for some projects

Author Message
Mr P Hucker
Avatar
Send message
Joined: 30 Sep 17
Posts: 36
Credit: 16,105,684
RAC: 0
Message 8117 - Posted: 16 Mar 2022, 17:34:01 UTC
Last modified: 16 Mar 2022, 17:57:24 UTC

I have 2 GPUs in this machine. First one is RX560, second is R9 280X.

The RX560 began playing up (computing on it causes the display to flicker), so I can either use it as a computing card or a display card, and since I have 5 monitors on this machine, I've demoted it to display only, so:

I inserted this: <ignore_ati_dev>0</ignore_ati_dev> into cc_config.xml and all was fine. MW ran on ATI 1, the R9 280X. But now I'm running SRBase, I heard the fan not making any noise and checked in MSI Afterburner, which confirms the wrong card is being used. I double cheright because of which one heats up. Boinc is still saying at startup:

16-03-2022 05:10 PM OpenCL: AMD/ATI GPU 0 (ignored by config): Radeon RX 560 Series (driver version 3240.6, device version OpenCL 2.0 AMD-APP (3240.6), 4096MB, 4096MB available, 2197 GFLOPS peak) 16-03-2022 05:10 PM OpenCL: AMD/ATI GPU 1: AMD Radeon R9 200 Series (driver version 3240.6, device version OpenCL 1.2 AMD-APP (3240.6), 3072MB, 3072MB available, 4178 GFLOPS peak)

But it disobeys itself and uses only the RX560 (AMD/ATI GPU 0).

I tried changing it to <ignore_ati_dev>1</ignore_ati_dev> and restarting Boinc, then back to <ignore_ati_dev>0</ignore_ati_dev> and restarting Boinc, but whichever one I set (which it shows in the event log correctly), it always runs SRBase on device 0 incorrectly.

Switching back to Milkyway uses the correct card! In fact,
Milkyway
Collatz
Einstein
Primegrid
Amicable Numbers
all use the correct card. Why would one project be able to disobey Boinc's instruction?

If I let it use both cards, SRBase uses both cards, but the one on the 280X doesn't get anywhere. Presumably it's incompatible with the 280X, and disobeys my instruction, but if they're both allowed, it tries both anyway?!

Also posted in https://boinc.berkeley.edu/dev/forum_thread.php?id=14603

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 7479
Credit: 43,652,367
RAC: 40,337
Message 8118 - Posted: 16 Mar 2022, 18:44:28 UTC - in response to Message 8117.
Last modified: 16 Mar 2022, 18:46:52 UTC

https://srbase.my-firewall.org/sr5/forum_thread.php?id=6&postid=5765

The GPU apps can only run on device 0, it was not designed for multi-GPU.

Mr P Hucker
Avatar
Send message
Joined: 30 Sep 17
Posts: 36
Credit: 16,105,684
RAC: 0
Message 8124 - Posted: 18 Mar 2022, 7:08:47 UTC - in response to Message 8118.
Last modified: 18 Mar 2022, 7:09:31 UTC

https://srbase.my-firewall.org/sr5/forum_thread.php?id=6&postid=5765

The GPU apps can only run on device 0, it was not designed for multi-GPU.

But they run on both if I allow both. There must be a way to make it only run on the second one (device 1)? All the other projects do this.

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 7479
Credit: 43,652,367
RAC: 40,337
Message 8125 - Posted: 18 Mar 2022, 11:14:02 UTC - in response to Message 8124.

https://srbase.my-firewall.org/sr5/forum_thread.php?id=6&postid=5765

The GPU apps can only run on device 0, it was not designed for multi-GPU.

But they run on both if I allow both. There must be a way to make it only run on the second one (device 1)? All the other projects do this.


not possible, its a BOINC wrapper issue

Profile mikey
Avatar
Send message
Joined: 29 Apr 16
Posts: 59
Credit: 1,506,462,511
RAC: 337,093
Message 8494 - Posted: 3 Dec 2022, 2:14:55 UTC - in response to Message 8124.

https://srbase.my-firewall.org/sr5/forum_thread.php?id=6&postid=5765

The GPU apps can only run on device 0, it was not designed for multi-GPU.


But they run on both if I allow both. There must be a way to make it only run on the second one (device 1)? All the other projects do this.


You can put an <exclude_gpu> line in your cc_config.xml file and it will exclude gpu 0 or 1 etc from running tasks at project x y and z

<url>https://moowrap.net/</url><device_num>0</device_num></exclude_gpu>
<exclude_gpu><url>https://srbase.my-firewall.org/sr5/</url><device_num>1</device_num></exclude_gpu>

be sure to use the http address from the Boinc Manger list of Projects, under the Add Project tab, as manually typing it often doesn't work for some reason


Post to thread

Message boards : Number crunching : Boinc uses wrong GPU for some projects


Main page · Your account · Message boards


Copyright © 2014-2024 BOINC Confederation / rebirther