runamuk

Members
  • Posts

    58
  • Joined

  • Last visited

Everything posted by runamuk

  1. I tested this for SCSI and SATA and it worked. I was able to get it working by just changing to the appropriate device\volume name. Example below </devices> <qemu:commandline> <qemu:arg value='-set'/> <qemu:arg value='device.scsi0-0-0-2.rotation_rate=1'/> </qemu:commandline> </domain>
  2. I just tried this. This makes drive into a "thin provisioned drive" but the drive still shows as a HDD under the main system I am still getting the following error.
  3. I was hoping if anyone knew a possible way to have the Vdisk show as an SSD instead of HDD in Windows. With the recent windows update you can now run Android Apps native; however it required to have an SSD. Even though my Vdisk is stored on my cache drive so runs at SSD speeds it however will show as a HDD under windows due to the VirtIO drivers. Any recommendations would be great.
  4. I use OBS and have Zero issues doing this. First find out if Audio Output Capture works at allnot just browser source). If it dose work with Audio Output Capture but not browser source then it sounds like its an issue with the browser. If it still not working in another Browser i suggest making sure Monitor and Output is on and running OBS as Admin.
  5. I have fixed this even more and getting way better fps. Add the following just above </features> do not disable hypervisor Once booted into windows open Powershell as admin Enter the following It ask you to reboot
  6. This may sound strange but do the following. Make a new VM for Machine select the latest pc-q35 For USB controller select 3.0 Qemu You can select the same data disk after that for your current windows vm so you don't need reinstall. Then push though the controller
  7. <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x45' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x45' slot='0x00' function='0x1'/> </source> <alias name='hostdev1'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x1'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x45' slot='0x00' function='0x2'/> </source> <alias name='hostdev2'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x2'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x45' slot='0x00' function='0x3'/> </source> <alias name='hostdev3'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x3'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> I enabled Multifunction for your video card and its usb port. A <hyperv> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vpindex state='on'/> <runtime state='on'/> <synic state='on'/> <stimer state='on'/> <reset state='on'/> <vendor_id state='on' value='pickyourown'/> </hyperv> Add following under hyperv Make sure Drive location is on chach as any action on unraid can slow down your VM. I also recommend checking your pinning page Setting -> Cpu Pinning: pin the first 4 cores to unraid system/apps and the last 4 cores to the vm.
  8. I promise you change your machine type to highest Q35 on your unraid version. This solves most of video card passthrough issues.
  9. ok also if you hard struck on having a vbois (not sure what model you had) https://www.techpowerup.com/vgabios/185951/msi-gtx1060-6144-160630 Download it here and you can Hex edit out the first part.
  10. For advanced user such as yourself second baremetal setup as a backup is a viable solution but at that point in time why not run a bare metal system fulltime. It uses such low resources that any old machine can run it smoothly. Personally using PFsense in a VM as my network routing seems high risk. If anything happens to Unraid or the VM, it would completely borked my entire network. If Unraid is your only network solution you could be up a creek without a paddle verry quickly. Simply my concept is don't put all my eggs in one basket; as the last thing I want is be trying to fix my network and whatever happen to my unraid system at the same time.
  11. What kind of system are you running. I do have a few lines that can possible help the hyper-V run a little more smooth; try putting the following in under HyperV- Also I highly recommend you are running the latest q35. <hyperv> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vpindex state='on'/> <runtime state='on'/> <synic state='on'/> <stimer state='on'/> <reset state='on'/> <vendor_id state='on' value='putwhatyouwant'/> </hyperv> .
  12. I have never even needed a Vbios if setup correctly. Please post a screenshot of your VM page, Also post a screenshot of your IOMMU groups please. (Tools -> System Devices) I see you have not turned on multifunction. I took part of your VM XML and changed it below. I also changed the secondary function to be under the same slot and changed the function. Last I would never recommend having a PFsense VM and Windows VM the same Unraid sever. In fact I wouldn't recommend having PFsense being on your unraid sever at all tbh, but that's just me do what ever makes you happy 😄. <source> <address domain="0x0000" bus="0x02" slot="0x00" function="0x0"/> </source> <rom file="/mnt/user/isos/vbios/gpu_vbios_MSI_1060.rom"/> <address type="pci" domain="0x0000" bus="0x00" slot="0x06" 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="0x00" slot="0x06" function="0x1"/> </hostdev> <memballoon model="none"/>
  13. I'm sorry to say butt I'm pretty sure that AMD GPU's will not work with the ioapic driver='kvm' ; thus creating the lag. I'm getting around 140 fps with my 2060 super (all on ultra) with an ultra wide monitor. Windows 11 VM 10 dedicated cores from a 5950 16 gig ram 2060 Super I know there is another workaround with AMD gpu but it is not easy.
  14. <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm'> <name>GamingVM</name> <uuid>1e489a41-f454-ed0d-8beb-543e2ece4491</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='4'/> <vcpupin vcpu='1' cpuset='12'/> <vcpupin vcpu='2' cpuset='5'/> <vcpupin vcpu='3' cpuset='13'/> <vcpupin vcpu='4' cpuset='6'/> <vcpupin vcpu='5' cpuset='14'/> <vcpupin vcpu='6' cpuset='7'/> <vcpupin vcpu='7' cpuset='15'/> </cputune> <os> <type arch='x86_64' machine='pc-q35-6.1'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/1e489a41-f454-ed0d-8beb-543e2ece4491_VARS-pure-efi.fd</nvram> </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'> <topology sockets='1' cores='4' threads='2'/> <cache mode='passthrough'/> <feature policy='require' name='topoext'/> </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='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/domains/GamingVM/vdisk1.img'/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </disk> <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> <controller type='pci' index='0' model='pci-root'/> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:a3:4b:60'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' 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='0x09' slot='0x00' function='0x0' multifunction='on'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x09' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/> </hostdev> <memballoon model='none'/> </devices> </domain> Not sure if you are running the latest beta of Unraid; If you are make a new VM and paste in this XML. I also fixed the fact you have you multifunction on the wrong line.
  15. achine='pc-i440fx-4.2'>hvm</type> Why you using i440fx this always has issues with gpu passthrough. multifunction is not in the correct spot Passthrough all the other function of your video card then edit the multifuction . (usb port and other) If you passthrough everything correctly you wont even need the bios.
  16. I have fixed this even more and getting way better fps. Add the following just above </features> <kvm> <hidden state='on'/> </kvm> <ioapic driver='kvm'/> do not disable hypervisor Once booted into windows open Powershell as admin Enter the following Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All It ask you to reboot Once done launch and enjoy HALO
  17. Share me a screenshot of from your VM page of one of the VMS
  18. 2021-10-02 22:33:12.356+0000: 6941: error : virConnectNumOfStoragePools:164 : this function is not supported by the connection driver: virConnectNumOfStoragePools 2021-10-02 22:33:12.356+0000: 6937: error : virConnectNumOfStoragePools:164 : this function is not supported by the connection driver: virConnectNumOfStoragePools 2021-10-02 22:33:12.356+0000: 6935: error : virConnectNumOfDefinedStoragePools:244 : this function is not supported by the connection driver: virConnectNumOfDefinedStoragePools 2021-10-02 22:33:12.356+0000: 6943: error : virConnectNumOfSecrets:79 : this function is not supported by the connection driver: virConnectNumOfSecrets Same issue
  19. Do you need your PCIe ACS override to Multi-function? If so try always using "Both" as the override; I have always found better results on those machines. Have you tried using a "Graphics ROM BIOS" for the windows VM. Also it recommended you install your own VNC on a Windows system; not try to load the VNC graphic controller and NVidia at the same time.
  20. did you also bind any USB connected to the videocard?
  21. You know VM dose not mean windows right? You can even make Pi-Os run on VM. Pi just runs Linux.