Trying to passthrough nvidia cards to a VM

get the printout of lspci -vnnk

try booting by adding the following flags in grub intel_iommu=pt intel_iommu=on

Also: use this guide instead. Elementary OS 5.0 / Ubuntu 18.XX - VFIO PCIe passthrough guide / tutorial

this as well (mentioned in the linked guide here on L1T)