kaelri / enigma

A featured "suite" for the Windows system monitoring application, Rainmeter.
https://www.kaelri.com/project/enigma/
269 stars 93 forks source link

Enigma makes Rainmeter run slow #119

Open mon0theist opened 3 years ago

mon0theist commented 3 years ago

Whenever any Enigma skins are loaded, it causes Rainmeter to run super slow, ie:

Right-clicking skins takes like 5-10 seconds before any menu actually pops up

Opening the Rainmeter app itself from system tray takes about 5-10 seconds

Sometimes the Enigma skins themselves freeze during the aforementioned actions

If Enigma skins are unloaded, this does not happen, Rainmeter runs totally smooth

mon0theist commented 3 years ago

Updated to the Rainmeter 4.4 Beta and this seems to resolve the issue, Enigma+Rainmeter runs smooth as butter, no more lagging.

mon0theist commented 3 years ago

Issue is still persisting. It seemed that it was fixed right after installing the Rainmeter 4.4 Beta, but after a reboot, the issue has returned

mon0theist commented 3 years ago

I believe I've found the culprit, it's the Process.ini skin, everything runs smoothly until that skin is loaded. It seems to be due to it using the now deprecated AdvancedCPU.dll plugin, Rainmeter docs suggest to use UsageMonitor.dll plugin instead

https://docs.rainmeter.net/manual/plugins/deprecated/advancedcpu/

https://docs.rainmeter.net/manual/plugins/usagemonitor/

Will try to fix but I'm not a dev so we'll see what happens

mon0theist commented 3 years ago

I have updated Process.ini for UsageMonitor instead of AdvancedCPU

Now I just have to figure out how to submit it for a merge...

https://gist.github.com/mon0theist/3fcb5af30c80a38d04b3eff108fb231a

mon0theist commented 3 years ago

xeniumReddit also posted a fix on this reddit post about the same time I got my version working:

https://www.reddit.com/r/Rainmeter/comments/kml2p1/fixing_enigmas_processini_trying_to_understand/ghfkqtx/

mon0theist commented 3 years ago

Created Pull Request #120 to resolve issue