Boinc Mgr - request for coding change...

Message boards : Questions and problems : Boinc Mgr - request for coding change...
Message board moderation

To post messages, you must log in.

AuthorMessage
Dan Miller

Send message
Joined: 24 Mar 14
Posts: 3
United States
Message 53275 - Posted: 24 Mar 2014, 13:27:19 UTC

I am using Boinc Manager V7.2.42(x64) on Windows 7.
It is running all the time, monitoring my ONavi sensor.

However, it is causing me some annoyance... I use a program called DebugView, to show Windows OutputDebugString() messages when I debug WinAPI programs that I develop... unfortunately, when BM is running, it *floods* DbgView with debug messages such as:
[2648] 24-Mar-2014 06:23:41 [---] Suspending GPU computation - computer is in use
[2648] 24-Mar-2014 06:23:42 [---] Resuming GPU computation
[2648] 24-Mar-2014 06:23:48 [---] Suspending GPU computation - computer is in use
[2648] 24-Mar-2014 06:24:03 [---] Resuming GPU computation
[2648] 24-Mar-2014 06:24:05 [---] Suspending GPU computation - computer is in use
[2648] 24-Mar-2014 06:24:12 [---] Resuming GPU computation
[2648] 24-Mar-2014 06:24:15 [---] Suspending GPU computation - computer is in use
[2648] 24-Mar-2014 06:24:56 [---] Resuming GPU computation
[2648] 24-Mar-2014 06:24:59 [---] Suspending GPU computation - computer is in use
[2648] 24-Mar-2014 06:25:04 [---] Resuming GPU computation

This makes debugging my own programs very difficult. Could you come up with a version that removes these messages?? or is there some way to disable them myself??
ID: 53275 · Report as offensive
Profile Gary Charpentier
Avatar

Send message
Joined: 23 Feb 08
Posts: 2463
United States
Message 53276 - Posted: 24 Mar 2014, 14:03:42 UTC - in response to Message 53275.  

I am using Boinc Manager V7.2.42(x64) on Windows 7.
It is running all the time, monitoring my ONavi sensor.

However, it is causing me some annoyance... I use a program called DebugView, to show Windows OutputDebugString() messages when I debug WinAPI programs that I develop... unfortunately, when BM is running, it *floods* DbgView with debug messages such as:
[2648] 24-Mar-2014 06:23:41 [---] Suspending GPU computation - computer is in use
[2648] 24-Mar-2014 06:23:42 [---] Resuming GPU computation
[2648] 24-Mar-2014 06:23:48 [---] Suspending GPU computation - computer is in use
[2648] 24-Mar-2014 06:24:03 [---] Resuming GPU computation
[2648] 24-Mar-2014 06:24:05 [---] Suspending GPU computation - computer is in use
[2648] 24-Mar-2014 06:24:12 [---] Resuming GPU computation
[2648] 24-Mar-2014 06:24:15 [---] Suspending GPU computation - computer is in use
[2648] 24-Mar-2014 06:24:56 [---] Resuming GPU computation
[2648] 24-Mar-2014 06:24:59 [---] Suspending GPU computation - computer is in use
[2648] 24-Mar-2014 06:25:04 [---] Resuming GPU computation

This makes debugging my own programs very difficult. Could you come up with a version that removes these messages?? or is there some way to disable them myself??

Ah, you are running QCN. Unfortunately you are in a catch 22. QCN can't run while you are typing on your computer, your typing shows up as earthquakes so it sets BOINC's preferences to suspend while the computer is in use. Every suspend and resume is logged, as debugging information for BOINC. If you really must run QCN, then I would suggest getting one of their external sensors, then you should be able to set BOINC's preferences to allow it to run even while the computer is in use.
ID: 53276 · Report as offensive
Profile Gary Charpentier
Avatar

Send message
Joined: 23 Feb 08
Posts: 2463
United States
Message 53277 - Posted: 24 Mar 2014, 15:08:31 UTC

Just past edit time, the other thing you could try is setting your program or your debug program as exclusive use to BOINC. That way BOINC will not run while you are debugging.
ID: 53277 · Report as offensive
Dan Miller

Send message
Joined: 24 Mar 14
Posts: 3
United States
Message 53281 - Posted: 25 Mar 2014, 2:39:02 UTC - in response to Message 53277.  
Last modified: 25 Mar 2014, 2:45:42 UTC

Actually, I was hoping the authors could add an option to disable the logging messages... I find it hard to believe that several hundred repeated messages per hour are really of much value to anyone...

Later:
Well, okay, adding dbgview.exe as an excluded application, does solve the problem, so I can live with that. Mind you, if I leave DbgView running for a couple of days, I'm guessing that just takes my sensor off the network entirely, but if that's the only option I have open to me, I'll have to live with it.

Thanks for your assistance!!!
ID: 53281 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 53282 - Posted: 25 Mar 2014, 2:50:22 UTC
Last modified: 25 Mar 2014, 2:51:27 UTC

Is already incorporated through the <task> option in cc_config.xml
<task>0</task> will turn off the start and stop, and thus also the pause and resume messages. See http://boinc.berkeley.edu/wiki/Client_configuration for more information.
ID: 53282 · Report as offensive
Rom Walton
Project developer
Avatar

Send message
Joined: 26 Aug 05
Posts: 164
Message 53315 - Posted: 25 Mar 2014, 23:10:32 UTC

This should be resolved in future versions of BOINC.


Revision: ba843869a7f92f80f2cf4da7173c7486da336a67
Author: Rom Walton
Date: 3/25/2014 6:23:58 PM
Message:
client & MGR: Make writing trace statements to the debugger viewport something you have to opt into on Windows.

I use it a lot, but other developers using BOINC may not care to see BOINC messages while debugging their own stuff.
----
Modified: client/client_msgs.cpp
Modified: clientgui/LogBOINC.cpp
Modified: lib/diagnostics.cpp
Modified: lib/diagnostics.h
Modified: lib/diagnostics_win.cpp



----- Rom
----- Rom
BOINC Development Team, U.C. Berkeley
My Blog
ID: 53315 · Report as offensive
Dan Miller

Send message
Joined: 24 Mar 14
Posts: 3
United States
Message 53323 - Posted: 26 Mar 2014, 5:17:40 UTC - in response to Message 53315.  

Cool, thanks Rom!! I'll leave DbgView in exclusions for now, when I see a new version roll out, I'll remove it and see what happens!!
ID: 53323 · Report as offensive

Message boards : Questions and problems : Boinc Mgr - request for coding change...

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