[Detector Support]: yolov9 Frigate+ base models not working on Intel iGPU but work on discrete Intel GPU #19981
-
Describe the problem you are havingI have an Intel N100-based system (i.e. integrated GPU) that is running Frigate 0.16.0-c2f8de9 on a Debian system. I am using Openvino as the detector. I have been using both the yolonas base Frigate+ model, as well as my own custom-trained yolonas models. These all worked perfectly. Now I am trying to use the newly-released yolov9 base models. I've tried all four variations of yolov9s/yolov9t, 320/640 for the openvino detector type. In all cases, Frigate fails to start with the errors shown in the pasted log below. (To be specific, it goes into a constant restart loop.) I have another system that was running an identical Frigate config (literally copy-pasted the config). The frigate version (including build ID) is the same. This system is different in terms of hardware: it's a C3758 CPU and has an Intel Arc A40 Pro discrete GPU. Additionally, it is running under TrueNAS scale. This system worked just fine with the yolonas Frigate+ base model, as well as my custom-trained yolonas models. Additionally, it also works with the new yolov9 base models. Version0.16.0-c2f8de9 Frigate config file# this is a subset of the config file, showing only the relevant portions
# I can add the rest if necessary
detectors:
ov:
type: openvino
device: GPU
model:
path: plus://<id_of_model>
ffmpeg:
hwaccel_args: preset-vaapi
input_args: preset-rtsp-generic
output_args:
record: preset-record-genericdocker-compose file or Docker CLI commandservices:
frigate:
container_name: frigate
privileged: true
restart: unless-stopped
stop_grace_period: 30s
image: ghcr.io/blakeblackshear/frigate:0.16.0
shm_size: "512mb"
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
volumes:
- /etc/localtime:/etc/localtime:ro
- /root/frigate/config:/config
- /root/frigate/storage:/media/frigate
- type: tmpfs
target: /tmp/cache
tmpfs:
size: 2000000000
ports:
- "8971:8971"
- "5000:5000"
- "8554:8554"
- "8555:8555/tcp"
- "8555:8555/udp"
environment:
- PLUS_API_KEY=<my_plus_api_key>Relevant Frigate log output2025-09-08 13:05:36.048803191 [INFO] Preparing Frigate...
2025-09-08 13:05:36.694398127 [INFO] Starting Frigate...
2025-09-08 13:05:38.942032965 [2025-09-08 13:05:38] frigate.util.config INFO : Checking if frigate config needs migration...
2025-09-08 13:05:38.981461550 [2025-09-08 13:05:38] frigate.util.config INFO : frigate config does not need migration...
2025-09-08 13:05:39.020064091 [2025-09-08 13:05:39] frigate.config.config WARNING : Front_Porch is configured to track ['window', 'pizza', 'chair', 'sheep'] objects, which are not supported by the current model.
2025-09-08 13:05:39.021352037 [2025-09-08 13:05:39] frigate.config.config WARNING : Back_Deck is configured to track ['window', 'pizza', 'chair', 'sheep'] objects, which are not supported by the current model.
2025-09-08 13:05:39.022921606 [2025-09-08 13:05:39] frigate.config.config WARNING : Driveway is configured to track ['window', 'pizza', 'chair', 'sheep'] objects, which are not supported by the current model.
2025-09-08 13:05:39.023835735 [2025-09-08 13:05:39] frigate.config.config WARNING : Front_Doorbell is configured to track ['window', 'pizza', 'chair', 'sheep'] objects, which are not supported by the current model.
2025-09-08 13:05:39.026041765 [2025-09-08 13:05:39] frigate.app INFO : Starting Frigate (0.16.0-c2f8de9)
2025-09-08 13:05:39.038466195 [2025-09-08 13:05:39] peewee_migrate.logs INFO : Starting migrations
2025-09-08 13:05:39.039343209 [2025-09-08 13:05:39] peewee_migrate.logs INFO : There is nothing to migrate
2025-09-08 13:05:39.048070690 [2025-09-08 13:05:39] frigate.app INFO : Recording process started: 377
2025-09-08 13:05:39.057007857 [2025-09-08 13:05:39] frigate.app INFO : Review process started: 388
2025-09-08 13:05:39.062101134 [2025-09-08 13:05:39] frigate.app INFO : go2rtc process pid: 120
2025-09-08 13:05:39.075121678 [2025-09-08 13:05:39] detector.ov INFO : Starting detection process: 402
2025-09-08 13:05:39.084462095 [2025-09-08 13:05:39] frigate.app INFO : Output process started: 418
2025-09-08 13:05:39.136475118 [2025-09-08 13:05:39] frigate.app INFO : Camera processor started for Front_Porch: 474
2025-09-08 13:05:39.147670753 [2025-09-08 13:05:39] frigate.app INFO : Camera processor started for Back_Deck: 479
2025-09-08 13:05:39.156797456 [2025-09-08 13:05:39] frigate.app INFO : Camera processor started for Driveway: 490
2025-09-08 13:05:39.157413870 [2025-09-08 13:05:39] frigate.app INFO : Camera processor started for Front_Doorbell: 500
2025-09-08 13:05:39.170073623 [2025-09-08 13:05:39] frigate.app INFO : Capture process started for Front_Porch: 518
2025-09-08 13:05:39.181101674 [2025-09-08 13:05:39] frigate.app INFO : Capture process started for Back_Deck: 530
2025-09-08 13:05:39.199073363 [2025-09-08 13:05:39] frigate.app INFO : Capture process started for Driveway: 543
2025-09-08 13:05:39.215631167 [2025-09-08 13:05:39] frigate.app INFO : Capture process started for Front_Doorbell: 557
2025-09-08 13:05:39.315198304 [2025-09-08 13:05:39] frigate.api.fastapi_app INFO : Starting FastAPI app
2025-09-08 13:05:39.547670361 [2025-09-08 13:05:39] frigate.api.fastapi_app INFO : FastAPI started
2025-09-08 13:05:44.598147592 Process detector:ov:
2025-09-08 13:05:44.598151188 Traceback (most recent call last):
2025-09-08 13:05:44.598152817 File "/usr/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
2025-09-08 13:05:44.598153744 self.run()
2025-09-08 13:05:44.598157520 File "/opt/frigate/frigate/util/process.py", line 41, in run_wrapper
2025-09-08 13:05:44.598158624 return run(*args, **kwargs)
2025-09-08 13:05:44.598178010 ^^^^^^^^^^^^^^^^^^^^
2025-09-08 13:05:44.598179581 File "/usr/lib/python3.11/multiprocessing/process.py", line 108, in run
2025-09-08 13:05:44.598181151 self._target(*self._args, **self._kwargs)
2025-09-08 13:05:44.598182399 File "/opt/frigate/frigate/object_detection/base.py", line 136, in run_detector
2025-09-08 13:05:44.598183528 detections = object_detector.detect_raw(input_frame)
2025-09-08 13:05:44.598184555 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-08 13:05:44.598205383 File "/opt/frigate/frigate/object_detection/base.py", line 86, in detect_raw
2025-09-08 13:05:44.598206699 return self.detect_api.detect_raw(tensor_input=tensor_input)
2025-09-08 13:05:44.598208439 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-08 13:05:44.598209686 File "/opt/frigate/frigate/detectors/plugins/openvino.py", line 150, in detect_raw
2025-09-08 13:05:44.598223163 infer_request.infer(input_tensor)
2025-09-08 13:05:44.598224635 File "/usr/local/lib/python3.11/dist-packages/openvino/runtime/ie_api.py", line 132, in infer
2025-09-08 13:05:44.598225708 return OVDict(super().infer(_data_dispatch(
2025-09-08 13:05:44.598226648 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-08 13:05:44.598236502 RuntimeError: Exception from src/inference/src/cpp/infer_request.cpp:116:
2025-09-08 13:05:44.598250250 Exception from src/inference/src/cpp/infer_request.cpp:66:
2025-09-08 13:05:44.598251964 Check 'port.get_element_type() == tensor->get_element_type()' failed at src/plugins/intel_gpu/src/plugin/sync_infer_request.cpp:142:
2025-09-08 13:05:44.598253050 [GPU] Mismatch tensor and port type: f32 vs u8
2025-09-08 13:05:44.598253758
2025-09-08 13:05:44.598254409
2025-09-08 13:05:44.598254964Install methodDocker Compose Object DetectorOpenVino Screenshots of the Frigate UI's System metrics pagesLeaving out for now, will post if necessary. Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
You're on 0.16.0, but 0.16.1 is required |
Beta Was this translation helpful? Give feedback.
-
|
This is covered in the FAQ, Usage question 9. |
Beta Was this translation helpful? Give feedback.
-
|
D'oh! Thank you for the quick help! I managed to overlook the FAQ. And when I got the version for the discrete GPU system, I accidentally pulled up the page for a third Frigate system I'm running (not mentioned in the original post), which is still on 0.16.0. The discrete GPU system is indeed on 0.16.1! Anyway, thanks again, I updated to 0.16.1 and the iGPU system is once again working great. |
Beta Was this translation helpful? Give feedback.
You're on 0.16.0, but 0.16.1 is required