Was getting BSOD trying to pass through a 280X to Windows guest. Using an added PCIe root seems to fix it. Using the i440fx machine in QEMU also seems to fix the BSOD. I need to benchmark that against the PCIe with Q35.
Standard options for the various modes using Q35 QEMU machine:
BIOS Default:
-device vfio-pci,host=xx:00.0,multifunction=on,x-vga=xx,romfile=xx -device vfio-pci,host=xx:00.1
UEFI Default:
-bios /usr/share/ovmf/OVMF.fd -device vfio-pci,host=xx:00.0,multifunction=on,x-vga=xx,romfile=xx -device vfio-pci,host=xx:00.1
BIOS PCIe:
-device pcie-root-port,bus=pcie.0,id=pcie0 -device vfio-pci,host=xx:00.0,multifunction=on,bus=pcie0,x-vga=xx,romfile=xx -device vfio-pci,host=xx:00.1,bus=pcie0
UEFI PCIe:
-bios /usr/share/ovmf/OVMF.fd -device pcie-root-port,bus=pcie.0,id=pcie0 -device vfio-pci,host=xx:00.0,multifunction=on,bus=pcie0,x-vga=xx,romfile=xx -device vfio-pci,host=xx:00.1,bus=pcie0
HIS Radeon 280X Turbo Boost (romfile is stock VBIOS in position 1)
Boot | PCI | x-vga | romfile | Display | Result |
---|---|---|---|---|---|
BIOS | Default | Off | No | none | No display |
BIOS | Default | Off | No | vmware | BSOD |
BIOS | Default | Off | Yes | none | No display |
BIOS | Default | Off | Yes | vmware | BSOD |
BIOS | Default | On | No | none | Boots to Windows login then BSOD |
BIOS | Default | On | No | vmware | No display |
BIOS | Default | On | Yes | none | Boots to Windows login then BSOD |
BIOS | Default | On | Yes | vmware | No display |
BIOS | PCIe | Off | No | none | No display |
BIOS | PCIe | Off | No | vmware | QEMU display first then QEMU+GPU after login |
BIOS | PCIe | Off | Yes | none | No display |
BIOS | PCIe | Off | Yes | vmware | QEMU display first then QEMU+GPU after login |
BIOS | PCIe | On | No | none | Boots to Windows login then BSOD |
BIOS | PCIe | On | No | vmware | QEMU display first then QEMU+GPU after login |
BIOS | PCIe | On | Yes | none | Boots to Windows login then BSOD |
BIOS | PCIe | On | Yes | vmware | QEMU display first then QEMU+GPU after login |
UEFI | Default | Off | No | none | GPU incorrect resolution |
UEFI | Default | Off | No | vmware | QEMU display but GPU does not work |
UEFI | Default | Off | Yes | none | GPU incorrect resolution |
UEFI | Default | Off | Yes | vmware | QEMU display but GPU does not work |
UEFI | Default | On | No | none | GPU incorrect resolution |
UEFI | Default | On | No | vmware | QEMU display but GPU does not work |
UEFI | Default | On | Yes | none | GPU incorrect resolution |
UEFI | Default | On | Yes | vmware | QEMU display but GPU does not work |
UEFI | PCIe | Off | No | none | Works |
UEFI | PCIe | Off | No | vmware | Works; Primary display on GPU |
UEFI | PCIe | Off | Yes | none | Works |
UEFI | PCIe | Off | Yes | vmware | Works; Primary display on GPU |
UEFI | PCIe | On | No | none | Works |
UEFI | PCIe | On | No | vmware | Works; Primary display on GPU |
UEFI | PCIe | On | Yes | none | Works |
UEFI | PCIe | On | Yes | vmware | Works; Primary display on GPU |
MSI nVidia GT1030 OC (romfile is supposed to be a newer version of the stock VBIOS but doesn’t say MSI inside so, unknown)
Boot | PCI | x-vga | romfile | Display | Result |
---|---|---|---|---|---|
BIOS | Default | Off | No | none | No display |
BIOS | Default | Off | No | vmware | QEMU display first then QEMU+GPU after login |
BIOS | Default | Off | Yes | none | No display |
BIOS | Default | Off | Yes | vmware | QEMU display first then QEMU+GPU after login |
BIOS | Default | On | No | none | No display |
BIOS | Default | On | No | vmware | Black screen |
BIOS | Default | On | Yes | none | No display |
BIOS | Default | On | Yes | vmware | Black screen |
BIOS | PCIe | Off | No | none | No display |
BIOS | PCIe | Off | No | vmware | QEMU display first then QEMU+GPU after login |
BIOS | PCIe | Off | Yes | none | No display |
BIOS | PCIe | Off | Yes | vmware | QEMU display first then QEMU+GPU after login |
BIOS | PCIe | On | No | none | No display |
BIOS | PCIe | On | No | vmware | QEMU display first then QEMU+GPU after login |
BIOS | PCIe | On | Yes | none | No display |
BIOS | PCIe | On | Yes | vmware | QEMU display first then QEMU+GPU after login |
UEFI | Default | Off | No | none | Works; Primary display on GPU |
UEFI | Default | Off | No | vmware | Works; Primary display on GPU |
UEFI | Default | Off | Yes | none | Boots to Windows login then BSOD |
UEFI | Default | Off | Yes | vmware | Boots to Windows login then BSOD |
UEFI | Default | On | No | none | Works |
UEFI | Default | On | No | vmware | Works; Primary display on GPU |
UEFI | Default | On | Yes | none | Boots to Windows login then BSOD |
UEFI | Default | On | Yes | vmware | Boots to Windows login then BSOD |
UEFI | PCIe | Off | No | none | Works |
UEFI | PCIe | Off | No | vmware | Works; Primary display on QEMU |
UEFI | PCIe | Off | Yes | none | Boots to Windows login then BSOD |
UEFI | PCIe | Off | Yes | vmware | Boots to Windows login then BSOD |
UEFI | PCIe | On | No | none | Works |
UEFI | PCIe | On | No | vmware | Works; Primary display on QEMU |
UEFI | PCIe | On | Yes | none | Boots to Windows login then BSOD |
UEFI | PCIe | On | Yes | vmware | Boots to Windows login then BSOD |