June 19, 20224 yr I keep getting the following error when trying to pass through my graphics card on my unraid server. Any help would be most appreciated.
June 20, 20224 yr 1. bind to vfio at boot iommu group 16 (Tools -> System Devices) 2. enable allow unsafe interrupts (Settings -> VM) 3. Setup the gpu passthrough for your vm and remove vnc+qxl graphics: if you use the gui, passthrough the video, do not passthrough the audio (you will pass it manually in step 4 below) 4. Once you setup the video passthrough, switch to xml view (top tight), you will find a block similar to this: <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x09' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </hostdev> What could change is the target address (00:05.0), i.e. this line: <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> Replace the first whole block with this: <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x09' slot='0x00' function='0x0'/> </source> <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='0x09' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x09' slot='0x00' function='0x2'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x2'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x09' slot='0x00' function='0x3'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x3'/> </hostdev> NOTE: if your target address is different than 00:05.0 (bus:slot.function), replace all the addresses accordingly. 5. Save, reboot and try
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.