Bitcoin Forum
June 26, 2024, 11:56:38 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Correlating GPU to PCI Slot [Windows]  (Read 158 times)
cmisztur (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
November 20, 2017, 02:56:10 PM
 #1

It really is a pain to identify which GPU needs attention based on information available in Windows. 

The closest I have come to identifying a GPU index to its PCI slot is demonstrated in the below Powershell script.  But even then, each Windows install is different so this procedure can't really be reproduced.  I am posting this in case someone has come across a better method or can expand on this script.

The idea behind this script is to identify all PCI devices and their children in Windows.  Then, one has to unplug GPU by GPU and correlate the PCI device to a physical PCI slot.  Once you have this cross reference, you can disable the GPUs you need in order to identify them.  The disabled GPUs will output a ProblemCode other than zero in the script.

Required DeviceManagement Cmdlets:
https://gallery.technet.microsoft.com/Device-Management-7fad2388

Powershell Script:
https://pastebin.com/x3zzzgru

Powershell Output:
https://i.imgur.com/S4KtFAB.png

/c
minerlai
Member
**
Offline Offline

Activity: 61
Merit: 10


View Profile
November 20, 2017, 03:55:17 PM
 #2

i noticed that GPU number starts from the closest to the CPU. Meaning GPU 0 is closest to the CPU and it goes on from there. hope this helps

Paycent|ICO: 2-30 Nov ’17
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!