I've been beating my head against the wall trying to get this to work for quite a while... I finally found success with this guide:
Building a 2U AMD Ryzen server (Proxmox GPU Passthrough / OBS or Xsplit in VM) - Intermittent Technology
Note that the IOMMU settings are different if you're using Intel, as I am.
Building a 2U AMD Ryzen server (Proxmox GPU Passthrough / OBS or Xsplit in VM) - Intermittent Technology
Note that the IOMMU settings are different if you're using Intel, as I am.