Help Error 43 Passthrough Nvdia GTX1070 After Update to 6.1-8

shiro4e

New Member
Mar 31, 2020
1
0
1
33
Please can anyone help me with this, after update from 6.0 to 6.1 my GPU passthrough suddenly not working, i have tried every combination in machine (q35/q35-3.1) and -cpu flags, event using patched rom file but its still error

here my grub:
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt pcie_acs_override=downstream,multifunction pci=noaer nofb nomodeset video=efifb:off"

lspci:
26:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1)
26:00.1 Audio device [0403]: NVIDIA Corporation GP104 High Definition Audio Controller [10de:10f0] (rev a1)

dmesg -wH when boot up VM:
[11282.342104] vfio-pci 0000:26:00.0: vfio_ecap_init: hiding ecap 0x19@0x900
[11282.344230] vfio-pci 0000:26:00.0: No more image in the PCI ROM

and .conf
Code:
bios: ovmf
boot: dcn
bootdisk: scsi0
cores: 8
cpu: host
efidisk0: lvm-thin:vm-114-disk-1,size=4M
hostpci0: 26:00,pcie=1,romfile=patched-gtx1070v2.rom
ide2: iso:iso/virtio-win.iso,media=cdrom,size=363104K
machine: q35
memory: 8192
name: win10
net0: virtio=7E:2F:4F:D6:B7:20,bridge=vmbr0,firewall=1
numa: 1
ostype: win10
scsi0: lvm-thin:vm-114-disk-0,cache=writeback,iothread=1,size=128G,ssd=1
scsihw: virtio-scsi-single
smbios1: uuid=10e71cbe-fefe-4720-9158-14441caf24d5
sockets: 1
vga: none
vmgenid: 84fb2ab3-5c01-41bb-b7c4-864a703b0c66

and pveversion:
pve-manager/6.1-8/806edfe1 (running kernel: 5.3.18-3-pve)
 
Code:
cpu: host
...
hostpci0: 26:00,pcie=1,romfile=patched-gtx1070v2.rom

you have either put 'x-vga=1' to the hostpci0 setting, or set 'hv-vendor-id' on the cpu setting
otherwise the hv_vendor_id gets not set and nvidia detects kvm as a hypervisor
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!