Closed spaceboy76 closed 1 year ago
Bus 003 Device 006: ID 1a6e:089a Global Unichip Corp.
it will show as this for the first run then should switch to Google Inc. What does it show as on your host after trying to run frigate?
If not, then maybe your host is not able to provide enough power and you should try a different cable / different port, or use a powered USB hub.
Hi Nick, grateful for your attention.
If i understand you right i put back in the detectors section of my yml restarted the container and while it was in a start up loop ran lsusb from the terminal (not from within the container).
it still shows Bus 003 Device 006: ID 1a6e:089a Global Unichip Corp.
i have never seen it reporting as the google device i have seen referred to by other people
sorry - also should have added. host is an older intel nuc and the cable that came with the coral is plugged into a usb 3 port directly on the nuc. i've tried multiple ports on the nuc but not a powered usb hub yet. do you think that is necessary? seemed unlikely to me but i can get one if needed
do you think that is necessary? seemed unlikely to me but i can get one if needed
The coral draws a lot of power, it's possible it's not getting enough power from the onboard device to fully power on.
ok no worries i can give that a try. before i do make the order on that is there any other way i can check the coral? for example if i connected it to my main desktop pc running windows would that give any indication that the coral is working or would power likely be an issue there too?
You can definitely try the desktop but you'd need some way to get it to run an inference so it loads the internal driver and the name changes.
ok - ordered a usb hub. will update tomorrow
usb hub did not help, no change at all. anything else i can try or does it look like a non-functioning coral?
ordered a second coral...
Maybe I am wrong, but it could be that you have the same issue i had: I also tried using the TPU on my DS1621 Synology NAS with DSM 7.x and Frigate inside a docker container (not running in vm). This do not work at all.
Somebody found out, that it has to do with the compilation of the library (if i remember correctly). There is a modified library available.... You may search for it... I haven't tried that, I finaly moved to a Asus pn41 with a dedicated ubuntu os and frigate (not hass os).
VM on NAS was also not a path to go (the device ID changes while loading the firmware --> disconnects the device all the time)...
I had the same issue this morning - My set up was Proxmox -> VM -> Docker I had to install the libraries on the VM using the guide below: https://coral.ai/docs/accelerator/get-started/#runtime-on-linux
Once i did that, i restarted the VM and it worked fine.
cheers for the responses.
what about pycoral? i did notice that when i tried to run the example model after installing pycoral on a previous effort that i got errors - i believe because ubuntu has python 3.10 installed and pycoral is only compatible with 3.9 but then i read somewhere that this is all handled by the frigate container
cheers for the responses.
what about pycoral? i did notice that when i tried to run the example model after installing pycoral on a previous effort that i got errors - i believe because ubuntu has python 3.10 installed and pycoral is only compatible with 3.9 but then i read somewhere that this is all handled by the frigate container
frigate container has an internal version of python 3.9, all of that is handled inside the container
but worth trying the linked library?
when i try to install the run time i get:
sudo apt-get install libedgetpu1-std
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libflashrom1 libftdi1-2
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed
libedgetpu1-std
0 to upgrade, 1 to newly install, 0 to remove and 32 not to upgrade.
1 not fully installed or removed.
Need to get 387 kB of archives.
After this operation, 1,206 kB of additional disk space will be used.
Get:1 https://packages.cloud.google.com/apt coral-edgetpu-stable/main amd64 libedgetpu1-std amd64 16.0 [387 kB]
Fetched 387 kB in 0s (1,577 kB/s)
Selecting previously unselected package libedgetpu1-std:amd64.
(Reading database ... 200639 files and directories currently installed.)
Preparing to unpack .../libedgetpu1-std_16.0_amd64.deb ...
Unpacking libedgetpu1-std:amd64 (16.0) ...
Setting up libedgetpu1-std:amd64 (16.0) ...
Setting up docker-desktop (4.16.2-95914) ...
Enabling use of privileged ports by Docker Desktop
kubernetes.docker.internal already in /etc/hosts
ln: failed to create symbolic link '/usr/local/bin/com.docker.cli': File exists
dpkg: error processing package docker-desktop (--configure):
installed docker-desktop package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Errors were encountered while processing:
docker-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)
ok i resolved the error above but no change
After starting from scratch the coral is working fine, usb hub not required. This can be closed
Describe the problem you are having
Frigate doesnt see the TPU and restarts in a loop
Version
0.11.1-2eada21
Frigate config file
docker-compose file or Docker CLI command
Relevant log output
Operating system
Other Linux
Install method
Docker Compose
Coral version
USB
Any other information that may be helpful
only ever seen the coral listed under lsusb as: Bus 003 Device 006: ID 1a6e:089a Global Unichip Corp. Could it be faulty?
I'm also struggling with HW Accel although my gpu won't be up to much intel hd 6000. both of these symptoms seem to be mentioned in reference to a protection mode which needs to be turned off but I'm unsure if this is relevant if not installed on hassos.
I don't really know linux but i've read and tried most of the advice mentioned in reference to issues similar to this. cheers