Easiest GPU passthrough guide for Ubuntu
Ryzen IOMMU for multiple VMs with GPU passthrough
https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF
how to passthrough GPU in ubuntu KVM?
Here are the steps to passthrough a GPU on Ubuntu KVM:
dmesg | grep -e DMAR -e IOMMUsudo nano /etc/default/grub, find the line that starts with GRUB_CMDLINE_LINUX_DEFAULT= and add intel_iommu=on (for Intel CPUs) or amd_iommu=on (for AMD CPUs) to the list of parameters. Save and exit.sudo update-grubsudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virt-manager ovmflspci | grep VGA.echo "blacklist nouveau" | sudo tee /etc/modprobe.d/blacklist-nouveau.confsudo update-initramfs -uFor more detailed instructions, you can refer to the link provided in the document.