Shan

Members
  • Posts

    16
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Shan's Achievements

Noob

Noob (1/14)

1

Reputation

  1. Thanks, I'll try this and report back.
  2. I did but wasn't really sure how to use it, I am leaving it as is since it works fine except the fact that I have to remember to disconnect and reconnect the HDMI cable each time.
  3. No, that’s only if you want to use your GPU with a docker. If the GPU is being used by a docker then you won’t be able to do a pass-through to a vm, it’s either used with docker or passed through to a VM but not both. For use with a docker - Requires the NVIDIA Driver App For use with VM as a pass-through - Don’t install the NVIDIA App
  4. I’ve got mine working but if I have hdmi cable plugged in it before starting up my VM it throws code 43 error. I can only connect the hdmi cable after the VM is up and running. It worked with Windows 10 before the upgrade without binding but after the upgrade to 6.11.5 and running windows 11 it only worked by binding the GPU.
  5. I was trying all these settings with my hdmi cable plugged in. I unplugged my HDMI cable and the code 43 went away and it's working fine and I'm getting the output to my monitor as soon as I plug the hdmi cable back in. But after I restart leaving the hdmi cabled plugged code 43 comes back.
  6. Hi @RiDDiX, the xml change didn't make a different. I uninstalled the hardware and it automatically reinstalled it with no code 43 and then after 5-10 seconds the code 43 error popped up. Hi @ofx, when I reinstall the driver the code 43 goes away for that session but i still don't have an output to my monitor so the moment I restart the vm or shut it down and start it up again it brings back the code 43.
  7. How do I go about setting up the Nvidia-Plugin? Per the plug-in install, it shouldn't be installed for pass-through to VM.
  8. Hi @RiDDiX, can you please help me out with my issue I am somewhat new to Unraid and I had my NVIDIA GeForce GTX 970 (I know it's an old card) working totally fine before the upgrade to Unraid VER. 6.11.5, I am still able to passthrough the card but there is no output from the GPU to my monitor and when I remote into it via remote access I get a Code 43 error and it goes away when I reinstall the driver. However, on restart or on shutdown the code 43 comes back. I have tried all kinds of fixes that have been offered on this forum. Any help would be very much appreciated. Below is a copy of the xml file for my gaming vm. Motherboard: ASUSTeK COMPUTER INC. ROG STRIX Z590-E GAMING WIFI CPU: Intel® Core™ i9-10900 CPU GPU: NVIDIA GeForce GTX 970 I do have the GPU grouped together in the IOMMU group. <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm'> <name>Windows 11 Gaming</name> <uuid>6a35707d-748d-840c-6626-cd8dd3f28536</uuid> <description>Windows 11 Gaming VM</description> <metadata> <vmtemplate xmlns="unraid" name="Windows 11" icon="windows11.png" os="windowstpm"/> </metadata> <memory unit='KiB'>16777216</memory> <currentMemory unit='KiB'>16777216</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>12</vcpu> <cputune> <vcpupin vcpu='0' cpuset='4'/> <vcpupin vcpu='1' cpuset='14'/> <vcpupin vcpu='2' cpuset='5'/> <vcpupin vcpu='3' cpuset='15'/> <vcpupin vcpu='4' cpuset='6'/> <vcpupin vcpu='5' cpuset='16'/> <vcpupin vcpu='6' cpuset='7'/> <vcpupin vcpu='7' cpuset='17'/> <vcpupin vcpu='8' cpuset='8'/> <vcpupin vcpu='9' cpuset='18'/> <vcpupin vcpu='10' cpuset='9'/> <vcpupin vcpu='11' cpuset='19'/> </cputune> <os> <type arch='x86_64' machine='pc-q35-7.1'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi-tpm.fd</loader> <nvram>/etc/libvirt/qemu/nvram/6a35707d-748d-840c-6626-cd8dd3f28536_VARS-pure-efi-tpm.fd</nvram> </os> <features> <acpi/> <apic/> <hyperv mode='custom'> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vendor_id state='on' value='1234567890ab'/> </hyperv> <kvm> <hidden state='on'/> </kvm> <vmport state='off'/> <ioapic driver='kvm'/> </features> <cpu mode='host-passthrough' check='none' migratable='on'> <topology sockets='1' dies='1' cores='6' 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.229-1.iso'/> <target dev='hdb' bus='sata'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/disks/S1D5NSAF299083N/Gaming Machine/vdisk1.img'/> <target dev='hdc' bus='sata'/> <boot order='1'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk> <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='0x8'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/> </controller> <controller type='pci' index='2' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='2' port='0x9'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='pci' index='3' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='3' port='0xa'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='4' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='4' port='0xb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/> </controller> <controller type='pci' index='5' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='5' port='0xc'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/> </controller> <controller type='pci' index='6' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='6' port='0xd'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/> </controller> <controller type='pci' index='7' model='pcie-to-pci-bridge'> <model name='pcie-pci-bridge'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </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> <controller type='usb' index='0' model='ich9-ehci1'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <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'> <master startport='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/> </controller> <controller type='usb' index='0' model='ich9-uhci3'> <master startport='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/> </controller> <interface type='bridge'> <mac address='52:54:00:21:3f:c8'/> <source bridge='br0'/> <model type='virtio-net'/> <address type='pci' domain='0x0000' bus='0x03' 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'/> <tpm model='tpm-tis'> <backend type='emulator' version='2.0' persistent_state='yes'/> </tpm> <audio id='1' type='none'/> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> </source> <rom file='/mnt/user/isos/vbios/2023/GeForce GTX 970.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='0x02' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x1'/> </hostdev> <memballoon model='none'/> </devices> </domain>
  9. Hi @Arbadacarba could you please let me now how you were able to passthrough the GPU, I keep getting code 43? Thanks, Shan
  10. Hi Guys, I am somewhat new to Unraid and I had my NVIDIA GeForce GTX 970 (I know it's an old card) working totally fine before the upgrade to Unraid VER. 6.11.5, I am still able to passthrough the card but there is no output from the GPU to my monitor and when I remote into it via remote access I get a Code 43 error and it goes away when I reinstall the driver. However, on restart or on shutdown the code 43 comes back. I have tried all kinds of fixes that have been offered on this forum. Any help would be very much appreciated. Attached is the xml file for my gaming vm. Motherboard: ASUSTeK COMPUTER INC. ROG STRIX Z590-E GAMING WIFI CPU: Intel® Core™ i9-10900 CPU GPU: NVIDIA GeForce GTX 970 I do have the GPU grouped together in the IOMMU group. <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm'> <name>Windows 11 Gaming</name> <uuid>6a35707d-748d-840c-6626-cd8dd3f28536</uuid> <description>Windows 11 Gaming VM</description> <metadata> <vmtemplate xmlns="unraid" name="Windows 11" icon="windows11.png" os="windowstpm"/> </metadata> <memory unit='KiB'>16777216</memory> <currentMemory unit='KiB'>16777216</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>12</vcpu> <cputune> <vcpupin vcpu='0' cpuset='4'/> <vcpupin vcpu='1' cpuset='14'/> <vcpupin vcpu='2' cpuset='5'/> <vcpupin vcpu='3' cpuset='15'/> <vcpupin vcpu='4' cpuset='6'/> <vcpupin vcpu='5' cpuset='16'/> <vcpupin vcpu='6' cpuset='7'/> <vcpupin vcpu='7' cpuset='17'/> <vcpupin vcpu='8' cpuset='8'/> <vcpupin vcpu='9' cpuset='18'/> <vcpupin vcpu='10' cpuset='9'/> <vcpupin vcpu='11' cpuset='19'/> </cputune> <os> <type arch='x86_64' machine='pc-q35-7.1'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi-tpm.fd</loader> <nvram>/etc/libvirt/qemu/nvram/6a35707d-748d-840c-6626-cd8dd3f28536_VARS-pure-efi-tpm.fd</nvram> </os> <features> <acpi/> <apic/> <hyperv mode='custom'> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vendor_id state='on' value='1234567890ab'/> </hyperv> <kvm> <hidden state='on'/> </kvm> <vmport state='off'/> <ioapic driver='kvm'/> </features> <cpu mode='host-passthrough' check='none' migratable='on'> <topology sockets='1' dies='1' cores='6' 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.229-1.iso'/> <target dev='hdb' bus='sata'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/disks/S1D5NSAF299083N/Gaming Machine/vdisk1.img'/> <target dev='hdc' bus='sata'/> <boot order='1'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk> <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='0x8'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/> </controller> <controller type='pci' index='2' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='2' port='0x9'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='pci' index='3' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='3' port='0xa'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='4' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='4' port='0xb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/> </controller> <controller type='pci' index='5' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='5' port='0xc'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/> </controller> <controller type='pci' index='6' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='6' port='0xd'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/> </controller> <controller type='pci' index='7' model='pcie-to-pci-bridge'> <model name='pcie-pci-bridge'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </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> <controller type='usb' index='0' model='ich9-ehci1'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <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'> <master startport='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/> </controller> <controller type='usb' index='0' model='ich9-uhci3'> <master startport='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/> </controller> <interface type='bridge'> <mac address='52:54:00:21:3f:c8'/> <source bridge='br0'/> <model type='virtio-net'/> <address type='pci' domain='0x0000' bus='0x03' 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'/> <tpm model='tpm-tis'> <backend type='emulator' version='2.0' persistent_state='yes'/> </tpm> <audio id='1' type='none'/> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> </source> <rom file='/mnt/user/isos/vbios/2023/GeForce GTX 970.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='0x02' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x1'/> </hostdev> <memballoon model='none'/> </devices> </domain>
  11. Hi ghost82, I was able to make it work by following the steps here. Thanks for all your help!
  12. maybe so but in this "Quick and Easy PCIe Device Passthrough for VMs" video, he did mention about passing through a USB controller in order for attached USB devices to work. I did download the diagnostics, which logs should I provide?
  13. Thanks, I did try passing my keyboard and mouse but they didn't work. According to Spaceinvader the USB Controller must be passed through in order to get any USB devices to work. I'm just going to purchase a new pcie card at this point. Thanks again for all your help!
  14. Thank you Ghost82. The reason I highlighted Groups 5, 6 and 14 to see what those could be used for if I do bind them. Also, how do I go about installing the second usb controller? or how do I passthrough a single usb device to the VM?
  15. Hi All, I'm new to unraid and to this community so I apologize in advance if I miss something. I have the following hardware listed below and looking to passthrough USB Controller but it seems like my motherboard only has a single USB Controller which is being used by unraid and I am not sure how I can go about passing it through to one of my VMs. I don't want to buy a PCI USB card if I can get away with using the built-in controller. I have watched all Spaceinvader One videos related to IOMMU and still can't figure this out. I have attached an image of my PCI Devices and IOMMU Groups. Any help would be greatly appreciated! I am excited to be part of this community Also, I would like to know if I should use anything from Groups 5, 6 or 14 and if they would be any use to me? HARDWARE -ASUS ROG STRIX Z590-E GAMING WIFI Motherboard -i9 10900 Non-K CPU -Gigabyte GeForce FTX 9704GB OC Edition GPU