Hi !
I'm trying to set up a GPU passtrough to a Win10 VM. I've followed all instructions and procedures, and it's partially working, but I've got a weird case and no more clues...
The host has 2 video cards :
When I add both the GTX1660 and the GT640 to the VM it works only if the GTX1660 is declared as hostpci0 and GT640 as hostpci1
In this case, I've got dual screen working, one from each card.
If I add the GT640 as hostpci0 and GTX1660 as hostpci1, in this case, I get a signal only from the GTX1660 and the GTA640 has an error 43 in the device manager.
If I add only the GT640 to the VM, I get no signal, and using RDP, I can see an error 43 in the device manager for the GPU.
I've tried several ROM file for my GTA640 :
What could I do to have this GT640 working alone ?
Any hint or help appreciated !
Here is my config
Host : Proxmox VE 7.0
# /etc/default/grub
# lspci -v | grep -i nvidia
# lspci -n -s 04:00 ; lspci -n -s 09:00
# /etc/modprobe.d/vfio.conf
## CONF WITH 2 GPU - Both WORKING
## CONF WITH 2 GPU - ONLY GTX1660 working
## CONF WITH ONLY GT640 - Not working
(Edit : marked as solved)
I'm trying to set up a GPU passtrough to a Win10 VM. I've followed all instructions and procedures, and it's partially working, but I've got a weird case and no more clues...
The host has 2 video cards :
- A GTX1660 on PCIe slot 1
- A GT640 (Asus GT640-2GD3) on PCIe slot2
When I add both the GTX1660 and the GT640 to the VM it works only if the GTX1660 is declared as hostpci0 and GT640 as hostpci1
In this case, I've got dual screen working, one from each card.
If I add the GT640 as hostpci0 and GTX1660 as hostpci1, in this case, I get a signal only from the GTX1660 and the GTA640 has an error 43 in the device manager.
If I add only the GT640 to the VM, I get no signal, and using RDP, I can see an error 43 in the device manager for the GPU.
I've tried several ROM file for my GTA640 :
- original,
- from techpowerup with EFI,
- patched myself with GOPupdater.
What could I do to have this GT640 working alone ?
Any hint or help appreciated !
Here is my config
Host : Proxmox VE 7.0
# /etc/default/grub
...
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafbff video=efifbff"
...
# lspci -v | grep -i nvidia
##lspci -v | grep -i nvidia
04:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 640] (rev a1) (prog-if 00 [VGA controller])
Kernel modules: nvidiafb, nouveau
04:00.1 Audio device: NVIDIA Corporation GK107 HDMI Audio Controller (rev a1)
09:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660] (rev a1) (prog-if 00 [VGA controller])
Kernel modules: nvidiafb, nouveau
09:00.1 Audio device: NVIDIA Corporation TU116 High Definition Audio Controller (rev a1)
09:00.2 USB controller: NVIDIA Corporation TU116 USB 3.1 Host Controller (rev a1) (prog-if 30 [XHCI])
09:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU116 USB Type-C UCSI Controller (rev a1)
Kernel modules: i2c_nvidia_gpu
# lspci -n -s 04:00 ; lspci -n -s 09:00
# lspci -n -s 04:00 ; lspci -n -s 09:00
04:00.0 0300: 10de:0fc1 (rev a1)
04:00.1 0403: 10de:0e1b (rev a1)
09:00.0 0300: 10de:2184 (rev a1)
09:00.1 0403: 10de:1aeb (rev a1)
09:00.2 0c03: 10de:1aec (rev a1)
09:00.3 0c80: 10de:1aed (rev a1)
# /etc/modprobe.d/vfio.conf
# /etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:2184,10de:1aeb,10de:1aec,10de:1aed,10de:0fc1,10de:0e1b disable_vga=1
## CONF WITH 2 GPU - Both WORKING
# /etc/pve/qemu-server/xxx.conf
agent: 1
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off'
balloon: 4096
bios: ovmf
boot: order=ide2;scsi0;net0
cores: 4
cpu: host,hidden=1,flags=+pcid
efidisk0: local-lvm:vm-101-disk-0,size=4M
hostpci0: 0000:09:00,pcie=1,romfile=nvidia1660-tu116.rom
hostpci1: 0000:04:00,pcie=1,romfile=AsusGT640_patched.rom
machine: pc-q35-3.1
memory: 8192
name: Windows10ProGT640
net0: virtio=12:72:27:A1:75:90,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsi0: local-lvm:vm-101-disk-1,size=64G
scsihw: virtio-scsi-single
smbios1: uuid=121a8b1a-4847-474b-ac6b-47bd77253cc0
sockets: 1
usb0: host=046d:c31d,usb3=1
usb1: host=045e:00f0,usb3=1
vga: none
vmgenid: d63d0423-415f-4844-b094-989a3f0fe4bd
## CONF WITH 2 GPU - ONLY GTX1660 working
# /etc/pve/qemu-server/xxx.conf
agent: 1
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off'
balloon: 4096
bios: ovmf
boot: order=ide2;scsi0;net0
cores: 4
cpu: host,hidden=1,flags=+pcid
efidisk0: local-lvm:vm-101-disk-0,size=4M
hostpci0: 0000:04:00,pcie=1,romfile=AsusGT640_patched.rom
hostpci1: 0000:09:00,pcie=1,romfile=nvidia1660-tu116.rom
machine: pc-q35-3.1
memory: 8192
name: Windows10ProGT640
net0: virtio=12:72:27:A1:75:90,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsi0: local-lvm:vm-101-disk-1,size=64G
scsihw: virtio-scsi-single
smbios1: uuid=121a8b1a-4847-474b-ac6b-47bd77253cc0
sockets: 1
usb0: host=046d:c31d,usb3=1
usb1: host=045e:00f0,usb3=1
vga: none
vmgenid: d63d0423-415f-4844-b094-989a3f0fe4bd
## CONF WITH ONLY GT640 - Not working
# /etc/pve/qemu-server/xxx.conf
agent: 1
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off'
balloon: 4096
bios: ovmf
boot: order=ide2;scsi0;net0
cores: 4
cpu: host,hidden=1,flags=+pcid
efidisk0: local-lvm:vm-101-disk-0,size=4M
hostpci0: 0000:04:00,pcie=1,romfile=AsusGT640_patched.rom
machine: pc-q35-3.1
memory: 8192
name: Windows10ProGT640
net0: virtio=12:72:27:A1:75:90,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsi0: local-lvm:vm-101-disk-1,size=64G
scsihw: virtio-scsi-single
smbios1: uuid=121a8b1a-4847-474b-ac6b-47bd77253cc0
sockets: 1
usb0: host=046d:c31d,usb3=1
usb1: host=045e:00f0,usb3=1
vga: none
vmgenid: d63d0423-415f-4844-b094-989a3f0fe4bd
(Edit : marked as solved)
Last edited: