GPU not found at boot time problem

Christian Beer djangofett at gmx.net
Wed Mar 13 16:25:02 UTC 2013


Hi,

could you please try if fglrxinfo is available on your system? If so you
could edit your boinc-client init script(/etc/init.d/boinc-client) and
add the following lines right after the start() { lines (it's at 91 for
me). Change the path to this file to something you can access. I hope we
can at least find out how long it takes for the display driver to be
detectable by boinc (if at all we can find out).

echo "\nstart\n" > /home/user/boinc-fglrx.log
sleep 5
fglrxinfo >> /home/user/boinc-fglrx.log
echo "\n5sec passed\n" >> /home/user/boinc-fglrx.log
sleep 5
fglrxinfo >> /home/user/boinc-fglrx.log
echo "\n10sec passed\n" >> /home/user/boinc-fglrx.log
sleep 5
fglrxinfo >> /home/user/boinc-fglrx.log
echo "\n15sec passed\n" >> /home/user/boinc-fglrx.log
sleep 5
fglrxinfo >> /home/user/boinc-fglrx.log
echo "\n20sec passed\n" >> /home/user/boinc-fglrx.log
sleep 5
fglrxinfo >> /home/user/boinc-fglrx.log
echo "\n25sec passed\n" >> /home/user/boinc-fglrx.log
sleep 5
fglrxinfo >> /home/user/boinc-fglrx.log
echo "\n30sec passed\n" >> /home/user/boinc-fglrx.log

The LSBInit seems to be ok as the required-start is set to all already.
I hope that fglrxinfo will tell us if the GPU is not there (yet).

Just save and reboot, maybe power down completely and boot again and
send me the log it produced.

Regards
Christian

Am 11.03.2013 04:21, schrieb MestreLion:
> At 10:01 10/03/2013, Christian Beer wrote:
>> Hi,
>>
>> I think this bug (1140597) is really a timing issue at boot time. As
>> this seems to only affect ATI/AMD hardware I think that the drivers
>> for these cards either get loaded after boinc or they take too long
>> to load so they are not present when boinc tries to detect GPUs.
>>
>> My first try to see if this is correct would be to insert a time
>> delay in the boinc init script and see if this helps. If boinc can
>> successfully find the GPU after the delay we need to find the script
>> that is loading the driver and instruct the boinc init script to load
>> after this.
>>
>> If MestreLion would be so kind to try this out it would be great. You
>> just need to make some local changes to your init script and restart
>> your machine. If this is okay for you I will send you a line to add
>> to your init script.
>
> Sure, would be glad to help. This is my personal machine, so no
> problem doing tests and booting it as many times as required. Just
> give me directions and how to post results. You also mentioned
> bootchart... I've used it before to generate some boot PNGs (they are
> cute!) and I can install it here too, but I admit I've never took the
> time to learn how to interpret its results. But I can post them if
> that is useful for you.
>
> And, for the reference, my system is:
> Ubuntu 12.04 64 bits, fully updated including precise-updates repo
> Vanilla kernel and init scripts, never messed with them.
> Asus M4A89GTD Pro/USB3
> AMD Phenom II x4 955
> Saphire Radeon HD 7770 1GB
>
>
>
>
>> @Gianfranco: does the boinc Ubuntu package use the same init script
>> as the Debian package? I only have a working Debian installation.
>>
>> Regards
>> Christian
>>
>> Am 10.03.2013 12:02, schrieb Gianfranco Costamagna:
>>>
>>> Hi MestreLion, I think this is the right place to discuss to.
>>>
>>> Unfortunately you script has a bad behaviour for people that DON'T
>>> have an usable GPU...
>>>
>>> I don't like to restart boinc to everybody just because the might
>>> suffer from bug #1140597
>>>
>>> What do you think about?
>>>
>>> My opinion is that there should a way for giving the right order to
>>> init scripts, but I don't know at the moment how to change the
>>> script right now...
>>>
>>> Gianfranco
>>>
>>>
>>> *From: *MestreLion <launchpad at rodrigosilva.com>
>>> <mailto:launchpad at rodrigosilva.com>;
>>> *To: *<pkg-boinc-devel at lists.alioth.debian.org>
>>> <mailto:pkg-boinc-devel at lists.alioth.debian.org>;
>>> *Subject: *[Bug 1140597] Re: "New version is available" notification
>>> should be disabled
>>> *Sent: *Sun, Mar 10, 2013 12:05:22 AM
>>>
>>> Whatever mailing list you guys use to continue this discussion, sign me
>>> in! :)
>>>
>>> My C++ skills are a bit rusty, but I may be able to help, if not in
>>> programming, at least in discussing strategies, approaches and
>>> packaging.
>>>
>>> Also, I've created a script (wrapper for boincmgr) as a workaround for
>>> some of the annoying boinc bugs: not detecting a GPU at boot and not re-
>>> starting boinc client after shutting its tasks, so maybe it will be
>>> useful for you guys: https://github.com/MestreLion/scripts/blob/master
>>> /boinc-manager
>>>
>>> -- 
>>> You received this bug notification because you are a member of Debian
>>> BOINC Maintainers, which is subscribed to boinc in Ubuntu.
>>> https://bugs.launchpad.net/bugs/1140597
>>>
>>> Title:
>>>   "New version is available" notification should be disabled
>>>
>>> To manage notifications about this bug go to:
>>> https://bugs.launchpad.net/ubuntu/+source/boinc/+bug/1140597/+subscriptions
>>>
>>>
>>> -- 
>>> pkg-boinc-devel mailing list
>>> pkg-boinc-devel at lists.alioth.debian.org
>>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-boinc-devel
>>>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-boinc-devel/attachments/20130313/e5fe5d8a/attachment.html>


More information about the pkg-boinc-devel mailing list