Astropulse ATI not stopping on PC use


log in

Advanced search

Questions and Answers : GPU applications : Astropulse ATI not stopping on PC use

1 · 2 · 3 · Next
Author Message
Profile Squish
Volunteer tester
Send message
Joined: 20 Jun 01
Posts: 18
Credit: 4,056,819
RAC: 7,191
New Zealand
Message 1365551 - Posted: 7 May 2013, 22:34:06 UTC

I setup a new machine with an AMD 7870 graphics card about 2 months ago and have been running SETI@home on it since then, but the astropulse ATI app never stops running when I come back to use my machine after leaving it for a bit, I have to close boinc to get it to stop (telling boinc to stop GPU work and also sleeping boinc do nothing).

I'm running the most recent AMD drivers (13.4) and the latest boinc (7.0.64) on windows 7 64bit (professional)
____________

Profile Ageless
Avatar
Send message
Joined: 9 Jun 99
Posts: 12258
Credit: 2,544,727
RAC: 264
Netherlands
Message 1365569 - Posted: 8 May 2013, 0:07:39 UTC - in response to Message 1365551.

Check in Windows task manager that boinctray.exe is running and make sure that your BOINC Activity is set to Run based of preferences for CPU and GPU.
____________
Jord

Fighting for the correct use of the apostrophe, together with Weird Al Yankovic

Profile Squish
Volunteer tester
Send message
Joined: 20 Jun 01
Posts: 18
Credit: 4,056,819
RAC: 7,191
New Zealand
Message 1365576 - Posted: 8 May 2013, 1:20:20 UTC - in response to Message 1365569.

boinctray is running and the activity is set right
boinc appears to be running right (it believes astropulse has suspended when its been told to)
____________

rob smith
Volunteer tester
Send message
Joined: 7 Mar 03
Posts: 8122
Credit: 52,329,166
RAC: 78,116
United Kingdom
Message 1365615 - Posted: 8 May 2013, 5:44:54 UTC

