NikitaF Posted October 28, 2018 Share Posted October 28, 2018 Hello. I am developing a program for the needs of my organization and one thing remains: it is necessary to determine the type of video card (integrated or not). I rummaged through the whole Internet and did not find a good approach. They even suggest using CPU-Z, which is impossible in my case. I found the following parameter description in the WMI documentation (WIN32_VideoController): $ProtocolSupported_ReturnValue = @{ 1='Other' 2='Unknown' 3='EISA' 4='ISA' 5='PCI' 6='ATA/ATAPI' 7='Flexible Diskette' 8='1496' 9='SCSI Parallel Interface' 10='SCSI Fibre Channel Protocol' 11='SCSI Serial Bus Protocol' 12='SCSI Serial Bus Protocol-2 (1394)' 13='SCSI Serial Storage Architecture' 14='VESA' 15='PCMCIA' 16='Universal Serial Bus' 17='Parallel Protocol' 18='ESCON' 19='Diagnostic' 20='I2C' 21='Power' 22='HIPPI' 23='MultiBus' 24='VME' 25='IPI' 26='IEEE-488' 27='RS232' 28='IEEE 802.3 10BASE5' 29='IEEE 802.3 10BASE2' 30='IEEE 802.3 1BASE5' 31='IEEE 802.3 10BROAD36' 32='IEEE 802.3 100BASEVG' 33='IEEE 802.5 Token-Ring' 34='ANSI X3T9.5 FDDI' 35='MCA' 36='ESDI' 37='IDE' 38='CMD' 39='ST506' 40='DSSI' 41='QIC2' 42='Enhanced ATA/IDE' 43='AGP' 44='TWIRP (two-way infrared)' 45='FIR (fast infrared)' 46='SIR (serial infrared)' 47='IrBus' } Tell me, please, what value will correspond to the integrated video card, and what value - to the dedicated? P.S.: When I tried to get the protocol type, both video cards on the laptop return null for this parameter. Are there any other ways to determine the type of video card? Quote Link to comment Share on other sites More sharing options...
Fiery Posted October 29, 2018 Share Posted October 29, 2018 On 10/28/2018 at 2:05 PM, NikitaF said: Hello. I am developing a program for the needs of my organization and one thing remains: it is necessary to determine the type of video card (integrated or not). I rummaged through the whole Internet and did not find a good approach. They even suggest using CPU-Z, which is impossible in my case. I found the following parameter description in the WMI documentation (WIN32_VideoController): $ProtocolSupported_ReturnValue = @{ 1='Other' 2='Unknown' 3='EISA' 4='ISA' 5='PCI' 6='ATA/ATAPI' 7='Flexible Diskette' 8='1496' 9='SCSI Parallel Interface' 10='SCSI Fibre Channel Protocol' 11='SCSI Serial Bus Protocol' 12='SCSI Serial Bus Protocol-2 (1394)' 13='SCSI Serial Storage Architecture' 14='VESA' 15='PCMCIA' 16='Universal Serial Bus' 17='Parallel Protocol' 18='ESCON' 19='Diagnostic' 20='I2C' 21='Power' 22='HIPPI' 23='MultiBus' 24='VME' 25='IPI' 26='IEEE-488' 27='RS232' 28='IEEE 802.3 10BASE5' 29='IEEE 802.3 10BASE2' 30='IEEE 802.3 1BASE5' 31='IEEE 802.3 10BROAD36' 32='IEEE 802.3 100BASEVG' 33='IEEE 802.5 Token-Ring' 34='ANSI X3T9.5 FDDI' 35='MCA' 36='ESDI' 37='IDE' 38='CMD' 39='ST506' 40='DSSI' 41='QIC2' 42='Enhanced ATA/IDE' 43='AGP' 44='TWIRP (two-way infrared)' 45='FIR (fast infrared)' 46='SIR (serial infrared)' 47='IrBus' } Tell me, please, what value will correspond to the integrated video card, and what value - to the dedicated? P.S.: When I tried to get the protocol type, both video cards on the laptop return null for this parameter. Are there any other ways to determine the type of video card? We've never tried to use that value to detect bus type. What we do is simply go by the GPU type, by using its PCI device ID. We then have a backend database that indicates whether a certain GPU is integrated or bus-connected (like PCI, AGP, or PCI Express). Quote Link to comment Share on other sites More sharing options...
NikitaF Posted October 30, 2018 Author Share Posted October 30, 2018 18 hours ago, Fiery said: We've never tried to use that value to detect bus type. What we do is simply go by the GPU type, by using its PCI device ID. We then have a backend database that indicates whether a certain GPU is integrated or bus-connected (like PCI, AGP, or PCI Express). Yes, I assumed that you can just check on the database. Thank you for your reply Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.