Closed mr-manuel closed 1 year ago
This issue can be caused by a number of things, I'd suggest trying a different cable as the cable that is included with the coral has had problems for a number of users.
I have tried several things. I have used a powered USB hub (Baseus round box USB hub). Then I used it without that. I changed the cables of the coral AI. I used a long cable to avoid interferences which are mentioned in the link https://www.reddit.com/r/homeassistant/comments/y0thjv/ha_yellow_users_any_luck_with_frigate_coral_usb/ here. But doesn't work for me. My device is HA yellow.
I also tried with different cables, but the hardware and connection is working. Now I ordered a Minisforum GK41 to test with. There the TPU works without problems. But as said above, the TPU works great with other tests I made on the same VM, but only with Frigate not.
I also tried with different cables, but the hardware and connection is working. Now I ordered a Minisforum GK41 to test with. There the TPU works without problems. But as said above, the TPU works great with other tests I made on the same VM, but only with Frigate not.
Is there a difference between the other devices OS and the minisoforum OS that is being used? Frigate runs the coral at max speed with many inferences whereas most of the tests either use the standard speed runtime or they only run a few inferences which won't show the power issues.
Therefore I made this question in the first post :-)
Is there a way to run the TPU with Frigate with the normal frequency only to test?
right, the answer is no because that would somewhat defeat the purpose of having a coral in the first place. it would also require a different variation of the frigate container to be created which would be complicated and confusing.
The vast majority of users have no issues running the coral at max speed, when there are issues it can be cable or USB port related; after that it has usually been something with the host. Things like proxmox and esxi cause a lot of issues due to the extra layers of interference that are caused https://github.com/blakeblackshear/frigate/discussions/3604
Ok, thanks for your feedback.
I hate to reopen this issue but the situation is so similar to my own and I can't seem to find anything current that applies. Did you implement something that finally made it work on your original system (Frigate on a Ubuntu 20.04 VM on VMware vSphere 7.0 U3n (ESXi-7.0U3n) on a Intel NUC10 i7)? I have HA/Frigate addon running in Ubuntu under VMWare Player 17 on Intel i5 9600k. Can I ask how you ran the CTS test - I went to the link you provided but I don't know how to run the "sudo..." commands. I tried in Advanced SSH & web terminal add on. I assume that if it passes these tests at least it eliminates the Coral being defective. Did it consistently work on the mini PC and did you switch it back and forth multiple times? If it did then that would seem to eliminate the cord and/or the mating surfaces of the USB port and connector. I would appreciate your help and indulgence. Thanks.
Describe the problem you are having
After 1-2 hours Frigate was running fine with the TPU it get stuck and is not accessible anymore by Frigate and the host OS. The white LED on the Google Coral USB TPU keeps flashing.
I'm using Frigate on a
Ubuntu 20.04
VM onVMware vSphere 7.0 U3n (ESXi-7.0U3n)
on aIntel NUC10 i7
. I know there are some problems with passing the USB device, but if I'm running a stress test it runs fine for several hours (did not test more then 24 hours). I used Google Coral CTS to test with the maximum frequency of the TPU.Is there a way to run the TPU with Frigate with the normal frequency only to test?
Right now I'm searching for a possibility to test the Google Coral USB TPU in a Docker container to see, if the problem indeed persists only with Frigate.
Version
0.12.1-367d724
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
Operating system
Debian
Install method
Docker Compose
Coral version
USB
Network connection
Wired
Camera make and model
Aliexpress
Any other information that may be helpful
I checked already this issue: https://github.com/blakeblackshear/frigate/issues/2783