Camera does not work after upgrading to Kernel 6.7.1
elhossary opened this issue · comments
Camera stopped working after upgrading to Kernel 6.7.0 in my Alderlake X1C10
The camera's led does not light up as well.
Uninstalled then re-installed it, and no issues during reinstallation.
test.sh output:
[muhoss@MuHoss-PC archlinux-ipu6-webcam]$ ./test.sh
[sudo] password for muhoss:
Setting pipeline to PAUSED ...
[01-17 15:06:04.757] CamHAL[INF] aiqb file name ov13b10.aiqb
[01-17 15:06:04.757] CamHAL[INF] aiqb file name ov13b10.aiqb
[01-17 15:06:04.758] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-17 15:06:04.758] CamHAL[INF] aiqb file name ov13b10.aiqb
[01-17 15:06:04.758] CamHAL[INF] aiqb file name ov13b10.aiqb
[01-17 15:06:04.758] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-17 15:06:04.758] CamHAL[INF] aiqb file name ov8856.aiqb
[01-17 15:06:04.758] CamHAL[INF] aiqb file name ov8856.aiqb
[01-17 15:06:04.759] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.759] CamHAL[INF] aiqb file name ov8856.aiqb
[01-17 15:06:04.759] CamHAL[INF] aiqb file name ov8856.aiqb
[01-17 15:06:04.759] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.759] CamHAL[INF] aiqb file name ov01a10.aiqb
[01-17 15:06:04.759] CamHAL[INF] aiqb file name ov01a10.aiqb
[01-17 15:06:04.760] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-17 15:06:04.760] CamHAL[INF] aiqb file name ov01a10.aiqb
[01-17 15:06:04.760] CamHAL[INF] aiqb file name ov01a10.aiqb
[01-17 15:06:04.761] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-17 15:06:04.761] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[01-17 15:06:04.761] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[01-17 15:06:04.761] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-17 15:06:04.761] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[01-17 15:06:04.761] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[01-17 15:06:04.761] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.761] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[01-17 15:06:04.761] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[01-17 15:06:04.762] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.762] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[01-17 15:06:04.762] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[01-17 15:06:04.762] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-17 15:06:04.762] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[01-17 15:06:04.762] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[01-17 15:06:04.762] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.762] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[01-17 15:06:04.762] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[01-17 15:06:04.763] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.763] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
[01-17 15:06:04.763] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
[01-17 15:06:04.763] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.763] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[01-17 15:06:04.763] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[01-17 15:06:04.764] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.764] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[01-17 15:06:04.764] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[01-17 15:06:04.764] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.764] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[01-17 15:06:04.764] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[01-17 15:06:04.764] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.764] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[01-17 15:06:04.764] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[01-17 15:06:04.764] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.764] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
[01-17 15:06:04.765] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
[01-17 15:06:04.765] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.765] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
[01-17 15:06:04.765] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
[01-17 15:06:04.765] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.765] CamHAL[INF] aiqb file name ov01a1s.aiqb
[01-17 15:06:04.765] CamHAL[INF] aiqb file name ov01a1s.aiqb
[01-17 15:06:04.765] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.765] CamHAL[INF] aiqb file name OV08A10_YHUT_ADL.aiqb
[01-17 15:06:04.765] CamHAL[INF] aiqb file name OV08A10_YHUT_ADL.aiqb
[01-17 15:06:04.766] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.766] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.766] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.766] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.766] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.766] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.766] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.766] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.766] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.766] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.766] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.766] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.766] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.766] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.766] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.766] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.766] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.766] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.766] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.766] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.766] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.766] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.766] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.766] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.767] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.767] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.767] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.767] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.767] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.767] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.767] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.767] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.767] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.767] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.767] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.767] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-17 15:06:04.768] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.768] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-17 15:06:04.768] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-17 15:06:04.768] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.768] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-17 15:06:04.768] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-17 15:06:04.768] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.768] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-17 15:06:04.768] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-17 15:06:04.768] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.768] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-17 15:06:04.768] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-17 15:06:04.769] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.769] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-17 15:06:04.769] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-17 15:06:04.769] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.769] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-17 15:06:04.769] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-17 15:06:04.769] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.769] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-17 15:06:04.769] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-17 15:06:04.769] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.769] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-17 15:06:04.769] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-17 15:06:04.769] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.769] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-17 15:06:04.769] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-17 15:06:04.770] CamHAL[ERR] invalid media format, default value used.
[01-17 15:06:04.770] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-17 15:06:04.770] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-17 15:06:04.770] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-17 15:06:04.770] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...
Any help?
Edit:
I different output with Kernel 6.7.1
./test.sh
[sudo] password for muhoss:
Setting pipeline to PAUSED ...
[01-24 10:12:30.623] CamHAL[INF] aiqb file name ov13b10.aiqb
[01-24 10:12:30.623] CamHAL[INF] aiqb file name ov13b10.aiqb
[01-24 10:12:30.624] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-24 10:12:30.624] CamHAL[INF] aiqb file name ov13b10.aiqb
[01-24 10:12:30.624] CamHAL[INF] aiqb file name ov13b10.aiqb
[01-24 10:12:30.624] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-24 10:12:30.624] CamHAL[INF] aiqb file name ov8856.aiqb
[01-24 10:12:30.624] CamHAL[INF] aiqb file name ov8856.aiqb
[01-24 10:12:30.625] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.625] CamHAL[INF] aiqb file name ov8856.aiqb
[01-24 10:12:30.625] CamHAL[INF] aiqb file name ov8856.aiqb
[01-24 10:12:30.625] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.625] CamHAL[INF] aiqb file name ov01a10.aiqb
[01-24 10:12:30.625] CamHAL[INF] aiqb file name ov01a10.aiqb
[01-24 10:12:30.626] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-24 10:12:30.626] CamHAL[INF] aiqb file name ov01a10.aiqb
[01-24 10:12:30.626] CamHAL[INF] aiqb file name ov01a10.aiqb
[01-24 10:12:30.626] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-24 10:12:30.626] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[01-24 10:12:30.626] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[01-24 10:12:30.627] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-24 10:12:30.627] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[01-24 10:12:30.627] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[01-24 10:12:30.627] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.627] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[01-24 10:12:30.627] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[01-24 10:12:30.627] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.627] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[01-24 10:12:30.627] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[01-24 10:12:30.627] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-24 10:12:30.627] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[01-24 10:12:30.627] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[01-24 10:12:30.628] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.628] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[01-24 10:12:30.628] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[01-24 10:12:30.628] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.628] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
[01-24 10:12:30.628] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
[01-24 10:12:30.628] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.628] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[01-24 10:12:30.628] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[01-24 10:12:30.629] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.629] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[01-24 10:12:30.629] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[01-24 10:12:30.629] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.629] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[01-24 10:12:30.629] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[01-24 10:12:30.629] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.629] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[01-24 10:12:30.629] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[01-24 10:12:30.629] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.629] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
[01-24 10:12:30.630] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
[01-24 10:12:30.630] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.630] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
[01-24 10:12:30.630] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
[01-24 10:12:30.630] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.630] CamHAL[INF] aiqb file name ov01a1s.aiqb
[01-24 10:12:30.631] CamHAL[INF] aiqb file name ov01a1s.aiqb
[01-24 10:12:30.631] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.631] CamHAL[INF] aiqb file name OV08A10_YHUT_ADL.aiqb
[01-24 10:12:30.631] CamHAL[INF] aiqb file name OV08A10_YHUT_ADL.aiqb
[01-24 10:12:30.631] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.631] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.632] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.632] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.632] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.632] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.632] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.632] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.632] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.632] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.632] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.632] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.632] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.632] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.632] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.632] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.632] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.632] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.632] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.632] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.632] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.632] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.632] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.632] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.633] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.633] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.633] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.633] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.633] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.633] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.633] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.633] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.633] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.633] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.633] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.633] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-24 10:12:30.633] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.633] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-24 10:12:30.634] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-24 10:12:30.634] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.634] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-24 10:12:30.634] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-24 10:12:30.634] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.634] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-24 10:12:30.634] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-24 10:12:30.634] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.634] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-24 10:12:30.634] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-24 10:12:30.634] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.634] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-24 10:12:30.634] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-24 10:12:30.634] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.634] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-24 10:12:30.634] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-24 10:12:30.634] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.634] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-24 10:12:30.634] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-24 10:12:30.634] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.634] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-24 10:12:30.634] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-24 10:12:30.634] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.634] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-24 10:12:30.634] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-24 10:12:30.634] CamHAL[ERR] invalid media format, default value used.
[01-24 10:12:30.634] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-24 10:12:30.634] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-24 10:12:30.634] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-24 10:12:30.634] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-24 10:12:30.635] CamHAL[ERR] Failed to find DevName for cameraId: 0, get video node: ov13b10 , devname: /dev/v4l-subdev1
[01-24 10:12:30.637] CamHAL[ERR] MediaControl init failed
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...
[01-24 10:12:30.853] CamHAL[WAR] Seems camera device 0 is not closed properly (pid 3153).
same issue for me.
Same issue for me.
Same issue on my dell xps 13 9315
same issue on Dell Precision 5470. slightly different output when running test.sh
(added below)
Kernel: Linux 6.7.0-arch3-1
[01-21 14:03:05.321] CamHAL[ERR] Malformed ET range in exposure time range configuration
[01-21 14:03:05.321] CamHAL[ERR] Parse AE eExposure time range failed
Setting pipeline to PAUSED ...
[01-21 14:03:05.915] CamHAL[INF] aiqb file name ov13b10.aiqb
[01-21 14:03:05.915] CamHAL[INF] aiqb file name ov13b10.aiqb
[01-21 14:03:05.916] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-21 14:03:05.916] CamHAL[INF] aiqb file name ov13b10.aiqb
[01-21 14:03:05.916] CamHAL[INF] aiqb file name ov13b10.aiqb
[01-21 14:03:05.916] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-21 14:03:05.916] CamHAL[INF] aiqb file name ov8856.aiqb
[01-21 14:03:05.916] CamHAL[INF] aiqb file name ov8856.aiqb
[01-21 14:03:05.917] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.917] CamHAL[INF] aiqb file name ov8856.aiqb
[01-21 14:03:05.917] CamHAL[INF] aiqb file name ov8856.aiqb
[01-21 14:03:05.917] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.917] CamHAL[INF] aiqb file name ov01a10.aiqb
[01-21 14:03:05.917] CamHAL[INF] aiqb file name ov01a10.aiqb
[01-21 14:03:05.917] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-21 14:03:05.917] CamHAL[INF] aiqb file name ov01a10.aiqb
[01-21 14:03:05.917] CamHAL[INF] aiqb file name ov01a10.aiqb
[01-21 14:03:05.918] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-21 14:03:05.918] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[01-21 14:03:05.918] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[01-21 14:03:05.918] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-21 14:03:05.918] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[01-21 14:03:05.918] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[01-21 14:03:05.918] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.918] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[01-21 14:03:05.918] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[01-21 14:03:05.918] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.918] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[01-21 14:03:05.918] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[01-21 14:03:05.918] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-21 14:03:05.918] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[01-21 14:03:05.918] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[01-21 14:03:05.918] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.918] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[01-21 14:03:05.918] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[01-21 14:03:05.918] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.918] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
[01-21 14:03:05.918] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
[01-21 14:03:05.918] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.918] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[01-21 14:03:05.918] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[01-21 14:03:05.919] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.919] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[01-21 14:03:05.919] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[01-21 14:03:05.919] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.919] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[01-21 14:03:05.919] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[01-21 14:03:05.919] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.919] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[01-21 14:03:05.919] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[01-21 14:03:05.919] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.919] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
[01-21 14:03:05.919] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
[01-21 14:03:05.919] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.919] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
[01-21 14:03:05.919] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
[01-21 14:03:05.919] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.920] CamHAL[INF] aiqb file name ov01a1s.aiqb
[01-21 14:03:05.920] CamHAL[INF] aiqb file name ov01a1s.aiqb
[01-21 14:03:05.920] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.920] CamHAL[INF] aiqb file name OV08A10_YHUT_ADL.aiqb
[01-21 14:03:05.920] CamHAL[INF] aiqb file name OV08A10_YHUT_ADL.aiqb
[01-21 14:03:05.920] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.920] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.920] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.920] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.920] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.920] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.920] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.920] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.921] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.921] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.921] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.921] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.921] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.921] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.921] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.921] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.921] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.921] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.921] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.921] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.921] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.921] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.921] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.921] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.921] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.921] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.921] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.921] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.921] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.921] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.921] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.921] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.921] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.921] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.921] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.921] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[01-21 14:03:05.921] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.921] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-21 14:03:05.921] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-21 14:03:05.921] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.921] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-21 14:03:05.921] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-21 14:03:05.922] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.922] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-21 14:03:05.922] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-21 14:03:05.922] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.922] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-21 14:03:05.922] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-21 14:03:05.922] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.922] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-21 14:03:05.922] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-21 14:03:05.922] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.922] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-21 14:03:05.922] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-21 14:03:05.922] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.922] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-21 14:03:05.922] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-21 14:03:05.922] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.922] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-21 14:03:05.922] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-21 14:03:05.922] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.922] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-21 14:03:05.922] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[01-21 14:03:05.922] CamHAL[ERR] invalid media format, default value used.
[01-21 14:03:05.922] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-21 14:03:05.922] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-21 14:03:05.922] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-21 14:03:05.922] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[01-21 14:03:05.923] CamHAL[ERR] Failed to find DevName for cameraId: 0, get video node: ov13b10 , devname: /dev/v4l-subdev1
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[01-21 14:03:05.930] CamHAL[ERR] Get entity fail for calling getEntityById
[01-21 14:03:05.930] CamHAL[ERR] Get entity fail for calling getEntityById
[01-21 14:03:05.930] CamHAL[ERR] Get entity fail for calling getEntityById
[01-21 14:03:05.930] CamHAL[ERR] Get entity fail for calling getEntityById
Caught SIGSEGV
#0 0x00007fcc24139f6f in poll () at /usr/lib/libc.so.6
#1 0x00007fcc243332b6 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007fcc242d5b97 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3 0x00005db5f6dadc15 in ()
#4 0x00007fcc2405ecd0 in () at /usr/lib/libc.so.6
#5 0x00007fcc2405ed8a in __libc_start_main () at /usr/lib/libc.so.6
#6 0x00005db5f6dab055 in ()
Spinning. Please run 'gdb gst-launch-1.0 12284' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
Same here -- I get the following in the kernel buffer when I try to use the webcam:
[ 540.357065] camerasrc0:src[11829]: segfault at 118 ip 00007ebbf2877edd sp 00007ebbebdff608 error 4 in libc.so.6[7ebbf2743000+15a000] likely on CPU 4 (core 8, socket 0)
[ 540.357078] Code: 00 00 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 89 f8 48 89 fa c5 f9 ef c0 25 ff 0f 00 00 3d e0 0f 00 00 0f 87 33 01 00 00 <c5> fd 74 0f c5 fd d7 c1 85 c0 74 57 f3 0f bc c0 c5 f8 77 c3 66 66
And, would note that now sending the laptop to sleep (e.g. closing the lid) crashes it so I've uninstalled the drivers.
Works fine on kernel 6.5.9. I'm stuck there for now until it's fixed.
And, would note that now sending the laptop to sleep (e.g. closing the lid) crashes it so I've uninstalled the drivers.
Can confirm this issue. Laptop hangs on sleep and reboot. Had do go back to kernel 6.6.10.
Hello @elhossary , I detected the same sleeping issue with the kernel 6.7.0 + archlinux-ipu6-webcam. Actually I noticed that problem before realizing the webcam wasn't working anymore. After downgrading to .6.6.10 too, everything works (sleep and webcam). I have a DELL XPS 13 9315
I got a slightly different output with Kernel 6.7.1, but still does not work
Hello @elhossary , I detected the same sleeping issue with the kernel 6.7.0 + archlinux-ipu6-webcam. Actually I noticed that problem before realizing the webcam wasn't working anymore. After downgrading to .6.6.10 too, everything works (sleep and webcam). I have a DELL XPS 13 9315
@hecrogon How have you downgraded? I tried downgrading the "linux" and "linux-headers" packages to 6.6.10 and 6.6.8 but the camera still did not work, even when I uninstalled and reinstalled the archlinux-ipu6-webcam script. Thanks!
Try 6.5.9. It's working for me on that kernel.
Hey @renatocan,
Probably you are having the same issue I had. After downgrading the linux
and linux-headers
packages, the archlinux-ipu6-webcam
install.sh
automatically install the last linux-headers
available (no matter if you added to the IgnorePkg.
I did the follow dirty trick, just comment the line 125 before running the install.sh
https://github.com/stefanpartheym/archlinux-ipu6-webcam/blob/main/install.sh#L125
from
build_and_install "${kernel}-headers"
to
# build_and_install "${kernel}-headers"
Hey @renatocan, Probably you are having the same issue I had. After downgrading the
linux
andlinux-headers
packages, thearchlinux-ipu6-webcam
install.sh
automatically install the lastlinux-headers
available (no matter if you added to the IgnorePkg.I did the follow dirty trick, just comment the line 125 before running the
install.sh
https://github.com/stefanpartheym/archlinux-ipu6-webcam/blob/main/install.sh#L125from
build_and_install "${kernel}-headers"
to
# build_and_install "${kernel}-headers"
Thanks! This was the problem.
If you want to rollback arch you should really set the repo to an archive URL so that your archlinux system is consistent (otherwise you might break stuff if you only pin a few things). If you do this, then the install script will only know about the pinned version of the headers anyway. I kept docs for this (for myself) here: https://gtf21.notion.site/Package-Management-b683024fee6944088db5517ecbf4d9c2#69069a47e1fa44818d183113410d6735 -- Gideon Farrell Co-founder / CTO www.converge.io
…
On Fri, 26 Jan 2024 at 16:11, Héctor Rojas González < @.> wrote: Hey @renatocan https://github.com/renatocan, Probably you are having the same issue I had. After downgrading the linux and linux-headers packages, the archlinux-ipu6-webcam install.sh automatically install the last linux-headers available (no matter if you added to the IgnorePkg. I did the follow dirty trick, just comment the line 125 https://github.com/stefanpartheym/archlinux-ipu6-webcam/blob/main/install.sh#L125 from build_and_install "${kernel}-headers" to # build_and_install "${kernel}-headers" — Reply to this email directly, view it on GitHub <#69 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACMXW4GKT3TNH6LGPYNMZ3YQPIUTAVCNFSM6AAAAABB6TPEBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJSGMYTKOJUGY . You are receiving this because you were mentioned.Message ID: @.>
Thanks for the tip.
Thanks! This was the problem.
is this the solution for newer kernels or just for downgrading?
Thanks! This was the problem.
is this the solution for newer kernels or just for downgrading?
If we downgrade and install the script, it re-updates linux-headers. I downgraded linux-headers after installing the script and the camera worked.
Slightly offtopic, but required for the webcam to work: If I want to downgrade my entire system, any idea how to properly downgrade dbus after I've installed dbus-broker-units? I get file conflicts in /usr/lib/systemd/system/dbus.service, even when replacing broker-units with daemon-units before the downgrade.
Is there any fix for 6.7 kernels on the horizon?
I start thinking about using a linux-lts kernel, just because of the webcam :(
Yes, that's what I eventually did.
Recently, Kernel 6.6 went LTS officially, I switched to it (6.6.14), and everything just works straightforward.
@stefanpartheym
Maybe using lts kernel should be announced in the README
@elhossary ah fantastic -- I've switched to 6.6.14-lts and now I have a webcam again 💖 great tip
Good idea. Instead of downgrading the entire system, I've installed linux-lts in parallel and added a default boot entry for it.
Now people have to see my face again in meetings. 😆
Is there any fix for 6.7 kernels on the horizon?
I guess it has to be addressed to intel instead. Didn't really see bug reports there though except for kernel panic intel/ipu6-drivers#205
I downgraded to 6.6.14-lts and still having the same issue, I've purged yay cache with yay -Scc, I uninstalled the non-lts kernel... really struggling to get this working 😢
[01-31 21:59:48.607] CamHAL[ERR] Failed to find DevName for cameraId: 0, get video node: ov13b10 , devname: /dev/v4l-subdev1
[01-31 21:59:48.609] CamHAL[ERR] MediaControl init failed
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...
[01-31 21:59:48.769] CamHAL[WAR] Seems camera device 0 is not closed properly (pid 2339).
[ioliva@ioliva-xps9320 ~]$ uname -r
6.6.14-1-lts
It works with many people, so it is unlike in kernel 6.7 that doesn't work with everyone, this means you probably have an individual issue.
Try to fresh clone, uninstall, reboot, install, reboot, then test
Yep, did that again, no luck. I will try removing pacman
cache since it is installing packages with pacman.
PS: actually yay -Scc
does that already. Not sure how to debug what's wrong 😞
I understand that many people got it working, it would be nice to know if they did other thing other than downgrading to lts, because when you downgrade you do actually keep the previous headers installed in the pacman cache which are then used in the ./install script, which requires to be removed, so they must have done something other than just installing it.
The only "weird" thing I see is an error in-between in the ./uninstall
script, but it doesn't stop the script from getting executed.
:: Do you want to remove these packages? [Y/n]
:: Running pre-transaction hooks...
(1/1) Remove DKMS modules
==> dkms remove --no-depmod ipu6-drivers/r156.07f0612ea -k 6.6.14-1-lts
==> depmod 6.6.14-1-lts
:: Processing package changes...
(1/2) removing intel-ipu6-dkms-git [--------------------------------------------------------------------------------------] 100%
(2/2) removing intel-ivsc-firmware [--------------------------------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Refreshing py3status arch_updates module...
error: target not found: intel-ivsc-firmware
-> exit status 1
checking dependencies...
Package (1) Old Version Net Change
v4l2-relayd r42.6fd6b6a-1 -0.02 MiB
Total Removed Size: 0.02 MiB
:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
(1/1) removing v4l2-relayd [--------------------------------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
(2/3) Arming ConditionNeedsUpdate...
(3/3) Refreshing py3status arch_updates module...
checking dependencies...
Package (2) Old Version Net Change
dkms 3.0.12-1 -0.11 MiB
v4l2loopback-dkms-git-fix r10.cae2954-1 -0.23 MiB
Although the actual ./uninstall
script mentions:
# Not needed because it is uninstalled as a dependency of the previous package:
#$PKGMAN intel-ivsc-firmware
So I don't think it should be a problem anyway
Yep, did that again, no luck. I will try removing
pacman
cache since it is installing packages with pacman.PS: actually
yay -Scc
does that already. Not sure how to debug what's wrong 😞I understand that many people got it working, it would be nice to know if they did other thing other than downgrading to lts, because when you downgrade you do actually keep the previous headers installed in the pacman cache which are then used in the ./install script, which requires to be removed, so they must have done something other than just installing it.
I got it to work by downgrading the kernel and kernel-header to 6.6.* (no LTS). I used AUR package "downgrade" for this. Afterwards (after a restart) I had to rebuild DKMS modules. However, a few days later i switched to LTS kernel, to be save for future upgrades.
I:
- installed
linux-lts
andlinux-lts-headers
; - rebooted into the
lts
kernel; - ran the
./install.sh
script; - rebooted;
- tried the webcam, it didn't work (
v4l2-relayd
wouldn't start, then even when started wouldn't work); - rebooted;
- now everything works fine 🤷♀️.
I'm not sure if this is related, but after updating I found that the icamerasrc plugin is blacklisted. It's unclear to me why, or how to fix it.
$ gst-inspect-1.0 libgsticamerasrc.so
Plugin Details:
Name libgsticamerasrc.so
Description Plugin for blacklisted file
Filename /usr/lib/gstreamer-1.0/libgsticamerasrc.so
Version 0.0.0
License BLACKLIST
Source module BLACKLIST
Binary package BLACKLIST
Origin URL BLACKLIST
0 features:
To answer my own question, the blacklisting is due to the plugin raising a SIGSEGV. I managed to get this backtrace, and the culprit seems to be the 'sem' variable being 0x0.
#0 __new_sem_wait_fast (definitive_result=0, sem=0x0)
at /home/lund/.cache/debuginfod_client/1bc67512a1f89c5a034f03e066cbd11fc7905cb4/source##usr##src##debug##glibc##glibc##nptl##sem_waitcommon.c:136
#1 ___sem_timedwait64 (sem=0x0, abstime=0x7ffd0ef92da0)
at /home/lund/.cache/debuginfod_client/1bc67512a1f89c5a034f03e066cbd11fc7905cb4/source##usr##src##debug##glibc##glibc##nptl##sem_timedwait.c:37
#2 0x00007f8c4f92db14 in icamera::CameraSharedMemory::lock (this=0x5a1e44b243c0)
at /home/lund/src/Upstream/archlinux-ipu6-webcam/intel-ipu6ep-camera-hal-git/src/ipu6-camera-hal/src/iutils/CameraShm.cpp:263
#3 0x00007f8c4f92ddc4 in icamera::CameraSharedMemory::acquireSharedMemory (this=0x5a1e44b243c0)
at /home/lund/src/Upstream/archlinux-ipu6-webcam/intel-ipu6ep-camera-hal-git/src/ipu6-camera-hal/src/iutils/CameraShm.cpp:92
#4 0x00007f8c4f92e073 in icamera::CameraSharedMemory::CameraSharedMemory (this=this@entry=0x5a1e44b243c0)
at /home/lund/src/Upstream/archlinux-ipu6-webcam/intel-ipu6ep-camera-hal-git/src/ipu6-camera-hal/src/iutils/CameraShm.cpp:41
#5 0x00007f8c4f9232fc in icamera::CameraHal::CameraHal (this=this@entry=0x5a1e44b23ea0)
at /home/lund/src/Upstream/archlinux-ipu6-webcam/intel-ipu6ep-camera-hal-git/src/ipu6-camera-hal/src/hal/CameraHal.cpp:45
#6 0x00007f8c4f89918c in icamera::initCameraHAL ()
at /home/lund/src/Upstream/archlinux-ipu6-webcam/intel-ipu6ep-camera-hal-git/src/ipu6-camera-hal/src/hal/ICamera.cpp:340
I have done a bisection of the kernel code for this issue.
34a674e99acd6ec4b541cd4c630e126ba1a4c22f is the first bad commit
commit 34a674e99acd6ec4b541cd4c630e126ba1a4c22f
Author: Vitaly Lubart <vitaly.lubart@intel.com>
Date: Sun Oct 15 11:05:40 2023 +0300
mei: me: emit error only if reset was unexpected
GSC devices perform legal firmware initiated resets due to state transition
that may appear as unexpected to the driver. Lower the log level for those
devices to debug level and save the firmware status registers.
When the device comes out of the reset it is possible to check whether the
resets was due to a firmware error or an exception
and only than produce a warning.
Signed-off-by: Vitaly Lubart <vitaly.lubart@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20231015080540.95922-1-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/hw-me-regs.h | 3 +++
drivers/misc/mei/hw-me.c | 61 ++++++++++++++++++++++++++++++++++++++++---
drivers/misc/mei/init.c | 27 +++++++++++++++++--
drivers/misc/mei/mei_dev.h | 47 +++++++++++++++++++++++++++++++++
4 files changed, 133 insertions(+), 5 deletions(-)
Interesting work. Did you forward this to the official firmware project we rely on as well?
Interesting work. Did you forward this to the official firmware project we rely on as well?
No, but that's only because I'm not actually sure who this bug belongs to. Is it the kernel? Is it the v4l2loopback or the intel modules? Or is the icamerasrc gst plugin? My test for bisection was: does the ./test.sh script run.
@aplund Thanks for the investigation effort. I observe a similar crash on my setup (XPS13, 6.6.15-2-lts), leading to the same consequence (icamerasrc plugin being blacklisted):
Message: Process 2266 (gst-plugin-scan) of user 1000 dumped core.
Stack trace of thread 2266:
#0 0x000077355e8022bf sem_timedwait (libc.so.6 + 0x932bf)
#1 0x000077355d92db14 _ZN7icamera18CameraSharedMemory4lockEv (libcamhal.so + 0x12db14)
#2 0x000077355d92ddc4 _ZN7icamera18CameraSharedMemory19acquireSharedMemoryEv (libcamhal.so + 0x12ddc4)
#3 0x000077355d92e073 _ZN7icamera18CameraSharedMemoryC2Ev (libcamhal.so + 0x12e073)
#4 0x000077355d9232fc _ZN7icamera9CameraHalC2Ev (libcamhal.so + 0x1232fc)
#5 0x000077355d89918c initCameraHAL (libcamhal.so + 0x9918c)
#6 0x000077355ec321be n/a (ld-linux-x86-64.so.2 + 0x51be)
#7 0x000077355ec322ac n/a (ld-linux-x86-64.so.2 + 0x52ac)
#8 0x000077355ec2e56e _dl_catch_exception (ld-linux-x86-64.so.2 + 0x156e)
#9 0x000077355ec38d26 n/a (ld-linux-x86-64.so.2 + 0xbd26)
#10 0x000077355ec2e4e1 _dl_catch_exception (ld-linux-x86-64.so.2 + 0x14e1)
#11 0x000077355ec3910c n/a (ld-linux-x86-64.so.2 + 0xc10c)
#12 0x000077355e7f63fc n/a (libc.so.6 + 0x873fc)
#13 0x000077355ec2e4e1 _dl_catch_exception (ld-linux-x86-64.so.2 + 0x14e1)
#14 0x000077355ec2e603 n/a (ld-linux-x86-64.so.2 + 0x1603)
#15 0x000077355e7f5f07 n/a (libc.so.6 + 0x86f07)
#16 0x000077355e7f64b1 dlopen (libc.so.6 + 0x874b1)
#17 0x000077355e7086ec g_module_open_full (libgmodule-2.0.so.0 + 0x26ec)
#18 0x000077355eb3e3b6 n/a (libgstreamer-1.0.so.0 + 0xa13b6)
#19 0x000077355eb3fd30 n/a (libgstreamer-1.0.so.0 + 0xa2d30)
#20 0x000077355eb41320 _gst_plugin_loader_client_run (libgstreamer-1.0.so.0 + 0xa4320)
#21 0x000061dfec36b0de n/a (gst-plugin-scanner + 0x10de)
#22 0x000077355e794cd0 n/a (libc.so.6 + 0x25cd0)
#23 0x000077355e794d8a __libc_start_main (libc.so.6 + 0x25d8a)
#24 0x000061dfec36b135 n/a (gst-plugin-scanner + 0x1135)
ELF object binary architecture: AMD x86-64
I was getting this exact same issue with the plugin being blacklisted. I was able to get it working though kind of haphazardly. Here's exactly what I did:
- Install the lts kernel and it's headers
- ran the install script and rebooted
- no dice ( got the issue involving the plugin)
- ran the uninstall script and then the reinstall script
- rebooted and it works!
Not really sure what changed exactly, just kind of winged it. For reference, I'm using a Dell XPS 9320.
Added a note in the readme to recommend using a LTS kernel.
has this changed?
I have not tested it in kernel 6.8
I have not tested it either in 6.8.x. Will have a look on the weekend probably.
I tried to install on 6.8.1, but icamerasrc-git
doesn't compile for me now:
(this is most likely unrelated to this bug)
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -std=c++11 -Wall -Werror -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wall -I/usr/include/libcamhal -I/usr/include/libcamhal/api -I/usr/include/libcamhal/utils -DCHROME_SLIM_CAMHAL -fstack-protector-all -fPIC -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/lund/.cache/paru/clone/icamerasrc-git/src=/usr/src/debug/icamerasrc-git -flto=auto -MT libgsticamerainterface_1.0_la-gstcameraispinterface.lo -MD -MP -MF .deps/libgsticamerainterface_1.0_la-gstcameraispinterface.Tpo -c gstcameraispinterface.cpp -fPIC -DPIC -o .libs/libgsticamerainterface_1.0_la-gstcameraispinterface.o
<command-line>: error: "_FORTIFY_SOURCE" redefined [-Werror]
<command-line>: note: this is the location of the previous definition
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -std=c++11 -Wall -Werror -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wall -I/usr/include/libcamhal -I/usr/include/libcamhal/api -I/usr/include/libcamhal/utils -DCHROME_SLIM_CAMHAL -fstack-protector-all -fPIC -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/lund/.cache/paru/clone/icamerasrc-git/src=/usr/src/debug/icamerasrc-git -flto=auto -MT libgsticamerainterface_1.0_la-gstcameradewarpinginterface.lo -MD -MP -MF .deps/libgsticamerainterface_1.0_la-gstcameradewarpinginterface.Tpo -c gstcameradewarpinginterface.cpp -fPIC -DPIC -o .libs/libgsticamerainterface_1.0_la-gstcameradewarpinginterface.o
<command-line>: error: "_FORTIFY_SOURCE" redefined [-Werror]
<command-line>: note: this is the location of the previous definition
<command-line>: error: "_FORTIFY_SOURCE" redefined [-Werror]
<command-line>: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors
make[3]: *** [Makefile:567: libgsticamerainterface_1.0_la-gstcamerawfovinterface.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
<command-line>: error: "_FORTIFY_SOURCE" redefined [-Werror]
<command-line>: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors
make[3]: *** [Makefile:546: libgsticamerainterface_1.0_la-gstcamera3ainterface.lo] Error 1
cc1plus: all warnings being treated as errors
make[3]: *** [Makefile:553: libgsticamerainterface_1.0_la-gstcameraispinterface.lo] Error 1
cc1plus: all warnings being treated as errors
make[3]: *** [Makefile:560: libgsticamerainterface_1.0_la-gstcameradewarpinginterface.lo] Error 1
make[3]: Leaving directory '/home/lund/.cache/paru/clone/icamerasrc-git/src/icamerasrc/src/interfaces'
make[2]: *** [Makefile:697: all-recursive] Error 1
make[2]: Leaving directory '/home/lund/.cache/paru/clone/icamerasrc-git/src/icamerasrc/src'
make[1]: *** [Makefile:526: all-recursive] Error 1
make[1]: Leaving directory '/home/lund/.cache/paru/clone/icamerasrc-git/src/icamerasrc'
make: *** [Makefile:435: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'icamerasrc-git-r57.2d36ade-1':
error: packages failed to build: icamerasrc-git-r57.2d36ade-1
error: package 'icamerasrc-git' was not found
ERROR: Couldn't find/unable to install: icamerasrc-git
I managed to build it, but I get no video output
However, I'm glad to say that these drivers are being pushed to the mainline kernel!
there is an opened mr here, personally I didn't test it, but it might help with the issue
I am still getting a lot of those segfault issues. I have tried everything so far. I was using the LTS kernel, then I downgraded my normal kernel to 6.5.9 which resulted in the same issues, and then to 6.4.9 which also has again the same issues.
Dmesg:
[ 287.505904] camerasrc0:src[3705]: segfault at 60 ip 00007f5352e9eb25 sp 00007f5343ffeb30 error 4 in libgstreamer-1.0.so.0.2401.0[7f5352e85000+c1000] likely on CPU 9 (core 16, socket 0)
[ 287.505914] Code: 00 00 00 48 85 c0 74 0d 48 89 c7 e9 65 d7 03 00 90 0f 1f 40 00 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 53 <48> 8b 47 60 48 89 fb 48 8d 78 10 ff 15 7a c7 10 00 48 8b 7b 60 8b
[ 290.070280] camerasrc0:src[5796]: segfault at 60 ip 00007f9161176b25 sp 00007f915ddadb30 error 4 in libgstreamer-1.0.so.0.2401.0[7f916115d000+c1000] likely on CPU 9 (core 16, socket 0)
[ 290.070304] Code: 00 00 00 48 85 c0 74 0d 48 89 c7 e9 65 d7 03 00 90 0f 1f 40 00 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 53 <48> 8b 47 60 48 89 fb 48 8d 78 10 ff 15 7a c7 10 00 48 8b 7b 60 8b
[ 292.509834] camerasrc0:src[5833]: segfault at 60 ip 00007f199206db25 sp 00007f198ac06b30 error 4 in libgstreamer-1.0.so.0.2401.0[7f1992054000+c1000] likely on CPU 4 (core 8, socket 0)
[ 292.509846] Code: 00 00 00 48 85 c0 74 0d 48 89 c7 e9 65 d7 03 00 90 0f 1f 40 00 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 53 <48> 8b 47 60 48 89 fb 48 8d 78 10 ff 15 7a c7 10 00 48 8b 7b 60 8b
[ 304.533870] gst-plugin-scan[5920]: segfault at 0 ip 00007f63abd932bf sp 00007ffec13eba20 error 4 in libc.so.6[7f63abd24000+15b000] likely on CPU 4 (core 8, socket 0)
[ 304.533879] Code: 66 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 81 7e 08 ff c9 9a 3b 77 4a 55 48 89 f5 53 48 89 fb 48 83 ec 08 e8 01 f4 ff ff <48> 8b 03 85 c0 74 1a 48 8d 50 ff f0 48 0f b1 13 75 0f 48 83 c4 08
[ 304.723767] gst-plugin-scan[5928]: segfault at 0 ip 00007fce735902bf sp 00007ffd28b86ec0 error 4 in libc.so.6[7fce73521000+15b000] likely on CPU 6 (core 12, socket 0)
[ 304.723781] Code: 66 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 81 7e 08 ff c9 9a 3b 77 4a 55 48 89 f5 53 48 89 fb 48 83 ec 08 e8 01 f4 ff ff <48> 8b 03 85 c0 74 1a 48 8d 50 ff f0 48 0f b1 13 75 0f 48 83 c4 08
test.sh
$ ./test.sh
(gst-plugin-scanner:14850): GStreamer-WARNING **: 12:57:08.959: static caps 0x7f2ceffb7070 string is NULL
(gst-plugin-scanner:14850): GStreamer-CRITICAL **: 12:57:08.960: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(gst-launch-1.0:14849): GStreamer-WARNING **: 12:57:08.993: static caps 0x7f1dc9805070 string is NULL
(gst-launch-1.0:14849): GStreamer-CRITICAL **: 12:57:08.994: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(gst-launch-1.0:14849): GStreamer-CRITICAL **: 12:57:08.994: gst_caps_can_intersect: assertion 'GST_IS_CAPS (caps2)' failed
WARNING: erroneous pipeline: could not link camerasrc0 to videoconvert0, camerasrc0 can't handle caps video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720
I'm also seeing the same issues as DutchEllie. I'm on kernel 6.9.0-rc1 with a Dell XPS 9640, which has the new meteor lake chip on it.
loll ikr? i couldn't figure out my model number either. its not in lspci, lsusb, etc. i'm very thankful that people are working on eventually merging these changes directly into the linux kernel tho.
I have done a bisection of the kernel code for this issue.
34a674e99acd6ec4b541cd4c630e126ba1a4c22f is the first bad commit commit 34a674e99acd6ec4b541cd4c630e126ba1a4c22f Author: Vitaly Lubart <vitaly.lubart@intel.com> Date: Sun Oct 15 11:05:40 2023 +0300 mei: me: emit error only if reset was unexpected GSC devices perform legal firmware initiated resets due to state transition that may appear as unexpected to the driver. Lower the log level for those devices to debug level and save the firmware status registers. When the device comes out of the reset it is possible to check whether the resets was due to a firmware error or an exception and only than produce a warning. Signed-off-by: Vitaly Lubart <vitaly.lubart@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Link: https://lore.kernel.org/r/20231015080540.95922-1-tomas.winkler@intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> drivers/misc/mei/hw-me-regs.h | 3 +++ drivers/misc/mei/hw-me.c | 61 ++++++++++++++++++++++++++++++++++++++++--- drivers/misc/mei/init.c | 27 +++++++++++++++++-- drivers/misc/mei/mei_dev.h | 47 +++++++++++++++++++++++++++++++++ 4 files changed, 133 insertions(+), 5 deletions(-)
Thank you for this. With intel/ipu6-drivers#213, intel/ipu6-drivers#214 and the reverting of the commit you mention here, I have camera working again on my Dell XPS 9320.