Posts by SuperSluether

1) Message boards : Questions and problems : BOINC always "Suspended - computer is in use", when not in use (Message 98495)
Posted 14 May 2020 by SuperSluether
Post:
After manually downgrading both the boinc-client and libboinc7 package to 7.16.3, BOINC was able to properly detect when the computer was and was not in use on Ubuntu 20.04. Due to dependency issues, you will also need to downgrade the boinc-manager package and the boinc metapackage, if installed, otherwise apt will complain. Here's what I did on Ubuntu 20.04 LTS:



I don't know if this will work on Ubuntu derivatives such as Kubuntu or Lubuntu. If this problem is fixed in a future version of BOINC, you can unhold the packages with

sudo apt-mark unhold boinc boinc-client boinc-manager libboinc7
and the updates will install as normal.
2) Message boards : Questions and problems : BOINC always "Suspended - computer is in use", when not in use (Message 98483)
Posted 14 May 2020 by SuperSluether
Post:
What values do you have set for the various When to suspend options in Computing preferences ?


Suspend when computer is on battery is checked.
Suspend when computer is in use is checked.
Suspend GPU computing when computer is in use is checked, but grayed out because of the above setting.
'In use' means mouse/keyboard input in last 2 minutes
Suspend when non-BOINC CPU usage is above 25% is checked.

When I unplug the laptop, the event log doesn't display any new message, but the status for tasks changes from "Suspended - computer is in use" to "Suspended - on batteries".


This problem still occurs when I turn off the touchpad, and when I connect a USB keyboard.
3) Message boards : Questions and problems : BOINC always "Suspended - computer is in use", when not in use (Message 98448)
Posted 12 May 2020 by SuperSluether
Post:
I started having this same issue after upgrading my laptop from Ubuntu 19.10 to 20.04 LTS. This upgraded BOINC from 7.16.3 to 7.16.6. It was working properly in the previous version, and I did not change any physical hardware.

This is on an HP Pavilion gaming laptop, CX0058WM to be specific. The only external hardware connected to the laptop is the charger and a USB-powered cooling pad, which only pulls power and is not detected by the laptop at all. XDG_SESSION_TYPE is still x11, so it doesn't seem to be a Wayland issue.

Is there something I can enable in the event log or possibly a system log I should be looking through to see why BOINC thinks the computer is in use?
4) Message boards : Questions and problems : GPU Computation Error when Sleeping [Ubuntu] (Message 73653)
Posted 30 Oct 2016 by SuperSluether
Post:
Thank you both for your help! After putting the script in the systemd folder, everything is working as it should.
5) Message boards : Questions and problems : GPU Computation Error when Sleeping [Ubuntu] (Message 73650)
Posted 30 Oct 2016 by SuperSluether
Post:
Do you get anything in /var/log/pm-suspend.log?

No such file or directory. I suppose I should have mentioned my version. I'm currently running on Ubuntu 16.10, and I've heard that some configs are a little different in systemd.


Need to keep an eye on pm-utils bug

You don't say exactly how you are "sleeping" - can you be specific?

Have you tried sleeping / hibernating via the command line sudo pm-hibernate ?


I've been suspending by clicking the gear icon in the top-right, and selecting "Suspend" just above "Shut Down..."

The script works perfectly if I use "sudo pm-suspend," but my screen isn't locked when it wakes up.

If I let the computer go into sleep by itself, it doesn't run the script.

There is no system-sleep folder in /usr/lib/systemd/.

I'll have to see if tasks error out or not when the computer goes into sleep by itself. I have to wait until tomorrow though, because a bunch of tasks couldn't initialize the GPU after resuming, and I hit a daily task limit.
6) Message boards : Questions and problems : GPU Computation Error when Sleeping [Ubuntu] (Message 73647)
Posted 30 Oct 2016 by SuperSluether
Post:
Do you get anything in /var/log/pm-suspend.log?


No such file or directory. I suppose I should have mentioned my version. I'm currently running on Ubuntu 16.10, and I've heard that some configs are a little different in systemd.
7) Message boards : Questions and problems : GPU Computation Error when Sleeping [Ubuntu] (Message 73645)
Posted 30 Oct 2016 by SuperSluether
Post:
The BOINC client must run to allow boincmd to do the commands to it. So make sure you run BOINC (boinc-client).

But why not use the Compute only between N and N preferences you can set through the web site global computing preferences? That way you can tell BOINC to end calculations gracefully minutes before your sleep kicks in.

Or are you saying that you put your computer to sleep before you leave the system? Perhaps that you then take the couple of seconds to set BOINC to suspend as well, or automate the sleep function and use the preferences of run only between... You can even add the Suspend when no mouse/keyboard input in last N minutes preference and and have the sleep function check for system idleness before going to sleep.


I have BOINC set up to only run when the system is idle. I wanted to save some power by letting the computer go into sleep mode after an hour or 2. Since GPU tasks error out after resuming from sleep mode, I was trying to resolve this.

The "Suspend when no mouse/keyboard input in last N minutes" sounds like it would work, but I think a better solution for me might be to use "Compute only between N and N" and set up an automatic shutdown at night.

Silly me, trying to save power and run CPU/GPU intensive applications at the same time... :)
8) Message boards : Questions and problems : GPU Computation Error when Sleeping [Ubuntu] (Message 73643)
Posted 30 Oct 2016 by SuperSluether
Post:
Is there a way to keep this from happening, or to somehow signal BOINC to suspend GPU work just before Ubuntu enters sleep mode?

See askubuntu.com for details.

I would add a 20_boinc script with hibernate and suspend entries

boinccmd --set_gpu_mode never 

and for thaw, resume

boinccmd --set_gpu_mode auto 


You might need to add a small delay for boinc the actually shut down the GPU tasks, a few seconds at most.
hth


This seems like the perfect solution, but the commands simply won't run. I've even tried to echo text into a file with the script, but it never runs. The file is owned by root, and has the same permissions as every other file in the folder, and I checked the syntax. What am I doing wrong?
9) Message boards : Questions and problems : GPU Computation Error when Sleeping [Ubuntu] (Message 73633)
Posted 30 Oct 2016 by SuperSluether
Post:
Whenever there is a task running on the GPU, and I suspend Ubuntu (sleep mode), the task always errors out upon waking up. The log says that the output file is absent, and the task is marked as computation error. If I suspend GPU work in the BOINC client before Ubuntu enters sleep mode, the task starts up again just fine when Ubuntu wakes up.

Is there a way to keep this from happening, or to somehow signal BOINC to suspend GPU work just before Ubuntu enters sleep mode?
10) Message boards : Questions and problems : Not Detecting User Activity on Ubuntu (Still) (Message 66500)
Posted 29 Dec 2015 by SuperSluether
Post:
We are now on client version 7.6.6 and Ubuntu version 15.10, and BOINC still cannot detect user activity. No matter what my settings, BOINC will start running, and will not stop when I use my computer until I manually snooze computation. Will this ever be fixed? Is it even on the to-do list anymore? Or is my installation somehow broken?
11) Message boards : Questions and problems : Update BOINC (Message 57731)
Posted 16 Nov 2014 by SuperSluether
Post:
I just realized that V7.4.27 of BOINC was released and I am still runing V7.4.42. First of all, why does it look like the newest version has an older version number? Second, is there a way to update in the manager, or do I have to reinstall? Third, should BOINC be kept up-to-date, or is it ok to run older versions? Thx.
12) Message boards : Questions and problems : Security with BOINC (Message 57730)
Posted 16 Nov 2014 by SuperSluether
Post:
There is NO guarantee that BOINC will not compromise security. When you use it, you are allowing other people to send and run files on your computer, whether good or bad. You just have to trust that the project won't send you viruses (by checking out their rep on message boards, etc.) and hope that any viruses you do find are caught by antivirus programs.[/i]
13) Message boards : Questions and problems : CPU load only 2% (Message 57579)
Posted 11 Nov 2014 by SuperSluether
Post:
Not to be mean, but doesn't the name "GPUgrid" give a hint? Most of the tasks from this project run on the GPU. The 2% you're seeing on the CPU is because the processor still has to be the monkey in the middle for the GPU and BOINC data.
14) Message boards : The Lounge : The Seti is Slumbering Cafe (Message 57216)
Posted 30 Oct 2014 by SuperSluether
Post:
Woohoo!! Sometimes silence is good:) Give those poor servers some rest and reboots and stuff:)


Yeah, that way we can give them hell (so to speak) when they come back online.
15) Message boards : Questions and problems : Suggestion for slight change to BOINC (Message 57210)
Posted 29 Oct 2014 by SuperSluether
Post:
So, pound sand.

Problem fixed by uninstalling BOINC.


Wow, rage much? What's the big deal? All those few minutes are gonna do is give your computer a sort of cooldown, which won't matter because BOINC will just heat it up again.
16) Message boards : Questions and problems : Bad Tasks Corrupting Projects? (Message 57209)
Posted 29 Oct 2014 by SuperSluether
Post:
BOINC may have been writing client_state.xml or account*.xml files when the computer locked up. That may have corrupted the files. Or, without knowing what files you moved, you may have caused the problems yourself. BOINC doesn't like when its files disappear.

The next time you need to control the client without starting it, edit client_state.xml file. Elements that correspond to the Activity menu in Manager are:

<user_run_request>
<user_gpu_request>
<user_network_request>

And the values to use:

1 = always
2 = based on preferences
3 = suspend


Thanks, I didn't know there was a way to do that without opening the manager.
17) Message boards : Questions and problems : Service Deployment Worries (Message 57205)
Posted 29 Oct 2014 by SuperSluether
Post:
With a service install, the BOINC Client is automatcially started whenever the computer is turned on (even without logging in). The BOINC Manager is only used to monitor and manage the client. It should only automatically launch on the first reboot to allow you to attach projects and set preferences. After that, the manager will not open automatically.

