I added these lines of code to the yaml file
detectors:
hailo8l:
type: hailo8l
device: PCIe
The log file now appears to recognise the Hailo, but I am getting the HEF file corrupted error message again
2025-12-29 22:32:58.922936124 [INFO] Preparing Frigate...
2025-12-29 22:32:59.783623241 [INFO] Starting Frigate...
2025-12-29 22:33:02.019132241 /usr/local/lib/python3.11/dist-packages/numpy/core/getlimits.py:549: UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero.
2025-12-29 22:33:02.019138792 setattr(self, word, getattr(machar, word).flat[0])
2025-12-29 22:33:02.023612720 /usr/local/lib/python3.11/dist-packages/numpy/core/getlimits.py:89: UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero.
2025-12-29 22:33:02.023615570 return self._float_to_str(self.smallest_subnormal)
2025-12-29 22:33:02.023783469 /usr/local/lib/python3.11/dist-packages/numpy/core/getlimits.py:549: UserWarning: The value of the smallest subnormal for <class 'numpy.float32'> type is zero.
2025-12-29 22:33:02.023786060 setattr(self, word, getattr(machar, word).flat[0])
2025-12-29 22:33:02.023843075 /usr/local/lib/python3.11/dist-packages/numpy/core/getlimits.py:89: UserWarning: The value of the smallest subnormal for <class 'numpy.float32'> type is zero.
2025-12-29 22:33:02.023844908 return self._float_to_str(self.smallest_subnormal)
2025-12-29 22:33:04.342440406 [2025-12-29 22:33:04] frigate.util.config INFO : Checking if frigate config needs migration...
2025-12-29 22:33:04.356068689 [2025-12-29 22:33:04] frigate.util.config INFO : frigate config does not need migration...
2025-12-29 22:33:05.126322253 [2025-12-29 22:33:05] frigate.util.services WARNING : Did not detect hwaccel, using a GPU for accelerated video decoding is highly recommended
2025-12-29 22:33:05.131048771 [2025-12-29 22:33:05] frigate.app INFO : Starting Frigate (0.16.3-9034454)
2025-12-29 22:33:05.131652341 [2025-12-29 22:33:05] frigate.app INFO : Creating directory: /tmp/cache
2025-12-29 22:33:05.141602665 [2025-12-29 22:33:05] peewee_migrate.logs INFO : Starting migrations
2025-12-29 22:33:05.142734132 [2025-12-29 22:33:05] peewee_migrate.logs INFO : There is nothing to migrate
2025-12-29 22:33:05.154010390 [2025-12-29 22:33:05] frigate.app INFO : Recording process started: 241
2025-12-29 22:33:05.167444373 [2025-12-29 22:33:05] frigate.app INFO : Review process started: 254
2025-12-29 22:33:05.170508602 [2025-12-29 22:33:05] frigate.app INFO : go2rtc process pid: 122
2025-12-29 22:33:05.192362996 [2025-12-29 22:33:05] detector.hailo8l INFO : Starting detection process: 266
2025-12-29 22:33:05.210695570 [2025-12-29 22:33:05] frigate.app INFO : Output process started: 285
2025-12-29 22:33:05.234508450 [2025-12-29 22:33:05] frigate.app INFO : Camera processor started for usb_camera: 319
2025-12-29 22:33:05.259625000 [2025-12-29 22:33:05] frigate.app INFO : Capture process started for usb_camera: 323
2025-12-29 22:33:05.332322524 [HailoRT] [error] CHECK failed - HEF file length does not match
2025-12-29 22:33:05.332353134 [HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_HEF_FILE_CORRUPTED(91)
2025-12-29 22:33:05.332355077 [HailoRT] [error] Failed parsing HEF file
2025-12-29 22:33:05.332356039 [HailoRT] [error] Failed creating HEF
2025-12-29 22:33:05.332367587 [HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_HEF_FILE_CORRUPTED(91)
2025-12-29 22:33:05.338565445 Process detector:hailo8l:
2025-12-29 22:33:05.338575160 Traceback (most recent call last):
2025-12-29 22:33:05.338576789 File "/usr/local/lib/python3.11/dist-packages/hailo_platform/pyhailort/pyhailort.py", line 345, in __init__
2025-12-29 22:33:05.338578084 self._hef = _pyhailort.Hef.create_from_file(hef_source)
2025-12-29 22:33:05.338581175 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-12-29 22:33:05.338586153 hailo_platform.pyhailort._pyhailort.HailoRTStatusException: 91
2025-12-29 22:33:25.293434 2025-12-29 22:33:05.338587079
2025-12-29 22:33:05.338588374 The above exception was the direct cause of the following exception:
2025-12-29 22:33:25.293466 2025-12-29 22:33:05.338620742
2025-12-29 22:33:05.338622074 Traceback (most recent call last):
2025-12-29 22:33:05.338623370 File "/usr/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
2025-12-29 22:33:05.338624758 self.run()
2025-12-29 22:33:05.338625905 File "/opt/frigate/frigate/util/process.py", line 41, in run_wrapper
2025-12-29 22:33:05.338664195 return run(*args, **kwargs)
2025-12-29 22:33:05.338665787 ^^^^^^^^^^^^^^^^^^^^
2025-12-29 22:33:05.338666971 File "/usr/lib/python3.11/multiprocessing/process.py", line 108, in run
2025-12-29 22:33:05.338681684 self._target(*self._args, **self._kwargs)
2025-12-29 22:33:05.338683238 File "/opt/frigate/frigate/object_detection/base.py", line 112, in run_detector
2025-12-29 22:33:05.338684571 object_detector = LocalObjectDetector(detector_config=detector_config)
2025-12-29 22:33:05.338685755 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-12-29 22:33:05.338686958 File "/opt/frigate/frigate/object_detection/base.py", line 57, in __init__
2025-12-29 22:33:05.338687957 self.detect_api = create_detector(detector_config)
2025-12-29 22:33:05.338688957 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-12-29 22:33:05.338702485 File "/opt/frigate/frigate/detectors/__init__.py", line 18, in create_detector
2025-12-29 22:33:05.338703503 return api(detector_config)
2025-12-29 22:33:05.338704354 ^^^^^^^^^^^^^^^^^^^^
2025-12-29 22:33:05.338705539 File "/opt/frigate/frigate/detectors/plugins/hailo8l.py", line 256, in __init__
2025-12-29 22:33:05.338706612 self.inference_engine = HailoAsyncInference(
2025-12-29 22:33:05.338707593 ^^^^^^^^^^^^^^^^^^^^
2025-12-29 22:33:05.338708777 File "/opt/frigate/frigate/detectors/plugins/hailo8l.py", line 112, in __init__
2025-12-29 22:33:05.338709591 self.hef = HEF(hef_path)
2025-12-29 22:33:05.338725378 ^^^^^^^^^^^^^
2025-12-29 22:33:05.338727543 File "/usr/local/lib/python3.11/dist-packages/hailo_platform/pyhailort/pyhailort.py", line 343, in __init__
2025-12-29 22:33:05.338728376 with ExceptionWrapper():
2025-12-29 22:33:05.338729782 File "/usr/local/lib/python3.11/dist-packages/hailo_platform/pyhailort/pyhailort.py", line 122, in __exit__
2025-12-29 22:33:05.338730837 self._raise_indicative_status_exception(value)
2025-12-29 22:33:05.338732484 File "/usr/local/lib/python3.11/dist-packages/hailo_platform/pyhailort/pyhailort.py", line 172, in _raise_indicative_status_exception
2025-12-29 22:33:05.338733687 raise self.create_exception_from_status(error_code) from libhailort_exception
2025-12-29 22:33:05.338735167 hailo_platform.pyhailort.pyhailort.HailoRTException: libhailort failed with error: 91 (HAILO_HEF_FILE_CORRUPTED)
2025-12-29 22:33:05.341231507 [2025-12-29 22:33:05] frigate.detectors.plugins.hailo8l ERROR : [INIT] Failed to initialize HailoAsyncInference: libhailort failed with error: 91 (HAILO_HEF_FILE_CORRUPTED)
2025-12-29 22:33:05.913745928 [2025-12-29 22:33:05] frigate.api.fastapi_app INFO : Starting FastAPI app
2025-12-29 22:33:06.234609870 [2025-12-29 22:33:06] frigate.api.fastapi_app INFO : FastAPI started
And now the video stream is broken. It cuts out with a blank or white screen most of the time. And I only get the proper camera feed for a few seconds before it cuts out again