[Detector Support]: Driver version (4.20.0) is different from library version (4.19.0) #16461
Answered
by
hawkeye217
PatrikSamuelTauchim
asked this question in
Detector Support
-
Describe the problem you are havingHi, It seems like that the script is using newer version of the driver than the model/library provided, so I get the error: I have changed the version in the provided script to 4.19.0, removed the driver directory and compiled the driver again, and it works now. Version0.15.0 Frigate config filemqtt:
enabled: false
detectors:
hailo8l:
type: hailo8l
device: PCIe
model:
width: 300
height: 300
input_tensor: nhwc
input_pixel_format: bgr
model_type: ssd
path: /config/model_cache/h8l_cache/ssd_mobilenet_v1.hef
cameras: docker-compose file or Docker CLI commandversion: "3.9"
services:
frigate:
container_name: frigate
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:0.15.0-h8l
# privileged: true
# cap_add:
# - CAP_PERFMON
shm_size: "512mb"
devices:
- /dev/dri/renderD128 # for intel hwaccel, needs to be updated for your hardware
- /dev//hailo0
volumes:
- ./frigate/config:/config
- /mnt/purple/frigate:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "8971:8971"
- "8554:8554" # RTSP feeds
- "5000:5000" Relevant Frigate log output2025-02-10 20:27:42.637851104 [INFO] Preparing Frigate...
2025-02-10 20:27:42.809129845 [INFO] Starting Frigate...
2025-02-10 20:27:45.089517040 [2025-02-10 20:27:45] frigate.util.config INFO : Checking if frigate config needs migration...
2025-02-10 20:27:45.131980512 [2025-02-10 20:27:45] frigate.util.config INFO : frigate config does not need migration...
2025-02-10 20:27:45.359395387 [2025-02-10 20:27:45] frigate.util.services INFO : Automatically detected vaapi hwaccel for video decoding
2025-02-10 20:27:54.356583347 [2025-02-10 20:27:54] frigate.app INFO : Starting Frigate (0.15.0-cea210d)
2025-02-10 20:27:54.365714769 [2025-02-10 20:27:54] peewee_migrate.logs INFO : Starting migrations
2025-02-10 20:27:54.365987682 [2025-02-10 20:27:54] peewee_migrate.logs INFO : There is nothing to migrate
2025-02-10 20:27:54.376601991 [2025-02-10 20:27:54] frigate.app INFO : Recording process started: 429
2025-02-10 20:27:54.376696435 [2025-02-10 20:27:54] frigate.app INFO : Review process started: 436
2025-02-10 20:27:54.379445697 [2025-02-10 20:27:54] frigate.app INFO : go2rtc process pid: 98
2025-02-10 20:27:54.390686531 [2025-02-10 20:27:54] detector.hailo8l INFO : Starting detection process: 445
2025-02-10 20:27:54.391295493 [2025-02-10 20:27:54] frigate.detectors.plugins.hailo8l INFO : Initializing Hailo device as PCIe
2025-02-10 20:27:54.400710920 [2025-02-10 20:27:54] frigate.app INFO : Output process started: 460
2025-02-10 20:27:54.446343941 [2025-02-10 20:27:54] frigate.app INFO : Camera processor started for cam01: 474
2025-02-10 20:27:54.446348675 [2025-02-10 20:27:54] frigate.app INFO : Camera processor started for cam02: 477
2025-02-10 20:27:54.447286663 [2025-02-10 20:27:54] frigate.app INFO : Camera processor started for cam03: 482
2025-02-10 20:27:54.459749573 [2025-02-10 20:27:54] frigate.app INFO : Capture process started for cam01: 491
2025-02-10 20:27:54.501906623 [2025-02-10 20:27:54] frigate.app INFO : Capture process started for cam02: 520
2025-02-10 20:27:54.520889242 [2025-02-10 20:27:54] frigate.app INFO : Capture process started for cam03: 527
2025-02-10 20:27:54.542040846 [2025-02-10 20:27:54] frigate.detectors.plugins.hailo8l INFO : A model file already exists at /config/model_cache/h8l_cache/ssd_mobilenet_v1.hef not downloading one.
2025-02-10 20:27:54.557446562 [HailoRT] [error] CHECK failed - Driver version (4.20.0) is different from library version (4.19.0)
2025-02-10 20:27:54.557793242 [HailoRT] [error] Driver version mismatch, status HAILO_INVALID_DRIVER_VERSION(76)
2025-02-10 20:27:54.557797041 [HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
2025-02-10 20:27:54.593253161 [HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
2025-02-10 20:27:54.593257132 [HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
2025-02-10 20:27:54.593410826 [HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
2025-02-10 20:27:54.593433334 [HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
2025-02-10 20:27:54.593434613 [HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
2025-02-10 20:27:54.593439147 [HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
2025-02-10 20:27:54.593460159 [HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
2025-02-10 20:27:54.594230024 [2025-02-10 20:27:54] frigate.detectors.plugins.hailo8l ERROR : HailoRTException during initialization: libhailort failed with error: 76 (HAILO_INVALID_DRIVER_VERSION)
2025-02-10 20:27:54.596138430 Process detector:hailo8l:
2025-02-10 20:27:54.596142248 Traceback (most recent call last):
2025-02-10 20:27:54.596143555 File "/usr/local/lib/python3.9/dist-packages/hailo_platform/pyhailort/pyhailort.py", line 3498, in _open_vdevice
2025-02-10 20:27:54.596144570 self._vdevice = _pyhailort.VDevice.create(self._params, device_ids)
2025-02-10 20:27:54.596145552 hailo_platform.pyhailort._pyhailort.HailoRTStatusException: 76
2025-02-10 20:27:54.596146244
2025-02-10 20:27:54.596147079 The above exception was the direct cause of the following exception:
2025-02-10 20:27:54.596147807
2025-02-10 20:27:54.596148524 Traceback (most recent call last):
2025-02-10 20:27:54.596152354 File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
2025-02-10 20:27:54.596153126 self.run()
2025-02-10 20:27:54.596154061 File "/opt/frigate/frigate/util/process.py", line 41, in run_wrapper
2025-02-10 20:27:54.596185531 return run(*args, **kwargs)
2025-02-10 20:27:54.596187155 File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
2025-02-10 20:27:54.596188130 self._target(*self._args, **self._kwargs)
2025-02-10 20:27:54.596189086 File "/opt/frigate/frigate/object_detection.py", line 121, in run_detector
2025-02-10 20:27:54.596205755 object_detector = LocalObjectDetector(detector_config=detector_config)
2025-02-10 20:27:54.596206885 File "/opt/frigate/frigate/object_detection.py", line 68, in __init__
2025-02-10 20:27:54.596207796 self.detect_api = create_detector(detector_config)
2025-02-10 20:27:54.596208674 File "/opt/frigate/frigate/detectors/__init__.py", line 18, in create_detector
2025-02-10 20:27:54.596209484 return api(detector_config)
2025-02-10 20:27:54.596210367 File "/opt/frigate/frigate/detectors/plugins/hailo8l.py", line 72, in __init__
2025-02-10 20:27:54.596211037 self.target = VDevice()
2025-02-10 20:27:54.596221424 File "/usr/local/lib/python3.9/dist-packages/hailo_platform/pyhailort/pyhailort.py", line 3491, in __init__
2025-02-10 20:27:54.596222285 self._open_vdevice()
2025-02-10 20:27:54.596223284 File "/usr/local/lib/python3.9/dist-packages/hailo_platform/pyhailort/pyhailort.py", line 3498, in _open_vdevice
2025-02-10 20:27:54.596224219 self._vdevice = _pyhailort.VDevice.create(self._params, device_ids)
2025-02-10 20:27:54.596225216 File "/usr/local/lib/python3.9/dist-packages/hailo_platform/pyhailort/pyhailort.py", line 111, in __exit__
2025-02-10 20:27:54.596225994 self._raise_indicative_status_exception(value)
2025-02-10 20:27:54.596240583 File "/usr/local/lib/python3.9/dist-packages/hailo_platform/pyhailort/pyhailort.py", line 156, in _raise_indicative_status_exception
2025-02-10 20:27:54.596241762 raise self.create_exception_from_status(error_code) from libhailort_exception
2025-02-10 20:27:54.596242836 hailo_platform.pyhailort.pyhailort.HailoRTException: libhailort failed with error: 76 (HAILO_INVALID_DRIVER_VERSION)
2025-02-10 20:27:54.716872753 [2025-02-10 20:27:54] frigate.api.fastapi_app INFO : Starting FastAPI app
2025-02-10 20:27:54.815851696 [2025-02-10 20:27:54] frigate.api.fastapi_app INFO : FastAPI started Install methodDocker Compose Object DetectorOther Screenshots of the Frigate UI's System metrics pages. Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Answered by
hawkeye217
Feb 10, 2025
Replies: 1 comment
-
See #16349 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
PatrikSamuelTauchim
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See #16349