Thread 'CUDA 5 on OS X 10.8 - only one GPU'

Message boards : GPUs : CUDA 5 on OS X 10.8 - only one GPU
Message board moderation

To post messages, you must log in.

AuthorMessage
Thorvin

Send message
Joined: 26 Jul 12
Posts: 4
Germany
Message 45069 - Posted: 26 Jul 2012, 9:27:05 UTC

Hi all,

after updating my MacBookPro to OS X 10.8 and CUDA 5 Boinc only uses 1 GPU, before it have been both ???

Any idea what is going wrong ?

Thanks in advance

Thorvin

Wed Jul 25 20:18:33 2012 | | No config file found - using defaults
Wed Jul 25 20:18:34 2012 | | Starting BOINC client version 7.0.31 for x86_64-apple-darwin
Wed Jul 25 20:18:34 2012 | | log flags: file_xfer, sched_ops, task
Wed Jul 25 20:18:34 2012 | | Libraries: libcurl/7.26.0 OpenSSL/0.9.7l zlib/1.2.5 c-ares/1.9.1
Wed Jul 25 20:18:34 2012 | | Data directory: /Library/Application Support/BOINC Data
Wed Jul 25 20:18:34 2012 | | Processor: 2 GenuineIntel Intel(R) Core(TM)2 Duo CPU P8800 @ 2.66GHz [x86 Family 6 Model 23 Stepping 10]
Wed Jul 25 20:18:34 2012 | | Processor features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 XSAVE
Wed Jul 25 20:18:34 2012 | | OS: Mac OS X 10.8.0 (Darwin 12.0.0)
Wed Jul 25 20:18:34 2012 | | Memory: 4.00 GB physical, 262.55 GB virtual
Wed Jul 25 20:18:34 2012 | | Disk: 297.29 GB total, 262.30 GB free
Wed Jul 25 20:18:34 2012 | | Local time is UTC +2 hours
Wed Jul 25 20:18:34 2012 | | NVIDIA GPU 0 (not used): GeForce 9600M GT (driver version 5.0.17, CUDA version 5.0, compute capability 1.1, 256MB, 143MB available, 120 GFLOPS peak)
Wed Jul 25 20:18:34 2012 | | NVIDIA GPU 1: GeForce 9400M (driver version 5.0.17, CUDA version 5.0, compute capability 1.1, 254MB, 230MB available, 53 GFLOPS peak)
Wed Jul 25 20:18:34 2012 | | OpenCL: NVIDIA GPU 0 (not used): GeForce 9600M GT (driver version CLH 1.0, device version OpenCL 1.0, 256MB, 143MB available)
Wed Jul 25 20:18:34 2012 | | OpenCL: NVIDIA GPU 1: GeForce 9400M (driver version CLH 1.0, device version OpenCL 1.0, 256MB, 230MB available)
ID: 45069 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15563
Netherlands
Message 45070 - Posted: 26 Jul 2012, 10:48:56 UTC - in response to Message 45069.  
Last modified: 26 Jul 2012, 10:53:28 UTC

Unless you put your data directory elsewhere, or removed a cc_config.xml file, the previous BOINC should've used only the best rated GPU as well. Best rated has nothing to do with model number, but all with 1) compute capability; 2) CUDA version; 3) available memory and 4) speed.

How to overcome? Make a cc_config.xml file in your data directory.
In it place this:
<cc_config>
    <options>
        <use_all_gpus>1</use_all_gpus>
    </options>
</cc_config> 

After saving this, exit & restart BOINC and hey presto, both GPUs will be used.

(although I now see something, that I forwarded to the developers... why is the best GPU here not being used?)
ID: 45070 · Report as offensive
Thorvin

Send message
Joined: 26 Jul 12
Posts: 4
Germany
Message 45071 - Posted: 26 Jul 2012, 11:34:22 UTC - in response to Message 45070.  

Thanks for the answer, I will try tonight at home ...

but I did not change anything with my boinc installation ???

I stopped boinc, did the update of the OS and after the restart of the computer boinc did not use any GPU, because of the old CUDA version. So I updated CUDA to version 5 and the outcome of this is mentioned in post 1 in this thread ...

I did not had a config file before and still don't have one or better I did not create one, it is a plain boinc installation without any adaptations

I will update this informations tonight ...
ID: 45071 · Report as offensive
Thorvin

Send message
Joined: 26 Jul 12
Posts: 4
Germany
Message 45073 - Posted: 26 Jul 2012, 17:12:33 UTC - in response to Message 45071.  

done .... and it works ...

Thanks

the only strange thing is that it worked before ???? without a cc_config

Thorvin
ID: 45073 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15563
Netherlands
Message 45074 - Posted: 26 Jul 2012, 17:20:36 UTC - in response to Message 45073.  

It shouldn't have worked before without the <use_all_gpus> option. But you can probably check that in your stdoutdae.txt file, in the BOINC Data directory.
ID: 45074 · Report as offensive
ProfileGundolf Jahn

Send message
Joined: 20 Dec 07
Posts: 1069
Germany
Message 45075 - Posted: 26 Jul 2012, 17:38:11 UTC - in response to Message 45074.  

Perhaps the old drivers gave similar GPU "speeds"? Just guessing here.

Gruß,
Gundolf
ID: 45075 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5129
United Kingdom
Message 45077 - Posted: 26 Jul 2012, 18:47:29 UTC

The test on 'available ram' is enough to split them:

62         if (c1.available_ram> 1.4*c2.available_ram) return 1; 
63         if (c1.available_ram < .7* c2.available_ram) return -1; 

Wed Jul 25 20:18:34 2012 | | NVIDIA GPU 0 (not used): GeForce 9600M GT (driver version 5.0.17, CUDA version 5.0, compute capability 1.1, 256MB, 143MB available, 120 GFLOPS peak)
Wed Jul 25 20:18:34 2012 | | NVIDIA GPU 1: GeForce 9400M (driver version 5.0.17, CUDA version 5.0, compute capability 1.1, 254MB, 230MB available, 53 GFLOPS peak)

Maybe the new OS is using a lot more VRAM on GPU 0 - is that one driving the display?
ID: 45077 · Report as offensive
Thorvin

Send message
Joined: 26 Jul 12
Posts: 4
Germany
Message 45079 - Posted: 26 Jul 2012, 20:24:51 UTC

To me it seems that this new version of the OS is much more ressource consuming than the old one, specially the GPU...

Here are the respective lines of the four states of the last few days ...

Before OS update

23-Jul-2012 07:16:52 [---] No config file found - using defaults
23-Jul-2012 07:16:52 [---] Starting BOINC client version 7.0.31 for x86_64-apple-darwin
23-Jul-2012 07:16:52 [---] log flags: file_xfer, sched_ops, task
23-Jul-2012 07:16:52 [---] Libraries: libcurl/7.26.0 OpenSSL/0.9.7l zlib/1.2.3 c-ares/1.9.1
23-Jul-2012 07:16:52 [---] Data directory: /Library/Application Support/BOINC Data
23-Jul-2012 07:16:52 [---] Processor: 2 GenuineIntel Intel(R) Core(TM)2 Duo CPU P8800 @ 2.66GHz [x86 Family 6 Model 23 Stepping 10]
23-Jul-2012 07:16:52 [---] Processor features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 XSAVE
23-Jul-2012 07:16:52 [---] OS: Mac OS X 10.6.8 (Darwin 10.8.0)
23-Jul-2012 07:16:52 [---] Memory: 4.00 GB physical, 261.52 GB virtual
23-Jul-2012 07:16:52 [---] Disk: 297.77 GB total, 261.28 GB free
23-Jul-2012 07:16:52 [---] Local time is UTC +2 hours
23-Jul-2012 07:16:52 [---] NVIDIA GPU 0: GeForce 9600M GT (driver version 4.2.10, CUDA version 4.20, compute capability 1.1, 256MB, 195MB available, 120 GFLOPS peak)
23-Jul-2012 07:16:52 [---] NVIDIA GPU 1: GeForce 9400M (driver version 4.2.10, CUDA version 4.20, compute capability 1.1, 254MB, 231MB available, 53 GFLOPS peak)
23-Jul-2012 07:16:52 [---] OpenCL: NVIDIA GPU 0: GeForce 9600M GT (driver version CLH 1.0, device version OpenCL 1.0, 256MB, 195MB available)
23-Jul-2012 07:16:52 [---] OpenCL: NVIDIA GPU 1: GeForce 9400M (driver version CLH 1.0, device version OpenCL 1.0, 256MB, 231MB available)


After OS update with CUDA 4

25-Jul-2012 19:45:00 [---] No config file found - using defaults
25-Jul-2012 19:45:00 [---] Starting BOINC client version 7.0.31 for x86_64-apple-darwin
25-Jul-2012 19:45:00 [---] log flags: file_xfer, sched_ops, task
25-Jul-2012 19:45:00 [---] Libraries: libcurl/7.26.0 OpenSSL/0.9.7l zlib/1.2.5 c-ares/1.9.1
25-Jul-2012 19:45:00 [---] Data directory: /Library/Application Support/BOINC Data
25-Jul-2012 19:45:00 [---] Processor: 2 GenuineIntel Intel(R) Core(TM)2 Duo CPU P8800 @ 2.66GHz [x86 Family 6 Model 23 Stepping 10]
25-Jul-2012 19:45:00 [---] Processor features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 XSAVE
25-Jul-2012 19:45:00 [---] OS: Mac OS X 10.8.0 (Darwin 12.0.0)
25-Jul-2012 19:45:00 [---] Memory: 4.00 GB physical, 262.79 GB virtual
25-Jul-2012 19:45:00 [---] Disk: 297.29 GB total, 262.55 GB free
25-Jul-2012 19:45:00 [---] Local time is UTC +2 hours
25-Jul-2012 19:45:00 [---] OpenCL: NVIDIA GPU 0: GeForce 9600M GT (driver version CLH 1.0, device version OpenCL 1.0, 256MB, 256MB available)
25-Jul-2012 19:45:00 [---] OpenCL: NVIDIA GPU 1: GeForce 9400M (driver version CLH 1.0, device version OpenCL 1.0, 256MB, 256MB available)
25-Jul-2012 19:45:00 [---] App version needs CUDA but GPU doesn't support it
25-Jul-2012 19:45:00 [Collatz Conjecture] Application uses missing NVIDIA GPU
25-Jul-2012 19:45:00 [---] App version needs CUDA but GPU doesn't support it
25-Jul-2012 19:45:00 [Collatz Conjecture] Application uses missing NVIDIA GPU
25-Jul-2012 19:45:00 [---] App version needs CUDA but GPU doesn't support it
25-Jul-2012 19:45:00 [PrimeGrid] Application uses missing NVIDIA GPU
25-Jul-2012 19:45:00 [---] App version needs CUDA but GPU doesn't support it



After OS update and CUDA 5


