I'm not sure if this is a bug or not but since I couldn't find another post similar to this I'm asking. =P
I have Rainmeter set to autostart upon login and when it does, the one Perfmon measure in my skin doesn't report a value. Since my skin file is kind of long I only posted the code dealing with the Perfmon plugin.
The measure [mBandwidth] reports a zero even though I can see my Current Bandwidth from my network status dialog and the Performance Monitor MMC. To make sure I even checked the About dialog for the measure values and [mBandwidth] was the same there. Refreshing the skin wouldn't change the value so I usually have to restart Rainmeter to fix it. Any clue what is causing this?
Last edited by Klexur on April 7th, 2012, 5:22 am, edited 1 time in total.
Seahorse wrote:However lodctr /r results in Info: Successfully rebuilt performance counter setting from system backup store and a working plugin.
I got the same result saying the performance counters were rebuilt, but upon reboot the value is still a zero and still fixed by my restarting Rainmeter. Why is restarting Rainmeter fixing the plugin/value problem but not refreshing the skin? Or better yet, why isn't the value reported to begin with?
I had the same problem of measures using Perfmon.dll not updating with !Refresh when I upgraded to 2.3.0 beta r1265 64-bit. Although the change log says that "PerfMon.dll: Fixed a problem with incorrect values being returned in some cases" it seems that the 14KB version of Perfmon.dll (modified 25 March 2012) is still misbehaving.
Reverting to the 23KB version of Perfmon.dll that shipped with Rainmeter-2.3-r1245-beta cures the non-updating issue but does not support the use of DynamicVariables. it may cause some other problems with 2.3.0 beta r1265 but I haven't come across any - yet.
Mordasius wrote:Reverting to the 23KB version of Perfmon.dll that shipped with Rainmeter-2.3-r1245-beta cures the non-updating issue but I haven't done any serious testing to see if it causes any other problems with 2.3.0 beta r1265.
The beta release later today should fix your issues (sent you a PM, let me know if it works).
Just installed the fresh BETA release, v1273 (32-bit), as since I upgraded from the release to the BETA version, PerfMon.dll does not give me any Disk Read/Write values. This was working flawlessly in the release, however v1273 and the previous BETA do not.
EDIT: Following another persons advice on the forums, using the PerfMon.dll packaged with r1245, otherwise r1273 is running, and now writes and reads are working. Something with PerfMon in r1265 and r1273 does not allow Disk Reads/sec and Disk Writes/sec values to show.
#HD1# in this case is C: like most people. Right now with THIS code it works with the r1245 file, not r1265 or 1273. Is there a different code for those PerfMon revisions?
You do not have the required permissions to view the files attached to this post.
Last edited by Jasthrus on April 2nd, 2012, 1:37 am, edited 1 time in total.
I decided to checkout the Rainmeter git repo (5th Apr 12) to debug the PerfMon DLL. So far It's pretty odd. I did a Debug x64 build and everything works...but when I switch to Release x64, it breaks and it shows 0 again. Still investigating, but thought I'd share some detail.
Narrowed it down to Inline Function Expansion (PluginPerfMon properties > C/C++ > Optimization). When set to Default, everything is A-OK, but when using "Only __inline", which is the default for Release builds, everything falls over.