| Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
| World Community Grid Forums
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 20
|
|
| Author |
|
|
jay_Orlando
Senior Cruncher USA Joined: Jan 4, 2006 Post Count: 189 Status: Offline Project Badges:
|
Kate,
----------------------------------------THANK YOU!!! I did the restart with sudo /etc/init.d/boinc-client restart YAY!! Captain Jack, Greetings!! I am installing Raring as we speak. On debian I had upped the sleep to 33 seconds. Sigh, alas, I still had to do restart. I did a git-clone and got the code - looked where the the message of no-usable GPU was coming from. The message was from where the code checked to see if OpenCL.so existed. I did not have time to chase down all of the include files to see where the path was set. I was probably chasing a snark :-) Anyway that test would have nothing to do with a delay of loading the driver. Tests afte that one ( it was the first of a few) *did* test for available memory and such. Am I confused? You bet! Will I be happy as a clam doing a restart after boot? YES! Kate, Jack Thanks again ..and I *am* impressed with all of the time both of you have donated to the projects!! Wow! Jay ![]() |
||
|
|
kateiacy
Veteran Cruncher USA Joined: Jan 23, 2010 Post Count: 1027 Status: Offline Project Badges:
|
Jay, so glad you got it working!
----------------------------------------![]() ![]() |
||
|
|
captainjack
Advanced Cruncher Joined: Apr 14, 2008 Post Count: 147 Status: Offline Project Badges:
|
Sleep 6 works for me
1) Installed a fresh copy of the raring daily build for today 2) Installed the "AMD graphics accelerators from fglrx (proprietary)" 3) Installed BOINC from the Ubuntu software center (version 7.0.27) 4) Edited /etc/init.d/boinc-client and inserted "sleep 6" at the following location start() { log_begin_msg "Starting $DESC: $NAME" if is_running; then log_progress_msg "already running" else if [ -n "$DISPLAY" -a -x /usr/bin/xhost ]; then # grant the boinc client to perform GPU computing xhost local:boinc || echo -n "xhost error ignored, GPU computing may not be possible" fi sleep 6 if [ -n "$VALGRIND_OPTIONS" ]; then start-stop-daemon --start --quiet --background --pidfile $PIDFILE \ --make-pidfile --user $BOINC_USER --chuid $BOINC_USER \ --chdir $BOINC_DIR --exec /usr/bin/valgrind -- $VALGRIND_OPTIONS $BOINC_CLIENT $BOINC_OPTS else start-stop-daemon --start --quiet --background --pidfile $PIDFILE \ --make-pidfile --user $BOINC_USER --chuid $BOINC_USER \ --chdir $BOINC_DIR --exec $BOINC_CLIENT -- $BOINC_OPTS fi Note that the boinc-client script looks very different from the old example that I cited above. 5) Reboot 6) Waited until boinc was running (as verified using system monitor) 7) Started up BOINC Manager and verified that GPU was recognized 8) Attached to WCG and started processing Just turned in the first completed GPU job. |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Have added this workaround to the Start Here FAQ index.
Thx |
||
|
|
kateiacy
Veteran Cruncher USA Joined: Jan 23, 2010 Post Count: 1027 Status: Offline Project Badges:
|
Thanks, captainjack.
----------------------------------------I just checked the boinc-client script that came with BOINC 7.0.58 from the LocutusOfBorg repository, and a "sleep 5" was there without my doing any editing: start() { log_begin_msg "Starting $DESC: $NAME" if is_running; then log_progress_msg "already running" else # workaround for ubuntu bug #933354 log_progress_msg "sleeping a little bit in order to let graphics start" sleep 5 if [ -n "$DISPLAY" -a -x /usr/bin/xhost ]; then # grant the boinc client to perform GPU computing xhost local:boinc || echo -n "xhost error ignored, GPU computing may not be possible" fi Now just to see whether I can reboot and have the GPU be recognized automatically. I hadn't previously tried with this version. By the way, the part below is something that Skip Da Shu (at the link I posted a few messages ago) had come up with, and recommended to the BOINC developers. Nice that they are now including it. if [ -n "$DISPLAY" -a -x /usr/bin/xhost ]; then # grant the boinc client to perform GPU computing xhost local:boinc || echo -n "xhost error ignored, GPU computing may not be possible" fi ![]() |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
So thought of applying a sleep 120 seconds to handle a clock setback issue on Linux, and see to my surprise that the Locutus build already has a sleep in it with annotation:
----------------------------------------if is_running; then Changed it to 120 seconds and boot next to see if this overcomes the computing freeze of 1 hour that my Linux Raring system incurs on each boot. Edit: The change worked and lowered it to 90 seconds... no logging of the darned clock adjustment line that froze computing for 1 hour, sample below. 23-Mar-2013 18:32:46 [---] System clock was turned backwards; clearing timeouts. Might even lower it to 60 seconds, since this install from the USB 3.0 stick boots fully in 17 seconds... Unity Launchbar responsive. ![]() [Edit 1 times, last edit by Former Member at Mar 23, 2013 7:52:52 PM] |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Need to type faster...kateiacy discovered same :D
|
||
|
|
kateiacy
Veteran Cruncher USA Joined: Jan 23, 2010 Post Count: 1027 Status: Offline Project Badges:
|
Unfortunately, despite the sleep in the boinc-client script, BOINC still doesn't recognize my GPU upon reboot unless I restart. This is even with the sleep interval extended to 60 secs. :(
----------------------------------------![]() |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Kate,
Have mentioned your continued tribulation with the sleep 60 value v.v. the recognition of the ATI card to the compiler/maintainer of Locutus. Maybe he comes back with a solution... but he's got his off day today... no trunk updates. He's working toward acceptance by Ubuntu/Canonical, so his builds go straight into main... no need to use Locutus. That certainly would raise the easy install availability on Linux to newer versions, now I think stuck on 7.0.27. I'm happy with 7.0.58... it does what it needs to do without issue, happily steering 1 CEP2 job to the front [CEP2 hit nearly 20 years last night, when this was in fact a low weekend day... members starting to discover app_config.xml benefits slowly but steadily is my guess] cheers |
||
|
|
jay_Orlando
Senior Cruncher USA Joined: Jan 4, 2006 Post Count: 189 Status: Offline Project Badges:
|
Thanks, Rob, Kate, Jack,I would have been stuck for a long, while. Thanks for getting a fix into the build. Jay ![]() |
||
|
|
|