PCI Passthrough again, i can´t see the output of the documentation

big_blue

Member
Jan 31, 2023
4
0
6
Hi.
I followed the documentation to enable PCI Passthrough but can´t see the documented output on my setup. Maybe i have done wrong, to clearify i want to share my output with you.

First of all i want to share my hardware with you:
CPU:
AMD Ryzen 7 5700G

Board:
ASRock X570 Phantom Gaming 4

I followed this instructions:
Totorial in Forum
Proxmox docu, PCIE Passthrough

  • I hopefully enabled AMD VT-d in the bios correct
  • I updated the /etc/default/grub config with. "GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on""
  • I updated the /etc/modules with
    • vifio
    • vifio_iommu_type1
    • vifio_pci
    • vifio_virqfd
  • reboot the system
Now i want to check if everything was successfull. I tested it with dmesg and grep but only got this output:
root@pve:~# dmesg | grep -e DMAR -e IOMMU
[ 0.616159] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
[ 0.628003] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).

The expected output which is documented in the instructions is:
IOMMU enabled

So now i am not sure if the Passthrough is working fine or not. I passed through a PCIe TV Device to one VM without problems. In the near future i want to share a NVidia Card and want to be sure everythink will work fine as well.

Maybe one of you is able to see whats wrong or can give me a reason why i not get the output the docu expected.
 
  • I updated the /etc/default/grub config with. "GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on""
amd_iommu=on is invalid and does nothing (as it is enabled by default).
  • I updated the /etc/modules with
    • vifio
    • vifio_iommu_type1
    • vifio_pci
    • vifio_virqfd
vfio_virqfd no longer exists and the other module names are also wrong.
Now i want to check if everything was successfull. I tested it with dmesg and grep but only got this output:
root@pve:~# dmesg | grep -e DMAR -e IOMMU
This test is wrong for AMD and only works for Intel.

Looks like you used an old and possible wrong guide. Here is the manual: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#qm_pci_passthrough . And here is the Wiki: https://pve.proxmox.com/wiki/PCI_Passthrough
 
Thank you very much for you very fast response. I will use this documentation to enable the feature.