It is currently April 27th, 2024, 7:03 am

GPU Display info

Get help with creating, editing & fixing problems with skins
slaithan
Posts: 15
Joined: April 12th, 2013, 9:39 pm

GPU Display info

Post by slaithan »

Is there a way to measure the dedicated video memory, shared system video memory and the total available graphics memory of the GPU?

Also is there a way to measure the GPU memory usage as a percentage?
I use MSI afterburner to measure the usage but that is only as Mb used not a percentage.

Thanks in advance
Last edited by slaithan on April 17th, 2013, 4:12 pm, edited 1 time in total.
User avatar
Dank420
Posts: 145
Joined: April 3rd, 2013, 1:04 am
Location: O-High-O

Re: GPU Display info

Post by Dank420 »

I do this...


[Measurevidname]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=SYSTEM\ControlSet001\Control\Class\{4D36E968-E325-11CE-BFC1-08002BE10318}\0000
RegValue=DriverDesc
UpdateDivider=-1

[Measurevram]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=SYSTEM\ControlSet001\Control\Class\{4D36E968-E325-11CE-BFC1-08002BE10318}\0000
RegValue=HardwareInformation.MemorySize
UpdateDivider=-1

[vramcalc]
measure=calc
formula=(([Measurevram]/1024)/1024)
dynamicvariables=1

[MeterDisplay]
Meter=String
MeasureName=Measurevidname

[Metervram]
Meter=String
MeasureName=vramcalc
x=0
y=2R
text="VRam: %1 MB"


but different from person to person(machine) so if you search reg for

HardwareInformation.MemorySize

you'll find the {4D36E968-E325-11CE-BFC1-08002BE10318} that applies to you , change it to yours and i think should work
Ive put this together from other question /answers in the forums, as for interfacing with afterburner, i don't know. I also use Nvidia not sure if this works with Ati now that i think about it??

not sure about shared and total available , where there regkey would be

Edit: UpdateDivider=-1
slaithan
Posts: 15
Joined: April 12th, 2013, 9:39 pm

Re: GPU Display info

Post by slaithan »

Thank you for that, much appreciated.
Got the dedicated video ram part working well now.

Anyone else help on shared system video memory, total available graphics memory of the GPU and showing the gpu memory usage as a percentage?
User avatar
Dank420
Posts: 145
Joined: April 3rd, 2013, 1:04 am
Location: O-High-O

Re: GPU Display info

Post by Dank420 »

ok then, found shared and total in reg ( on win 7 anyway) as sharedvideomemory and Videomemorysize ...using same reg/calc method ..

```````````````````````````````````````````
[Measurevidname]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=SYSTEM\ControlSet001\Control\Class\{4D36E968-E325-11CE-BFC1-08002BE10318}\0000
RegValue=DriverDesc
UpdateDivider=-1

[Measurevram]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=SYSTEM\ControlSet001\Control\Class\{4D36E968-E325-11CE-BFC1-08002BE10318}\0000
RegValue=HardwareInformation.MemorySize
UpdateDivider=-1


[MeasureSVram]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winsat
RegValue=SharedVideoMemory
UpdateDivider=-1


[MeasureTVram]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winsat
RegValue=VideoMemorySize
UpdateDivider=-1


[vramcalc]
measure=calc
formula=(([Measurevram]/1024)/1024)
dynamicvariables=1


[SVramcalc]
measure=calc
formula=(([MeasureSVram]/1024)/1024)
dynamicvariables=1

[TVramcalc]
measure=calc
formula=(([MeasureTVram]/1024)/1024)
dynamicvariables=1



[MeterDisplay]
Meter=String
MeasureName=Measurevidname


[Metervram]
Meter=String
MeasureName=vramcalc
x=0
y=2R
text="VRam: %1 MB"


[MeterSVram]
Meter=String
MeasureName=SVramcalc
x=0
y=2R
text="Shared Vram: %1 MB"


[MeterTVram]
Meter=String
MeasureName=TVramcalc
x=0
y=2R
text="Total Vram: %1 MB"

``````````````````````````````
Again search reg for; VideoMemorySize, SharedVideoMemory, HardwareInformation.MemorySize to change to your regkey location


i assume one could websparse reg for keys and set automatically ,but im no good with it.
as for GPU usage, need outside program (speedfan, for example..) the rainmeter can "talk" to. No Stand alone dll plugin for Gpu stats, that I'm aware of (still working) exists yet..( was a ati dll that was close to driver enough to read ati stats , but broke(last i saw).
i like (Adia16 turned Adia32 turned Everest turned) Adia64 but its a paid program,(and heavy on resources, comparably to others, but more info then you need....)
slaithan
Posts: 15
Joined: April 12th, 2013, 9:39 pm

Re: GPU Display info

Post by slaithan »

Nice one Bruv, I'm new to all this, never had to check the registry for anything but I've just had a crash course now lol.

Much respect, really appreciate all your help
User avatar
Grim
Posts: 56
Joined: February 5th, 2014, 3:44 pm
Location: Canada

Re: GPU Display info

Post by Grim »

Thanks for this. Was able to get info on my Vid card using the following on Win7. Simplifies it a bit and also put the code in a "code" block for easier copy/pasta. :thumbup:

Code: Select all

[Measurevidname]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winsat
RegValue=PrimaryAdapterString
UpdateDivider=-1

[Measurevram]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winsat
RegValue=DedicatedVideoMemory
UpdateDivider=-1

[MeasureSVram]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winsat
RegValue=SharedVideoMemory
UpdateDivider=-1

[MeasureTVram]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winsat
RegValue=VideoMemorySize
UpdateDivider=-1

; Calculations on RAM
[vramcalc]
measure=calc
formula=(([Measurevram]/1024)/1024)
dynamicvariables=1

[SVramcalc]
measure=calc
formula=(([MeasureSVram]/1024)/1024)
dynamicvariables=1

[TVramcalc]
measure=calc
formula=(([MeasureTVram]/1024)/1024)
dynamicvariables=1

; Meters
[MeterDisplay]
Meter=String
MeasureName=Measurevidname
X=0
Y=4r
W=(#skinWidth#-(#skinPad#*2))
AntiAlias=1

[Metervram]
Meter=String
MeasureName=vramcalc
X=0
y=2R
text="VRAM: %1MB"

[MeterSVram]
Meter=String
MeasureName=SVramcalc
X=0
y=2R
text="Shared VRAM: %1MB"

[MeterTVram]
Meter=String
MeasureName=TVramcalc
X=0
y=2R
text="Total VRAM: %1MB"
Edit: So I came home after editing the above at work and to make some more tweaks on my skin, the code doesn't work on my home system. What's even weirder is that the registry plugin/meter works fine for:

Code: Select all

[MeasureCPUType]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=HARDWARE\DESCRIPTION\System\CentralProcessor\0
RegValue=ProcessorNameString
:confused:

Was really hoping to avoid 3rd party apps to get info...

Edit2: Solution - http://rainmeter.net/forum/viewtopic.php?f=14&t=17686