Bitsum Community Forum

General Category => Process Lasso => Topic started by: MickeyG on July 07, 2013, 01:10:17 PM

Title: CPU core use graph does not show, windows 64 pro [FIXED]
Post by: MickeyG on July 07, 2013, 01:10:17 PM
I am not seeing the check mark and the graph does not show up
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: BenYeeHua on July 07, 2013, 01:13:28 PM
It can be Operation System(OS) issues.
Can you tell me which language of the os?

PS:Moved to BugTrack
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Jeremy Collake on July 07, 2013, 06:38:05 PM
Have you run any system tweaking or optimization software recently? Any changes to your service configuration?
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Hotrod on August 30, 2013, 12:37:10 AM
This was the closest existing thread to the item I am seeing. Move my post if you wish. On my single core XP machines the per core usage graph is not shown. This is precisely as it should be, however, in the view menu the option still exists but does nothing when chosen. I propose that this option should not even appear as a choice or alternately be greyed out on single core machines. This would prevent people from reporting the feature as broken when it is actually performing as designed.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: smartbit on October 14, 2013, 04:25:49 AM
Hi,

I've noticed on the BitSum homepage that there is a per-core CPU Usage/Park graph shown in between the usual performance graph and the RAM graph (http://bitsum.com/images/screenshots/1.png (http://bitsum.com/images/screenshots/1.png)).

But for somewhat reason, I can't find a way to enable it.
I tried the "View>Show per-core CPU utilization", I'm not sure if this is the setting, but it never gets toggled anyway (probably a bug).

So, how can I enable this nice thing?

Thanks for help
(and sorry if it is already has been discussed, I tried to search the forums unsuccessfully..)
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: BenYeeHua on October 14, 2013, 05:10:39 AM
I think there are nothing I can help you here...
It look like another bug for can't getting the information from system.

Can you tell which language and version the Windows that you are using?
And did you try disable anti-virus to check it up?
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: smartbit on October 14, 2013, 10:19:10 AM
Hi,
I tried disabling security software (installed: Avast A/V, Comodo FW + HIPS), and relaunch the Process Lasso as an Administrator - still, the "show per-core..." won't toggle.

Process Lasso Pro x64 v.6.7.0.0
System Info - Lenovo ThinkPad 430s:
Windows 7 Ultimate x64 English (US), CPU: i7 3520M (2 cores/4 threads), 16GB RAM, SSD & HDD storage.
Tell me if you need more info on SW/HW.

Should I submit it as a bug somewhere, or posting here is enough?
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: edkiefer on October 14, 2013, 10:37:25 AM
Do you have aero on in desktop or you use classic  mode ?
Classic has issues with CPU % graph .
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: smartbit on October 14, 2013, 05:06:19 PM
Aero enabled...
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Jeremy Collake on October 15, 2013, 10:29:00 AM
For a very small minority of systems, the performance counters used as the source for this information are not available, or not properly operating. I still have not determined why. I need to relaunch a thorough investigation, but since this affects so few people, it's not been a huge priority.

My best guess so far is that changes to the system or service configuration are the culprit, but I have no further guidance at this time.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: smartbit on October 15, 2013, 11:55:42 AM
Hmmm..

Well, sorry to hear that.

Regarding the configuration issues, I did not disabled or messed much with system services. Though, the PC is a ThinkPad laptop with "Enhanced Experience 3" preinstalled - which means, Lenovo did some registry/config. tweaks to boost the performance (or/and to optimize it for the hardware). Maybe it has something to do with it.

It is weird though, because all of Process Monitors I used so far had no trouble detecting core utilization or parked cores.
But, I guess they are mostly based on the build in windows components for measurements reporting, maybe you do stuff differently.

Thanks for the reply anyway
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Jeremy Collake on October 15, 2013, 12:24:46 PM
All the utilities, including Process Lasso, should get their data from the same source.

My assumption on the cause could be wrong. It definitely bothers me to go around saying 'yea, it's broken sometimes', so I will surely address this at some point.

One curiosity is that another user who had this problem reported that the same display in Bitsum's ParkControl works fine (Options / Configure CPU Core Parking). The same code module is used for both ParkControl and Process Lasso's core utilization display. This caused me to think maybe the application compatibility assistant is going awry, but that didn't seem to be the case. I still consider that a possibility though, and you might want to right click on 'ProcessLasso.exe' and check the 'compatibility' tab, just to make sure.

I will take a new look at this ASAP, perhaps a fresh perspective will yield some results.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: smartbit on October 15, 2013, 02:43:36 PM
No compatibility options are enabled, ProcessLasso.exe is running in a usual manner, so nothing there.

Regarding the core parking control module:
It is working, tested it several times in a disable/enable parking manner - and the Windows Resource Monitor reported park status according to expectations.

But, nevertheless, the Utilization display won't either show itself or toggle in Menu>View>Show Per-Core Utilization.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: BenYeeHua on October 15, 2013, 05:18:48 PM
For the compatibility, I has a story about it, but I think it might not helps to find out why.

http://vvvv.org/forum/windows-8-fullscreen-issue (http://vvvv.org/forum/windows-8-fullscreen-issue)
http://msdn.microsoft.com/en-us/library/windows/desktop/hh994464%28v=vs.85%29.aspx (http://msdn.microsoft.com/en-us/library/windows/desktop/hh994464%28v=vs.85%29.aspx)

As you might know, for DirectX 9 games, DWM that using after Windows Vista can be a performance killer, and a bad coding for DirectX 9E games like WoT, a windowed or sync DWM present with full screen is a big performance killer for WoT(50% GPU usage!).
(SHIM_RENDERING_OPTIONS_ENABLE_DWM_ASYNC_PRESENT if you are using Nvidia, you will see this for WoT profile)

I meet a guy that having this issues, when he is playing full screen for a game, the FPS are normal, but if he start using the IME and that game don't support IME, windows 8 will switch to windowed borderless mode for the game to support showing the IME forever(means the FPS will be reduced forever), until he delete the value of HKEY_CURRENT_USER\Software\Microsoft\Direct3D\Shims\MaximizedWindowedMode .
PS:search Application fails due to graphics and display issues on the MSDN link for more information about this.

And there are no ways to know this happen, as it only showing the windows for 1 time, you will easy to forgot it, I wonder that did Windows 7 that having this compatibility system will affecting PL getting the information too.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: geloxo on November 08, 2013, 12:49:09 PM
I have the same issue with Win7 64bit. Everything was working fine till a couple of weeks ago. I don´t know what update came to my system (if Windows update, java, nvidia,..) but I can´t see now the graph and the option in the menu to show it is not responding  :-[
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: BenYeeHua on November 08, 2013, 02:47:41 PM
En...
I think you can checking which thing has been installed by using the "Control Panel\All Control Panel Items\Programs and Features", click on the "Installed On" to arrange it , you can also check the installed update by clicking on "View installed updates".

For now, we are really don't has an idea for what's going on.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: geloxo on November 08, 2013, 06:57:35 PM
Yeap, I know how to see the installed things but no idea to know which update caused lasso graphic to stop working... The most recent updates which are not usual from my previous installations where lasso worked fine are:
- Adobe flash player 11.9.900.117
- Net Framework 4.5.50709
- HWinfo64 4.26
- Java 7.0.450
- NVIDIA 331.65

Hope it helps..
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Hotrod on November 09, 2013, 01:02:46 AM
I have an Inspiron 1540 laptop with Win7X64 and my graph works as it should including the menu option switching.

I have the adobe flash player 11.9.900.117
I only have .NET up to 4.0.30319
I have Java 7.0.400
I do not have the others installed.

Hopefully this will help you track the issue.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: BenYeeHua on November 09, 2013, 04:45:06 AM
En...

I also having the newest .net 4.5.1, HWiNFO64, Nvidia graphic driver installed, but I don't facing this issues.

It can be registry, .net or the graphic driver causing it, and somehow this don't happen with Windows 8.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Jeremy Collake on November 09, 2013, 08:01:35 PM
This has moved back to the top of my agenda, after having seen it out in the field myself. I hope to get to the bottom of it soon.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: BenYeeHua on November 10, 2013, 06:09:43 AM
Welcome back. :)

And I think you might asking them for Remote control, like using Team Viewer, then test on their side?
I has seen one of the guy at Guru3d doing this, and fix many issues for the driver. ;)
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: geloxo on November 10, 2013, 02:35:56 PM
Quote from: Official Support on November 09, 2013, 08:01:35 PM
This has moved back to the top of my agenda, after having seen it out in the field myself. I hope to get to the bottom of it soon.

Great. Many thanks. I hope it´s solved easily  ;)
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Jeremy Collake on November 10, 2013, 08:09:32 PM
Quote from: BenYeeHua on November 10, 2013, 06:09:43 AM
Welcome back. :)

And I think you might asking them for Remote control, like using Team Viewer, then test on their side?
I has seen one of the guy at Guru3d doing this, and fix many issues for the driver. ;)

Yes, if all else fails, I may need to Remote into a machine - we'll see.

