Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1417

Help: Rainmeter Skins • Re: [HELP] VRAM Total using UsageMonitor ?

$
0
0
if you are using nvidia card, you can use this prompt in RunCommand plugin to get the correct total vram

Code:

nvidia-smi --query-gpu=memory.total --format=csv,noheader,nounits
If you want gpu in general, the only way I found is with registry like reply above

Code:

[MeasureVRAMTotal]Measure=PluginPlugin=RunCommandProgram=PowerShellParameter="Remove-Item -Path '#CURRENTPATH#vram.txt' -ErrorAction SilentlyContinue; (Get-ItemProperty -Path 'HKLM:\\SYSTEM\\ControlSet001\\Control\\Class\\{4d36e968-e325-11ce-bfc1-08002be10318}\\0*' -Name HardwareInformation.qwMemorySize -ErrorAction SilentlyContinue).'HardwareInformation.qwMemorySize'"State=HideOutputType=ANSIDynamicVariables=1[MeasureReadVRAMCalc]Measure=CalcFormula= [MeasureVRAMTotal] /1024 /1024DynamicVariables=1
Because RunCommand need to be executed manually, you need to execute it automatically by adding it in [Rainmeter]

Code:

[Rainmeter]Update=500OnRefreshAction=[!CommandMeasure "MeasureVRAMTotal" "Run"]
For more info about Command in [Rainmeter] Click Here
Check my DeviantArt for skin example

Statistics: Posted by unamed666 — Today, 10:12 am



Viewing all articles
Browse latest Browse all 1417

Trending Articles