New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Detector Support]: Coral M.2 B+M Key via ESXi #6331
Comments
You're not passing the device in via docker so that's likely the first problem. You also haven't defined the device correctly in the Frigate config so that's another problem. Please read the docs https://docs.frigate.video/configuration/detectors#edge-tpu-detector |
Can you please help out with the correct passing for docker? And for frigate config? I have tried multiple settings but to no avail. I have read the docs :-) |
You need to pass |
Got now: compose:
in frigate:
or this:
No luck:
|
Get a shell in the frigate container and run ls /dev/ |
|
So the coral isn't being passed in, means the coral device isn't being passed from the host OS to whatever is running docker. |
It is an Ubuntu VM:
with just normal docker? |
The VM may need the coral driver installed as well |
Installed following: https://coral.ai/docs/m2/get-started/#2a-on-linux but still no luck... any other tip :-)? |
this is strange and above my knowledge level:
Same problem here: I had to "enable" secure boot in the VM, could not pass.... had to enter a password (did it) and then on boot on the console I Selected the first option (boot))... How do I disable secure boot on a linux (VM) But still:
|
Anything other than usb coral won't work in esxi as you need to install the coral drivers on esxi which do not exist. Proxmox allows to install drivers as it's Debian based. |
I do not have a USB coral, it is an M.2 Coral. the device ID is correct. USB Coral is another problem.
Ah sorry, misread. I believe the USB does not work at all in ESXi... I have it running in Proxmox yes, but I need it to run in ESXi as well... |
What I am trying to say is that only usb version of coral works with esxi. M.2 coral requires a driver to be installed on host esxi and that driver doesn't exist. |
Why should/couldn't/doesn't it work in ESXi? All outputs in the VM look fine up until the ls: cannot access '/dev/apex_0': No such file or directory |
Do you see /dev/apex_0 on the host? Have you installed the driver on the host? if not then it won't work, and I believe what @eogmau is saying is correct |
M.2 coral it's only possible with Proxmox from my knowledge because there is no coral PCI driver compiled for esxi, the driver exist for Debian based distros. |
You will need a driver installed for m.2 coral on esxi. The driver doesn't exists for esxi. |
The host is an ESXi 8.x server. I do not dare to touch or install a driver in there... No I do not see it...
But... as it is only "passed through" why wouldn't it work in an Ubuntu VM? |
because the driver has to exist at every layer, since your host OS is the layer that actually integrates with the hardware itself |
You don't see it because exsi cannot talk to it as it requires a driver to be installed on esxi. |
That's (another) pity... Is "the driver" preinstalled on proxmox? I never did that there... (or is it not needed for usb?). |
The USB coral has an internal driver that loads when it is run. The PCI driver is not preinstalled in proxmox but it works becuse proxmox is debian based. |
@sanderlv slighthly out of topic. Did you use it on m.2. 40x22 port inside nuc12? I am planning to buy one as well, but would like to confirm first it works on this slot first. |
It technically works. You will however need a circular saw (don't ask :-) ) EDIT: See how desperately I want this to work in VMware ESXi (whaaha) |
@sanderlv thanks much! You should've posted the other one as well as a "warning" (just assuming based on your answer something went really wrong first time ;) ) |
What other one? Nothing went wrong... only thing going wrong is VMware ESXi (8.x) is not wanting to work with Coral. Nor USB, nor M.2... |
@sanderlv Ah, got it now :) I thought you mentioned "circular saw" need, cause you broke the first one by using other tools! :D |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Describe the problem you are having
I have installed a Coral M.2 Accelerator B+M key in my NUC12 which runs ESXi.
Successfully passed through the device via ESXi to my Ubuntu VM.
But I have no luck (yet) in activating it for Frigate.
Please help out.
Version
0.12.0-da3e197
Frigate config file
docker-compose file or Docker CLI command
Relevant log output
Operating system
Other Linux
Install method
Docker Compose
Coral version
M.2
Any other information that may be helpful
Succesfully seen in ESXi and passed though:
The text was updated successfully, but these errors were encountered: