Wow, excellent. This did work for my NVMe, looks mean and clean. However I am a bit puzzled in regards of my RX570.
It shows up in System Profiler as two devices (audio and video) with following names and IDs:
pci1002,aaf0 (Audio Device), VID: 0x1002 DevID: 0xaaf0
Radeon RX570 (Display Controller), VID: 0x1002 DevID: 0x67df
Now I probe them using gfxutil and:
Code:
sudo ./gfxutil | grep 1002
05:00.0 1002:67df /PCI0@0/IOU0@3/GFX0@0 = PciRoot(0x0)/Pci(0x3,0x0)/Pci(0x0,0x0)
05:00.1 1002:aaf0 /PCI0@0/IOU0@3/HDAU@0,1 = PciRoot(0x0)/Pci(0x3,0x0)/Pci(0x0,0x1)
And this is all OK until I look into my config.plist, which looks like:
XML:
<key>DeviceProperties</key>
<dict>
<key>Add</key>
<dict>
<key>PciRoot(0x0)/Pci(0x1c,0x5)/Pci(0x0,0x0)</key>
<dict>
<key>brcmfx-country</key>
<string>PL</string>
</dict>
<key>PciRoot(0x0)/Pci(0x1f,0x2)</key>
<dict>
<key>built-in</key>
<integer>1</integer>
</dict>
<key>PciRoot(0x0)/Pci(0x7,0x0)</key>
<dict>
<key>pci-aspm-default</key>
<integer>2</integer>
</dict>
<key>PciRoot(0x0)/Pci(0x7,0x0)/Pci(0x0,0x0)</key>
<dict>
<key>built-in</key>
<integer>1</integer>
<key>name</key>
<string>Adata NVMe controller</string>
<key>pci-aspm-default</key>
<integer>2</integer>
</dict>
</dict>
Looks like my config takes the USB3 and NVME controllers into account and also lists my (upgraded) Broadcom bt/wifi combo that sits in the stock mini-pcie socket (I have no idea why actually since it is not the factory item but and upgraded AC one, it works great so I don't bother).
But where is the GPU (and corresponding audio device)? There is no mention of
Pci(0x3)
throughout config.plist and yet I get GPU-accelerated encoding in VideoProc...