-
Notifications
You must be signed in to change notification settings - Fork 125
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
TPU is no longer available - '/dev/apex_0': No such file or directory #820
Comments
I've run into the same issue. Maybe a problem with a recent kernel update? |
definitely a kernel version issue. I had the issue after upgrading to |
I'm also in this boat. Ubuntu 22.04 w/ Frigate NVR running in docker-compose flawlessly for over a year and suddenly throwing errors related to the TPU not being found at pcie:0 in the config as of a week ago maybe. Using the grub menu to boot from Anything else I can try? |
Installing |
Basically, edgeTPU is no longer supported, with outdated drivers. |
Actually, gasket-dkms is open-source and support for kernel 6.4+ has been added. One can recompile gasket-dkms from the source below. |
I was in this same boat, with a Coral TPU running Frigate NVR on Ubuntu 22.04. This thread helped me solve it: #808 |
These instructions worked for me to rebuild the driver: |
Description
I installed tpu driver in to a fresh ubuntu installation by following instruction here: https://coral.ai/docs/m2/get-started/#2a-on-linux
Everything worked as expected and then used the TPU with Frigate CCTV for detection tasks with zero issues for few days. Today, with no apparent reason Frigate started to complain. Figured out that the command 'ls /dev/apex_0' returns ls: cannot access '/dev/apex_0': No such file or directory.
Outputs of few more commands are given below.
during this time I did not do any changes to the system, rather just observing how frigate does object detection with TPU - which worked perfectly. Only thing that happened may be that laptop abruptly shutdown due to a power failure (This has no battery).
Both gasket-dkms and libedgetpu1-std are already installed.
appex group exists and my user is part of that group.
Appreciate some help to diagnose this further.
Thank you.
uname -a out:
Linux cctvserverlap 6.5.0-14-generic #14~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 20 18:15:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
lspci -nn | grep 089a:
12:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a]
modinfo gasket:
modinfo: ERROR: Module gasket not found.
modinfo apex:
modinfo: ERROR: Module apex not found.
Click to expand!
Issue Type
Bug
Operating System
Ubuntu
Coral Device
Mini PCIe
Other Devices
No response
Programming Language
No response
Relevant Log Output
No response
The text was updated successfully, but these errors were encountered: