<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
<BR>
<B>WARNING:</B> The following contains some OPINIONS.<BR>
<BR>
Mike,<BR>
<BR>
I am fairly certain I'd posted the <BR>
<BR>
<I>cd /etc/rc2.d</I><BR>
<I>sudo mv -v S20boinc-client S32boinc-client</I><BR>
<BR>
issue here a couple months ago but at the time there were concerns about bringing GPU support into the mainstream Debian/Ubuntu boinc support due to the proprietary drivers / libs involved.<BR>
I don't know where that stands today. <BR>
<BR>
However this change of S20 to S32 does seem to resolve the startup problem in Ubuntu/Xubuntu about <I>96% of the time</I>.&nbsp; Occasionally, for reasons unknown, boinc-client still gets started before the xorg.conf has finished processing/glx fully loaded and you'll get the &quot;<I>GPU missing</I>&quot; status on the WU.&nbsp; A restart will resolve <BR>
<B>or </B><BR>
inserting a &quot;sleep 2&quot; into the start() function will also resolve.&nbsp; I'm sure there's a better way but not one my limited knowledge of Linux/Ubuntu/Bash/RunLevels can conjure up today.&nbsp; I'd really like some feedback from this list on a better way to delay the client starting just a wee bit longer than just the S20 to S32 change.&nbsp; Maybe something to test if the glx module is loaded and awake?&nbsp; Or another runlevel?<BR>
<BR>
Example of inserted &quot;sleep&quot; along with a nvclock command (this particular card requires forcing auto fan control on to not overheat) inserted into /etc/init.d/boinc-client:<BR>
<BR>
start()<BR>
{<BR>
&nbsp; log_begin_msg &quot;Starting $DESC: $NAME&quot;<BR>
&nbsp; if is_running; then<BR>
&nbsp;&nbsp;&nbsp; log_progress_msg &quot;already running&quot;<BR>
&nbsp; else<BR>
<B>&nbsp;&nbsp;&nbsp; nvclock -F auto -f</B><BR>
<B>&nbsp;&nbsp;&nbsp; sleep 1</B><BR>
&nbsp;&nbsp;&nbsp; start-stop-daemon --start --quiet --background --pidfile $PIDFILE \<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --make-pidfile --user $BOINC_USER --chuid $BOINC_USER \<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --chdir $BOINC_DIR --exec $BOINC_CLIENT -- $BOINC_OPTS<BR>
<BR>
Also the user &quot;boinc&quot; in video group thing does not seem to occur in my Ubuntu (&amp; Xubuntu) environments.&nbsp; I suspect this to be something with the Berkeley install.<BR>
<BR>
My 'method' of upgrading has been to install from the Deb/Ubuntu repositories when adding a vid card to a machine (<B>both the 18x.xx driver and boinc</B>) and then:<BR>
1) Run the Nvidia script from /home/<I>user&nbsp;</I> (telling it to NOT update xorg.conf if it's an upgrade of driver) with <I>sudo sh NVIDIA</I>[TAB]<BR>
2) Run the Berkely scripts from /home/<I>user</I> which will create /home/<I>user</I>/BOINC (<I>sudo sh boinc_</I>[TAB])<BR>
3) cd to the /home/<I>user</I>/BOINC directory and sudo mv -v boinc /usr/bin/ (repeat for boincmgr and boinccmd)<BR>
4) Move libcudart if first time or only if it actually changed from prior driver version (not so often)<BR>
5) Make sure /usr/bin/boinc*&nbsp; are owned by root and executable.&nbsp; Adjust as needed with chown root: and chmod a+x<BR>
6) Clean-up from /home/<I>user</I> with <I>sudo rm -Rv BOINC</I> and <I>sudo rm -v boinc_</I>[TAB]<BR>
<BR>
This will get ya the latest greatest nvidia drivers (190.42) + whatever version of boinc ya want (6.10.17 right now) and still allow usage of all the (much preferred by me) Debian/Ubuntu scripts and naming.<BR>
Retains full functionality of /etc/init.d/boinc-client restart|status|stop|start unlike the Berkeley scripts.<BR>
Does not require any mucking about with &quot;boinc&quot; in the video group.<BR>
<BR>
Skip<BR>
<BR>
</TD>
</TR>
</TABLE>
<BR>
On Wed, 2009-11-25 at 12:05 +0000, pkg-boinc-devel-request@lists.alioth.debian.org wrote:<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>

----------------------------------------------------------------------

Message: 1
Date: Tue, 24 Nov 2009 23:43:27 +0200
From: Mika Rastas &lt;<A HREF="mailto:mika.rastas@gmail.com">mika.rastas@gmail.com</A>&gt;
Subject: Bug#557871: [boinc-client] Isn't able to use suitable Nvidia
        GPU for        calculations
To: <A HREF="mailto:submit@bugs.debian.org">submit@bugs.debian.org</A>
Message-ID: &lt;<A HREF="mailto:1259099007.10177.16.camel@BirdFarm.Kotiverkko">1259099007.10177.16.camel@BirdFarm.Kotiverkko</A>&gt;
Content-Type: text/plain; charset=&quot;utf-8&quot;

Package: boinc-client
Version: 6.10.17+dfsg-1
Severity: normal

--- Please enter the report below this line. ---

I started working on using the GPU for boinc projects and found out that
it didn't work. After some searching I found out that it is because the
client is getting loaded too early. Client only checks for suitable GPUs
when it starts. Then I tried to restart it and found out that the user
boinc needs to be in group video atleast for nvidia cuda to work.

