FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   SysInfo DLL Plugin (https://fileforums.com/showthread.php?t=103432)

Cesar82 18-05-2020 15:34

Quote:

Originally Posted by bunti_o4u (Post 485891)
GPU RAM Size - showing 4GB instead of 8GB.

What is your video card installed?

Razor12911 18-05-2020 18:27

Quote:

Originally Posted by Cesar82 (Post 485897)
What is your video card installed?

Quote:

Originally Posted by bunti_o4u (Post 485251)
GPU description is Zotac rtx 2070 super 8GB.


Quote:

Originally Posted by BLACKFIRE69 (Post 485888)
SysInfo DLL - Test 2



guys, test this plz, the new test DLL;

SysInfo_Test_2.rar

thanks to Cesar82, Jiva newstone, Razor12911, ... who helping me out here.

same, shows 4GB instead of 6GB. GTX 1060

Cesar82 18-05-2020 18:38

1 Attachment(s)
Quote:

Originally Posted by BLACKFIRE69 (Post 485888)
SysInfo DLL - Test 2



guys, test this plz, the new test DLL;

SysInfo_Test_2.rar

thanks to Cesar82, Jiva newstone, Razor12911, ... who helping me out here.

Here it worked OK using Inno Setup 6.04.
The script file for testing with Inno Setup 6 is attached.
https://i.imgur.com/Y5y2adK.png

Razor12911 18-05-2020 18:43

1 Attachment(s)
Maybe you'll figure out what the issue is :)

Cesar82 18-05-2020 22:16

Quote:

Originally Posted by Razor12911 (Post 485900)
Maybe you'll figure out what the issue is :)

It is not a unique GUI, Here is:
Code:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Video\
{0F559AFC-6CB8-11EA-908D-446D5762B1A6}\0000

Please check if this key exists in your system.
This key I found here, and in my system it is the same.
Code:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0000

Cesar82 18-05-2020 23:50

1 Attachment(s)
Test vRAM from registry...
If you have 2 or more video cards, the highest vRAM value will be displayed (if it is working correctly).

BLACKFIRE69 19-05-2020 04:48

Quote:

Originally Posted by Cesar82 (Post 485905)
Test vRAM from registry...
If you have 2 or more video cards, the highest vRAM value will be displayed (if it is working correctly).

in my case,

is always zero.

https://i.imgur.com/CWVGYaR.png

Cesar82 19-05-2020 05:23

Quote:

Originally Posted by BLACKFIRE69 (Post 485911)
in my case,

is always zero.

Run regedit and check if the registry key exists on your system:
Code:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0000
and
VALUE = HardwareInformation.qwMemorySize
and
VALUE = HardwareInformation.MemorySize


Gupta 19-05-2020 05:29

bro just use wmi, you'll require class - win32_VideoController property - AdapterRAM

or if you want to play lazy, you can just parse the output of this
Code:

wmic path win32_VideoController get AdapterRAM

BLACKFIRE69 19-05-2020 05:37

Quote:

Originally Posted by Cesar82 (Post 485912)
Run regedit and check if the registry key exists on your system:
Code:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0000
and
VALUE = HardwareInformation.qwMemorySize
and
VALUE = HardwareInformation.MemorySize


only HardwareInformation.MemorySize.

https://i.imgur.com/0j99te6.png

Cesar82 19-05-2020 06:49

1 Attachment(s)
Quote:

Originally Posted by BLACKFIRE69 (Post 485914)
only HardwareInformation.MemorySize.

try now.

BLACKFIRE69 19-05-2020 07:58

Quote:

Originally Posted by Cesar82 (Post 485916)
try now.

works... :D

Cesar82 19-05-2020 15:47

Quote:

Originally Posted by Gupta (Post 485913)
bro just use wmi, you'll require class - win32_VideoController property - AdapterRAM

or if you want to play lazy, you can just parse the output of this
Code:

wmic path win32_VideoController get AdapterRAM

Does not work for video cards over 4 GB look at win32_VideoController
uint32 AdapterRAM;
uint32 = unsigned integer 32 bits = 2^32 = 4294967296 bytes = 4 GB

Razor12911 20-05-2020 00:39

1 Attachment(s)
Another method is to use OpenCL but I do not recommend it unless if you really want to know more about the GPU, such as clock speeds or to use the GPU for other purposes.
They have an example and it detects GPU memory correctly as well.
https://code.google.com/archive/p/de...encl/downloads

felice2011 20-05-2020 02:11

Quote:

Originally Posted by Razor12911 (Post 485928)
They have an example and it detects GPU memory correctly as well.
https://code.google.com/archive/p/de...encl/downloads

Come on don't overdo it ....:D:p

is hungry a few GB on my old PC

https://i.ibb.co/CzsqD4t/VGA.png


All times are GMT -7. The time now is 05:46.

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