Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 20
Posts: 20   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 4130 times and has 19 replies Next Thread
Gandalf_PCHF
Advanced Cruncher
Joined: Dec 21, 2008
Post Count: 81
Status: Offline
Reply to this Post  Reply with Quote 
GPUs on Win7 and Linux Cinnamon [Resolved]

I have two i7 computers with two GPUs each. One has the Win7 O/S while the other has a Linux Cinnamon DE

The Cinnamon has its cc_config.xml set to...
<use_all_gpus>1</use_all_gpus>
This, of course, causes Boinc to use both GPUs.

The Win7 has its cc_config.xml set to...
<use_all_gpus>0</use_all_gpus>
This, of course, causes Boinc to use only one GPUs.

This configuration allows me do personal work on the Win7 and maximize the crunching on the Cinnamon unit. I decided I could learn more by doing my personal work in the Cinnamon DE. I proceeded to reverse the cc_config.xml settings.

Here is my problem. Nothing happened. I even rebooted after making the editing changes. No joy. Both units retained their GPU usage even when the cc_config.xml showed my editing changes.


What am I forgetting?

Thanks for your expertise.

Gandalf
----------------------------------------




O/S -LinuxMint 64-bit, Release 13 (maya). DE: Cinnamon
----------------------------------------
[Edit 1 times, last edit by Gandalf_PCHF at Feb 2, 2013 6:43:49 PM]
[Jan 21, 2013 2:27:37 AM]   Link   Report threatening or abusive post: please login first  Go to top 
OldChap
Veteran Cruncher
UK
Joined: Jun 5, 2009
Post Count: 978
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: GPUs on Win7 and Linux Cinnamon

Maybe:

<exclude_gpu>
<url>project_URL</url>
[<device_num>N</device_num>]
[<type>nvidia|ati</type>]
[<app>appname</app>]
</exclude_gpu>

Don't use the given GPU for the given project. If <device_num> is not specified, exclude all GPUs of the given type. <type> is required if your computer has more than one type of GPU; otherwise it can be omitted. <app> specifies the short name of an application (i.e. the <name> element within the <app> element in client_state.xml). If specified, only tasks for that app are excluded. You may include multiple <exclude_gpu> elements


My guess would be you only need the short version:

<exclude_gpu>
<device_num>N</device_num>
</exclude_gpu>
----------------------------------------

----------------------------------------
[Edit 1 times, last edit by OldChap at Jan 21, 2013 7:51:54 AM]
[Jan 21, 2013 7:46:20 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: GPUs on Win7 and Linux Cinnamon

Saw this sample on the dev forums how to control which project uses which card, in effect saying: hcc1, stay off device 0

<!-- Exclude World Community Grid's Help Conquer Cancer GPU app on main display - makes graphics slow, even on 660 TI -->
<exclude_gpu>
<url>http://www.worldcommunitygrid.org</url>
<device_num>0</device_num>
<app>hcc1</app>
</exclude_gpu>

As for the assumption of only the most powerful card being used by BOINC. No longer, the later clients can take them all, ergo <use_all_gpus>0</use_all_gpus> has no effect if there are multiple crunch capable cards of different power.

For the interested, a cc_config.xml line with <!-- blah --> allows including notes in this file, why/when you did insert/add/disable/change something.
[Jan 21, 2013 8:16:48 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Gandalf_PCHF
Advanced Cruncher
Joined: Dec 21, 2008
Post Count: 81
Status: Offline
Reply to this Post  Reply with Quote 
Re: GPUs on Win7 and Linux Cinnamon

My Win7 computer, after a reboot, suddenly decided to start crunching on both of the GPUs. My Cinnamon computer is still crunching on both GPUs.

SekeRob - if I understand your last post above, I need to include your exclude_gpu data into my Cinnamon computer's cc_config.xml file in order for Boinc to only use the one GPU. Is that correct?

Also, that the <use_all_gpus>0</use_all_gpus> option is now being ignored. Yes?

One step forward and two steps back. I think it was only a week ago or so that, on another Thread, you showed me that I needed this statement in order to get both of my GPUs recognized for crunching. crying Just when I think I'm getting the hang of all this something gets changed.

If my thinking is now correct, the exclude statements will free up one of my GPUs. If I comment out the exclusion statements, then both of the GPUs will come back on line (so to speak) for crunching. You see I am trying to maximize my computer's crunching capability. If this procedure is correct, then I can gain control of one GPU while I am working with the computer, then return control of the GPU to Boinc when I go to bed at night.

Am I thinking straight or am I still confused?
----------------------------------------




O/S -LinuxMint 64-bit, Release 13 (maya). DE: Cinnamon
----------------------------------------
[Edit 2 times, last edit by Gandalf_PCHF at Jan 21, 2013 11:51:05 AM]
[Jan 21, 2013 11:48:01 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: GPUs on Win7 and Linux Cinnamon

Don't know what's not clear about my post, but

1) Yes
2) Yes (depends on BOINC version).

The free up is not any GPU, but a specific GPU, at start up the GPU cards get a device number assignment, starting at 0. That's why you have to state which card in <device_num>0</device_num>, which could be 1 or 2 or 3, however many cards you've got in the device that BOINC is recognizing at startup and OKs. Long as you don't reorder the cards those device numbers would remain static.

To me, for 7.0.42 (in fact 7.0.39 had app_config.xml first IIRC) and up the sum of what can be set in cc_config and app_config.xml gives extreme control over what crunches by what concurrent numbers on what device.
[Jan 21, 2013 11:56:55 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Gandalf_PCHF
Advanced Cruncher
Joined: Dec 21, 2008
Post Count: 81
Status: Offline
Reply to this Post  Reply with Quote 
Re: GPUs on Win7 and Linux Cinnamon

Don't know what's not clear about my post, but

1) Yes
2) Yes (depends on BOINC version).

The free up is not any GPU, but a specific GPU, at start up the GPU cards get a device number assignment, starting at 0. That's why you have to state which card in <device_num>0</device_num>, which could be 1 or 2 or 3, however many cards you've got in the device that BOINC is recognizing at startup and OKs. Long as you don't reorder the cards those device numbers would remain static.

To me, for 7.0.42 (in fact 7.0.39 had app_config.xml first IIRC) and up the sum of what can be set in cc_config and app_config.xml gives extreme control over what crunches by what concurrent numbers on what device.

No offense meant. The problem is with me, not you.
I do have one problem with this...
<app>hcc1</app>
What is the app for WCG? I tried WCG but that didn't seem to work.
I search the site for ...
<app>WCG</app>
and had no hits therefore I must be wrong.
----------------------------------------




O/S -LinuxMint 64-bit, Release 13 (maya). DE: Cinnamon
[Jan 21, 2013 2:09:21 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: GPUs on Win7 and Linux Cinnamon

The lines in the exclusion requires the order in the sample. The first instruction is of the <exclude_gpu> set is

A), it's a WCG application coming from
<url>http://www.worldcommunitygrid.org</url>
B), it's not to run on device 0
<device_num>0</device_num>
C), the name of the app is
<app>hcc1</app>

As per OldChaps' post the <device_num>0</device_num> of the A/B/C may be enough to have all GPU work redirected to device 1. Trial and error.

This is the full except from the cc_config.xml manual at http://boinc.berkeley.edu/wiki/Cc_config.xml
 <exclude_gpu>

Don't use the given GPU for the given project. If <device_num> is not specified, exclude all GPUs of the given type. <type> is required if your computer has more than
one type of GPU; otherwise it can be omitted. <app> specifies the short name of an application (i.e. the <name> element within the <app> element in client_state.xml).
If specified, only tasks for that app are excluded. You may include multiple <exclude_gpu> elements. List-add.pngNew in 6.13

<exclude_gpu>
<url>project_URL</url>
[<device_num>N</device_num>]
[<type>nvidia|ati</type>]
[<app>appname</app>]
</exclude_gpu>

This instruction set only works for v7 clients. (Big-Wish members would always reveal what exact number they have without asking. It's a major criterium to help devise an answer/solution)
[Jan 21, 2013 2:26:03 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: GPUs on Win7 and Linux Cinnamon

P.S. A General "no WCG on device 0"... more things to try, just enter the url and device number, no <app>. Since there's only one WCG GPU application for longer, I'd not worry about how to spec it in general for WCG.
[Jan 21, 2013 2:53:37 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Gandalf_PCHF
Advanced Cruncher
Joined: Dec 21, 2008
Post Count: 81
Status: Offline
Reply to this Post  Reply with Quote 
Re: GPUs on Win7 and Linux Cinnamon

P.S. A General "no WCG on device 0"... more things to try, just enter the url and device number, no <app>. Since there's only one WCG GPU application for longer, I'd not worry about how to spec it in general for WCG.

SekeRob, thanks for the detailed advise.

What did I do wrong? I commented out the app line per your instructions just like the first line comment. I even rebooted. No joy. (device 0) is still running.

<!-- Exclude World Community Grid's Help Conquer Cancer GPU app on main display - makes graphics slow, even on 660 TI -->
<exclude_gpu>
<url>http://www.worldcommunitygrid.org</url>
<device_num>0</device_num>
<!-- app>hcc1</app -->
</exclude_gpu>

Both of my GPUs are of the same make/model and only Cancer Research at WCG used GPUs for crunching at this time.

Help is still needed. crying
----------------------------------------




O/S -LinuxMint 64-bit, Release 13 (maya). DE: Cinnamon
----------------------------------------
[Edit 3 times, last edit by Gandalf_PCHF at Jan 21, 2013 10:35:28 PM]
[Jan 21, 2013 10:14:43 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Gandalf_PCHF
Advanced Cruncher
Joined: Dec 21, 2008
Post Count: 81
Status: Offline
Reply to this Post  Reply with Quote 
Re: GPUs on Win7 and Linux Cinnamon

Just read a Boinc notice...

Unrecognized tag in cc_config.xml: <exclude_gpu>

Now what do I do?
----------------------------------------




O/S -LinuxMint 64-bit, Release 13 (maya). DE: Cinnamon
[Jan 21, 2013 10:33:24 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 20   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread