OS X GPU Calculations While Running as Daemon

Message boards : BOINC client : OS X GPU Calculations While Running as Daemon
Message board moderation

To post messages, you must log in.

AuthorMessage
HughBrier

Send message
Joined: 22 Feb 12
Posts: 3
United States
Message 42689 - Posted: 22 Feb 2012, 22:40:10 UTC

I have a group of computers running Snow Leopard and BOINC as a daemon per the instructions here:
http://boinc.berkeley.edu/wiki/Tools_for_Mac_OS_X#Running_BOINC_as_a_daemon_or_system_service

I noticed on the page that it says, "The BOINC Client may not successfully detect the presence of a GPU, so BOINC Project applications may not be able to use the GPU."

Is there a solution to this problem?

Currently, only one or two of computers has the GPU recognized although the CUDA drivers are installed on all of them.
ID: 42689 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 42697 - Posted: 23 Feb 2012, 9:30:50 UTC - in response to Message 42689.  

When using BOINC as a daemon, you've sandboxed BOINC, meaning it runs in its own separate little bit of space. It can't look in other directories than the program and data directory for additional programs or drivers. And there's the problem when you want to do work on a GPU. For that BOINC needs to be able to see which videocard drivers you have installed as it checks in a certain file in the drivers whether or not the GPU is capable to work with.

So on the system that does work, you either haven't installed BOINC as a daemon, or you have copied some files around so (parts of) the driver files are in the BOINC programs directory, or you used symlinks to those drivers.
ID: 42697 · Report as offensive
HughBrier

Send message
Joined: 22 Feb 12
Posts: 3
United States
Message 42704 - Posted: 23 Feb 2012, 14:56:06 UTC

Thank you for your response.

Are you sure it does not deal with the loading of X? Perhaps BOINC loading before X could cause the GPU not to be detected?

That would explain why it sometimes does not successfully detect a GPU.
ID: 42704 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 42710 - Posted: 23 Feb 2012, 17:25:01 UTC - in response to Message 42704.  

I have read that on Linux versions X needs to be loaded before BOINC loads, in order to be able to detect the GPU. But that's also only when not sandboxed, thus not installed as a daemon, or else you needing to copy drivers around or symlinking to them.

See http://boinc.berkeley.edu/sandbox.php for a lot of (developer) information.
ID: 42710 · Report as offensive
HughBrier

Send message
Joined: 22 Feb 12
Posts: 3
United States
Message 42741 - Posted: 25 Feb 2012, 18:55:52 UTC

I think I may have identified the problem. Currently the computers have Nvidia GeForce 9400s, and I have only installed BOINC and the Nvidia CUDA Driver for MAC 4.1.29 found here:
http://www.nvidia.com/object/mac-driver-archive.html

That driver does not seem to support the 9400 besides the mobile version according to the supported products tab.

Perhaps I need to install the CUDA Toolkit and/or the CUDA Development Driver which claims to support a wider platform of video cards?
ID: 42741 · Report as offensive
Metod, S56RKO

Send message
Joined: 9 Sep 05
Posts: 128
Slovenia
Message 42822 - Posted: 2 Mar 2012, 13:21:16 UTC - in response to Message 42710.  

I have read that on Linux versions X needs to be loaded before BOINC loads, in order to be able to detect the GPU.

Not really, only the kernel driver needs to be loaded. Indeed this part gets done when X server starts. One can, however, load this driver by hand.

A gotcha: this is true for NVIDIA. I have yet to discover a way of doing it with ATI/AMD drivers.
Metod ...
ID: 42822 · Report as offensive

Message boards : BOINC client : OS X GPU Calculations While Running as Daemon

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.