On a normal install, the BOINC Client opens and closes with the Manager. Since you're doing a service install, the client can run without the manager.
18) Message boards : Questions and problems : Bad Tasks Corrupting Projects? (Message 57204)
Posted 29 Oct 2014 by SuperSluether
Post:
I found a file called stdoutdae.txt that looks like a saved log from the BOINC Event Log. On the 28th right after a GPUGrid task finished downloading, there's a break in the log. The next part has the normal startup info, but has various errors saying it can't parse files for Collatz Conjecture. This is right around where I moved the project files for MilkyWay and GPUGrid somewhere else so BOINC would not try to start a GPU task. I have a lot of errors saying that files, applications, and workunits are "outside project in state file." I also have "no project URL in task state file" for GPUGrid, Rosetta@home, and climateprediction.net at this point in the file. After the messages about the files, I have a lot of tasks saying they exited with zero status but no "finished" file from rosetta and climateprediction. After that, the log goes back to normal. (This is where I reset the projects that had GPU tasks)

I didn't know Rosetta and CPDN were affected by this issue. I sure hope it doesn't happen again.
19) Message boards : Questions and problems : Bad Tasks Corrupting Projects? (Message 57203)
Posted 29 Oct 2014 by SuperSluether
Post:
Oops, sorry. I guess I should have read through first. Anyway, I didn't think it was a GPU failure because the card isn't even a month old, and all the GPU tasks before and after this issue worked fine.

I run Windows 8.1 with an Nvidia GeForce 760 GPU from EVGA with driver version 344.48. BOINC version is 7.2.42 (x64)

stderrdae.txt says

10-Oct-2014 12:29:09 Another instance of BOINC is running.
GLE: 10-Oct-2014 12:29:09 Another instance of BOINC is running.
GLE: 10-
10-Oct-2014 12:29:10 gstate.init() failed
Error Code: 183
10-Oct-2014 12:29:58 gstate.init() failed
Error Code: 183
10-Oct-2014 12:30:20 gstate.init() failed
Error Code: 183
10-Oct-2014 12:31:49 gstate.init() failed
Error Code: 183
12-Oct-2014 13:47:10 Another instance of BOINC is running.
GLE: 12-Oct-2014 13:47:10 Another instance of BOINC is running.
GLE: 12-
14-Oct-2014 21:44:27 Another instance of BOINC is running.
GLE: 14-Oct-2014 21:44:27 Another instance of BOINC is running.
GLE: 14-
14-Oct-2014 23:38:28 Another instance of BOINC is running.
GLE: 14-Oct-2014 23:38:28 Another instance of BOINC is running.
GLE: 14-
15-Oct-2014 07:57:28 Another instance of BOINC is running.
GLE: 15-Oct-2014 07:57:28 Another instance of BOINC is running.
GLE: 15-
20-Oct-2014 14:10:29 Another instance of BOINC is running.
GLE: 20-Oct-2014 14:10:29 Another instance of BOINC is running.
GLE: 20-
22-Oct-2014 14:25:00 Another instance of BOINC is running.
GLE: 22-Oct-2014 14:25:00 Another instance of BOINC is running.
GLE: 22-
25-Oct-2014 18:28:26 Another instance of BOINC is running.
GLE: 25-Oct-2014 18:28:26 Another instance of BOINC is running.
GLE: 25-
25-Oct-2014 18:34:37 Another instance of BOINC is running.
GLE: 25-Oct-2014 18:34:37 Another instance of BOINC is running.
GLE: 25-
25-Oct-2014 19:35:21 Another instance of BOINC is running.
GLE: 25-Oct-2014 19:35:21 Another instance of BOINC is running.
GLE: 25-
25-Oct-2014 21:07:21 Another instance of BOINC is running.
GLE: 25-Oct-2014 21:07:21 Another instance of BOINC is running.
GLE: 25-
26-Oct-2014 08:18:19 Another instance of BOINC is running.
GLE: 26-Oct-2014 08:18:19 Another instance of BOINC is running.
GLE: 26-

But this problem happened the 28th and the most recent entry is the 26th.

I couldn't find an stderrout.txt, and stderrgui.txt is empty.

All I can find in the Windows Event Viewer are from when I had to manually reboot. Aside from normal bootup information, all I can find is "last shutdown was unexpected" and "the system turned off without properly shutting down first."
20) Message boards : Questions and problems : Bad Tasks Corrupting Projects? (Message 57130)
Posted 28 Oct 2014 by SuperSluether
Post:
I just had a really weird problem. As far as I know, my computer was just about ready to finish up a GPU task for MilkyWay, and after that it was going to switch to a GPU task from GPUGrid. I can't say for certain, but just before (or as) the MilkyWay task completed, my computer locked up. After a hard reboot, the same thing happened as soon as the BOINC manager loaded. After another reboot, I moved the project files before starting the manager so I could suspend GPU activity. When I moved the files back and restarted the client, it didn't recognize the existing tasks for those projects. Even more confusing, the Collatz Conjecture project was also missing after I moved the files back. (Sorry if this explanation is too detailed)

Is it possible that one of the tasks went haywire and corrupted Collatz Conjecture? I looked in the data directory, and the project's folder was completely empty (not even a placeholder). Or do you think this sounds more like a hard drive failure? (I'm using an older drive to store BOINC data and a few other large, not-so-important files)


Next 20

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