December 22, 20169 yr Running out of ideas here - Trying to pass through a GTX 550ti. I am getting the same sort of symptoms as in this old post: http://lime-technology.com/forum/index.php?topic=33354.0 Specifically, no video output and the same error in dev mgr showing 'The device cannot find enough free resources it can use' Except the only devices I am passing through are usb keyboard, the 550ti gpu, and the 550ti HD audio. I created the vm using virtio-win-0.1.118-2.iso. Initially the vm was set to i440fx-2.5 - I created the VM without the passthrough enabled, then added the passthough after. I am booting unraid from my onboard IGD. When I enabled the passthrough initally, it worked. I had my console on the IGD monitor and the VM on the GPU monitor. I installed nvidia driver 361.75, and after a reboot without a VNC driver, it would not boot. I reenabled vnc and found that it was blue screening SYSTEM_SERVICE_EXCEPTION. After uninstalling the NVIDIA drivers, it would still not boot. I changed to Q35-2.5 and it now boots again, even with the GPU passed through, but I now see the 'The device cannot find enough free resources it can use' in device manager if I use VNC as primary driver with the GPU as secondary. I have tried this with nvidia 361.75, 368.81, and 376.33, and when I install them i only check 'Graphics Driver' and 'HD Audio Driver'. Where do I go from here? XML: <domain type='kvm' id='10'> <name>Windows 7</name> <uuid>f4f7cdb0-1f0f-a76f-f5cf-3ec31f916bef</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows 7" icon="windows7.png" os="windows7"/> </metadata> <memory unit='KiB'>6291456</memory> <currentMemory unit='KiB'>6291456</currentMemory> <memoryBacking> <nosharepages/> <locked/> </memoryBacking> <vcpu placement='static'>8</vcpu> <cputune> <vcpupin vcpu='0' cpuset='0'/> <vcpupin vcpu='1' cpuset='1'/> <vcpupin vcpu='2' cpuset='2'/> <vcpupin vcpu='3' cpuset='3'/> <vcpupin vcpu='4' cpuset='4'/> <vcpupin vcpu='5' cpuset='5'/> <vcpupin vcpu='6' cpuset='6'/> <vcpupin vcpu='7' cpuset='7'/> </cputune> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-q35-2.5'>hvm</type> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough'> <topology sockets='1' cores='4' threads='2'/> </cpu> <clock offset='localtime'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <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='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/domains/Windows 7/guardian.img'/> <backingStore/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <alias name='virtio-disk2'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/isos/Windows 7 Professional (64 Bit).iso'/> <backingStore/> <target dev='hda' bus='sata'/> <readonly/> <boot order='2'/> <alias name='sata0-0-0'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/isos/virtio-win-0.1.118-2.iso'/> <backingStore/> <target dev='hdb' bus='sata'/> <readonly/> <alias name='sata0-0-1'/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <controller type='usb' index='0' model='ich9-ehci1'> <alias name='usb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <alias name='usb'/> <master startport='0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/> </controller> <controller type='usb' index='0' model='ich9-uhci2'> <alias name='usb'/> <master startport='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/> </controller> <controller type='usb' index='0' model='ich9-uhci3'> <alias name='usb'/> <master startport='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/> </controller> <controller type='sata' index='0'> <alias name='ide'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> </controller> <controller type='pci' index='0' model='pcie-root'> <alias name='pcie.0'/> </controller> <controller type='pci' index='1' model='dmi-to-pci-bridge'> <model name='i82801b11-bridge'/> <alias name='pci.1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/> </controller> <controller type='pci' index='2' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='2'/> <alias name='pci.2'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/> </controller> <controller type='virtio-serial' index='0'> <alias name='virtio-serial0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:bd:51:d6'/> <source bridge='br0'/> <target dev='vnet0'/> <model type='virtio'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/> </interface> <serial type='pty'> <source path='/dev/pts/0'/> <target port='0'/> <alias name='serial0'/> </serial> <console type='pty' tty='/dev/pts/0'> <source path='/dev/pts/0'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-Windows 7/org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/> <alias name='channel0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='tablet' bus='usb'> <alias name='input0'/> </input> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <graphics type='vnc' port='5900' autoport='yes' websocket='5700' listen='0.0.0.0' keymap='en-us'> <listen type='address' address='0.0.0.0'/> </graphics> <video> <model type='cirrus' vram='16384' heads='1'/> <alias name='video0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> </video> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x04' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/> </source> <alias name='hostdev1'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x05' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x046d'/> <product id='0xc52b'/> <address bus='1' device='3'/> </source> <alias name='hostdev2'/> </hostdev> <memballoon model='virtio'> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x06' function='0x0'/> </memballoon> </devices> </domain>
December 22, 20169 yr Author A bit of an update. I just discovered that, with the same configuration, if I cleanly shut down the VM (so it is ready to boots straight into windows, no repair mode) and then completely shutdown the unraid server, then boot unraid and start my VM, it boots correctly with the nvidia graphics. If I Restart the VM from within windows, it reboots just fine. If I issue a shut down within windows, it goes back into the same problem, and I have to go in in through VNC, cleanly shut down, and reboot the entire server. I assume there is a problem with something not 'letting go' of the gpu when I issue a shut down? Edit: I have now come across a few posts regarding this, has there ever been a solution to this problem or is it simply a limitation of the GPU I am using?
March 12, 20188 yr Any progress on this problem? I have the same issue with both, Windows 10 VM and macOS VM. I have to reboot unRAID to release the GPU so the VM can use it again. Running: Intel i7 8700K, ASUS Z370-H, Radeon Vega Frontier. latest unRAID as of 3/12/2018. I have black Listed all AMD devices (qty 4) from unRAID.
March 13, 20188 yr so making some progress... i added the following line to the flash sysconfig file and my windows 10 VM can shut down and start again with no issues. However my macOS VM only worked 1 time even after WIN10 was opened and shutdown, but when macOS High Sierra was shutdown, its now stuck i think since no VM WIN10 or macOS will start. the logs dont through errors, but 1 core gets stuck running at 100% after the apend i added in this sequence intel_iommu=on pcie_acs_override=downstream vfio_iommu_type1.allow_unsafe_interrupts=1 + my black listed device ids, and it helped with win 10 vm but not macOS vms booting with clover. Any ideas?
Archived
This topic is now archived and is closed to further replies.