Nvidia L40S GPU PCI Pass-through BAR0 Error

amtiskaw

Member
Mar 11, 2021
11
0
21
58
Howdy
I have a Nvidia L40s that I'm passing through to an Ubuntu 24.04 VM
Proxmox 9.0.10 running on 2 PowerEdge R760s, with a qdevice.

At boot, the VM console loops this error:

Code:
NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR0 is 0M @ 0x0 (PCI:0000:01:00.0)

I don't know why it's referring to PCI:0000:01:00.0 as that's a NIC. The GPU is 0000:b5:00.0

The conf for the VM confirms it's using the GPU

Code:
hostpci0: 0000:b5:00,pcie=1

pvesh get /nodes/hn-pve-1/hardware/pci --pci-class-blacklist "" confirms I have the PCI IDs correct

Code:
 0x020000 │ 0x165f │ 0000:01:00.0 │         41 │ 0x14e4 │ NetXtreme BCM5720 Gigabit Ethernet PCIe
 0x030200 │ 0x26b9 │ 0000:b5:00.0 │         25 │ 0x10de │ AD102GL [L40S]

What am I doing wrong here?
 
Last edited: