Sorry for the long delay. I had to focus on work instead of proxmox. Anyway this worked
My question now would be, is there a place where I can place this once and it works for all VMs that tries to passthrough the GPU?
Code:
cd /sys/bus/pci/drivers/vfio-pci
echo "0000:0X:00.0" > unbind
echo "0000:0X:00.1" > unbind
cd /sys/bus/pci/drivers/nouveau
echo "0000:0X:00.0" > bind
My question now would be, is there a place where I can place this once and it works for all VMs that tries to passthrough the GPU?