Hi there ive been trying to passtorugh a GPU to a windows VM under ubuntu im using both 1050TI(ubuntu) 1070TI(windows VM) but can not unbind the 1070TI from any drivers to pci stub or vfio pci
i have a ryzen 1600 too if that helps
best regards Robin
Have you looked at these threads?-
https://forum.level1techs.com/t/ubuntu-17-04-vfio-pcie-passthrough-kernel-update-4-14-rc1/119639
https://forum.level1techs.com/t/gpu-passthrough-not-working-on-ubuntu-18-04/128365
I had a similar problem a couple of days ago. Maybe try updating the initramfs by running this as sudo
update-initramfs -u
That was needed for me to get nouveau to stop taking control of the GPU
You’ll need to load vfio-pci before nvidia and blacklist nouveau.
vfio-pci
nvidia
nouveau
This might help. Put this in your modprobe.d…
softdep nvidia pre: vfio vfio_pci