nepnep39/neofetch-win

GPU doesn't get Updated after swapping it

Boaphlipsy opened this issue · 4 comments

Using the WinSAT PrimaryAdapterString Registry Key to get the name of the GPU will only work for the first GPU installed. This registry will not get updated after installing another GPU.

A potential fix could be to use the Registry Entry HardwareInformation.AdapterString from Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0000 which seems to be the current Primary GPU

try running winsat formal

I have already manually set the Winsat registry key to the new AdapterString so it's technically fixed for me

that'll do lol