[Detector Support]: Coral TPU Cards no Longer Being Detected #15099
Unanswered
Pembrae
asked this question in
Detector Support
Replies: 1 comment 4 replies
-
Did you update your kernel recently and not have the linux headers installed and thus the gasket kernel module wasn't built? This is not really a frigate problem, this is a gasket/coral pcie problem, and until you get ls /dev/apex* to work, frigate is not involved I also think a reboot is necessary after installing/setting up gasket I switched to cloning https://github.com/google/gasket-driver and managing it manually after some similar issues |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the problem you are having
Having previously had two Coral TPUs being detected and used by Frigate, sometime in the last week the TPUs are no longer being detected causing Frigate to keep restarting. When I originally installed the TPUs, following the instructions in https://coral.ai/docs/m2/get-started/#1-install-the-pcie-driver, I couldn't complete step 3 as there were error messages about broken packages. Anyway, I ignored this and completed the setup and configuration in frigate and the TPUs were detected and worked OK.
Since finding one of them had stopped being detected I have retried step 3 again but still got error messages.
Following the guidance under PCIe Coral Not Detected on the Frigate documentation https://docs.frigate.video/troubleshooting/edgetpu/#pcie-coral-not-detected I tried to follow the instructions of https://github.com/jnicolson/gasket-builder but when I tried to install the deb file I got an error saying file didn't exist although a file with that name was present when I used ls.
I then decided to go through Coral installation instructions again.
2: Install the PCIe driver and Edge TPU runtime
Step 1. gives an error message regarding key deprecation which is shown in the first screen shot. I don't know what the effect of this is but the rest of this section completed successfully and the command ls /dev/apex_0 gave the correct response.
3: Install the PyCoral library
3a: On Linux
The sudo apt-get install python3-pycoral gives the following error:
This response is shown in the second screen shot below.
I have included terminal screenshots to show all the steps and responses
What I am finding is that the detection of the Coral TPUs is very unpredictable. I thought I was making progress when I found that if I commented out the second TPU in the configuration file Frigate started OK. The logs I have provided below are for when the first TPU was being detected and the second wasn't. However, when I rebooted the server the first TPU is now not being detected and Frigate is constantly restarting.
What is going on?
Version
0.14.1-f4f3cfa
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
Install method
Docker Compose
Object Detector
Coral
Screenshots of the Frigate UI's System metrics pages
Unable to obtain as Frigate unstable
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions