I'm trying to run the Intel Power Gadget on a Win 8.1 x64 system with a Core i7-720QM. The program and the MS Visual C++ 2010 redistributable library appear to install OK, but the tool will not start. I try launching it, and nothing happens. I attached windbg to the executable, but did not learn anything. I also investigated it with Process Monitor and Dependency Walker, but couldn't get to the bottom of it.
The same utility runs fine on a different computer. Curiously, I might have not installed the MSVC 2012 redistributable on that PC. I don't see it listed in Programs and Features. The power gadget runs just fine though.
Can you post screenshot of Dependency Walker and screenshot of windbg output? In your case Power Gadget can exhibit so called Silent Process Termination.
I also posted this on StackOverflow. A user kindly analyzed the executable and came up with this conclusion:
i took a look at the offending exe it seems there is an integer division by zero exception in EnergyLib64.dll->Initialization Routine called by initterm (LdrpRunInitializeRoutine) when it checks for some processor specific functionality using cpuid the result of cpuid after some calculations is shifted right by 20 shr eax,20 which makes eax 0 and the divisor ebp is also 0 so div eax, ebp results in a divide by zero exception which leads to immediate termination. via msvcrt!exit at 0x......9e78
So, it seems that there's a bug which only affects systems with certain CPUs.
Can someone at Intel report this to the utility authors? The authors appear to be: Seung-Woo Kim, Karthik Krishnan, Vardhan Dugar, Joseph Jin-Sung, and Jun De Vega.
We are still using VS 2010 for backward compatibility, so the run time distributable that comes with the package should be enough. There must be something else going on.
Seung-Woo Kim (Intel) wrote:
Yep, it's Clarksfield. Intel Power Gadget supports SandyBridge and later.
OK, thanks. I read the System Requirements too quickly and thought that all Core CPUs were supported.