Mor3bane wrote: ↑February 25th, 2020, 12:57 pm
Hello, I wish to monitor my GPU Usage.
Does the MSI Afterburner plugin do that?
If so, then my take on it isn't correct:
Code: Select all
[MeasureGPU1Usage]
Measure=Plugin
Plugin=MSIAfterburner.dll
GPU=0
GPUDescriptor=Usage
RegExpSubstitute=1
[MeasureGPU1UsageFree]
Measure=Plugin
Plugin=MSIAfterburner.dll
InvertMeasure=1
GPU=0
GPUDescriptor=Usage
RegExpSubstitute=1
Is this even possible or am I looking down another rabbit hole?
Yes, it does, but you'd better use
SourceId instead of
GPUDescriptor. The latter is used mainly when you need the name of your video card, while the former is for, well, everything else:
Code: Select all
[MeasureGPU0DisplayName]
Measure=Plugin
Plugin=MSIAfterburner.dll
GPU=0
GPUDescriptor=DisplayName
RegExpSubstitute=1
Substitute="(?:^\s+|\s+$)":"","(^$|^0$)":"Unavailable"
[MeasureGPU0Usage]
Measure=Plugin
Plugin=MSIAfterburner.dll
GPU=0
SourceId=48
For what those SourceIds are and what each of them provides you may choose one of the following options:
- search on MSI AB forum - and their plugin forum as well - for a list (it's hidden in the many posts there)
- open "c:\Program Files (x86)\MSI Afterburner\SDK\Include\MAHMSharedMemory.h" with your text file viewer and you'll see the hexadecimal (base 16) codes for (I believe) each of the possible SourceIds. You just have to convert that number to base 10 and use it in your skin
- if none of the above succeed (although I doubt it), I can post my video card skin which also uses MSI AB's plugin
Be aware of some things though:
- MSI AB must be installed and running, in order to be able to get the GPU (and other) data
- some GPUs need some "tricks" to have data for them (I'm thinking Ryzen here, I don't know of any other GPUs needing "special measures")
- GPU usage is very hard to notice while in desktop mode, in Windows. That's because you GPU barely does any hard work while in desktop mode, you'd need to try very hard to use it (like playing a 4K movie, some reasonable resolution Flash on the internet, some video processing, etc.) to notice some change in the data. Where GPUs do actual work is in games or other 3D apps, but there you probably won't be able to see Rainmeter's skins, since you won't be in desktop mode anymore - but don't worry, MSI AB (and Riva Tuner Statistic Server, aka RTSS) have their own OSD monitoring capabilities, and with a little tweaking, you can make a "MSI AB skin" for when you're in 3D mode. I, for example, am using Rainmeter for the monitoring in desktop mode and MSI AB + RTSS for almost the same monitoring (i.e. CPU, GPU, RAM, PageFile or FPS) -both functionally and visually - in 3D mode.
That being said, a better thing that you can watch for other values than 0 would be the GPU temperature (SourceId=0). This way you'll notice faster if you have data feedback from the plugin or not. Or, you can download my
MYiniMeter suite and if MSI AB is installed and running you should be able to see some stuff from it.