Closed pdecat closed 3 years ago
All right, disabling Home Assistant supervisor's Protection mode resolves the issue as described in https://github.com/blakeblackshear/frigate-hass-addons/issues/23 :
* Starting nginx nginx
...done.
frigate.app INFO : Creating directory: /tmp/cache
Starting migrations
peewee_migrate INFO : Starting migrations
There is nothing to migrate
peewee_migrate INFO : There is nothing to migrate
frigate.mqtt INFO : MQTT connected
frigate.app INFO : Camera processor started for camera0: 42
frigate.app INFO : Camera processor started for camera1: 45
frigate.app INFO : Camera processor started for camera2: 46
frigate.app INFO : Capture process started for camera0: 48
frigate.app INFO : Capture process started for camera1: 49
frigate.app INFO : Capture process started for camera2: 51
detector.coral1 INFO : Starting detection process: 39
frigate.edgetpu INFO : Attempting to load TPU as pci:1
detector.coral0 INFO : Starting detection process: 38
frigate.edgetpu INFO : TPU found
frigate.edgetpu INFO : Attempting to load TPU as pci:0
frigate.edgetpu INFO : TPU found
PR https://github.com/blakeblackshear/frigate-hass-addons/pull/24 should also resolve the issue.
FWIW, this is with:
See https://github.com/magic-blue-smoke/Dual-Edge-TPU-Adapter/issues/3#issuecomment-885755446 for other details.
@pdecat can you link where you got the e key to m.2 adapter?? I am only seeing one of my two tpus.
@pdecat can you link where you got the e key to m.2 adapter?? I am only seeing one of my two tpus.
Got my prototype from https://github.com/magic-blue-smoke/Dual-Edge-TPU-Adapter/issues/2
That's huge! Thanks so much, hopefully I can get one soon.
cool to see it works with two cards! I am trying to add PCIe in addition to USB. how did you pass the PCIe device in docker?
cool to see it works with two cards! I am trying to add PCIe in addition to USB. how did you pass the PCIe device in docker?
Two cards is not the cool piece here, it's that he got both TPUs from a single card and the project he linked is what's making that achievable as it wasn't before. apex_0 (and any other numbers you have) is what you want to pass, I don't know the path off the top of my head but it's mentioned in the setup guide.
Thanks for the tip! It works now by adding the apex_0
Disabling Home Assistant supervisor's Protection mode is no longer needed to get two TPU devices working since:
Describe the bug Second PCI device of Dual Edge TPU m.2 card visible in container but not detected in Frigate.
Version of frigate Output from
/api/version
:0.8.4-5043040
Config file
Frigate container logs
Frigate stats N/A (app stops during startup)
FFprobe from your camera N/A
Screenshots N/A
Computer Hardware
Camera Info: N/A
Additional context
Both core are visible in Frigate container:
The first core works fine with just:
Note: after commenting out the second core, the following error message is repetitively output in Home Assistant logs by the integration: