You misunderstood. The info displayed is actually fine. The adaptor in that notebook is an old hybrid type no longer used (it's actually an nVidia-nVidia hybrid, later solutions are intel-nVidia). No issues, except it's showing the graphics memory two times.
I saw it listed twice i thought it had duplicated by mistake or vram was over 4gb and shown as a overflow amount as new calc routine was used. Wmic api may of got confused too.
It switches between "performance" and "energy saving" GPU and appears as two adaptors, but it's actually one. There are also some older ATI cards that had a "Primary" and "Secondary" adaptor being listed.
I remember a old Sony Viao laptop of my boss's that had a physical switch to change between intel and i think ATI as for some weird reason you could play PlayStation 1 games though its DVD unit, that never worked as it was designed for China only and would refuse to play other language PS1 games. I accidentally killed the laptop with a bios update, to allow at the time Vista to be installed... Silly thing was the update came through Sony's own software updater!! Sony refused to repair as the device was taken out of China as she bought it while visiting some school there, needless to say she never bought that brand again. Still have that laptop in my cupboard somewhere.
Some slow progress with the VideoRam data , fingers crossed it will be ok with greater than 4GiB cards, but i am unsure if it is showing the data for Dedicated, Shared or the mixture of both at the moment. Sent off a link to the test script (v5) .... Awaiting results.... Off to work i go, will log in later when on a break. My results: Code: VideoController1 ---------------- Name = NVIDIA GeForce GTX 1050 Ti VideoRam = 4,095.00 MiB BPP = 32 Drvr Date = 03/01/2018 12:00:00 AM Drvr Vers = 23.21.13.9065 If there is a breakthrough for larger than 4GiB cards then i will need to rewrite the QT again
Code: VideoController1 ---------------- Name = NVIDIA GeForce 840M VideoRam = 2.048,00 MiB BPP = 29-3-2020 01:00:00 Drvr Date = 26.21.14.4283 VideoController2 ---------------- Name = Intel{R} HD Graphics 5500 VideoRam = 1.024,00 MiB BPP = 32 Drvr Date = 16-10-2017 02:00:00 Drvr Vers = 20.19.15.4835 Press any key to continue . . .
Some slow progress with the VideoRam data , fingers crossed it will be ok with greater than 4GiB cards, but i am unsure if it is showing the data for Dedicated, Shared or the mixture of both at the moment. Sent off a link to the test script (v5) .... Awaiting results.... Off to work i go, will log in later when on a break. the link was for me, but the script doesn't work yet.
Sadly the registry way using 'HardwareInformation.qwMemorySize' failed too I was not expecting it to work as nothing else the OS's internal commands offer worked and still only return the 32 bit maxed 4GiB Even powershell fails and that based on .Net so how the hell does m$ get the info that shows on the Display Properties that shows the Shared and Dedicated ?? So i think to save my sanity and a sink hole of my time the VRAM value will no longer show in the QT. Unless someone has a way to get the correct value?? Dxdiag not a viable method - takes to long to create the file to parse and not easy to separate more than one video card. GPU-Z no use as it is a 3rd party program - plus try to parse that too!!
After a few days break from the project to catch up with life in general, i have started on the next release of the MRP Nothing new added at moment but something is in the pipeline, as usual more details on that when it is in testing... For the next Query Tool , there will be more details on what i have decided to do with a certain problematic section later.
Regarding the Query Tool As i spent many hours trying to get the VRam part to work i have decided to keep the section in and if a card is detected with 3.8 GiB or more then a short message is shown. For example: Code: Adapter 1 Description : NVIDIA GeForce GTX 1050 Ti {Ref:v} Adapter 1 Video Memory : 4,095 MiB {Results above 4,096 MiB cannot be shown correctly, see VRam notes} Adapter 1 Driver Date : 2018-01-03 Adapter 1 Driver Version : 23.21.13.9065 Video Ram {VRam} Notes : The data may not always be accurate due to Windows API limitations, or if using shared RAM. General Notes : Hardware that is not compatible with Windows Display Driver Model returns inaccurate values. WinSat Scores {Max: 9.9} : CPU: 8.1 | RAM: 8.1 | Graphics: 8.5 | Primary Disk: 8.2 | Base Rating: 8.1 WinSat Status Information : Data is valid. Another reason is i would have to re-write the entire routine, (yet again!), which i am not prepared to do at this time, the majority of the data returned is still OK, with the odd few special exceptions. There may be extra lines added with data such as Bits-Per-Pixel, Resolution etc again.