Hello everyone,
I'm really banging my head against the wall for the last week or so trying to make my GPU passthrough to work, but I keep getting the error Code 43.
I've read and tried some of the workarounds in this and other threads but nothing seems to work.
So, I'm using a HP workstation:
Machine: Hp Z2 MINI G4
CPU: Intel CoreTM i7
Ram: 16GB
GPU: Nvidia Quadro P1000
SDD: 512 GB SSD for Proxmox
Using Proxmox VE 7.3-3
Guest VM: Windows 10 Pro
/etc/default/grub settings
/etc/modprobe.d/blacklist.conf
/etc/modprobe.d/kvm.conf
/etc/modprobe.d/vfio.conf
/etc/modules
/etc/pve/qemu-server/106.conf
dmesg | grep -e DMAR -e IOMMU
lspci -nnv
Please if someone has any tips on how to make this work, help me
I'm really banging my head against the wall for the last week or so trying to make my GPU passthrough to work, but I keep getting the error Code 43.
I've read and tried some of the workarounds in this and other threads but nothing seems to work.
So, I'm using a HP workstation:
Machine: Hp Z2 MINI G4
CPU: Intel CoreTM i7
Ram: 16GB
GPU: Nvidia Quadro P1000
SDD: 512 GB SSD for Proxmox
Using Proxmox VE 7.3-3
Guest VM: Windows 10 Pro
/etc/default/grub settings
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
#GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"
#GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafbff video=efifbff"
#GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on initcall_blacklist=sysfb_init"
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_acs_override=downstream pcie_acs_overrid=multifunction nofb nomodeset video=vesafbff initcall_blacklist=sysfb_init"
GRUB_CMDLINE_LINUX=""
/etc/modprobe.d/blacklist.conf
blacklist radeon
blacklist nouveau
blacklist nvidia
/etc/modprobe.d/kvm.conf
options kvm ignore_msrs=1
/etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:1cbb,10de:0fb9 disable_vga=1
/etc/modules
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
/etc/pve/qemu-server/106.conf
#cpu: host,hidden=1,flags=+pcid
agent: 1
bios: ovmf
boot: order=scsi0;ide2;net0
cores: 4
cpu: host
efidisk0: local-lvm:vm-106-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 0000:01:00,pcie=1,x-vga=1
machine: pc-q35-7.1
memory: 16384
meta: creation-qemu=7.1.0,ctime=1675419718
name: windows10-pro-gpu
net0: e1000=22:FE:72:AB:C2:35,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsi0: local-lvm:vm-106-disk-1,cache=writeback,discard=on,iothread=1,size=64G
scsihw: virtio-scsi-single
smbios1: uuid=7bc517c5-3752-4b10-8f3d-da2612419b40
sockets: 1
vga: none
vmgenid: 5fdf2e44-8f15-442f-9b11-eff996da96a4
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off'
dmesg | grep -e DMAR -e IOMMU
[ 0.000000] Warning: PCIe ACS overrides enabled; This may allow non-IOMMU protected peer-to-peer DMA
[ 0.009083] ACPI: DMAR 0x00000000CBC0D000 000070 (v01 INTEL CFL 00000002 01000013)
[ 0.009124] ACPI: Reserving DMAR table memory at [mem 0xcbc0d000-0xcbc0d06f]
[ 0.046897] DMAR: IOMMU enabled
[ 0.134935] DMAR: Host address width 39
[ 0.134936] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[ 0.134940] DMAR: dmar0: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da
[ 0.134943] DMAR: RMRR base: 0x000000cb89e000 end: 0x000000cb8bdfff
[ 0.134945] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 0
[ 0.134946] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[ 0.134947] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[ 0.136316] DMAR-IR: Enabled IRQ remapping in x2apic mode
[ 0.382435] DMAR: No ATSR found
[ 0.382436] DMAR: No SATC found
[ 0.382437] DMAR: dmar0: Using Queued invalidation
[ 0.382627] DMAR: Intel(R) Virtualization Technology for Directed I/O
lspci -nnv
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107GLM [Quadro P1000 Mobile] [10de:1cbb] (rev a1) (prog-if 00 [VGA controller])
Flags: fast devsel, IRQ 16, IOMMU group 8
Memory at e2000000 (32-bit, non-prefetchable) [size=16M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at e0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 3000
Expansion ROM at e3080000 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [250] Latency Tolerance Reporting
Capabilities: [258] L1 PM Substates
Capabilities: [128] Power Budgeting <?>
Capabilities: [420] Advanced Error Reporting
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Capabilities: [900] Secondary PCI Express
Kernel driver in use: vfio-pci
Kernel modules: nvidiafb, nouveau
01:00.1 Audio device [0403]: NVIDIA Corporation GP107GL High Definition Audio Controller [10de:0fb9] (rev a1)
Flags: fast devsel, IRQ 17, IOMMU group 8
Memory at e3000000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
Please if someone has any tips on how to make this work, help me