And I was out of town for a week, work related - apparently Bitsum supporters aren't used to this, I think some people thought I died ;).
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: BenYeeHua on November 11, 2013, 05:46:23 AM
And G+ telling me that you are still posting thing. ;D

PS:smartbit need you there. :) https://bitsum.com/forum/index.php/topic,3596.0.html
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: smartbit on November 12, 2013, 03:18:30 PM
Quote from: Official Support on November 09, 2013, 08:01:35 PM
This has moved back to the top of my agenda, after having seen it out in the field myself. I hope to get to the bottom of it soon.

Nice to hear this issue coming up to the To-Do lists  :-)
As it turns out, I wasn't the only one with this issue. (Glad for me, sorry for others...)

(though, for now I have another nasty issue going on as BenYeeHua mentioned...)
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Jeremy Collake on December 02, 2013, 04:17:18 PM
I believe I finally determined the probable cause of the failure to display core-utilization graphs for both Process Lasso and ParkControl.

Unfortunately, I noticed it right after the upload of v6.7.0.14, during some code review. I have therefore uploaded a silent update to v6.7.0.14. In the About Box, it will say 'Engine Version: 810600' . If you already downloaded v6.7.0.14, you'll need to run the installer again (or wait a few days at least).

I can't say for sure that this addresses affected cases, but I can say it fixes a similar cause of a failure to display these per-core utilization and parking graphs.

If this is an effective fix, I'll push it out to the users who managed to update to the prior release build.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: smartbit on December 03, 2013, 11:36:39 AM
Hi,
Thanks for the update

I've just updated PL via the Auto update, and turns out that the version is the right one (engine version shows 810600).

But, unfortunately, no changes on the Core Utilization Graph subject.
The behavior is still exactly the same - the menu item "View -> Show per-core CPU utilization" is frozen, shows as checked, but still no graph displayed.
I tried to disable/enable by editing the prolasso.ini, and relaunching PL:
The UI menu state responds (the checkmark) to the ini modification, but still no graph shown, no mater whether the flag "ShowPerCoreUtilGraph" is true or false in ini file.

Bottom line - the fix is not effective.
The problem cause is still somewhere inside...


Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Jeremy Collake on December 03, 2013, 11:47:00 AM
Ok, thanks for letting me know. The fix did at least improve the behavior on non-English systems, so it wasn't entirely in vain.

I've built a new framework for debugging failures in that code, so the next beta will give us some clue as to what's going on.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Jeremy Collake on December 07, 2013, 03:52:34 PM
For v6.7.0.15+ , there is debug output we can use to diagnose this. The 15 build only has debug output applicable to this issue. 17 has a lot of governor debug output that isn't applicable. So, either one.

See https://bitsum.com/forum/index.php/topic,3642.0.html for information on how to collect and submit this debug output using DebugView.

Thanks for your help! Hopefully this will yield the missing clue, or will certainly put us one step closer.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: edkiefer on December 07, 2013, 05:44:45 PM
will 17b be slower because of debugging or its not much of a hit ?

If so is there easy way to disable it, if not testing/debugging .
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Jeremy Collake on December 07, 2013, 05:50:20 PM
Not any big difference in performance. If you don't have DebugView running, it pretty much is disabled. The *only* reason there is a *very negligible* decrease in efficiency is because the debug output results in less efficient compiled code, a little extra computational work, and a bit more memory for the strings. We're talking levels that nobody would ever notice.

(to the point the effective answer is 'essentially NO difference in performance')
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: smartbit on December 07, 2013, 06:02:25 PM
Thanks, I'll collect the data once build 15 is released.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Jeremy Collake on December 07, 2013, 06:23:05 PM
Thanks! 15 was released yesterday. 17 today, just now. ;)
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: edkiefer on December 07, 2013, 06:34:32 PM
Quote from: Official Support on December 07, 2013, 03:52:34 PM
For v6.7.0.15+ , there is debug output we can use to diagnose this. The 15 build only has debug output applicable to this issue. 17 has a lot of governor debug output that isn't applicable. So, either one.

See https://bitsum.com/forum/index.php/topic,3642.0.html for information on how to collect and submit this debug output using DebugView.

Thanks for your help! Hopefully this will yield the missing clue, or will certainly put us one step closer.
Ok , I read to fast so your using debugview.exe (SysInternals) to catch data .
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: BenYeeHua on December 08, 2013, 07:07:56 AM
And, any knowledge that I can learn from that tools? :)
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: edkiefer on December 08, 2013, 08:11:21 AM
http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx (http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx)

Don't know if there are any doc's for it , I have used it few times in past for gathering data (mainly crashes ,if memory is right) .

