jx3shiro Posted October 11, 2019 Share Posted October 11, 2019 (edited) Hi guys, Apologies for asking what may be some pretty silly questions, I've only recently started tinkering with Unraid! I have a system with a 3900x on the Asus TUF Gaming + Wifi x570 motherboard. I was able to get the primary graphics card (GTX 1660) passed through to my first VM with no issues using the vfio-pci.ids=... configuration on the bootable USB. I am now trying to pass through one of the onboard USB controllers and I'm running into some issues. I am able to identify 3 separate USB controllers in the System devices area but they all have the same ID (1022:149c) and the bootable drive is plugged into one of the onboard USB slots (I don't have a PCI-e expansion card). If I try adding that ID to the vfio-pci.ids configuration, the system understandably fails to start properly (It still boots but loses network and encounters some other issues). Googling leads to some other users who have seemed to achieve some level of success by using the BIND=... configuration using the vfio-pci.cfg file. I have tried adding BIND=... option but the USB controller still refuse to show up in the "Other PCI Devices" section when configuring the VM. I've also tried putting in the corresponding values for the NVIDIA USB and serial controllers that were successfully passed through using vfio-pci.ids=... and that also fails as well. I feel like I'm either doing something wrong or the vfio-pci.cfg file is being ignored altogether. I'm pretty sure my file is located in the right area as well (root/config/vfio-pci.cfg) I'm really hoping one of you guys can give me some advice as to what to attempt next! I've attached my iommu groupings and lsusb results below. Thanks so much in advance! iommu grouping.txt lsusb results.txt Edited October 11, 2019 by jx3shiro Quote Link to comment
photoGrant Posted November 10, 2019 Share Posted November 10, 2019 I am also having this exact issue, can anyone help? Quote Link to comment
iLLNESS Posted November 16, 2019 Share Posted November 16, 2019 Quote If you are modifying the file while booted its in /boot/config/vfio-pci.cfg If you are modifying the file in another OS it should be located in /config/vfio-pci.cfg Quote Link to comment
johnsanc Posted January 19, 2020 Share Posted January 19, 2020 (edited) I have the same issue with 6.8.1 - the vfio-pci.cfg file appears to do nothing. I really need this functionality since my x570 board uses the same ID for the USB controllers in multiple groups. EDIT: After reading several threads about this exact same issue I have a feeling the timing of when the cfg is loaded doesnt work for everyone. I was able to get binding to work properly using the old school way of passing through devices. I edited my "/boot/config/go" file: #!/bin/bash # Start the Management Utility. /usr/local/sbin/emhttp & # Bind USB For VM /usr/local/sbin/vfio-bind 0000:35:00.3 Edited January 19, 2020 by johnsanc Quote Link to comment
Endy Posted January 19, 2020 Share Posted January 19, 2020 I have an AsRock X570 Taichi and what I had to do to get the onboard usb to passthrough was to go into the bios and switch all of the usb options from Auto to Enabled. Quote Link to comment
Rite_Eh Posted January 20, 2020 Share Posted January 20, 2020 I'm having the same issue as well and unfortunately the above suggestion by johnsanc didn't help me either. Ryxen 3900x, Asus 570-E motherboard, three usb controllers (two of which are in different iommu groups) and all with the same ID. Trying to pass through group 33, no luck with either option mentioned here: /boot/config/go, added: # Bind USB For VM /usr/local/sbin/vfio-bind 0000:0d:00.3 --- Group info: IOMMU group 22:[1022:57a4] 03:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:1485] 07:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:149c] 07:00.1 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:149c] 07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller IOMMU group 33:[1022:149c] 0d:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller --- I must be missing something obvious, first method doesn't work either for me. No USB controller ever shows up in other PCI devices. Quote Link to comment
Praxis Posted January 21, 2020 Share Posted January 21, 2020 You might want to try passing through the PCI bus. Have a look at this thread which details the process of editing the XML file. It might be a bit more work to separate the IOMMU groups, but you will end up with more flexibility and can hotswap into the USB ports. Pass through entire pci usb controller Quote Link to comment
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.
Note: Your post will require moderator approval before it will be visible.