Hi, anyone else with home assistant yellow having problems using frigate and google coral usb? I’m trying to decide if this is a hardware problem or software.
Hardware:
Home assistant Yellow Kit with Power Supply
1x Google coral usb
1x Sabrent USB 3.0 Hub Powered (model no. HB-UMP3 )
Other useful info
I’ve no other usb hardware attached. I transfered my installation from a backup but didn’t have frigate running previously. I installed the full access version of frigate with protection mode disabled.
I ran frigate on a backup raspberry pi 4 fresh install of home assistant and same google coral attached over night without any issues.
Thanks in advance for any help.
frigate log below:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[2022-11-03 19:08:32] frigate.app INFO : Starting Frigate (0.11.1-2eada21)
[2022-11-03 19:08:32] frigate.app INFO : Creating directory: /tmp/cache
Starting migrations
[2022-11-03 19:08:32] peewee_migrate INFO : Starting migrations
There is nothing to migrate
[2022-11-03 19:08:32] peewee_migrate INFO : There is nothing to migrate
[2022-11-03 19:08:32] detector.coral INFO : Starting detection process: 216
[2022-11-03 19:08:32] ws4py INFO : Using epoll
[2022-11-03 19:08:32] frigate.edgetpu INFO : Attempting to load TPU as usb
[2022-11-03 19:08:32] frigate.app INFO : Output process started: 217
[2022-11-03 19:08:32] frigate.app INFO : Camera processor started for front: 223
[2022-11-03 19:08:32] frigate.app INFO : Capture process started for front: 225
[2022-11-03 19:08:33] ws4py INFO : Using epoll
[2022-11-03 19:08:35] frigate.edgetpu INFO : TPU found
F driver/usb/usb_driver.cc:857] transfer on tag 2 failed. Abort. Deadline exceeded: USB transfer error 2 [LibUsbDataOutCallback]
Fatal Python error: Aborted
Thread 0x0000007fa7c801e0 (most recent call first):
File "/usr/lib/python3.9/threading.py", line 312 in wait
File "/usr/lib/python3.9/multiprocessing/queues.py", line 233 in _feed
File "/usr/lib/python3.9/threading.py", line 892 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
Thread 0x0000007fb424c010 (most recent call first):
File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 833 in invoke
File "/opt/frigate/frigate/edgetpu.py", line 83 in detect_raw
File "/opt/frigate/frigate/edgetpu.py", line 159 in run_detector
File "/usr/lib/python3.9/multiprocessing/process.py", line 108 in run
File "/usr/lib/python3.9/multiprocessing/process.py", line 315 in _bootstrap
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 71 in _launch
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 19 in __init__
File "/usr/lib/python3.9/multiprocessing/context.py", line 277 in _Popen
File "/usr/lib/python3.9/multiprocessing/context.py", line 224 in _Popen
File "/usr/lib/python3.9/multiprocessing/process.py", line 121 in start
File "/opt/frigate/frigate/edgetpu.py", line 220 in start_or_restart
File "/opt/frigate/frigate/edgetpu.py", line 189 in __init__
File "/opt/frigate/frigate/app.py", line 217 in start_detectors
File "/opt/frigate/frigate/app.py", line 360 in start
File "/opt/frigate/frigate/__main__.py", line 16 in <module>
File "/usr/lib/python3.9/runpy.py", line 87 in _run_code
File "/usr/lib/python3.9/runpy.py", line 197 in _run_module_as_main
[2022-11-03 19:08:53] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process...
[2022-11-03 19:08:53] detector.coral INFO : Starting detection process: 277
[2022-11-03 19:08:53] frigate.edgetpu INFO : Attempting to load TPU as usb
[2022-11-03 19:08:56] frigate.edgetpu INFO : TPU found
F driver/usb/usb_driver.cc:857] transfer on tag 2 failed. Abort. Deadline exceeded: USB transfer error 2 [LibUsbDataOutCallback]
Fatal Python error: Aborted
Thread 0x0000007f5ffff1e0 (most recent call first):
File "/usr/lib/python3.9/threading.py", line 312 in wait
File "/usr/lib/python3.9/multiprocessing/queues.py", line 233 in _feed
File "/usr/lib/python3.9/threading.py", line 892 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
Thread 0x0000007f7d7fa1e0 (most recent call first):
File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 833 in invoke
File "/opt/frigate/frigate/edgetpu.py", line 83 in detect_raw
File "/opt/frigate/frigate/edgetpu.py", line 159 in run_detector
File "/usr/lib/python3.9/multiprocessing/process.py", line 108 in run
File "/usr/lib/python3.9/multiprocessing/process.py", line 315 in _bootstrap
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 71 in _launch
File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 19 in __init__
File "/usr/lib/python3.9/multiprocessing/context.py", line 277 in _Popen
File "/usr/lib/python3.9/multiprocessing/context.py", line 224 in _Popen
File "/usr/lib/python3.9/multiprocessing/process.py", line 121 in start
File "/opt/frigate/frigate/edgetpu.py", line 220 in start_or_restart
File "/opt/frigate/frigate/watchdog.py", line 34 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
[2022-11-03 19:09:03] frigate.watchdog INFO : Detection appears to have stopped. Exiting frigate...
[2022-11-03 19:09:03] frigate.app INFO : Stopping...
[2022-11-03 19:09:03] ws4py INFO : Closing all websockets with [1001] 'Server is shutting down'
[2022-11-03 19:09:03] frigate.events INFO : Exiting event cleanup...
[2022-11-03 19:09:03] frigate.record INFO : Exiting recording cleanup...
[2022-11-03 19:09:03] frigate.watchdog INFO : Exiting watchdog...
[2022-11-03 19:09:03] frigate.stats INFO : Exiting watchdog...
[2022-11-03 19:09:03] frigate.record INFO : Exiting recording maintenance...
[2022-11-03 19:09:03] frigate.events INFO : Exiting event processor...
[2022-11-03 19:09:04] frigate.object_processing INFO : Exiting object processor...
[2022-11-03 19:09:04] peewee.sqliteq INFO : writer received shutdown request, exiting.
/usr/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 5 leaked shared_memory objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
[cmd] python3 exited 0
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.