[SOLVED] cant add PCIE 0000:01:00.0 to a VM?

scyto

Well-Known Member
Aug 8, 2023
539
113
48
The device can be seen in LSPCI and PCI mapping tool but not in the add device UI? is this a bug? (the device has its own iommu group). can i add it manually in the vm conf file and be ok?

1747615150179.png

1747615220198.png
 
The device can be seen in LSPCI and PCI mapping tool but not in the add device UI? is this a bug? (the device has its own iommu group). can i add it manually in the vm conf file and be ok?
hi,

no by default we filter some things out in the 'raw device' view to not clutter it too much.

I can see that such ai processors would be handy to have also in that view, so if you can post the output of
Code:
lspci -nn
the we can check if we can easily add it too

to work around it, you can set it via the cli/api:
Code:
qm set VMID -hostpci0 0000:01:00.0
 
  • Like
Reactions: scyto and UdoB
to work around it, you can set it via the cli/api:
cool thanks, i will try that, i added it via the vm.conf for now
it didn't work in an nested vm (proxmox host, treunas vm L1, debian L2 VM) it entertaingly reset the whole server when the driver loaded.
next up debian VM on the proxmox host
 
no by default we filter some things out in the 'raw device' view to not clutter it too much.
i understand, tbh it would be nice to have a UI with checkbox and filters rather than adding 15 pcie devices one by one - but i get why that is such a lowwww prio qol feature :)
consder this op answered.
 
the we can check if we can easily add it too
01:00.0 Co-processor [0b40]: Hailo Technologies Ltd. Hailo-8 AI Processor [1e60:2864] (rev 01)

note frigate is very picky about firmware and driver versions and generally expects older versions than are shipping
hailo provides a drive deb package on their website and one can compile from source too - like this
seems like the hailo.ai 8 and 8L are the natural successors to coral TPU which seems abandonded by google (do they ever stick with anything)
 
Last edited:
thanks for the link, thought that was for just HA modes, nice solutioin
does mapping remeber the advanced settings (doesn't show in the vmid.conf file

corrected tag, i really shouldnt do posts when i just got up

i'll hold my own counsel on what i quote or not, thanks.
 
My line in the config file looks like this (just some random settings) so I don't see why not or why it doesn't appear for you. How did you check?
INI:
hostpci0: mapping=PVE_RTX_3090,vendor-id=0x8888,x-vga=1
The mapping itself is in /etc/pve/mapping/pci.cfg.
 
Last edited:
  • Like
Reactions: scyto