there is help file with it .
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: BenYeeHua on December 08, 2013, 05:29:29 PM
Yup, I guess it must having many video/blog about it, as it is one of the tools from Mark Russinovich.
I will find for it, a little busy for a few days, thank for the link. ;)
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: edkiefer on December 08, 2013, 06:26:01 PM
yes, it kind of depends on the app your using it on, as what the dev have left open to debug .

Here link I found, but again it might not be apply to PL .Some tips, FAQ

http://www.sophos.com/en-us/support/knowledgebase/119577.aspx (http://www.sophos.com/en-us/support/knowledgebase/119577.aspx)

The help file has some info too as mentioned before, its more than normal .

But the instructions Jeremy posted is pretty simple, straight forward .
https://bitsum.com/forum/index.php/topic,3642.0.html (https://bitsum.com/forum/index.php/topic,3642.0.html)
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: BenYeeHua on December 08, 2013, 11:45:07 PM
Ok, thanks again for the link. :)

And it look like I somehow get Firefox.exe don't monitor again, I wonder I can reproduce now or not.
As this issues look like only happen while boot?
----
En...
I am not facing this case(CPU graph not showing), but I see this log.
00000001 0.00000000 [6804] Process Lasso: adding \Processor(0)\% Processor Time
00000002 0.07840922 [6804] Process Lasso: adding \Processor(1)\% Processor Time
00000003 0.07845151 [6804] Process Lasso: adding \Processor(2)\% Processor Time
00000004 0.07849216 [6804] Process Lasso: adding \Processor(3)\% Processor Time
00000005 0.07853321 [6804] Process Lasso: InitializeCoreParkingCounters_Free
00000006 0.07993928 [6804] Process Lasso: Failed to load brd value
00000007 0.09502749 [6804] Process Lasso: Excluding our modules from application compatibility assistant
00000008 0.09506650 [6804] Process Lasso: Responsiveness running in priority class 32768
00000009 0.09509031 [6804] Process Lasso: Responsiveness running at thread priority -2
00000010 0.09511042 [6804] Process Lasso: Est effective priority is 32766
00000011 0.17897396 [8252] Process Lasso: Excluding our modules from application compatibility assistant
00000012 0.19453305 [8252] Process Lasso: Initializing keep running vectors ...
00000013 0.19529089 [8252] Process Lasso: pg. Standard context
00000014 0.19610168 [8252] Process Lasso: Starting main loop

I wonder what's the meaning of Failed to load brd value...

I guess it is safe to put part of the log on forum, without the processes name, right? :)
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: smartbit on December 09, 2013, 02:07:16 PM
Hi,

I didn't noticed the update, it's beta (and I've watched the stable channel)

So, I tried today with the build 19 (though shown as 17 in about dialog  ???), the graph didn't show up as usual.
And here is the PL's part of the DebugView log:
...
00000003 4.90707302 [6456] Process Lasso: adding \Processor(0)\% Processor Time
00000004 5.19769478 [6456] Process Lasso: dph failed
...

It's only 2 lines. I let it run for a couple of minutes, but nothing added.
Anyways, I expect the core graph related error appear at the initialization of the PL.
So, I hope that line 4 gives some clue...
(Edit: The CPU is 2 phys./4 logic cores, so I would expect to see the first 4 lines as in BenYeeHua's log)

I also tried the DebugView over the previous stable build (v.14), and saw this:
...
00000024 155.51936340 [27156] bitsum: Failed to load brd value
...

(concluding from the BenYeeHua's post, it's not related to the issue, but I decided to notice it anyways)
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: BenYeeHua on December 09, 2013, 02:24:01 PM
So lucky that I posted the first part of my log, so you can compare it.
I guess we need to do is wait, let us see that did this information is enough or not. :)
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Jeremy Collake on December 09, 2013, 02:38:21 PM
Thanks guys!

Yes, I know exactly at what API call it's failing now, but not why. I need to add a bit more debugging logging to the next build to show extended error information at this location. That should give an important clue. So, one more time.. maybe ;)

In .19 and above I've disabled all the debug logging except for a few spots that we're looking at here.. may change back.

p.s. Just ignore 'failed to load brd value', it's not important, and not any critical error, or even a real error. Just a notification.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: BenYeeHua on December 10, 2013, 05:54:12 AM
ok, thank for telling that.
I hope we are not finding a windows bug here. :)
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Jeremy Collake on December 10, 2013, 01:43:00 PM
We will find out soon. New build coming today that reports the error code, then we'll go from there.

