Hi all,
I am posting because I have been trying to get this to work for several days and cannot find any discussion of anyone having this specific issue. I have followed several guides and I was able to get my Nvidia GTX 750 Ti to show up under Device Manager in Windows 10 Pro (in addition to Microsoft Remote Display Adapter), and I was also able to install the latest Nvidia drivers. However, when I try to run any software or benchmark that requires Direct3D, it crashes. Steam games for example crash with "Failed to create D3D device", and Userbenchmark fails to run the GPU benchmark with the error "WARN: skipping NVIDIA GeForce GTX 750 Ti - unable to locate attached display." The benchmark detects 2 GPUs including the Microsoft Remote Display Adapter and gives the same error on this one. I also have an HDMI cable plugged into the GPU but it is not connected to a display.
In addition to not being able to run Direct3D, the VM display is running very sluggish on a wired 1Gb connection (slower than without GPU passthrough). Surprisingly Cinebench R15 GPU (OpenGL) benchmark runs and scores reasonably.
Below is my configuration. I would greatly appreciate any help, thank you very much!
/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafbff,efifbff"
/etc/modules
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
/etc/modprobe.d/blacklist.conf
blacklist nvidiafb
blacklist nvidia
blacklist radeon
blacklist nouveau
/etc/modprobe.d/iommu_unsafe_interrupts.conf
options vfio_iommu_type1 allow_unsafe_interrupts=1
root@pve:~# lspci -n -s 01:00
01:00.0 0300: 10de:1380 (rev a2)
01:00.1 0403: 10de:0fbc (rev a1)
/etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:1380,10de:0fbc disable_vga=1
/etc/modprobe.d/kvm.conf
options kvm ignore_msrs=1
/etc/pve/qemu-server/101.conf
agent: 1
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off'
balloon: 2048
bios: ovmf
bootdisk: scsi0
cores: 4
cpu: host,hidden=1,flags=+pcid
efidisk0: local-lvm:vm-101-disk-1,size=4M
hostpci0: 01:00,pcie=1,x-vga=on,romfile=GTX750Ti.rom
ide0: local:iso/virtio-win-0.1.173.iso,media=cdrom,size=384670K
ide2: local:iso/Windows10-Official.iso,media=cdrom
machine: q35
memory: 8096
name: Windows10test
net0: virtio=6A:E5:71:71:AB:24,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsi0: local-lvm:vm-101-disk-0,cache=writeback,size=60G
scsihw: virtio-scsi-pci
smbios1: uuid=ccfc7b76-99ed-4c9d-a770-71784d079b8c
sockets: 1
vga: none
vmgenid: d374e8c3-62ed-4d08-8341-31c1cf54c6f9
(I downloaded the ROM file from techpowerup but this did not help either)
Host System:
Asrock Z97e-ITX
Intel i5 4590S
Nvidia GTX 750 Ti
16GB DDR3
I am posting because I have been trying to get this to work for several days and cannot find any discussion of anyone having this specific issue. I have followed several guides and I was able to get my Nvidia GTX 750 Ti to show up under Device Manager in Windows 10 Pro (in addition to Microsoft Remote Display Adapter), and I was also able to install the latest Nvidia drivers. However, when I try to run any software or benchmark that requires Direct3D, it crashes. Steam games for example crash with "Failed to create D3D device", and Userbenchmark fails to run the GPU benchmark with the error "WARN: skipping NVIDIA GeForce GTX 750 Ti - unable to locate attached display." The benchmark detects 2 GPUs including the Microsoft Remote Display Adapter and gives the same error on this one. I also have an HDMI cable plugged into the GPU but it is not connected to a display.
In addition to not being able to run Direct3D, the VM display is running very sluggish on a wired 1Gb connection (slower than without GPU passthrough). Surprisingly Cinebench R15 GPU (OpenGL) benchmark runs and scores reasonably.
Below is my configuration. I would greatly appreciate any help, thank you very much!
/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafbff,efifbff"
/etc/modules
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
/etc/modprobe.d/blacklist.conf
blacklist nvidiafb
blacklist nvidia
blacklist radeon
blacklist nouveau
/etc/modprobe.d/iommu_unsafe_interrupts.conf
options vfio_iommu_type1 allow_unsafe_interrupts=1
root@pve:~# lspci -n -s 01:00
01:00.0 0300: 10de:1380 (rev a2)
01:00.1 0403: 10de:0fbc (rev a1)
/etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:1380,10de:0fbc disable_vga=1
/etc/modprobe.d/kvm.conf
options kvm ignore_msrs=1
/etc/pve/qemu-server/101.conf
agent: 1
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off'
balloon: 2048
bios: ovmf
bootdisk: scsi0
cores: 4
cpu: host,hidden=1,flags=+pcid
efidisk0: local-lvm:vm-101-disk-1,size=4M
hostpci0: 01:00,pcie=1,x-vga=on,romfile=GTX750Ti.rom
ide0: local:iso/virtio-win-0.1.173.iso,media=cdrom,size=384670K
ide2: local:iso/Windows10-Official.iso,media=cdrom
machine: q35
memory: 8096
name: Windows10test
net0: virtio=6A:E5:71:71:AB:24,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsi0: local-lvm:vm-101-disk-0,cache=writeback,size=60G
scsihw: virtio-scsi-pci
smbios1: uuid=ccfc7b76-99ed-4c9d-a770-71784d079b8c
sockets: 1
vga: none
vmgenid: d374e8c3-62ed-4d08-8341-31c1cf54c6f9
(I downloaded the ROM file from techpowerup but this did not help either)
Host System:
Asrock Z97e-ITX
Intel i5 4590S
Nvidia GTX 750 Ti
16GB DDR3