July 8, 20214 yr Hello, Trying to passthough a gtx 1050 loaded the nvida driver app for unraid used spaceinvaderone vbios dump to get the vbios have the card and vbios in the VM getting this error also getting error? The GTX is in grp 15 but don't understand the rest? The box to bind VFIO to boot is greyed out if that matters. ASUS TUF Gamining B550-PLUS MB Ryzen 7-3700x deathstar-diagnostics-20210707-2134.zip Edited July 8, 20214 yr by Kodiak51103
July 8, 20214 yr 8 hours ago, Kodiak51103 said: Trying to passthough a gtx 1050 loaded the nvida driver app for unraid used spaceinvaderone vbios dump to get the vbios have the card and vbios in the VM getting this error also getting error? Your gpu is in a iommu group with other devices: use acs override, you need to split the iommu group to have the gpu (audio and video) in its group (or have the audio part of the gpu in its iommu group and the video part in its iommu group). You need also to put audio and video in the same multifunction device, so you need to change from: <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> </source> <rom file='/mnt/user/isos/vbios/GTX 1050.rom'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x04' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </hostdev> To: <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> </source> <rom file='/mnt/user/isos/vbios/GTX 1050.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='0x04' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/> </hostdev> Edited July 8, 20214 yr by ghost82
July 8, 20214 yr Author Made the changes but still not working same error msg. Did I miss something? <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> </source> <rom file='/mnt/user/isos/vbios/GTX 1050.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='0x04' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/> </hostdev>
July 8, 20214 yr 20 minutes ago, Kodiak51103 said: Did I miss something? yes, as I wrote you need to apply acs override (downstream, multifunction), then check again iommu groups.
July 8, 20214 yr Author Sorry about that. Now it's enabled I reran the vbios dump said to bind gpu to vfio did that (rebooted) but getiing new error when running it? Also VM will start but cannot open it? Okay dumping vbios file named to the location /mnt/user/isos/vbios/ /tmp/user.scripts/tmpScripts/VBIOS Dump/script: line 301: /mnt/user/isos/vbios/: Is a directory Um.... somethings gone wrong and I couldn't dump the vbios for some reason Sometimes when this happens all we need to do to fix this is 'stub' or 'bind to the vfio' the gpu and reboot the server This can be done in Unraid 6.8.3 with the use of the vfio config plugin or if you are on Unraid 6.9 or above it can be done directly from the gui in Tools/System Devices .....So please do this and run the script again Edited July 8, 20214 yr by Kodiak51103
July 8, 20214 yr 36 minutes ago, Kodiak51103 said: Also VM will start but cannot open it? what do you mean by "cannot open"?if you want to connect with vnc you need to install a vnc server app into the operating system of the vm. It is not possible to have both gpu passthrough and built in vnc. Attach a monitor to the gpu you are passing through and you should see the vm booting. I didn't understand the other part of your message. Edited July 8, 20214 yr by ghost82
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.