Proxmox VM PCI Passthru Error MSIX PBA outside of specified BAR
Proxmox VM PCIE Passthru Error
MSIX PBA outside of specified BAR
I created a Proxmox VM created for LLM purposes, with a NVIDIA RTX 3060 allocated to it through PCIE Passthru, which there are plenty of literature about.
Essentially,
- Enabled "above 4g decoding" in BIOS.
- Ensure "Re-size BAR Support" is Disabled in BIOS.
- In PVE host, blacklist the NVIDIA drivers to ensure it is not used by the host so that the GPU can be passed on to the VM.
- Create a VM which will use the host's virtual GPU as the primary display.
- While the VM is offline open Hardware to add PCI device, select the GPU with all functions etc.
MSIX PBA outside of specified BAR, start failed: QEMU exited with code 1
I searched the Proxmox forums and other Internet articles for a solution but none of them seemed to be effective.
Then by chance I came across one line that somewhat sounded related;
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt pci=realloc=off"
I had more parameters set for the GRUB_CMDLINE_LINUX_DEFAULT environment variable, but added the "pci=realloc=off".
I edited the file in
/etc/default/grub
Add the above mentioned parameter, then run
update-grub
Then reboot just to make sure, and that allowed my VM to boot up again.
Not saying this is the solution for every situation when faced with the same "MSIX PBA outside of specified BAR" error message, but at least it was solution to mine.
Comments
Post a Comment