SilverAzide wrote: ↑March 1st, 2021, 12:55 pm
Hey everyone... The problem is that you need to blacklist the "dwm" process (Desktop Window Manager). Windows ignores this process in calculations (in perfmon and Task Manager). So:
Code: Select all
[MeasureGPU]
Measure=Plugin
Plugin=UsageMonitor
Alias=GPU
Blacklist="_Total|Idle|dwm"
...
I'm not 100% sure that is true. It is my experience that you don't want or need to blacklist anything when just getting the total GPU utilization. The plugin will automatically set MaxValue=100 on a measure using the GPU alias, and I think you want everything included in order to measure the "total" amount of usage.
You do want to use blacklist when using an Index of other than "0", when for instance you are getting the application that is the "top" user of GPU resources. In that case, you don't want dwm included, as it will just always be the "top" user of GPU and isn't of much value in keeping track of things.
As far as I know, there is no entry for "_Total" or "Idle" included in the GPU Utilization counter in perfmon.
In any case, this seems to work fine for me, but I guess your mileage may vary.
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[Variables]
[MeasureAllGPU]
Measure=Plugin
Plugin=UsageMonitor
Alias=GPU
Index=0
[MeasureTopGPU]
Measure=Plugin
Plugin=UsageMonitor
Alias=GPU
Index=1
BlackList=dwm
[MeasureAllVRAM]
Measure=Plugin
Plugin=UsageMonitor
Alias=VRAM
Index=0
[MeasureAllVRAMScale]
Measure=Calc
Formula=MeasureAllVRAM
[MeasureTopVRAM]
Measure=Plugin
Plugin=UsageMonitor
Alias=VRAM
Index=1
[MeasureTopVRAMScale]
Measure=Calc
Formula=MeasureTopVRAM
[MeterGPU]
Meter=String
FontSize=11
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
DynamicVariables=1
Text=Total GPU: [MeasureAllGPU:1]%#CRLF#Top GPU: [MeasureTopGPU] - [MeasureTopGPU:1]%
[MeterVRAM]
Meter=String
MeasureName=MeasureAllVRAMScale
MeasureName2=MeasureTopVRAMScale
Y=5R
FontSize=11
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
DynamicVariables=1
AutoScale=1
NumOfDecimals=1
Text=Total VRAM: %1B#CRLF#Top VRAM: [MeasureTopVRAM] - %2B
1.jpg
You do not have the required permissions to view the files attached to this post.