[CachyOS] VFIO GPU Passthrough stopped working

CachyOS, I had succesfully setup a win11 looking-glass a year or so earlier. I started the VM after some time, but this is what I’m getting:

failed to setup container for group 17: Failed to set group container: Invalid argument.

I booted in newly installed CachyOS partition, decided to setup vfio passthrough from the beginning. Everything setup again, IOMMU and all, vm creation moment → begin installation…
SAME DAMN ERROR.

Does anybody have any clue what piece of crap got updated in the meantime, so I can nuke it out of the system and fix this?

My setup is as follows:



Ryzen 9950x

96 GB RAM

nvidia 2060 that is being plugged into windows

nvidia 4060 Ti  that is running the host display

bunch of SSD’s 

Kernel: Linux 6.19.3-2-cachyos

KDE Plasma 6.6.0

EDIT: This is a kind of rudimentary rage-written post as I have to leave in a couple of minutes for an hour or two… If you need any more info, I’ll be adding it later. Thanks in advance everyone!

Edit: The full error message:

Unable to complete install: ‘internal error: QEMU unexpectedly closed the monitor (vm=‘win10’): 2026-02-25T22:44:30.349080Z qemu-system-x86_64: -device {“driver”:“vfio-pci”,“host”:“0000:03:00.0”,“id”:“hostdev0”,“bus”:“pci.4”,“addr”:“0x0”}: vfio 0000:03:00.0: failed to setup container for group 17: Failed to set group container: Invalid argument’

Traceback (most recent call last):
File “/usr/share/virt-manager/virtManager/asyncjob.py”, line 67, in cb_wrapper
callback(asyncjob, *args, **kwargs)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/share/virt-manager/virtManager/createvm.py”, line 1969, in _do_async_install
installer.start_install(guest, meter=meter)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File “/usr/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 “/usr/share/virt-manager/virtinst/install/installer.py”, line 664, in _create_guest
domain = self.conn.createXML(initial_xml or final_xml, 0)
File “/usr/lib/python3.14/site-packages/libvirt.py”, line 4599, in createXML
raise libvirtError(‘virDomainCreateXML() failed’)
libvirt.libvirtError: internal error: QEMU unexpectedly closed the monitor (vm=‘win10’): 2026-02-25T22:44:30.349080Z qemu-system-x86_64: -device {“driver”:“vfio-pci”,“host”:“0000:03:00.0”,“id”:“hostdev0”,“bus”:“pci.4”,“addr”:“0x0”}: vfio 0000:03:00.0: failed to setup container for group 17: Failed to set group container: Invalid argument

Some more info might be needed;

the vm’s xml config

Your kernel boot parameters

Output of lspci

Your IOMMU groups

6.19 is not stable for KVM and passthrough for some ppl.

Both 6.18 and 7.0 are fine.