A couple more things to check:
Assuming you are using the "simple view" (which is the view that gives you graphics, not tables).
Swap to the "advanced" view (view/advanced view)
You now see a table - you can ignore the contents of the table just now
Select tools/computer preferences
A tabbed window should appear, get the "Processor usage" tab to the top of the pile. This tab gives slightly different options to the equivalent from the simple view.
Untick "While computer is in use"
Untick "Use GPU while computer is in use"
Set "Only after computer has been idle for" to a short time (I think the default is 2mins, which is about right
Set a low value for the "While processor usage is less than" - do not set 0, but something like 25% should be about right.
"OK" the changes.
Now return to the simple view (view/simple view)
____________
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?

Profile Squish
Volunteer tester
Send message
Joined: 20 Jun 01
Posts: 18
Credit: 4,056,819
RAC: 7,191
New Zealand
Message 1365667 - Posted: 8 May 2013, 7:54:24 UTC - in response to Message 1365615.

I run boinc in the advanced view and had those settings set the way you suggest (all in fact to exactly that except idle time is 10 mins for me)

I have checked and rechecked all the settings and boinc should (and does as far as I know) stop all processes running when I use my PC (seti stops correctly its just astropulse ATI that doesn't)

I appreciate the help
____________

Profile Ageless
Avatar
Send message
Joined: 9 Jun 99
Posts: 12258
Credit: 2,544,727
RAC: 264
Netherlands
Message 1365728 - Posted: 8 May 2013, 12:04:54 UTC - in response to Message 1365667.

(seti stops correctly its just astropulse ATI that doesn't)

Well, that shows it's not a BOINC problem, but an application problem.
____________
Jord

Fighting for the correct use of the apostrophe, together with Weird Al Yankovic

Profile Squish
Volunteer tester
Send message
Joined: 20 Jun 01
Posts: 18
Credit: 4,056,819
RAC: 7,191
New Zealand
Message 1365839 - Posted: 8 May 2013, 19:57:02 UTC - in response to Message 1365728.

Yes it appears it is... and as far as I can tell the only way to fix it is post on these forums... but since it seems I'm the only one with this issue the only thing I can think of doing is discontinuing use of astropulse... :(
____________

Profile Ageless
Avatar
Send message
Joined: 9 Jun 99
Posts: 12258
Credit: 2,544,727
RAC: 264
Netherlands
Message 1365841 - Posted: 8 May 2013, 20:03:41 UTC - in response to Message 1365839.

No, you're not the only one with this problem.

I've just posted the following in this thread (you being person 2).

Taking into account that two others (person 1; person 2) have reported that Astropulse (on their ATI GPUs) continues when they suspend BOINC, be it through the Activity menu, be it through 'do not use when computer is in use' policies, I suspect that this user has a similar problem. Only with AP on his Nvidia GPU. :-)

Which then either throws the ball in front of the Astropulse developer (Eric Korpela), or at BOINC's feet (David Anderson). Both have been warned and are on the case. Eric had seen similar problems already, but only with random tasks from other projects.

____________
Jord

Fighting for the correct use of the apostrophe, together with Weird Al Yankovic

Profile Squish
Volunteer tester
Send message
Joined: 20 Jun 01
Posts: 18
Credit: 4,056,819
RAC: 7,191
New Zealand
Message 1365931 - Posted: 9 May 2013, 3:31:00 UTC - in response to Message 1365841.

Thanks makes me feel a bit better that its not just me and that someone is looking at it...
____________

Eric Korpela
Volunteer moderator
Project administrator
Project developer
Project scientist
Avatar
Send message
Joined: 3 Apr 99
Posts: 1084
Credit: 8,264,996
RAC: 7,605
United States
Message 1366046 - Posted: 9 May 2013, 14:00:56 UTC

I think we've found the bug.
____________

Profile Raistmer
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 16 Jun 01
Posts: 3368
Credit: 46,052,402
RAC: 33,156
Russia
Message 1366151 - Posted: 9 May 2013, 21:59:49 UTC

No, we don't.
What GPU in use?
What stderr says?
Such long thread and quite lack of info to think on it.

____________

Profile Raistmer
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 16 Jun 01
Posts: 3368
Credit: 46,052,402
RAC: 33,156
Russia
Message 1366152 - Posted: 9 May 2013, 22:02:55 UTC

Well,

Windows x86 rev 1316, V6 match, by Raistmer with support of Lunatics.kwsn.net team. SSE2


Try to attach to beta and check app there.
Or switch to anonymous platform and update to latest app.
Or try to use -exit_check option and post stderr.

____________

Profile Raistmer
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 16 Jun 01
Posts: 3368
Credit: 46,052,402
RAC: 33,156
Russia
Message 1366153 - Posted: 9 May 2013, 22:04:47 UTC - in response to Message 1365841.


Which then either throws the ball in front of the Astropulse developer (Eric Korpela), or at BOINC's feet (David Anderson). Both have been warned and are on the case. Eric had seen similar problems already, but only with random tasks from other projects.


Next time to look into stderr of ffected app to target questions better.

____________

Profile Ageless
Avatar
Send message
Joined: 9 Jun 99
Posts: 12258
Credit: 2,544,727
RAC: 264
Netherlands
Message 1366161 - Posted: 9 May 2013, 22:39:03 UTC - in response to Message 1366153.

The Astropulse GPU applications continue to run when BOINC is suspended. That doesn't show up in the stderr.txt file. Only if there's an actual error happening, can we see something in stderr.txt
Or if the app would actually write its checkpoints in stderr.tx, perhaps we would be able to check it against the Event Log at the time to see if it wrote checkpoints at the time of suspension. But alas, the AP GPU app either does not checkpoint (anymore), or it does not write its checkpoints to stderr.txt

I forwarded the information to Eric and David, especially on the note that the Seti_Enhanced application does stop when BOINC suspends, but only the Astropulse application for AMD and Nvidia GPUs does not. And also stressed it happens sporadically, meaning it's difficult to track.

I also think you missed out on Eric's answer in this thread that he did find a bug and is working on a fix. Of course, you're missing out on the email discussion happening between the two devs.

David Anderson wrote:
BOINC suspends/resumes apps by sending them messages via shared mem; the BOINC library handles this within the app.

One possibility is that the app is stuck in a critical section (i.e. boinc_begin_critical_section()). It defers suspend/resume requests while in a critical section.

Eric Korpela wrote:
Yes, it turns out there was an unmatched begin_critical_section. I'm working on a fix.


Now, if you think you can handle it better, be my guest, go ask questions. I think you're secretly miffed at having your name in the application's output and that you think I am accusing you of misdoings. That you therefore feel it is justified to tell me how I should help people around here.

I must say I really do not like your style of posting. Most of your posts and emails come out in an accusatory style, I am not sure if that's what you mean to do, or that it's your lack of understanding of English, or lack of knowledge of netiquette. Perhaps it's time you worked on that.

I'd appreciate it if you stop and cease your hostilities immediately.

____________
Jord

Fighting for the correct use of the apostrophe, together with Weird Al Yankovic

Profile Squish
Volunteer tester
Send message
Joined: 20 Jun 01
Posts: 18
Credit: 4,056,819
RAC: 7,191
New Zealand
Message 1366164 - Posted: 9 May 2013, 23:01:10 UTC - in response to Message 1366161.

In the interest of trying to help out a bit more...

I looked at the stderr files and there is nothing of use in there other than a termination request acknowledgment (but only when I tell boinc to quit not when there's PC activity)

also joined the beta.. in the five mins I've run it, it DLed seti CL for ATI (but not AP) and that also doesn't stop correctly, same as with non-beta seti, CPU based beta seti stopped but ATI one didn't

if there's anything else I can help with let me know
____________

Profile Raistmer
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 16 Jun 01
Posts: 3368
Credit: 46,052,402
RAC: 33,156
Russia
Message 1366250 - Posted: 10 May 2013, 7:58:13 UTC - in response to Message 1366161.


I also think you missed out on Eric's answer in this thread that he did find a bug and is working on a fix.


I don't miss that. Cause I'm in another mail exchange with him few days already and fully aware that "found bug" not a bug at all.

____________

Profile Raistmer
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 16 Jun 01
Posts: 3368
Credit: 46,052,402
RAC: 33,156
Russia
Message 1366254 - Posted: 10 May 2013, 8:10:11 UTC - in response to Message 1366161.

I think you're secretly miffed at having your name in the application's output and that you think I am accusing you of misdoings. That you therefore feel it is justified to tell me how I should help people around here.


??? Maybe I don't understand your English indeed, especially this passage about "secretly miffed". Well, if you really want to help better then it's worth to mail directly to man who write affected parts of code, not? You disagree? Oh, it's your right, sure :)

But I think we will stop discussion of netiquette and return to original topic.

App checks BOINC exit requests. The single possibility I see where it will not check them is driver crash/restart.
Can original poster look into system log and see if there are notices about display driver? Smth like "your display driver stopped responding and..." ?
____________

Profile Raistmer
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 16 Jun 01
Posts: 3368
Credit: 46,052,402
RAC: 33,156
Russia
Message 1366263 - Posted: 10 May 2013, 8:22:04 UTC - in response to Message 1366164.
Last modified: 10 May 2013, 8:46:14 UTC



if there's anything else I can help with let me know


1) you said app acknowledged exit on BOINC quit. It means that at least sometimes flag about exit passed and obeyed. So we need to find out why it's not always passed and/or obeyed. So, try next things:
a) snooze (and look into slot stderr/task manager - will app's process terminates and what delay between your snooze request and process disappearance from task manager's list).
b) snooze GPU (same)
c) suspend project (same)
d) suspend currently executing GPU task (same).

