I have found a guide that tells me to do the following to get GPU pass through working on 20.04
apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager ovmf
lspci -nn
returns
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] [10de:2489] (rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation GA104 High Definition Audio Controller [10de:228b] (rev a1)
/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=on kvm.ignore_msrs=1 vfio-pci.ids=10de:2489,10de:228b"
Then
update-grub
However when I reboot back I get a plain black screen. Is the process different for 22.04? i9-12900k is the CPU