[SOLVED] Nvidia GPU Passthrough, Error 43 on driver installation

themen098s

New Member
Feb 9, 2025
3
0
1
Good morning/midday/afternoom/whenever,

For my next step in my Proxmox journey, I've decided to install a windows VM, and possible, pass though my dedicated GPU.
Sadly, after many hours of trying fixes, I've yet to find a working solution.
Hopefully some of you are (much) smarter than me and can possible help.

Some info:
I've used my old laptop as server, specs:

MSI GP65 Leopard 9SD
Intel Core i7-9750H w/ Integrated Graphics
Nvidia Geforce GTX 1660 Ti Mobile

VM Configuration
Code:
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=null,kvm=off,-hypervisor'
balloon: 0
bios: ovmf
boot: order=scsi0;ide0;ide2;net0
cores: 4
cpu: host,hidden=1,flags=+pcid
efidisk0: local-lvm:vm-110-disk-0,efitype=4m,size=4M
hostpci0: 0000:01:00,device-id=0x2182,romfile=vbios_patched.rom,vendor-id=0x10de,x-vga=1
ide0: local:iso/virtio-win-0.1.266.iso,media=cdrom,size=707456K
ide2: local:iso/Win10_22H2_English_x64v1.iso,media=cdrom,size=5997046K
machine: pc-q35-9.0
memory: 8192
meta: creation-qemu=9.0.2,ctime=1739051621
name: windows
net0: virtio=BC:24:11:4F:9A:AC,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsi0: local-lvm:vm-110-disk-1,iothread=1,size=64G
scsihw: virtio-scsi-single
smbios1: uuid=d032d3f5-4e44-4a86-b649-e7f23375a86e
sockets: 1
startup: down=60
vga: none
vmgenid: e4363a64-9443-473f-84a8-06915a599d60

GRUB:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt nofb nomodeset video=efifb:off"

blacklist.conf:
blacklist nouveau
blacklist nvidia*

vfio.conf:
options vfio-pci ids=10de:2191,10de:1aeb,10de:1aec,10de:1aed disable_vga=1

/etc/modules:
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

lspci -v (IOMMU Group of GPU)
Code:
01:00.0 VGA compatible controller: NVIDIA Corporation TU116M [GeForce GTX 1660 Ti Mobile] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Micro-Star International Co., Ltd. [MSI] TU116M [GeForce GTX 1660 Ti Mobile]
        Flags: fast devsel, IRQ 16, IOMMU group 2
        Memory at a4000000 (32-bit, non-prefetchable) [size=16M]
        Memory at 90000000 (64-bit, prefetchable) [size=256M]
        Memory at a0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at 4000 [size=128]
        Expansion ROM at a5000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Legacy 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
        Capabilities: [bb0] Physical Resizable BAR
        Kernel driver in use: vfio-pci
        Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

01:00.1 Audio device: NVIDIA Corporation TU116 High Definition Audio Controller (rev a1)
        Subsystem: Micro-Star International Co., Ltd. [MSI] TU116 High Definition Audio Controller
        Flags: fast devsel, IRQ 17, IOMMU group 2
        Memory at a5080000 (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

01:00.2 USB controller: NVIDIA Corporation TU116 USB 3.1 Host Controller (rev a1) (prog-if 30 [XHCI])
        Subsystem: Micro-Star International Co., Ltd. [MSI] TU116 USB 3.1 Host Controller
        Flags: fast devsel, IRQ 18, IOMMU group 2
        Memory at a2000000 (64-bit, prefetchable) [size=256K]
        Memory at a2040000 (64-bit, prefetchable) [size=64K]
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [b4] Power Management version 3
        Capabilities: [100] Advanced Error Reporting
        Kernel driver in use: vfio-pci
        Kernel modules: xhci_pci

01:00.3 Serial bus controller: NVIDIA Corporation TU116 USB Type-C UCSI Controller (rev a1)
        Subsystem: Micro-Star International Co., Ltd. [MSI] TU116 USB Type-C UCSI Controller
        Flags: fast devsel, IRQ 19, IOMMU group 2
        Memory at a5084000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [b4] Power Management version 3
        Capabilities: [100] Advanced Error Reporting
        Kernel driver in use: vfio-pci
        Kernel modules: i2c_nvidia_gpu

As well as the most recent dmesg log: https://pastebin.com/9LLesxQC

Thanks in advance, if any more info is needed, I'll gladly provide!
 
Highlights in the dmesg log:
3.722320, 4.513250
log states that the gpu is already bound to vfio-pice driver?


Code:
[    4.513250] NVRM: GPU 0000:01:00.0 is already bound to vfio-pci.
[    4.513903] NVRM: The NVIDIA probe routine was not called for 1 device(s).
[    4.513904] NVRM: This can occur when another driver was loaded and
               NVRM: obtained ownership of the NVIDIA device(s).
[    4.513905] NVRM: Try unloading the conflicting kernel module (and/or
               NVRM: reconfigure your kernel without the conflicting
               NVRM: driver(s)), then try loading the NVIDIA kernel module
               NVRM: again.
[    4.513905] NVRM: No NVIDIA devices probed.
[    4.546959] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[    4.567045] nvidia-gpu 0000:01:00.3: i2c timeout error e0000000
[    4.567048] ucsi_ccg 0-0008: i2c_transfer failed -110
[    4.567050] ucsi_ccg 0-0008: ucsi_ccg_init failed - -110
[    4.567052] ucsi_ccg: probe of 0-0008 failed with error -110
[    5.880758] psmouse serio1: Failed to deactivate mouse on isa0060/serio1: -71
[    5.981140] psmouse serio1: Failed to enable mouse on isa0060/serio1