VM Struggling with GPU Passthrough

hello sorry to be a bother but i was wondering if someone could help me with setting up a VM with GPU pass-through.
for extra information, I'm trying to pass through my iGPU to the VM, and keep the dGPU for normal operation, i've already gone through bios to ensure the iGPU is allowed to run alongside the dGPU, and i've activated the SR-iov.
i have also run ujust setup viritualisation, and followed the guidance there to enable VFIO and conected an extra monitor to the motherboards HDMI port.

this is the first time i'm setting up a VM like this, so apologies in advance for the bother.

ive been following the assistance HikariKnight offered here to RoboRev last year. but i'm now stuck with this error message from the VM manager:
Unable to complete install: 'Failed to trigger a probe for PCI device '0000:00:00.2': Invalid argument'

Traceback (most recent call last):
  File "/app/share/virt-manager/virtManager/asyncjob.py", line 67, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/app/share/virt-manager/virtManager/createvm.py", line 1969, in _do_async_install
    installer.start_install(guest, meter=meter)
  File "/app/share/virt-manager/virtinst/install/installer.py", line 722, in start_install
    domain = self._create_guest(guest, meter, initial_xml, final_xml, doboot, transient)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/share/virt-manager/virtinst/install/installer.py", line 664, in _create_guest
    domain = self.conn.createXML(initial_xml or final_xml, 0)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.12/site-packages/libvirt.py", line 4594, in createXML
    raise libvirtError('virDomainCreateXML() failed')
libvirt.libvirtError: Failed to trigger a probe for PCI device '0000:00:00.2': Invalid argument
Was this page helpful?