I doubt it is a Windows bug, but may be an OS configuration issue. Or maybe just a bug of my creation, though it's hard to imagine what.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Jeremy Collake on December 10, 2013, 02:12:43 PM
Misc diagnostic stuff ... I've long suspected that maybe the applicable perf counters are disabled on these systems. This will help you check.

Download and install - http://download.microsoft.com/download/win2000platform/exctrlst/1.00.0.1/nt5/en-us/exctrlst_setup.exe (http://download.microsoft.com/download/win2000platform/exctrlst/1.00.0.1/nt5/en-us/exctrlst_setup.exe)  (info (http://blogs.technet.com/b/askperf/archive/2010/03/05/two-minute-drill-disabled-performance-counters-and-exctrlst-exe.aspx))

Then go find 'C:\Program Files (x86)\Resource Kit' (where exctrlst.exe is located).  Right-click exctrlst.exe and select 'Run as administrator'.

It will let you go through various performance counter sources. As you select each, you'll see 'Performance Counters Enabled' checked (or not) at the bottom.

Anyway, no need to waste lots of time, we'll have more detailed error info soon.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: BenYeeHua on December 10, 2013, 05:32:51 PM
And it is still nice that Microsoft website/server support hot-linking or direct link, so that even you are giving the direct link to other people, you can still download it. :)
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Jeremy Collake on December 10, 2013, 05:42:14 PM
v6.7.0.21 beta is now available. Please submit the debug output from it, as you did before, and *hopefully* it will tell us what's going on.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: edkiefer on December 10, 2013, 05:49:31 PM
Quote from: Official Support on December 10, 2013, 05:42:14 PM
v6.7.0.21 beta is now available. Please submit the debug output from it, as you did before, and *hopefully* it will tell us what's going on.
Just updated to .21 and i see changes not listed in changelog .
1) log got cleared
2) no search or log-view button above bottom panel (logs list) .
3) don't see any way to open logviewer now, You used to have it in menu too .
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: BenYeeHua on December 10, 2013, 05:59:17 PM
And also, the log folder only left this.
1.prolasso.log (new one)
2.prolasso.log.1
3.prolasso.log.3
4.prolasso.log.5
5.prolasso.log.7
6.prolasso.log.9

1, 3, 5, 7, 9, I wonder what's their means. ;D
Maybe PL just hate 2, 4, 6, 8. ::)
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: smartbit on December 10, 2013, 06:05:04 PM
Hi,

Just tested with beta build 21.

Sadly, the output i see is exactly the same as before:
00000002 1.47741389 [20244] Process Lasso: adding \Processor(0)\% Processor Time
00000003 1.86653686 [20244] Process Lasso: dph failed

(The Core Graph is not present)
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: smartbit on December 10, 2013, 06:16:32 PM
Regarding the Extensible Counter List, I checked this one

I reviewed all the listings, and the only thing that has Performance Counters Disabled for it is Outlook.
All others are enabled.

So seems like it is not the issue.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Jeremy Collake on December 10, 2013, 06:32:31 PM
Darn in, I'll need to upload a new build. The extended output isn't being invoked. :o
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Jeremy Collake on December 10, 2013, 06:58:09 PM
I uploaded a new build that should show the additional debug info, but haven't incremented the listed version # on the server, so you'll have to manual install, or wait until I do update it. Sorry about that!
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: smartbit on December 11, 2013, 02:47:39 AM
OK, yet another test performed, using the updated beta:

00000001 0.00000000 [20080] Process Lasso: adding \Processor(0)\% Processor Time
00000002 0.31620243 [20080] Process Lasso: PdhAddEnglishCounter failed cu - PdhStatus=0xC0000BB8, GetLastError=0x57
00000003 0.31712788 [20080] Process Lasso: The specified object was not found on the computer.
00000004 0.31712788 [20080]


4 lines of code by PL this time (the last one is empty)
I hope there is some useful info in it this time...
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: BenYeeHua on December 11, 2013, 05:42:08 AM
Yup.
0xC0000BB8 (PDH_CSTATUS_NO_OBJECT)   The specified object is not found on the system.
QuoteThe specified computer was found, but the specified performance object was found on the computer. If this status is returned when the counter is being added, the specified counter is not included in the query. If this status is returned by an active counter, the data for that counter is invalid. Each time the data is requested, PDH tries to obtain this counter data.
http://msdn.microsoft.com/en-us/library/windows/desktop/aa371894%28v=vs.85%29.aspx (http://msdn.microsoft.com/en-us/library/windows/desktop/aa371894%28v=vs.85%29.aspx)

And I only found 1 person facing this same issues.
http://social.msdn.microsoft.com/forums/wpapps/en-us/b23f79d8-1376-4398-ae97-ed8d3753b759/pdhaddcounter-and-pdhaddenglishcounter-returning-pdhcstatusnoobject-error-but-the-counter-object (http://social.msdn.microsoft.com/forums/wpapps/en-us/b23f79d8-1376-4398-ae97-ed8d3753b759/pdhaddcounter-and-pdhaddenglishcounter-returning-pdhcstatusnoobject-error-but-the-counter-object)

I also found a new tools.
http://www.autoitscript.com/forum/topic/90736-performance-counters-in-windows-measure-process-cpu-network-disk-usage/ (http://www.autoitscript.com/forum/topic/90736-performance-counters-in-windows-measure-process-cpu-network-disk-usage/)

And I don't think it is some optimize software disabled by using the registry "Disable Performance Counters", right?
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: smartbit on December 11, 2013, 06:47:24 AM
Fixed!!! :)

I found the problem, I dug deeper on the 0xC0000BB8 error, some peope had this error for perfom.exe. Then, turned out that perfmon.exe also reported counters errors on this PC...
And eventually found this thread: <a href="http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/perfmon-problems-unable-to-add-counters/e90f231d-0014-457d-8b1f-5f342971597a">Unable to add counters</a>.

It recommended there to run "lodctr /r" in cmd to rebuilt performance counter settings to the initial state. (btw, "lodctr /q" gives similar results as the "Extensible Counter List" tool discussed before, querying the states).

And the "lodctr /r" fix worked, I verified that the counters are still at least as enabled in "lodctr /q" as before. But this time, perfmon.exe worked smoothly, then I tried PL v.14 (latest stable build)....
... and it worked!!!

The CPU graphs are there, a column for each (virtual) core!  8)
I compared the reported core states with the Resource Monitor, all matches.

The weird thing though, is that "Official Support" guy suggested this from the beginning. Following the suggestion, I checked the Resource Monitor and some other third party Performance  Monitors that reported core stated, and other detailed performance info, and it always worked just fine.
So I assumed that the background mechanism is the same, and if "Resource Monitor" is operational, then all other SW should be able to access the same data as well.
Turned out to be false assumption, as eventually, Resource Monitor can work perfectly, while PerfMon and Process Lasso (probably some others too) may not.

This is something to keep in mind for further possible issues it this area.


Well sometimes it end up a windows/config issue after all (which i guess is something to expect in the cases of system tools as Process Lasso).

Anyways, thanks a lot to everybody for the time, efforts, support and debugging assistance. ;)
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Jeremy Collake on December 11, 2013, 07:26:13 AM
Awesome! Thanks so much for your testing and research smartbit!

This is great news... Now I'll see about auto-repairing the situation, if I'm able to determine the exact tweak that would be necessary. I maybe could run 'lodctr /r', but that seems a bit heavy handed.

I would have also expected Resource Monitor to fail if the applicable performance counters were disabled, it's interesting that it didn't. I'm not sure if ResMon is using different performance counters, it needs further research.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: edkiefer on December 11, 2013, 07:48:01 AM
you never know , anyway copy fix an add it to FAQ type info here .

I am sure this will come up again  :)
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Jeremy Collake on December 11, 2013, 07:48:46 AM
What I will do is this:

When this exact failure occurs, I will give the user the option to have Lasso launch 'lodctr.exe /R' to repair the performance counters.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: smartbit on December 11, 2013, 07:50:01 AM
You're welcome  :)

I'm not sure you intend to include the "auto-fixing" in the installation process, or as optional fix,
but I'll suggest caution in using "lodctr /r".
It has been stated that it: "rebuilds performance counter setting from system backup store".

Whatever is meant by that, it may reset some settings that are differentiate from the initial state by desire, hence causing something else to fail.
(In my case, I didn't saw any negative impact or configuration loss. So far at least..)

So, I'd recommend to fully understand what modifications it incorporates, and the possible impact of those.

(Maybe adding a warning message for the user regarding the changes that are about to be made during the "auto-fix" may be a good idea).

Edit: last post appeared while I was just typing...
         Your last suggestion sounds like a good idea
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: BenYeeHua on December 11, 2013, 08:18:42 AM
Yup, I guess it is just better to showing a windows and said about this, then let the user to choose that want to fix it or not.

And I wonder how can it be corrupt for you? :)
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: Jeremy Collake on December 11, 2013, 09:20:16 AM
I believe the damage is in the registry, so it's possible a registry cleaner could have caused this damage. The actual performance counters were never disabled, they were just inaccessible when referenced by name.

I'd love to find out. Any clues, smartbit?
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: BenYeeHua on December 11, 2013, 11:28:17 AM
Yup, it can be the registry.
QuoteIf you use the lodctr /r command, you will overwrite all Performance counter registry settings and Explain text, replacing them with the configuration defined in the file specified.
http://technet.microsoft.com/en-us/library/bb490926.aspx (http://technet.microsoft.com/en-us/library/bb490926.aspx)
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: smartbit on December 11, 2013, 05:49:08 PM
While I was looking for the solution, there were some solutions suggesting to modify a few registry keys instead of running "lodctr", but the purpose was the same.
And since the Registry jungle is window's way of keeping settings, it makes a perfect sense that the performance counters config is there and can be modified directly by 3rd party.

Regardin registry cleaning, well, I do use CCleaner occasionally to clean the temp folders, and also to scan & clean the registry.
Mainly the registry fixes include various invalid installation files locations, unused file types, etc.
But I use the same practice of regular cleaning on few other PCs, which has never had this issue with PL's CPU graph disappearing.

Since I use this laptop PC (the one that had the graph problem) as my main PC for many months now, many many software has come and gone through it. I frequently do various kinds of IT tech support at work/studies. So I use many kinds of tools for it, and it's not always possible to test stuff in a virtual environment, so in many cases I have to test it on my PC, until I find the proper tool for the job. So, even though I always try to pay attention at any modifications done by those "guests", it still very much may be that some other program messed up a few things.

Also it worth noting, that this laptop has a "Lenovo Enhanced Experience 3 for Windows 7" (aka EE3). Which is a lenovo's way of tweaking windows registry and settings to improve boot times, response and similar optimizations. Usually EE1-3 has pretty fine reputation, but who knows..

To sum things up, it may be the CCleaner, it may be the EE3, or it may be some other soft's work - personally, I tend towards the last option (other soft mess up).

Sorry for not being able to provide anything in specific.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: edkiefer on December 11, 2013, 07:00:12 PM
CCleaner is pretty good, safe cleaner but I never remove/delete/fix anything that I don't know 100% whats going on .
I rather leave item than take chance and i don't enable all options anyway .
The file type one to me is waste to enable as it will just keep adding depending on file extensions used .

I only clean entrees I think may cause conflicts or if I check for left overs of a app uninstall .
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: BenYeeHua on December 12, 2013, 05:15:45 AM
Yup, I will say it is Lenovo, Asus software also playing with powerplan, disable core-parking etc.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: smartbit on December 12, 2013, 06:20:04 AM
Disabling core parking has nothing to do with the inability to access performance counters.

Lenovo has its Power Manager to manage power plans, using which you can disable core parking, same as Windows Power Settings, only in more organized way.

What I was talking about is its' EE-labeled registry tweaks they do to speed up boot times. (Usually it involves balancing "delayed start" settings for unnecessary services, and should not have negative impact, but who knows)

And again, I tend to believe that the corrupt has been done by some other performance analyzers I've tried on this PC and removed later.
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: BenYeeHua on December 12, 2013, 07:04:52 AM
Who know, Asus also "port" the Power4Gear code to the TouchPad, disable core-parking and also "Force" high performance all the time...
It don't matter what's your PowerPlan, it just change your current PowerPlan to High Performance setting, after you un-plug the Power source.
Even they doing this, they has passed Energy Star...

If they can "port" the bad code to any software that don't has any function that is the same, I believe they can also corrupt Registry setting too.

At least I can believe the Lenovo software, as I using it for awhile, no issues when I using it, but Asus!?
No ways!
------
And it is also funny that performance analyzers will like to changing the registry setting, but forgot to change it back after uninstall it.

It will be great if you has the corrupt registry setting back-up, so at least we know which software is causing it. :)
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: edkiefer on December 12, 2013, 07:55:19 AM
Yes, if you try an do a compare of backup reg to see what changed or what part of reg changed might be helpful .


It still don't tell what app changed it .

I can see some "turbo" type optimizer , that disables services it thinks are not needed , problem is know one knows that question but user based on his/here app usage .
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: smartbit on December 12, 2013, 09:49:53 AM
Quote from: BenYeeHua on December 12, 2013, 07:04:52 AM
... It will be great if you has the corrupt registry setting back-up, so at least we know which software is causing it. :) ...

Good idea here, I actually have a pretty recent system image (before the fix) done by windows backup/restore.

Maybe any of you have in mind some quick way of extracting the registry from it without actually having to restore the image?
Title: Re: CPU core use graph does not show, windows 64 pro
Post by: edkiefer on December 12, 2013, 09:52:37 AM
doesn't windows store last 5 days of registry ?

