Disclaimer: I am new to unraid and have just installed the OS, but I am looking to set up a win 10 instance with a passed-through GPU to use day-to-day
Problem
I'm having some issues passing through the GPU to a Win10 VM install.
As soon as I power up the VM (which has my single GPU and 5/6 cores assigned), the screen goes blank and the VM refuses to boot (remote desktop doesn't work, but my router detects the virtual ethernet adapter and gives it a valid IP). You can find the XML of the VM at the end of the post.
Hardware
CPU: Ryzen 5 2600 (6 core 12 thread)
MOBO: B450 Pro4 (2 PCIe x16, 2 M.2, 2 PCIe x1) (BIOSv4.1 and has AMD AGESA version 1.0.0.4 Patch B )
GPU: 2*GTX 1070 (although I only have one plugged in because I want to use a PCIe SSD and that disables the second x16 PCIe slot in the MOBO according to the docs)
RAM: 32GB 2400Hz (4*8GB S-DIMMs)
STORAGE: 3*3TB HDD, 256GB M.2 nvme SSD, 246GB SATA SSD, 16GB 3.0 USB (for booting unraid)
Steps I took
I followed Spaceinvarde one's two videos to set up a windows 10 VM with a passed-through GPU:
The best way to install and setup a windows 10 vm as a daily driver or a Gaming VM
The best way to install and setup a windows 10 vm Part 2 Hardware Passthrough
And, as far as I know, I followed all the needed steps (except certain software installs he carried out on the VM itself)
So, the steps that I took were:
- Enabled IOMMU and HVM in my BIOS (I can see them enabled in the unraid system info, and the GPU is in its own IOMMU group)
- Enabled PCIe ACS override in the settings (but unsafe interrupts are off)
- Booted and installed Win10 and VirtIO dirvers (all the ones from the video) through VNC
- Did a ROM dump for my GTX 1070 and put it in the VM XML description for it to use (XML description at the end of the post)
- Passed through the GPU to the VM in the VM settings
- Passed through the audio device of the GPU to the VM as a multifunction device (so the GPU and its audio device share the same bus), as described in this video: Advanced GPU passthrough techniques on Unraid
- Installed Nvidia drivers in the VM
What I didn't do:
- Enable unsafe interrupts
What should I do? I can't get it working even after trying to restart the VM and unraid several times and enabling VM auto-start.
My diagnostics file is:
tower-diagnostics-20200414-1422.zip
My VM XML setup is: