FileForums

FileForums (https://fileforums.com/index.php)
-   FileForums Support (https://fileforums.com/forumdisplay.php?f=31)
-   -   Read out GPU Memory with a batch script and save as a text file (https://fileforums.com/showthread.php?t=104296)

bundy-al 25-03-2021 11:14

Read out GPU Memory with a batch script and save as a text file
 
Hi is there anyone here on the forum that WILL help me.
Who can change the script from Project1 or SysInfo DLL 2 and make it into a batch script ?
SysInfo DLL Plugin is here on the forum on pages 4 and 5.

Project1 you have to click on a button first to read the GPU Memory, I want the GPU Memory to be read and saved on the desktop as .txt and the script preferably as a batch file.

SysInfo DLL 2 also looks good, but only read out and save as .txt with a batch script.
Now it's a setup and you have to click Next, I don't want to see a fixed screen at all.


This would also be nice in a batch file.

Detecting Graphics Adapter Data

Basic Graphics Information

Adapter 1 Description : NVidia RTX 2070 Super
Adapter 1 Video Memory : 8.00 GB [Rounded Value].
Adapter 1 Driver Date : 2021-02-23
Adapter 1 Driver Version : 27.21.14.6172
Adapter 1 Bits Per Pixel : 32
Adapter 1 Video Mode Desc : 1920 x 1080 x 4294967296 colors

Adapter 2 Intel(R) HD Graphics 4600 (128 MB)
Adapter 2 Video Memory : 128 MB [Rounded Value]
Adapter 2 Driver Date : 2021-02-23
Adapter 2 Driver Version : 27.21.14.6172
Adapter 2 Bits Per Pixel : 32
Adapter 2 Video Mode Desc : 1920 x 1080 x 4294967296 colors

And if that's not possible, then just this,

Adapter 1 Description : NVidia RTX 2070 Super
Adapter 1 Video Memory : 8.00 GB [Rounded Value]
Adapter 2 Intel(R) HD Graphics 4600 (128 MB)
Adapter 2 Video Memory : 128 MB [Rounded Value]

Display this script with read in and then save it to the desktop as a .txt

Please message back if you are willing and able to make this batch script for me please, if you have the time.
Then you are the best for me.

Best regards

Joe Forster/STA 25-03-2021 12:01

Use this command line:
Code:

wmic path win32_VideoController get name,adapterram
It won't report RAM above 4GB, though; that's a limitation of this interface. You can find the proper value in the registry:
Code:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0*\HardwareInformation.qwMemorySize
where "0*" are the subkeys of available display adapters.

bundy-al 25-03-2021 12:59

It won't report RAM above 4GB, yes I knew that.
That is why I asked for a batch script that can also read 8GB.

Here is the script from Cesar82 and Razor12911
https://fileforums.com/showthread.ph...ht=1060&page=4

Form1 then you need to click on the Button1 to show the GPU Memory.
I want it to be read and then saved as .txt on the desktop with a batch script.


All times are GMT -7. The time now is 08:49.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Copyright 2000-2020, FileForums @ https://fileforums.com