RTX 5060 Ti VFIO passthrough on AMD X570 consumer motherboard fails – Firmware 1:1 IOMMU issue

007za

New Member
Jan 2, 2026
2
0
1
Hi all. Hope someone can help or point me in the correct diection as I have tried everything.
I would like to get Ubuntu loaded with GPU pass through and could not get that working so I thought I would try with Windows as it is "plug and play"
Below is my rig.

Hardware:
Asus RXT 5056 TI 16 gig
CPU: 24 x AMD Ryzen 9 9900X 12-Core Processor (1 Socket)
M/Board: Gigabyte b850m Eagle WiFi6E
64 gig DDR 5 RAM

Proxmox Info:
Boot Mode: EFI
Kernel version: 6.17.4-1-pve

Grub extract:
# hashed out Grub_CMd....are previous tests.
RUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`( . /etc/os-release && echo ${NAME} )`
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on video=efifb:off"
#GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt video=efifb:off"
#GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt"

find /sys/kernel/iommu_groups/ -type l
/sys/kernel/iommu_groups/17/devices/0000:04:01.0
/sys/kernel/iommu_groups/7/devices/0000:00:04.0
/sys/kernel/iommu_groups/25/devices/0000:0e:00.0
/sys/kernel/iommu_groups/25/devices/0000:04:0c.0
/sys/kernel/iommu_groups/15/devices/0000:03:00.0
/sys/kernel/iommu_groups/33/devices/0000:11:00.6
/sys/kernel/iommu_groups/5/devices/0000:00:02.2
/sys/kernel/iommu_groups/23/devices/0000:04:07.0
/sys/kernel/iommu_groups/13/devices/0000:01:00.0
/sys/kernel/iommu_groups/13/devices/0000:01:00.1
/sys/kernel/iommu_groups/31/devices/0000:11:00.3
/sys/kernel/iommu_groups/3/devices/0000:00:02.0
/sys/kernel/iommu_groups/21/devices/0000:04:05.0
/sys/kernel/iommu_groups/11/devices/0000:00:14.3
/sys/kernel/iommu_groups/11/devices/0000:00:14.0
/sys/kernel/iommu_groups/1/devices/0000:00:01.1
/sys/kernel/iommu_groups/28/devices/0000:11:00.0
/sys/kernel/iommu_groups/18/devices/0000:04:02.0
/sys/kernel/iommu_groups/18/devices/0000:07:00.0
/sys/kernel/iommu_groups/8/devices/0000:00:08.0
/sys/kernel/iommu_groups/26/devices/0000:04:0d.0
/sys/kernel/iommu_groups/26/devices/0000:0f:00.0
/sys/kernel/iommu_groups/16/devices/0000:04:00.0
/sys/kernel/iommu_groups/34/devices/0000:12:00.0
/sys/kernel/iommu_groups/6/devices/0000:00:03.0
/sys/kernel/iommu_groups/24/devices/0000:04:08.0
/sys/kernel/iommu_groups/14/devices/0000:02:00.0
/sys/kernel/iommu_groups/32/devices/0000:11:00.4
/sys/kernel/iommu_groups/4/devices/0000:00:02.1
/sys/kernel/iommu_groups/22/devices/0000:04:06.0
/sys/kernel/iommu_groups/12/devices/0000:00:18.3
/sys/kernel/iommu_groups/12/devices/0000:00:18.1
/sys/kernel/iommu_groups/12/devices/0000:00:18.6
/sys/kernel/iommu_groups/12/devices/0000:00:18.4
/sys/kernel/iommu_groups/12/devices/0000:00:18.2
/sys/kernel/iommu_groups/12/devices/0000:00:18.0
/sys/kernel/iommu_groups/12/devices/0000:00:18.7
/sys/kernel/iommu_groups/12/devices/0000:00:18.5
/sys/kernel/iommu_groups/30/devices/0000:11:00.2
/sys/kernel/iommu_groups/2/devices/0000:00:01.2
/sys/kernel/iommu_groups/20/devices/0000:04:04.0
/sys/kernel/iommu_groups/10/devices/0000:00:08.3
/sys/kernel/iommu_groups/29/devices/0000:11:00.1
/sys/kernel/iommu_groups/0/devices/0000:00:01.0
/sys/kernel/iommu_groups/19/devices/0000:08:00.0
/sys/kernel/iommu_groups/19/devices/0000:04:03.0
/sys/kernel/iommu_groups/9/devices/0000:00:08.1
/sys/kernel/iommu_groups/27/devices/0000:10:00.0

Error:
[1060.458608] vfio-pci 0000:01:00.0: Firmware has requested this device have a 1:1 IOMMU mapping, rejecting configuring the device without a 1:1 mapping. Contact your platform vendor.
kvm: -device vfio-pci,host=0000:01:00.0: failed to setup container for group 13: Failed to set group container: Invalid argument

