Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

vfio-pci.cfg seems to be ignored

Featured Replies

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 by jx3shiro

  • 5 weeks later...

I am also having this exact issue, can anyone help?

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

  • 2 months later...

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 by johnsanc

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.

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.

 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

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.