This thread speaks of the same problem.
<A HREF="http://www.gpugrid.net/forum_thread.php?id=1384&amp;nowrap=true#12852">http://www.gpugrid.net/forum_thread.php?id=1384&amp;nowrap=true#12852</A>

Now it crunches numbers just nicely as I've changed the startup scripts
links to S32boinc-client ordering them later than the nvidia driver.


--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.31-1-amd64

Debian Release: squeeze/sid
  500 unstable        http.us.debian.org 
  500 unstable        <A HREF="ftp://ftp.sunet.se">ftp.sunet.se</A> 
  500 unstable        <A HREF="ftp://ftp.funet.fi">ftp.funet.fi</A> 
  500 unstable        <A HREF="ftp://ftp.fi.debian.org">ftp.fi.debian.org</A> 
  500 testing         http.us.debian.org 
  500 testing         <A HREF="ftp://ftp.fi.debian.org">ftp.fi.debian.org</A> 

--- Package information. ---
Depends                 (Version) | Installed
=================================-+-==============
libc6                  (&gt;= 2.2.5) | 2.10.2-1
libcurl3            (&gt;= 7.16.2-1) | 7.19.7-1
libgcc1              (&gt;= 1:4.1.1) | 1:4.4.2-3
libssl0.9.8         (&gt;= 0.9.8f-5) | 0.9.8k-6
libstdc++6             (&gt;= 4.1.1) | 4.4.2-3
zlib1g               (&gt;= 1:1.1.4) | 1:1.2.3.3.dfsg-15
debconf                 (&gt;= 0.5)  | 1.5.28
 OR debconf-2.0                   | 
python                   (&gt;= 2.3) | 2.5.4-2
adduser                           | 3.111
lsb-base               (&gt;= 3.0-6) | 3.2-23
ca-certificates                   | 20090814


Recommends      (Version) | Installed
=========================-+-===========
schedtool                 | 1.3.0-1


Suggests            (Version) | Installed
=============================-+-===========
boinc-app-seti                | 
boinc-manager                 | 6.10.17+dfsg-1
 OR kboincspy                 | 



--- Output from package bug script ---
-- Contents of /etc/default/boinc-client:
# This file is /etc/default/boinc-client, it is a configuration file for the
# /etc/init.d/boinc-client init script.

# Set this to 1 to enable and to 0 to disable the init script.
ENABLED=&quot;1&quot;

# Set this to 1 to enable advanced scheduling of the BOINC core client and
# all its sub-processes (reduces the impact of BOINC on the system's
# performance).
SCHEDULE=&quot;1&quot;

# The BOINC core client will be started with the permissions of this user.
BOINC_USER=&quot;boinc&quot;

# This is the data directory of the BOINC core client.
BOINC_DIR=&quot;/var/lib/boinc-client&quot;

# This is the location of the BOINC core client, that the init script uses.
# If you do not want to use the client program provided by the boinc-client
# package, you can specify here an alternative client program.
#BOINC_CLIENT=&quot;/usr/local/bin/boinc&quot;
BOINC_CLIENT=&quot;/usr/bin/boinc&quot;

# Here you can specify additional options to pass to the BOINC core client.
# Type 'boinc --help' or 'man boinc' for a full summary of allowed options.
#BOINC_OPTS=&quot;--allow_remote_gui_rpc&quot;
BOINC_OPTS=&quot;&quot;

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digitaalisesti allekirjoitettu viestin osa
URL: &lt;<A HREF="http://lists.alioth.debian.org/pipermail/pkg-boinc-devel/attachments/20091124/ea22b557/attachment-0001.pgp">http://lists.alioth.debian.org/pipermail/pkg-boinc-devel/attachments/20091124/ea22b557/attachment-0001.pgp</A>&gt;

------------------------------

Message: 2
Date: Wed, 25 Nov 2009 04:08:04 +0300
From: Aristarch Alekseevich &lt;<A HREF="mailto:aristarchalekseevich@l3377l.com">aristarchalekseevich@l3377l.com</A>&gt;
Subject: ??o ?a?o? ?????a, ???? ??? ?? ???? ???
To: Pkg &lt;<A HREF="mailto:pkg-boinc-devel@lists.alioth.debian.org">pkg-boinc-devel@lists.alioth.debian.org</A>&gt;
Message-ID: &lt;<A HREF="mailto:8471310832.20091125040804@l3377l.com">8471310832.20091125040804@l3377l.com</A>&gt;
Content-Type: text/plain; charset=&quot;us-ascii&quot;

An HTML attachment was scrubbed...
URL: &lt;<A HREF="http://lists.alioth.debian.org/pipermail/pkg-boinc-devel/attachments/20091125/69b392e6/attachment-0001.htm">http://lists.alioth.debian.org/pipermail/pkg-boinc-devel/attachments/20091125/69b392e6/attachment-0001.htm</A>&gt;

------------------------------

_______________________________________________
pkg-boinc-devel mailing list
<A HREF="mailto:pkg-boinc-devel@lists.alioth.debian.org">pkg-boinc-devel@lists.alioth.debian.org</A>
<A HREF="http://lists.alioth.debian.org/mailman/listinfo/pkg-boinc-devel">http://lists.alioth.debian.org/mailman/listinfo/pkg-boinc-devel</A>

End of pkg-boinc-devel Digest, Vol 53, Issue 21
***********************************************
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>