tried 2 conf with options:
1st:
# Windows 11 VM with RTX 5060 Ti passthrough + TPM 2.0
agent: 1
bios: ovmf
boot: order=scsi0;ide2;ide0;net0
cores: 4
cpu: host
efidisk0: ssdRaid1TB:vm-8000-disk-0,efitype=4m,ms-cert=2023,pre-enrolled-keys=1,size=1M

# PCI passthrough
hostpci0: 0000:01:00.0,x-vga=1,pcie=1

# ISO drives
ide0: local:iso/virtio-win-0.1.285.iso,media=cdrom
ide2: local:iso/Win11_24H2_EnglishInternational_x64.iso,media=cdrom

machine: pc-q35-10.1
memory: 8196
meta: creation-qemu=10.1.2,ctime=1767327764
name: vm-Windows11-8000
net0: virtio=BC:24:11:57:C9:18,bridge=vmbr0,firewall=1
numa: 0
ostype: win11

# Main disk
scsi0: local-zfs:vm-8000-disk-0,iothread=1,size=50G
scsihw: virtio-scsi-single

# Misc
smbios1: uuid=00b28815-c13f-407c-82ae-6a47d8fa2d33
sockets: 1
tpmstate0: ssdRaid1TB:vm-8000-disk-1,size=4M,version=v2.0
vga: none
vmgenid: 7a42df6e-7251-43ea-a9e0-d48aa93870e0
2nd:
agent: 1
bios: ovmf
boot: order=scsi0;ide2;ide0;net0
cores: 4
cpu: x86-64-v2-AES
efidisk0: ssdRaid1TB:vm-8000-disk-0,efitype=4m,ms-cert=2023,pre-enrolled-keys=1,size=1M
# hostpci0: 0000:01:00.0,x-vga=1,pcie=1
hostpci0: 0000:01:00.0,pcie=1,x-vga=1,bus=pci.0
ide0: local:iso/virtio-win-0.1.285.iso,media=cdrom,size=771138K
ide2: local:iso/Win11_24H2_EnglishInternational_x64.iso,media=cdrom,size=5695402K
machine: pc-q35-10.1
memory: 8196
meta: creation-qemu=10.1.2,ctime=1767327764
name: vm-Windows11-8000
net0: virtio=BC:24:11:57:C9:18,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
scsi0: local-zfs:vm-8000-disk-0,iothread=1,size=50G
scsihw: virtio-scsi-single
smbios1: uuid=00b28815-c13f-407c-82ae-6a47d8fa2d33
sockets: 1
tpmstate0: ssdRaid1TB:vm-8000-disk-1,size=4M,version=v2.0
vga: none
vmgenid: 7a42df6e-7251-43ea-a9e0-d48aa93870e0

Any help would be greatly appreciated.
 
Hi.
I'm also having issues with new 5060TI card.

What I did is downgraded to kernel from 6.17 to 6.14.1 then this particular problem went away but I'm still not able to make it work with Win 11.
 
what
Hi.
I'm also having issues with new 5060TI card.

What I did is downgraded to kernel from 6.17 to 6.14.1 then this particular problem went away but I'm still not able to make it work with Win 11.
What motherboard do you have?

I can get mine to work and nvidia-smi sees it..

according to ChatGPT I have to enable the following:
Advanced → AMD CBS → SVM Mode: Enabled
Advanced → AMD CBS → SVM Lock: Disabled
Advanced → IOMMU: Enabled
Advanced → PCIe ACS Control: Enabled
Advanced → Above 4G Decoding: Enabled
Advanced → Resizable BAR: Disabled
Advanced → Primary Display: iGPU
Boot → CSM: Disabled
Boot → Secure Boot: Disabled

My M/board is a Gigabyte b850m Eagle WiFi6E bios F6 and does not have Advanced → PCIe ACS Control setting. It would be interesting if you did and BIOS is setup correctly.

Did you get it to work in Ubuntu, with Docker, with GPU pass through?
 
Motherboard is Gigabyte B650 UD AC.

I made some progress with this by disabling Kernel DMA Protection Indicator in the Bios. Now I'm able to get the VM to recognize the GPU and install the drivers with no problem (Windows 11).
I reverted back to kernel 6.17 btw.

Kernel DMA Protection Indicator = Disabled
Resizable BAR = Enabled.
I think the Kernel DMA Protection Indicator is the key to this.
You can also try set Pre-boot DMA Protection to disable.

One issue that I'm having now is CPU usage is very high when gaming and have very low fps.
Already tried CPU affinity. Any Ideas?