25-Jul-2012 20:18:33 [---] No config file found - using defaults
25-Jul-2012 20:18:34 [---] Starting BOINC client version 7.0.31 for x86_64-apple-darwin
25-Jul-2012 20:18:34 [---] log flags: file_xfer, sched_ops, task
25-Jul-2012 20:18:34 [---] Libraries: libcurl/7.26.0 OpenSSL/0.9.7l zlib/1.2.5 c-ares/1.9.1
25-Jul-2012 20:18:34 [---] Data directory: /Library/Application Support/BOINC Data
25-Jul-2012 20:18:34 [---] Processor: 2 GenuineIntel Intel(R) Core(TM)2 Duo CPU P8800 @ 2.66GHz [x86 Family 6 Model 23 Stepping 10]
25-Jul-2012 20:18:34 [---] Processor features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 XSAVE
25-Jul-2012 20:18:34 [---] OS: Mac OS X 10.8.0 (Darwin 12.0.0)
25-Jul-2012 20:18:34 [---] Memory: 4.00 GB physical, 262.55 GB virtual
25-Jul-2012 20:18:34 [---] Disk: 297.29 GB total, 262.30 GB free
25-Jul-2012 20:18:34 [---] Local time is UTC +2 hours
25-Jul-2012 20:18:34 [---] NVIDIA GPU 0 (not used): GeForce 9600M GT (driver version 5.0.17, CUDA version 5.0, compute capability 1.1, 256MB, 143MB available, 120 GFLOPS peak)
25-Jul-2012 20:18:34 [---] NVIDIA GPU 1: GeForce 9400M (driver version 5.0.17, CUDA version 5.0, compute capability 1.1, 254MB, 230MB available, 53 GFLOPS peak)
25-Jul-2012 20:18:34 [---] OpenCL: NVIDIA GPU 0 (not used): GeForce 9600M GT (driver version CLH 1.0, device version OpenCL 1.0, 256MB, 143MB available)
25-Jul-2012 20:18:34 [---] OpenCL: NVIDIA GPU 1: GeForce 9400M (driver version CLH 1.0, device version OpenCL 1.0, 256MB, 230MB available)



After cc_config

26-Jul-2012 19:10:37 [---] Starting BOINC client version 7.0.31 for x86_64-apple-darwin
26-Jul-2012 19:10:37 [---] log flags: file_xfer, sched_ops, task
26-Jul-2012 19:10:37 [---] Libraries: libcurl/7.26.0 OpenSSL/0.9.7l zlib/1.2.5 c-ares/1.9.1
26-Jul-2012 19:10:37 [---] Data directory: /Library/Application Support/BOINC Data
26-Jul-2012 19:10:37 [---] Processor: 2 GenuineIntel Intel(R) Core(TM)2 Duo CPU P8800 @ 2.66GHz [x86 Family 6 Model 23 Stepping 10]
26-Jul-2012 19:10:37 [---] Processor features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 XSAVE
26-Jul-2012 19:10:37 [---] OS: Mac OS X 10.8.0 (Darwin 12.0.0)
26-Jul-2012 19:10:37 [---] Memory: 4.00 GB physical, 262.24 GB virtual
26-Jul-2012 19:10:37 [---] Disk: 297.29 GB total, 262.00 GB free
26-Jul-2012 19:10:37 [---] Local time is UTC +2 hours
26-Jul-2012 19:10:37 [---] NVIDIA GPU 0: GeForce 9600M GT (driver version 5.0.17, CUDA version 5.0, compute capability 1.1, 256MB, 34MB available, 120 GFLOPS peak)
26-Jul-2012 19:10:37 [---] NVIDIA GPU 1: GeForce 9400M (driver version 5.0.17, CUDA version 5.0, compute capability 1.1, 254MB, 230MB available, 53 GFLOPS peak)
26-Jul-2012 19:10:37 [---] OpenCL: NVIDIA GPU 0: GeForce 9600M GT (driver version CLH 1.0, device version OpenCL 1.0, 256MB, 34MB available)
26-Jul-2012 19:10:37 [---] OpenCL: NVIDIA GPU 1: GeForce 9400M (driver version CLH 1.0, device version OpenCL 1.0, 256MB, 230MB available)
26-Jul-2012 19:10:37 [---] Config: use all coprocessors
ID: 45079 · Report as offensive

Message boards : GPUs : CUDA 5 on OS X 10.8 - only one GPU

Copyright © 2024 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.