2) as I wrote earlier look into system log - were there any mentions about display driver restarts ?

3) did you configure BOINC to stop all excution on not idle state (user presents /keyboard activity state) or only GPU tasks should stop in this state? Have you any another GPU project active to check if it's only AP issue? Early you said OpenCL (or not?) MB app exits correctly, right ?
(OpenCL MB uses absolutely same style of BOINC critical section handling as OpenCL AP, that's why I'm inclined to consider critical section handling mostly irrelevant to this issue)

EDIT:
seti stops correctly its just astropulse ATI that doesn't

Lets start to be more precise with terminology and distinguish CPU tasks from OpenCL/GPU tasks at least. Both apps are "SETI" in broad sense so perhaps you spoke about SETI MultiBeam (or SETI Enchanced) app. But CPU one or GPU one ?
____________

Profile Raistmer
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 16 Jun 01
Posts: 3368
Credit: 46,052,402
RAC: 33,156
Russia
Message 1366264 - Posted: 10 May 2013, 8:28:39 UTC - in response to Message 1366164.

in the five mins I've run it, it DLed seti CL for ATI (but not AP) and that also doesn't stop correctly, same as with non-beta seti, CPU based beta seti stopped but ATI one didn't


Could you explain little more what was downloaded in this case ? SETI MB app? So, OpenCL MB doesn't stop too ? It's important point to chose right direction for debugging.
Could you provide link to your beta host, please ?

____________

Profile Raistmer
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 16 Jun 01
Posts: 3368
Credit: 46,052,402
RAC: 33,156
Russia
Message 1366270 - Posted: 10 May 2013, 8:38:07 UTC - in response to Message 1365576.


boinc appears to be running right (it believes astropulse has suspended when its been told to)


Slightly more verbose on this please. How you establish what BOINC "believes" ? AP tasks in task list showed as suspended (while AP app process in task manager presents still) ?

____________

1 · 2 · 3 · Next

Questions and Answers : GPU applications : Astropulse ATI not stopping on PC use

Copyright © 2014 University of California