Guess not in last few OS's , seems there now stored in "C:\Windows\System32\config"
with each section having its own file .

Not sure if there way to read system restore points .
Title: Re: CPU core use graph does not show, windows 64 pro [FIXED]
Post by: Jeremy Collake on December 12, 2013, 11:36:43 AM
I'm sure you could access the registry hives in a restore point, they are probably stored as hive files and can be loaded via the standard Windows registry APIs. I'm not sure anyone has ever done this though.

Process Lasso v6.7.0.27+ runs 'lodctr.exe /r' automatically when this specific error is encountered. This operation should be safe since it is a simple repair of the registered performance counters.

I'm glad we finally found the cause of the failure!
Title: Re: CPU core use graph does not show, windows 64 pro [FIXED]
Post by: BenYeeHua on December 12, 2013, 12:19:40 PM
Yup, thanks smartbit for finding that solution. ;)

For the backup registry, I has no idea yet, it look like no one know how to read from it.
---
http://superuser.com/questions/476105/is-registry-restored-after-a-system-restore (http://superuser.com/questions/476105/is-registry-restored-after-a-system-restore)
http://support.microsoft.com/kb/307545 (http://support.microsoft.com/kb/307545)

I guess this is the answer to get it? :)
Title: Re: CPU core use graph does not show, windows 64 pro [FIXED]
Post by: smartbit on December 12, 2013, 04:54:51 PM
Hi guys,

I've spent some time digging the registry.
As suggested, there are actually a backup registry files at "C:\Windows\System32\config\RegBack", which were dated a day prior to the fix.

I also found some tool to read the registry hives without importing them locally: <a href="http://www.gaijin.at/en/dlregview.php">RegistryViewer</a>. Then, it's possible to export the desired branch as a .reg file, so later you can compare it with the same exported brunch from the current system.

Since the whole registry is a big fat thing, I compared the related areas only (as referred here: <a href="http://support.microsoft.com/kb/300956">How to manually rebuild Performance Counter Library values</a>)

And actually, I didn't found anything outstanding there, the only delta between the two was the actual current counters' readings, and the "First"/"Last" counter numbers for various instances, while both of differences makes sense and doesn't clearly indicate any problem.

Anyways, the same MS KB article refers "lodctr /r" as a safe fix, without any potential drawbacks. So I think we can go with this solution for now.
Besides, all the registry research became too time-consuming, and we already have a decent solution here.
Title: Re: CPU core use graph does not show, windows 64 pro [FIXED]
Post by: BenYeeHua on December 13, 2013, 07:01:58 AM
Ok, thank for the information, I guess it can be other hidden place that it also restored. :)
Title: Re: CPU core use graph does not show, windows 64 pro [FIXED]
Post by: geloxo on December 13, 2013, 12:17:55 PM
Latest update (v6.7.0.28) solved the problem with CPU per core graph in my case. Thanks a lot for the support!
Title: Re: CPU core use graph does not show, windows 64 pro [FIXED]
Post by: BenYeeHua on December 13, 2013, 02:19:17 PM
Quote from: geloxo on December 13, 2013, 12:17:55 PM
Latest update (v6.7.0.28) solved the problem with CPU per core graph in my case. Thanks a lot for the support!
Thank for letting us know about that, it is because smartbit found which is the cause, and the solution. :)

You can choose to not answer this, but I just want to know, which software did you think it might causing this issues?
(It can be some software that optimizing or collecting data about performance)

I just want to know which software causing it, so that I/we can report to that dev of software about this issues.
If that dev can't be contact, then at least I/we can avoid it. :)
Title: Re: CPU core use graph does not show, windows 64 pro [FIXED]
Post by: geloxo on December 13, 2013, 09:35:31 PM
Hi BenYeeHua, sure no problem.

Honestly I don´t know what SW could be. I can tell you that today I updated to the latest lasso and prior to it Win7 autoupdated NetFramework 4.5.1, Defender, Internet explorer 11 plus other security KBs which I don´t know what they are. Last week I updated also Samsung Magician SW to v4.3 (a SSD toolbox included with a secondary disk I have) but anyway lasso was still not showing the graph after that update, and it worked ok with the old Samsung SW as well till the problem occured so I don´t think that Samsung SW was the reason. I don´t use any other SW for performance except HW64 (and MSI afterburner), as I said in the former posts. They are not updated since that moment and I don´t use them.

Sorry, I can´t help so much in this case..
Title: Re: CPU core use graph does not show, windows 64 pro [FIXED]
Post by: BenYeeHua on December 14, 2013, 03:43:27 AM
Never mind, at least we has a solution, even we don't found who causing it. :)