Used some AI trying to find an answer but this is what it has spit out.
”I am running TrueNAS SCALE 25.10 on an AMD Ryzen platform (AMD-Vi/IOMMU enabled, IVRS detected, IOMMU functional).
I am trying to pass through NVIDIA GPUs (GTX 1080 Ti and GTX 1070) to Windows 11 virtual machines using VFIO with QEMU/KVM.
The GPUs bind correctly to vfio-pci and are isolated into separate IOMMU groups.
However, when starting the Windows VMs, QEMU fails during PCI device assignment with:
vfio 0000:xx:xx.x: failed to setup container for group xx: Invalid argument
and kernel logs show:
Firmware has requested this device have a 1:1 IOMMU mapping
rejecting configuring the device without a 1:1 mapping
The failure occurs during VFIO IOMMU container creation before the VM fully starts.
BIOS settings (Above 4G decoding, SR-IOV, AMD IOMMU enabled), ACS override, and kernel parameters (iommu=pt, allow_unsafe_interrupts) do not change the behavior.
The system reports:
iommu: Default domain type: Translated
AMD-Vi: Interrupt remapping enabled
This appears to be a VFIO + AMD IOMMU compatibility issue during IOMMU container setup on Linux 6.12 under Windows VM passthrough.
Error I get when trying to launch is
[EFAULT] internal error: QEMU unexpectedly closed the monitor (vm=‘8_VM’): 2026-06-14T22:14:53.693269Z qemu-system-x86_64: warning: This family of AMD CPU doesn’t support hyperthreading(2). Please configure -smp options properly or try enabling topoext feature.
2026-06-14T22:14:58.047866Z qemu-system-x86_64: -device {“driver”:“vfio-pci”,“host”:“0000:01:00.0”,“id”:“hostdev0”,“bus”:“pci.5”,“addr”:“0x0”}: vfio 0000:01:00.0: failed to setup container for group 14: Failed to set group container: Invalid argument”
I have got the GPU to work in apps but still can not get it to work with the VM, without the GPU VM works fine. On a AMD Ryzen 9 7900 12-Core Processor with a MSI MAG X870E Tomahawk WiFi Motherboard. Not sure what else to do at this point I have been working on this for 3 days now. Any support would be appreciated. Update to the most recent truenas version and most recent Bios version.