Hi there,
i got some TPU problems too…
thats my frigate log
2024-11-22 13:14:29.505598971 [2024-11-22 14:14:25] frigate.app INFO : Camera processor started for BK-Flur: 560
2024-11-22 13:14:29.509265473 [2024-11-22 14:14:25] frigate.app INFO : Camera processor started for BK-WoZi: 563
2024-11-22 13:14:29.509272822 [2024-11-22 14:14:25] frigate.app INFO : Camera processor started for BK-Terasse: 569
2024-11-22 13:14:29.509280623 [2024-11-22 14:14:26] frigate.app INFO : Camera processor started for SM-Hof-Nord: 574
2024-11-22 13:14:29.512568407 [2024-11-22 14:14:26] frigate.app INFO : Camera processor started for SM-Hof-West-Zelt: 596
2024-11-22 13:14:29.518151584 [2024-11-22 14:14:26] frigate.app INFO : Camera processor started for SM-Buero-OG: 605
2024-11-22 13:14:29.519907975 [2024-11-22 14:14:26] frigate.app INFO : Camera processor started for BK-PhyLink: 608
2024-11-22 13:14:29.524688321 [2024-11-22 14:14:26] frigate.app INFO : Capture process started for BK-Flur: 617
2024-11-22 13:14:29.524695113 [2024-11-22 14:14:26] frigate.app INFO : Capture process started for BK-WoZi: 626
2024-11-22 13:14:29.524697793 [2024-11-22 14:14:26] frigate.app INFO : Capture process started for BK-Terasse: 628
2024-11-22 13:14:29.524700517 [2024-11-22 14:14:26] frigate.app INFO : Capture process started for SM-Hof-Nord: 634
2024-11-22 13:14:29.524708034 [2024-11-22 14:14:26] frigate.app INFO : Capture process started for SM-Hof-West-Zelt: 641
2024-11-22 13:14:29.524756813 [2024-11-22 14:14:26] frigate.app INFO : Capture process started for SM-Buero-OG: 647
2024-11-22 13:14:29.524759990 [2024-11-22 14:14:26] frigate.app INFO : Capture process started for BK-PhyLink: 652
2024-11-22 13:14:29.554739261 Traceback (most recent call last):
2024-11-22 13:14:29.554746158 File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
2024-11-22 13:14:29.554748324 delegate = Delegate(library, options)
2024-11-22 13:14:29.554750690 File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in __init__
2024-11-22 13:14:29.554752831 raise ValueError(capture.message)
2024-11-22 13:14:29.554754618 ValueError
2024-11-22 14:14:37.882538 2024-11-22 13:14:29.554756399
2024-11-22 13:14:29.554758608 During handling of the above exception, another exception occurred:
2024-11-22 14:14:37.882601 2024-11-22 13:14:29.554760173
2024-11-22 13:14:29.554761951 Traceback (most recent call last):
2024-11-22 13:14:29.554763915 File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
2024-11-22 13:14:29.554765602 self.run()
2024-11-22 13:14:29.554767847 File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
2024-11-22 13:14:29.554769845 self._target(*self._args, **self._kwargs)
2024-11-22 13:14:29.554771980 File "/opt/frigate/frigate/object_detection.py", line 102, in run_detector
2024-11-22 13:14:29.554777947 object_detector = LocalObjectDetector(detector_config=detector_config)
2024-11-22 13:14:29.554779973 File "/opt/frigate/frigate/object_detection.py", line 53, in __init__
2024-11-22 13:14:29.554862853 self.detect_api = create_detector(detector_config)
2024-11-22 13:14:29.554865483 File "/opt/frigate/frigate/detectors/__init__.py", line 18, in create_detector
2024-11-22 13:14:29.554867681 return api(detector_config)
2024-11-22 13:14:29.554869814 File "/opt/frigate/frigate/detectors/plugins/edgetpu_tfl.py", line 41, in __init__
2024-11-22 13:14:29.554871814 edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
2024-11-22 13:14:29.554910002 File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
2024-11-22 13:14:29.554912465 raise ValueError('Failed to load delegate from {}\n{}'.format(
2024-11-22 13:14:29.554914417 ValueError: Failed to load delegate from libedgetpu.so.1.0
2024-11-22 14:14:37.882622 2024-11-22 13:14:29.554916252
HA VM CLI output of lsusb (with terminal addon)
and output of lsusb from host
root@ProLiant-Gen8:~# lsusb
Bus 005 Device 003: ID 0424:2660 Standard Microsystems Corp. Hub
Bus 005 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 1a6e:089a Global Unichip Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@ProLiant-Gen8:~#
and output of VBoxManage list -l usbhost for user vbox
$ VBoxManage list -l usbhost
Host USB Devices:
UUID: fe40be31-3a6e-4676-b6ba-7a02fdd099b2
VendorId: 0x1a6e (1A6E)
ProductId: 0x089a (089A)
Revision: 1.0 (0100)
Port: 0
USB version/speed: 3/Super
Manufacturer: Global Unichip Corp.
Address: sysfs:/sys/devices/pci0000:00/0000:00:1c.6/0000:04:00.0/usb2/2-1//device:/dev/vboxusb/002/002
Current State: Captured
$
and frigate config:
mqtt:
enabled: true
host: 10.101.111.36
port: 1883
user: mqtt-user
password: 9hdFfNWtd9akyss5e8dV334zXdIscsg1t
detectors: # <-------- Add this section to specify the detectors you want to use
coral: # <---------- Name your detector (you can choose any name)
type: edgetpu # <-- This specifies that you want to use the Coral USB Accelerator
device: usb # <-- This tells Frigate to use the USB connected Coral device
timestamp_style:
# Optional: Position of the timestamp (default: shown below)
# "tl" (top left), "tr" (top right), "bl" (bottom left), "br" (bottom right)
position: tl
# Optional: Format specifier conform to the Python package "datetime" (default: shown below)
# Additional Examples:
# german: "%d.%m.%Y %H:%M:%S"
# usa: "%m/%d/%Y %H:%M:%S"
format: '%d.%m.%Y %H:%M:%S'
# Optional: Color of font
#color:
# All Required when color is specified (default: shown below)
# red: 255
# green: 255
# blue: 255
# Optional: Line thickness of font (default: shown below)
#thickness: 2
# Optional: Effect of lettering (default: shown below)
# None (No effect),
# "solid" (solid background in inverse color of font)
# "shadow" (shadow for font)
#effect: None
record: # make frigate check directory for deleted files and update database accordingly
sync_recordings: true
snapshots: #global activation and settings of snapshots
# required_zones:
# - motion_area
enabled: true
timestamp: true
bounding_box: true
retain:
default: 7
from here on its just stream configs, and the all work fine
idears?
maybe as a headsup: im still on stretch with the host, too much data to just move around and no decent replacement option for the hp micro gen8, and i was lazy