Kernel 6.6.0 - icamerasrc stopped working - CamHAL[ERR] Failed to find DevName for cameraId: 4, get video node: ov01a10 , devname: /dev/v4l-subdev1 #39
Had a setup working on my Dell XPS 9320 with a ov01a10 for a year, but then I installed the 6.6.0 kernel, and icamerasrc stopped working.
$ sudo -E gst-launch-1.0 icamerasrc buffer-count=7 device-name=ov01a10-uf ! video/x-raw,format=YUY2,width=1280,height=720 ! v4l2sink device=/dev/video1
[11-02 00:16:24.919] CamHAL[ERR] Malformed ET range in exposure time range configuration
[11-02 00:16:24.920] CamHAL[ERR] Parse AE eExposure time range failed
[11-02 00:16:24.920] CamHAL[ERR] Malformed ET range in exposure time range configuration
[11-02 00:16:24.920] CamHAL[ERR] Parse AE gain range failed
[11-02 00:16:24.920] CamHAL[ERR] Malformed ET range in exposure time range configuration
[11-02 00:16:24.920] CamHAL[ERR] Parse AE eExposure time range failed
[11-02 00:16:24.920] CamHAL[ERR] Malformed ET range in exposure time range configuration
[11-02 00:16:24.920] CamHAL[ERR] Parse AE gain range failed
[11-02 00:16:24.920] CamHAL[ERR] Malformed ET range in exposure time range configuration
[11-02 00:16:24.920] CamHAL[ERR] Parse AE eExposure time range failed
[11-02 00:16:24.920] CamHAL[ERR] Malformed ET range in exposure time range configuration
[11-02 00:16:24.920] CamHAL[ERR] Parse AE gain range failed
[11-02 00:16:24.920] CamHAL[ERR] Malformed ET range in exposure time range configuration
[11-02 00:16:24.920] CamHAL[ERR] Parse AE eExposure time range failed
[11-02 00:16:24.920] CamHAL[ERR] Malformed ET range in exposure time range configuration
[11-02 00:16:24.920] CamHAL[ERR] Parse AE gain range failed
[11-02 00:16:24.920] CamHAL[ERR] Malformed ET range in exposure time range configuration
[11-02 00:16:24.920] CamHAL[ERR] Parse AE eExposure time range failed
[11-02 00:16:24.920] CamHAL[ERR] Malformed ET range in exposure time range configuration
[11-02 00:16:24.920] CamHAL[ERR] Parse AE gain range failed
[11-02 00:16:24.921] CamHAL[ERR] Malformed ET range in exposure time range configuration
[11-02 00:16:24.921] CamHAL[ERR] Parse AE eExposure time range failed
[11-02 00:16:24.921] CamHAL[ERR] Malformed ET range in exposure time range configuration
[11-02 00:16:24.921] CamHAL[ERR] Parse AE gain range failed
[11-02 00:16:24.921] CamHAL[ERR] Malformed ET range in exposure time range configuration
[11-02 00:16:24.921] CamHAL[ERR] Parse AE eExposure time range failed
[11-02 00:16:24.921] CamHAL[ERR] Malformed ET range in exposure time range configuration
[11-02 00:16:24.921] CamHAL[ERR] Parse AE gain range failed
[11-02 00:16:24.921] CamHAL[ERR] Malformed ET range in exposure time range configuration
[11-02 00:16:24.921] CamHAL[ERR] Parse AE eExposure time range failed
[11-02 00:16:24.921] CamHAL[ERR] Malformed ET range in exposure time range configuration
[11-02 00:16:24.921] CamHAL[ERR] Parse AE gain range failed
[11-02 00:16:24.921] CamHAL[ERR] Malformed ET range in exposure time range configuration
[11-02 00:16:24.922] CamHAL[ERR] Parse AE eExposure time range failed
[11-02 00:16:24.922] CamHAL[ERR] Malformed ET range in exposure time range configuration
[11-02 00:16:24.922] CamHAL[ERR] Parse AE gain range failed
Setting pipeline to PAUSED ...
[11-02 00:16:25.340] CamHAL[INF] aiqb file name ov13b10.aiqb
[11-02 00:16:25.340] CamHAL[ERR] there is no aiqb file:ov13b10
[11-02 00:16:25.340] CamHAL[INF] aiqb file name ov13b10.aiqb
[11-02 00:16:25.340] CamHAL[ERR] there is no aiqb file:ov13b10
[11-02 00:16:25.340] CamHAL[INF] aiqb file name ov8856.aiqb
[11-02 00:16:25.341] CamHAL[ERR] there is no aiqb file:ov8856
[11-02 00:16:25.341] CamHAL[INF] aiqb file name ov8856.aiqb
[11-02 00:16:25.341] CamHAL[ERR] there is no aiqb file:ov8856
[11-02 00:16:25.341] CamHAL[INF] aiqb file name ov01a10.aiqb
[11-02 00:16:25.341] CamHAL[INF] aiqb file name ov01a10.aiqb
[11-02 00:16:25.341] CamHAL[INF] aiqb file name ov01a10.aiqb
[11-02 00:16:25.341] CamHAL[INF] aiqb file name ov01a10.aiqb
[11-02 00:16:25.341] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[11-02 00:16:25.341] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[11-02 00:16:25.341] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[11-02 00:16:25.342] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[11-02 00:16:25.342] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[11-02 00:16:25.342] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[11-02 00:16:25.342] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[11-02 00:16:25.342] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[11-02 00:16:25.342] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[11-02 00:16:25.342] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[11-02 00:16:25.342] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[11-02 00:16:25.342] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[11-02 00:16:25.342] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
[11-02 00:16:25.343] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
[11-02 00:16:25.343] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[11-02 00:16:25.343] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[11-02 00:16:25.343] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[11-02 00:16:25.343] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[11-02 00:16:25.343] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
[11-02 00:16:25.343] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
[11-02 00:16:25.343] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
[11-02 00:16:25.343] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
[11-02 00:16:25.343] CamHAL[INF] aiqb file name ov01a1s.aiqb
[11-02 00:16:25.344] CamHAL[INF] aiqb file name ov01a1s.aiqb
[11-02 00:16:25.344] CamHAL[ERR] Failed to find DevName for cameraId: 4, get video node: ov01a10 , devname: /dev/v4l-subdev1
Pipeline is live and does not need PREROLL ...
ERROR: from element /GstPipeline:pipeline0/Gstcamerasrc:camerasrc0: src pad: Internal data flow error.
Additional debug info:
gstcambasesrc.cpp(3143): gst_cam_base_src_loop (): /GstPipeline:pipeline0/Gstcamerasrc:camerasrc0:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
I see the log I pasted shows a gst-launch command trying YUY2 colorspace, but the correct one is NV12 for ov01a10. But yes, with NV12 colorspace the command works on 6.5.x, but not on 6.6.0.
Had a setup working on my Dell XPS 9320 with a ov01a10 for a year, but then I installed the 6.6.0 kernel, and icamerasrc stopped working.
Running with these rpms installed:
gstreamer1-plugins-icamerasrc-0.0-7.20220926git3b7cdb9.fc39.x86_64.rpm ipu6-camera-bins-0.0-8.20230208git276859f.fc39.x86_64.rpm ipu6-camera-bins-firmware-0.0-8.20230208git276859f.fc39.x86_64.rpm ipu6-camera-hal-0.0-16.20230208git884b81a.fc40.x86_64.rpm ivsc-firmware-0.0-5.20221102git29c5eff.fc39.x86_64.rpm
and built ipu6-drivers with this patch enabled: https://github.com/intel/ipu6-drivers/pull/175
No issues from dmesg as I can see: