Twisted Posted June 15, 2018 Share Posted June 15, 2018 I have been unable to pass through my NVIDIA card to my Windows 10 VM for months. I tried installing everything a second time and I cannot get past this error. I do have Enable PCIe ACS Override: set to Yes (rebooted). My graphics card and sound are in their own IOMMU group (10). Any ideas what I am missing? internal error: qemu unexpectedly closed the monitor: 2018-06-15T04:06:51.898169Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,id=hostdev0,bus=pci.0,addr=0x5,romfile=/mnt/cache/system/domains/vbios/GTX1050.dump: Failed to mmap 0000:01:00.0 BAR 3. Performance may be slow 2018-06-15T04:06:51.912861Z qemu-system-x86_64: -device vfio-pci,host=00:1f.3,id=hostdev2,bus=pci.0,addr=0x8: vfio error: 0000:00:1f.3: group 9 is not viable Please ensure all devices within the iommu_group are bound to their vfio bus driver. Quote Link to comment
JonathanM Posted June 15, 2018 Share Posted June 15, 2018 From the snippet you posted, you say the devices you are passing are group 10, the error message says there is a problem with group 9. Other than that you haven't posted anything to help troubleshoot. Quote Link to comment
Twisted Posted June 15, 2018 Author Share Posted June 15, 2018 (edited) I found out if I remove the secondary audio driver, the error goes away. But then when the VM boots up, it doesn't recognize my Nvidia graphics card. Here is my information: VM Log 2018-06-15T20:33:01.840296Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,id=hostdev0,bus=pci.0,addr=0x5,romfile=/mnt/cache/system/domains/vbios/GTX1050.dump: Failed to mmap 0000:01:00.0 BAR 3. Performance may be slow XML File <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </source> <rom file='/mnt/user/system/domains/vbios/GTX1050.dump'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </hostdev> IOMMU Groups IOMMU group 9: [8086:a148] 00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31) [8086:a121] 00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31) [8086:a170] 00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31) [8086:a123] 00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31) IOMMU group 10: [10de:1c81] 01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050] (rev a1) [10de:0fb9] 01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1) The guide I followed: Edited June 15, 2018 by Twisted Quote Link to comment
JonathanM Posted June 15, 2018 Share Posted June 15, 2018 10 minutes ago, Twisted said: I found out if I remove the secondary audio driver, the error goes away. What do you mean by that? You should be passing through both devices in Group10, and NONE of the devices in Group9. Quote Link to comment
Twisted Posted June 15, 2018 Author Share Posted June 15, 2018 (edited) If I add in a secondary sound card from group 9, it breaks the VM. So I turned it off and the error message does not pop up anymore. The challenge I have now is my Nvidia video card shows up in device manager with an exclamation point next to it and I am locked into a basic (800 x 600) resolution. I tried downloading the driver from Nvidia inside the VM and it broke the VM. So now I am trying to figure out where I went wrong and what to try next. Any suggestions would be much appreciated. Edited June 16, 2018 by Twisted Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.