February 13, 20206 yr Hello. Im new and have just setup my first Windows Vm which works fine with VNC but as soon as i select my 1070 for passthrough i get this error: internal error: qemu unexpectedly closed the monitor: 2020-02-13T16:56:08.622109Z qemu-system-x86_64: -device vfio-pci,host=0000:28:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio 0000:28:00.0: failed to setup container for group 16: Failed to set iommu for container: Operation not permitted IOMMU group 16 is my graphics card. IOMMU group 16:[10de:1b81] 28:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1) [10de:10f0] 28:00.1 Audio device: NVIDIA Corporation GP104 High Definition Audio Controller (rev a1) Can anyone help. Thanks in advance
February 13, 20206 yr To clear out the obvious, have you also selected the audio device to be passed through to the VM?
February 13, 20206 yr Author Hello Squid. Yes i have. Ive also added a second sound card, the onboard sound too. Ive tried removing the second and this didnt help.
February 14, 20206 yr Author This morning i tried to add an edited BIOS as per @SpaceInvaderOne video here, but that didnt work either.
February 14, 20206 yr Author Ive also tried editing the XML so the video and sound parts of the card are in the same virtual slot (with a custom BIOS), that doesn't work either. <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x28' slot='0x00' function='0x0'/> </source> <rom file='/mnt/user/isos/NVIDEA ROM/EVGA.GTX1070.8192.161103_1_edit.rom'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x28' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/> </hostdev>
Archived
This topic is now archived and is closed to further replies.