GPU Pass-through Windows Build 16299 help


Recommended Posts

Hello, I am setting up gpu pass-through for the first time and think I need some help.

The problem:
When booting my vm with a bios dump (acquired following these methods from Spaceinvader One: bios modification, general dump usage)

2018-06-24 15:08:41.455+0000: starting up libvirt version: 4.0.0, qemu version: 2.11.1, hostname: HuananTheHydra
LC_ALL=C PATH=/bin:/sbin:/usr/bin:/usr/sbin HOME=/ QEMU_AUDIO_DRV=none /usr/local/sbin/qemu -name 'guest=Windows 10,debug-threads=on' -S -object 'secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-11-Windows 10/master-key.aes' -machine pc-i440fx-2.11,accel=kvm,usb=off,dump-guest-core=off,mem-merge=off -cpu host,hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff,hv_vendor_id=none -drive file=/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd,if=pflash,format=raw,unit=0,readonly=on -drive file=/etc/libvirt/qemu/nvram/9bbfa0b2-3543-fda4-0e7e-1872da3c997c_VARS-pure-efi.fd,if=pflash,format=raw,unit=1 -m 8192 -realtime mlock=off -smp 10,sockets=1,cores=5,threads=2 -uuid 9bbfa0b2-3543-fda4-0e7e-1872da3c997c -display none -no-user-config -nodefaults -chardev 'socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-11-Windows 10/monitor.sock,server,nowait' -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime -no-hpet -no-shutdown -boot strict=on -device TX 1070 Mini ITX OC 8G/modified bios/Gigabyte.GTX1070.mini.rom' -device vfio-pci,host=02:00.1,id=hostdev1,bus=pci.0,addr=0x6 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x8 -msg timestamp=on
2018-06-24 15:08:41.455+0000: Domain id=11 is tainted: high-privileges
2018-06-24 15:08:41.455+0000: Domain id=11 is tainted: host-cpu
2018-06-24T15:08:41.526591Z qemu-system-x86_64: -chardev pty,id=charserial0: char device redirected to /dev/pts/0 (label charserial0)
2018-06-24T15:08:42.672504Z qemu-system-x86_64: -device vfio-pci,host=02:00.0,id=hostdev0,bus=pci.0,addr=0x5,romfile=/mnt/disk7/gpudumps/GeForce GTX 1070 Mini ITX OC 8G/modified bios/Gigabyte.GTX1070.mini.rom: Failed to mmap 0000:02:00.0 BAR 3. Performance may be slow

I came to the conclusion the vm does not boot because:

  • The attached videocard (GeForce GTX 1070 Mini ITX OC 8G) does not output anything
  • The MAC address of the VM never appears on my network.
  •  

What I have tried:

  • The same vm configuration, with a vnc graphic card (QXL)
  • The same vm configuration, without the bios, with a vnc graphic card (QXL)
  • The same vm configuration, without the bios

 

The same vm configuration, without the bios

  • The attached videocard (GeForce GTX 1070 Mini ITX OC 8G) does not output anything
  • The MAC address of the VM never appears on my network.
  • Code 43 appears

image.png.5bd1a304ea5232062aa0a01623d0c1e3.png

 

 

The same vm configuration, without the bios, with a vnc graphic card (QXL)

  • The attached videocard (GeForce GTX 1070 Mini ITX OC 8G) does not output anything
  • The MAC address of the VM never appears on my network.
  • Code 43 appears

 

The same vm configuration, with a vnc graphic card (QXL)

  • The MAC address of the VM does appear on my network/I can not remote in
  • The attached videocard (GeForce GTX 1070 Mini ITX OC 8G) does not output anything

 

System information:

GPU I am attempting to pass-through: GeForce GTX 1070 Mini ITX OC 8G
Unraid 6.5.3
Model: Custom
M/B: HUANANZHI - X79
CPU: Intel® Xeon® CPU E5-2670 v2 @ 2.50GHz
HVM: Enabled
IOMMU: Enabled
Cache: 640 kB, 2560 kB, 25600 kB
Memory: 32 GB (max. installable capacity 96 GB)
Network: bond0: fault-tolerance (active-backup), mtu 1500 
 eth0: 1000 Mb/s, full duplex, mtu 1500
Kernel: Linux 4.14.49-unRAID x86_64
OpenSSL: 1.0.2o

Full details are attached in unraidHardwareDetails.xml

 

Other information:
Windows build is 16299

I am attempting to install my nvidia driver via Gerforce Experience, in all the cases above that boot, I am getting Code 43 after reboot (in some cases before)

 

Threads and Videos I looked at before making this post:

How to passthrough an nvidia gpu as primary gpu in unRAID

Building a 10 core unRAID server from start to finish - Pt-3 Docker containers and VMs (All parts)

The best way to install and setup a windows 10 vm as a daily driver or a Gaming VM

VIDEO GUIDE***How to pass through an NVIDIA GPU as primary or only gpu in unRAID

[Resolved] Primary GPU passthrough

 


I have also attached my modified rom dump for review.

Please let me know if I can provide any other details that will help, and don't hesitate to confirm I followed steps in any of the tutorials above because pebkac is a thing.

 

Thanks for your time,

vm.xml

unraidHardwareDetails.xml

Gigabyte.GTX1070.mini.rom

Edited by paperblankets
Updated information on threads/videos used
Link to comment
  • 1 year later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.