Zwen1111 Posted November 30, 2022 Share Posted November 30, 2022 I'm trying to passthrough my single GPU to a Windows 11 VM, but my GPU doesn't get recognized because it doesn't show up in device manager and there's no video output. CPU: Ryzen 5 1600X MOBO: ASUS B350-PLUS GPU: ASUS ROG STRIX-GTX1060-O6G-GAMING I've made sure that the GPU is in its own IOMMU group and is bound to VFIO at boot Passed a vbios (grabbed the one from techpowerup) AsusGTX1060dump_2.rom Removed the NVIDIA header Bus/slot/function is correct in the VM xml <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x07' slot='0x00' function='0x0'/> </source> <rom file='/mnt/user/domains/vbios/AsusGTX1060dump_2.rom'/> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x07' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x1'/> </hostdev> multifunction='on' in the VM xml Legacy is set in bios CSM is enabled in bios I added video=efifb:off to syslinux.cfg: syslinux.cfg Because I don't have another windows system I can't dump my own vbios (without temporarily using my unraid server as a desktop). I would really appreciate your help! VM.xml viki-diagnostics-20221130-2008.zip Quote Link to comment
josh5565 Posted December 3, 2022 Share Posted December 3, 2022 Here check out this video on how to dump your bios from within unraid with just a couple clicks! How to Easily Dump the vBios from any GPU for Passthrough I am struggling with passing through a GPU atm also. Extremely frustrating & almost to the point of giving up and just buying another machine instead of VM Quote Link to comment
Zwen1111 Posted December 4, 2022 Author Share Posted December 4, 2022 20 hours ago, josh5565 said: Here check out this video on how to dump your bios from within unraid with just a couple clicks! How to Easily Dump the vBios from any GPU for Passthrough I am struggling with passing through a GPU atm also. Extremely frustrating & almost to the point of giving up and just buying another machine instead of VM Thanks for the tip. A few days ago I found out this was possible from unraid, but the dumped vbios unfortunately didn't do the trick... I'm thinking about buying an AM4 cpu with onboard graphics, just to get this working! Quote Link to comment
Solution Zwen1111 Posted December 5, 2022 Author Solution Share Posted December 5, 2022 Somehow I got it working after re-creating the VM. I think it was messed up with drivers. The dumped vbios is working for me! After setting up the GPU for the VM and connecting via RDP the GPU didn't showed up in Device Manager, but there were two display adapters. One of them was the RedHat and the other one some Microsoft Display Adapter. While unpacking the NVIDIA driver the adapter in Device Manager changed to the GTX 1060. I think Windows Update was updating the driver on the background what made the adapter change in Device Manager. 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.