SilverAzide / Gadgets

Gadgets for Rainmeter
Other
365 stars 12 forks source link

[Feature Req] Add ability to manually specify total VRAM #71

Closed candre23 closed 1 year ago

candre23 commented 1 year ago

My GPU (tesla P40) does not output MemoryUsage as a percent. It does provide MemoryAlloc. If there were an option to manually specify the total VRAM in the config file, the meter could easily calculate the % used and % free.

SilverAzide commented 1 year ago

Hello! Actually, there is already an option for that. I'm not familiar with the Tesla GPUs, but AMD and other GPUs are similar in that they don't provide a percentage usage either.

Open the HWiNFO.ini file and look for the option GPU0_MemoryTotal. Change the default value of 0 to the memory on your video card in megabytes (e.g., 24GB would be 24576). (If your card is not GPU 0, then obviously you'd change the setting appropriate for your card as shown in HWiNFO.)

Let me know how it goes...

candre23 commented 1 year ago

Thank you. I don't know how I missed that the first three times I went looking for a way to make the memory report properly. My bad.