a_g Posted January 27, 2022 Share Posted January 27, 2022 Hello all, I'm at my wits end with what to do to solve this issue. I recently changed from a Ryzen 3600x to an Intel i5 10400 for stability and for integrated graphics and well the swap over hasn't been great. I have a M.2 SSD that I would like to passthrough with my GPU (Nvidia RTX 2070s) to a VM. Each time I try to pass it through, I either have some success or none. The times I am able to actually boot to Windows, it freezes within 5 seconds each time with no info populating in the log. Most times I get stuck on the Tiano-Core splashscreen. I've tried disabling UEFI on the Flash for Unraid but then the USB that has Unraid just won't boot in BIOS. I've also tried using X440 and Q35 VM's and same issue with both machine versions. My GPU vBIOS is from a dump script I ran back when I first started with Unraid about a month ago (with Ryzen processor) What's so odd to me is that if I create a VM with a primary disk and install Windows 10 through VNC followed by passing my GPU through....that VM works wonderfully. But I would like to try to use this additional M.2 and save my primary cache drive for other things rather then the VM itself. Config of my VM: <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm'> <name>Windows 10</name> <uuid>6a728be0-9426-e271-aa53-9036f1c98408</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/> </metadata> <memory unit='KiB'>16777216</memory> <currentMemory unit='KiB'>16777216</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>8</vcpu> <cputune> <vcpupin vcpu='0' cpuset='2'/> <vcpupin vcpu='1' cpuset='8'/> <vcpupin vcpu='2' cpuset='3'/> <vcpupin vcpu='3' cpuset='9'/> <vcpupin vcpu='4' cpuset='4'/> <vcpupin vcpu='5' cpuset='10'/> <vcpupin vcpu='6' cpuset='5'/> <vcpupin vcpu='7' cpuset='11'/> </cputune> <os> <type arch='x86_64' machine='pc-q35-5.0'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/6a728be0-9426-e271-aa53-9036f1c98408_VARS-pure-efi.fd</nvram> <boot dev='hd'/> </os> <features> <acpi/> <apic/> <hyperv> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vendor_id state='on' value='none'/> </hyperv> </features> <cpu mode='host-passthrough' check='none' migratable='on'> <topology sockets='1' dies='1' cores='4' threads='2'/> <cache mode='passthrough'/> </cpu> <clock offset='localtime'> <timer name='hypervclock' present='yes'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/local/sbin/qemu</emulator> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/isos/virtio-win-0.1.190-1.iso'/> <target dev='hdb' bus='sata'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <controller type='usb' index='0' model='qemu-xhci' ports='15'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </controller> <controller type='pci' index='0' model='pcie-root'/> <controller type='pci' index='1' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='1' port='0x10'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/> </controller> <controller type='pci' index='2' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='2' port='0x11'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/> </controller> <controller type='pci' index='3' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='3' port='0x12'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> </controller> <controller type='pci' index='4' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='4' port='0x13'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/> </controller> <controller type='pci' index='5' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='5' port='0x14'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/> </controller> <controller type='pci' index='6' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='6' port='0x8'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/> </controller> <controller type='pci' index='7' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='7' port='0x9'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='pci' index='8' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='8' port='0xa'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> </controller> <controller type='sata' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> </controller> <interface type='bridge'> <mac address='52:54:00:f2:7f:0d'/> <source bridge='br0'/> <model type='virtio-net'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </interface> <serial type='pty'> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <channel type='unix'> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='tablet' bus='usb'> <address type='usb' bus='0' port='1'/> </input> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <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/isos/vbios/rtx2070s.rom'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x046d'/> <product id='0xc52b'/> </source> <address type='usb' bus='0' port='2'/> </hostdev> <memballoon model='none'/> </devices> </domain> Has anyone else experienced this issue and found a resolution? Quote Link to comment
juanamingo Posted January 27, 2022 Share Posted January 27, 2022 Just out of curiosity, why pass the drive through? Just to install direct to the drive? You could mount the drive separately (or add another cache pool with that drive) and then point the vdisk image at that drive, making it the size of the drive. That'd be cleaner IMHO - if you ever wanted to upgrade the m.2 down the road, you'd just have 1 file to move to the new drive. Quote Link to comment
a_g Posted January 27, 2022 Author Share Posted January 27, 2022 That's a good point, I just assumed that a direct install would give it the best performance. But if it's already a vdisk image on an SSD, I'd imagine I'm not losing too much performance. Quote Link to comment
juanamingo Posted January 27, 2022 Share Posted January 27, 2022 I'm pretty sure you'd only notice if you were benchmarking, at least that's been my experience. Hope it helps! As far as your GPU passthrough - have you installed the nvidia drivers and run anything graphically intensive on it? Is it stable? I'm having issues as soon as i do anything gpu "intense" and was curious if you did anything special, or if it just worked. I posted my woes here Quote Link to comment
a_g Posted January 27, 2022 Author Share Posted January 27, 2022 I haven't done anything GPU intensive yet. I've been working on getting Nginx Proxy Server working with SSL certificates (-_-) this morning. But I'll install Steam and try running a few games tonight and report back. But right off the bat the VM has been working great. Quote Link to comment
juanamingo Posted January 27, 2022 Share Posted January 27, 2022 Thanks man - appreciate it! Quote Link to comment
a_g Posted January 28, 2022 Author Share Posted January 28, 2022 Hey man, just wanted to let you know I didn't have a chance to test this out today. I have planned to play some Astroneer tomorrow so I'll let you know how it goes with the VM, fingers crossed that I don't see any crashes. Just to you are aware of my hardware upfront: i5 10400 (8 logical processors pinned to VM) RTX 2070S (passthrough to VM) 48 GB Memory (16 GB alloted to VM) 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.