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

root at yoshi.dynu.com root at yoshi.dynu.com
Mon Oct 5 20:08:14 UTC 2015


i cleaned up a bit by what Alex suggested:


kernelflags are now:

rw intel_iommu=on vfio-pci.ids=10de:1180,10de:0622,8086:3a3e 
intel_iommu=verbose

Tried two configurations:

startconfiguration I :

qemu-system-x86_64 -enable-kvm -machine pc,accel=kvm,iommu=on -cpu 
host,kvm=off,hv_vendor_id=deadbeef \
-smp 4,sockets=1,cores=2,threads=2 -bios bios.bin \
-name Windows-10 \
-m 8G \
-mem-prealloc \
-balloon none \
-rtc clock=vm,base=localtime \
-serial null \
-parallel null \
-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=/mnt/ramdisk/ram.img,if=virtio,format=raw \
-device vfio-pci,host=05:00.0,multifunction=on,x-vga=on \
-device vfio-pci,host=00:1b.0 \
-vga none \
-usbdevice host:046d:c52b \
-usbdevice host:045e:0291 \
-monitor stdio


-> installer fails to restart
-> initial setup (just a few things... getting ready..... blabla) takes 
~2h
-> then black screen leading to reboot after a while
-> boot animation, then black screen ut backlight. 'info cpus': all 4 
vcpus halted
-> reboot: finally screen
-> install nvidia driver 337.88. getting black screen during install
-> reboot: black screen but backlight
-> reboot: screen but code 43



startconfiguration II:

qemu-system-x86_64 -enable-kvm -machine q35,accel=kvm,iommu=on -cpu 
host,kvm=off,hv_vendor_id=deadbeef \
-smp 4,sockets=1,cores=2,threads=2 -bios bios.bin \
-name Windows-10 \
-m 8G \
-mem-prealloc \
-balloon none \
-rtc clock=vm,base=localtime \
-serial null \
-parallel null \
-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=/mnt/ramdisk/ram.img,if=virtio,format=raw \
-device 
vfio-pci,host=05:00.0,multifunction=on,x-vga=on,bus=pcie.0,addr=0f.0 \
-device vfio-pci,host=00:1b.0 \
-vga none \
-usbdevice host:046d:c52b \
-usbdevice host:045e:0291 \
-monitor stdio


->setup restarts fine
->initial setup takes ~7m
->bootanimation has correct resolution for short time when first booting 
after setup
->install nvidia drivers: screen turns black
->reboot: bootanimation, then black screen with backlight
->reboot again: screen but code 43

it's extremely frustrating.... but i still hope you guys can help me to 
get it to work!


Also chatted with nvidia customer support... think the guy didn't quite 
get what i was doing but asked for logs of the setup-install. Let's see 
what they have to say... i guess it won't be: "Yeah... we broke the 
drivers on purpose because you should buy the quadro cards if you want 
to do virtual stuff... And no-one ever wants a gaming gpu in a vm 
anyway" :/


Cheers




More information about the vfio-users mailing list