Hi 
I have installed Proxmox on an old laptop and followed the below guides to passthrough gpu.
https://forum.proxmox.com/threads/gpu-passthrough-tutorial-reference.34303/
https://pve.proxmox.com/wiki/Pci_passthrough
https://www.reddit.com/r/homelab/comments/b5xpua/the_ultimate_beginners_guide_to_gpu_passthrough/
checking the pci devices from cli showing its configured correctly, as below.
lscpi -v
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 12
Memory at de000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000
Expansion ROM at df000000 [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
dmesg | grep -e DMAR -e IOMMU
[ 0.000000] Warning: PCIe ACS overrides enabled; This may allow non-IOMMU protected peer-to-peer DMA
[ 0.016385] ACPI: DMAR 0x000000007A71DAB8 0000CC (v01 INTEL KBL 00000001 INTL 00000001)
[ 0.016425] ACPI: Reserving DMAR table memory at [mem 0x7a71dab8-0x7a71db83]
[ 0.050697] DMAR: IOMMU enabled
[ 0.134459] DMAR: Host address width 39
[ 0.134460] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[ 0.134465] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 ecap 19e2ff0505e
[ 0.134468] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[ 0.134471] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da
[ 0.134473] DMAR: RMRR base: 0x00000079e3c000 end: 0x00000079e5bfff
[ 0.134475] DMAR: RMRR base: 0x0000007b800000 end: 0x0000007fffffff
[ 0.134476] DMAR: ANDD device: 1 name: \_SB.PCI0.I2C0
[ 0.134478] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1
[ 0.134479] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[ 0.134480] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[ 0.136229] DMAR-IR: Enabled IRQ remapping in x2apic mode
[ 0.669981] DMAR: ACPI device "device:78" under DMAR at fed91000 as 00:15.0
[ 0.669991] DMAR: No ATSR found
[ 0.669992] DMAR: No SATC found
[ 0.669993] DMAR: IOMMU feature fl1gp_support inconsistent
[ 0.669994] DMAR: IOMMU feature pgsel_inv inconsistent
[ 0.669995] DMAR: IOMMU feature nwfs inconsistent
[ 0.669996] DMAR: IOMMU feature pasid inconsistent
[ 0.669997] DMAR: IOMMU feature eafs inconsistent
[ 0.669997] DMAR: IOMMU feature prs inconsistent
[ 0.669998] DMAR: IOMMU feature nest inconsistent
[ 0.669999] DMAR: IOMMU feature mts inconsistent
[ 0.669999] DMAR: IOMMU feature sc_support inconsistent
[ 0.670000] DMAR: IOMMU feature dev_iotlb_support inconsistent
[ 0.670001] DMAR: dmar0: Using Queued invalidation
[ 0.670004] DMAR: dmar1: Using Queued invalidation
[ 0.670618] DMAR: Intel(R) Virtualization Technology for Directed I/O
but when I run nvidia-smi on ubuntu20.04 vm its return "No devices were found"
and dmesg -w on vm its showing below errors.
[ 130.206007] NVRM: GPU 0000:01:00.0: Failed to copy vbios to system memory.
[ 130.206189] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x30:0xffff:978)
[ 130.206492] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 274.368633] NVRM: GPU 0000:01:00.0: Failed to copy vbios to system memory.
[ 274.368930] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x30:0xffff:978)
[ 274.369177] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 274.504630] NVRM: GPU 0000:01:00.0: Failed to copy vbios to system memory.
[ 274.504817] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x30:0xffff:978)
[ 274.505136] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
although the driver seems being installed using ubuntu wizard, as below

please your help.
I have installed Proxmox on an old laptop and followed the below guides to passthrough gpu.
https://forum.proxmox.com/threads/gpu-passthrough-tutorial-reference.34303/
https://pve.proxmox.com/wiki/Pci_passthrough
https://www.reddit.com/r/homelab/comments/b5xpua/the_ultimate_beginners_guide_to_gpu_passthrough/
checking the pci devices from cli showing its configured correctly, as below.
lscpi -v
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 12
Memory at de000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000
Expansion ROM at df000000 [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
dmesg | grep -e DMAR -e IOMMU
[ 0.000000] Warning: PCIe ACS overrides enabled; This may allow non-IOMMU protected peer-to-peer DMA
[ 0.016385] ACPI: DMAR 0x000000007A71DAB8 0000CC (v01 INTEL KBL 00000001 INTL 00000001)
[ 0.016425] ACPI: Reserving DMAR table memory at [mem 0x7a71dab8-0x7a71db83]
[ 0.050697] DMAR: IOMMU enabled
[ 0.134459] DMAR: Host address width 39
[ 0.134460] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[ 0.134465] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 ecap 19e2ff0505e
[ 0.134468] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[ 0.134471] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da
[ 0.134473] DMAR: RMRR base: 0x00000079e3c000 end: 0x00000079e5bfff
[ 0.134475] DMAR: RMRR base: 0x0000007b800000 end: 0x0000007fffffff
[ 0.134476] DMAR: ANDD device: 1 name: \_SB.PCI0.I2C0
[ 0.134478] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1
[ 0.134479] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[ 0.134480] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[ 0.136229] DMAR-IR: Enabled IRQ remapping in x2apic mode
[ 0.669981] DMAR: ACPI device "device:78" under DMAR at fed91000 as 00:15.0
[ 0.669991] DMAR: No ATSR found
[ 0.669992] DMAR: No SATC found
[ 0.669993] DMAR: IOMMU feature fl1gp_support inconsistent
[ 0.669994] DMAR: IOMMU feature pgsel_inv inconsistent
[ 0.669995] DMAR: IOMMU feature nwfs inconsistent
[ 0.669996] DMAR: IOMMU feature pasid inconsistent
[ 0.669997] DMAR: IOMMU feature eafs inconsistent
[ 0.669997] DMAR: IOMMU feature prs inconsistent
[ 0.669998] DMAR: IOMMU feature nest inconsistent
[ 0.669999] DMAR: IOMMU feature mts inconsistent
[ 0.669999] DMAR: IOMMU feature sc_support inconsistent
[ 0.670000] DMAR: IOMMU feature dev_iotlb_support inconsistent
[ 0.670001] DMAR: dmar0: Using Queued invalidation
[ 0.670004] DMAR: dmar1: Using Queued invalidation
[ 0.670618] DMAR: Intel(R) Virtualization Technology for Directed I/O
but when I run nvidia-smi on ubuntu20.04 vm its return "No devices were found"
and dmesg -w on vm its showing below errors.
[ 130.206007] NVRM: GPU 0000:01:00.0: Failed to copy vbios to system memory.
[ 130.206189] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x30:0xffff:978)
[ 130.206492] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 274.368633] NVRM: GPU 0000:01:00.0: Failed to copy vbios to system memory.
[ 274.368930] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x30:0xffff:978)
[ 274.369177] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 274.504630] NVRM: GPU 0000:01:00.0: Failed to copy vbios to system memory.
[ 274.504817] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x30:0xffff:978)
[ 274.505136] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
although the driver seems being installed using ubuntu wizard, as below

please your help.
Last edited: