March 6, 20197 yr Hi, I wonder if anyone can help me out with an issue I have creating a new VM passing through my Nvidia GTX760 please? I followed spaceinvader's guide on passing through a single card in a machine and all info is below... Many thanks in advance! <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm'> <name>GAMINGVM</name> <uuid>7fc95784-ba89-80bd-7bcf-27474e5a7328</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/> </metadata> <memory unit='KiB'>8388608</memory> <currentMemory unit='KiB'>8388608</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>8</vcpu> <cputune> <vcpupin vcpu='0' cpuset='16'/> <vcpupin vcpu='1' cpuset='17'/> <vcpupin vcpu='2' cpuset='18'/> <vcpupin vcpu='3' cpuset='19'/> <vcpupin vcpu='4' cpuset='20'/> <vcpupin vcpu='5' cpuset='21'/> <vcpupin vcpu='6' cpuset='22'/> <vcpupin vcpu='7' cpuset='23'/> </cputune> <os> <type arch='x86_64' machine='pc-i440fx-3.0'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/7fc95784-ba89-80bd-7bcf-27474e5a7328_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='8' threads='1'/> </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/Windows(FromMS).iso'/> <target dev='hda' bus='sata'/> <readonly/> <boot order='2'/> <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.141-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/cache/VMS/GAMINGVM/Vdisk1.img'/> <target dev='hdc' bus='sata'/> <boot order='1'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </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='sata' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:8a:43:b6'/> <source bridge='virbr0'/> <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='0x08' slot='0x00' function='0x0'/> </source> <rom file='/mnt/cache/appdata/vgabios/gtx760.dump'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x08' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </hostdev> <memballoon model='none'/> </devices> </domain>
March 6, 20197 yr The BIOS on a GTX 7 series card is not encrypted, no special actions should be needed... Only GTX 10 series and the RTX cards have the encrypted BIOS and drivers that make it needed to do the BIOS passthrough...
March 6, 20197 yr Author 31 minutes ago, Warrentheo said: The BIOS on a GTX 7 series card is not encrypted, no special actions should be needed... Only GTX 10 series and the RTX cards have the encrypted BIOS and drivers that make it needed to do the BIOS passthrough... ah ok, I only entered that line on the xml as I was getting the error mentioned in my post, any ideas what is happening then?
March 6, 20197 yr Author Can you not use a single card on unraid as a VM unless it is a GTX10 or RTX?
March 7, 20197 yr Author Ok, so I think one of the config files was left hanging around from my old Intel VM's with Passthrough, restored old config files and now "Working" but the VM crashes shortly after starting with a "terminating on signal 15" error. I have just put an Nvidia Quadra in the server as well as the GTX 760 just to get the VM working with GPU passthrough which it now is but this is not really the way I want to leave it. Can anyone please confirm if what I am trying to do is possible? A GTX 760 single card in the system passed through to a VM? If I have to get a GTX10 I will but would prefer not to. Many Thanks
March 7, 20197 yr To my knowledge, only GTX 10 series and above need bios passthrough... It was not until the 10 series that they started encrypting the BIOS... That is why you can get a program like: https://www.techpowerup.com/download/maxwell-ii-bios-tweaker/ or https://www.techpowerup.com/download/kepler-bios-tweaker/ For the GTX 9 series and below, but will never see one again for the GTX 10 series and above... This encryption is what is causing the issues with passthrough, and why BIOS's need to be passed through...
March 7, 20197 yr Author Hi, thanks for your reply, As shown in my previous posts I tried passing through my bios file but still get the error where would I go with this? Thank you </source> <rom file='/mnt/cache/appdata/vgabios/gtx760.dump'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
March 7, 20197 yr 2 hours ago, mbc0 said: Hi, thanks for your reply, As shown in my previous posts I tried passing through my bios file but still get the error where would I go with this? Thank you </source> <rom file='/mnt/cache/appdata/vgabios/gtx760.dump'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> I think you need to re-read my last post, I get the impression you are still confusing yourself... (p.s. it says don't pass anything... remove the rom file line...) Edited March 7, 20197 yr by Warrentheo
March 7, 20197 yr Author Yep, you are right! I have been confusing myself! I only added the rom line (from spaceinvaders guide) as I was getting an error without it anyway. I will start fresh tomorrow as I have the quadra card installed as well to get me working, can you confirm so that I am understanding you correctly that I do not need anything other than to just select the card as graphics when creating/editing the VM? Many thanks for your time (and patience)
Archived
This topic is now archived and is closed to further replies.