Clarification around VBIOS
I'd like to mention that this guide was very helpful to me. I was unable to get anything to work when enabling VFIO in the grub configuration, and having to troubleshoot through SSH didn't help.
I was able to jump straight to single gpu passthrough (Running an ITX Zen 3 on B550 with a single GPU and no IGP), manually running the commands from the hook scripts had me on my way. I have a completely usable Ubuntu desktop both before and after running the win10 VM.
One thing that sticks out to me is that it seems like the statement
Patch NVIDIA BIOS (only for Pascal GPUs): For Nvidia Pascal owners (GTX 10xx) you'll need to patch the GPU BIOS before the virtual machine can recognize it.
I believe this needs to be changed. I'm using a RTX 3080 and I got a black screen at first even though the GPU was successfully using the vfio kernel module.
I made progress once I decided to treat this dmesg error as the smoking gun:
[ 1121.734029] vfio-pci 0000:07:00.0: No more image in the PCI ROM
Once I dumped my bios with GPU-Z from booting to baremetal windows and cleaned out the header content with a hex editor following this video: https://www.youtube.com/watch?v=1IP-h9IKof0 I had Tianocore showing on the screen.
Once I removed Spice and virtual video devices from the VM definition I could get the Windows spinner displaying, which was cause for much celebration, as it let me enter windows and shortly thereafter I had fully accelerated gameplay once the Nvidia drivers got installed.
My belief is that the VBIOS patching may be required on all nvidia 10, 20, and 30 series for any time that the main GPU is being used for passthrough, which is what this repo is all about! Or maybe it is specific to Zen 3. At any rate, I just think this statement specifically calling out Pascal must be amended.
Cheers!