[vfio-users] Cannot fix Error 43 for GTX 680 passed through to win 10 guest

Blank Field ihatethisfield at gmail.com
Mon Oct 5 06:24:31 UTC 2015


Try spoofing hyper-v hw vendor id as noted in a neighbor thread. It fools
the nvidia driver and it doesn't disable itself since it can't detect if it
runs inside a VM.
On Oct 5, 2015 6:55 AM, <root at yoshi.dynu.com> wrote:

> Hi vifo-users,
>
> i really hope you can help me with this task.
>
> I run Arch linux as a host with two guest VMs on it.
>
> My machine:
> Intel Xeon X5650
> Sapphire Pure Black X58
> 24 GB Ram DDR3
> Nvidia GT 210 (host)
> Nvidia GT 9600 (reserved for guest)
> Nvidia GTX 680 (reserved for guest)
>
> I use qemu 2.4.5 and linux-vfio-lts kernel 4.1.9-1
>
> kernel flags:
>
> intel_iommu=on vfio-pci.ids=10de:1180,10de:0622,8086:3a3e
> intel_iommu=verbose pcie_acs_override=downstream i915.enable_hd_vgaarb=1
>
> i run the Win10-Vm like this:
>
> sudo qemu-system-x86_64 -enable-kvm -M q35 -m 8192 -cpu host,kvm=off \
> -smp 4,sockets=1,cores=2,threads=2 \
> -boot d \
> -drive file=Downloads/Win10_German_x64.iso,if=ide,index=1,media=cdrom \
> -drive file=Downloads/virtio-win.iso,if=ide,index=2,media=cdrom \
> -drive file=testII.img,if=virtio \
> -device
> ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=rootbus \
> -device
> vfio-pci,host=05:00.0,bus=rootbus,addr=00.0,multifunction=on,x-vga=on \
> -device vfio-pci,host=00:1b.0,bus=rootbus,addr=00.1 \
> -usbdevice host:046d:c52b \
> -usbdevice host:045e:0291 \
> -vga none -vnc :5 -monitor stdio
>
> where 05:00.0 is the GTX 680 and 00:1b.0 is my onboard ALC 892 sound card.
>
> As soon as i install the nvidia drivers i get a code 43 for the card. I
> disabled the autoupdate of the drivers since windows installed 355.xx
> drivers over the installed 377.88 drivers (i read that there are problems
> with the newer ones).
>
> What bugs me most is that it run correctly for a while (valley benchmark
> and even GTA 5 run flawlessly) and then broke again unfixable.
>
> I also reinstalled windows (many times), tried different configurations,
> but nothing brought the GTX 680 back to life.
>
> What i tried (and remember) so far:
>
> q35/440fx machine -> code 43
> adding the card directly to pcie.0-bus -> code 43
> adding a emulated gpu as primary gpu -> no screen on connected monitor,
> code 43
> flashed a uefi-compatible Bios on the card and tried OVMF -> no screen
>
> Let me know if you need any more information.
>
> I really hope you can help me to get it to work (again... this bothers me
> most of all.. that it worked and then broke out of nothing...)
>
> Cheers
>
> _______________________________________________
> vfio-users mailing list
> vfio-users at redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20151005/e6b2d442/attachment.htm>


More information about the vfio-users mailing list