GithubHelp home page GithubHelp logo

Comments (5)

csdvrx avatar csdvrx commented on August 27, 2024

The Failed to find DevName problem means it's likely you need to hardcode a different identifier in the module.

the dmesg on the non-working system doesn't name ov01a10, so maybe its a different camera (is there a way to figure this out?)

The simplest way is to look at the .inf files from either laptop to extract all the possible matching names; I commented on that on #48

from ipu6-drivers.

kervel avatar kervel commented on August 27, 2024

Hello,

on my laptop, according to the dsdt, i should have an ov2740 (INT3474, OV2740,CRDG2). however, i could not find the .inf files you described for ov2740. Instead, i found files named ov01a.inf_amd64_26fa9596f59c64c3 and 3 similar ones.
they mention CJFLE13, CJFLE21 and 1BG101N3 and 0BF118N3 in the [SourceDisksFiles] section.

so i now don't know if i have an ov2740 or an ov01a but i guess ov01a (since other dell 9320 #49 also mentions this)

[SourceDisksFiles]
ov01a.sys = 1
ov01a_SB2_ADL.cpf = 1
ov01a_SB2_ADL.aiqb = 1
graph_settings_ov01a_SB2_ADL.xml = 1
ov01a_0BF118N3_ADL.cpf = 1
ov01a_0BF118N3_ADL.aiqb = 1
graph_settings_ov01a_0BF118N3_ADL.xml = 1
ov01a_1BG101N3_ADL.cpf = 1
ov01a_1BG101N3_ADL.aiqb = 1
graph_settings_ov01a_1BG101N3_ADL.xml = 1
ov01a_CJFLE21_ADL.cpf = 1
ov01a_CJFLE21_ADL.aiqb = 1
graph_settings_ov01a_CJFLE21_ADL.xml = 1
ov01a_CJFLE13_ADL.cpf = 1
ov01a_CJFLE13_ADL.aiqb = 1
graph_settings_ov01a_CJFLE13_ADL.xml = 1

there is also an ov01a1b file, with different IDs. but both xps13 laptops have the same contents for the .inf file in that folder, so i guess it aint due to the device ids ?

greetings,
Frank

from ipu6-drivers.

kervel avatar kervel commented on August 27, 2024

For completeness, i discovered that gst-launch output is very different on the working laptop vs the broken one:

this is the command:

sudo  gst-launch-1.0 icamerasrc  device-name=ov01a10-uf buffer-count=7 ! \
 video/x-raw,format=NV12,width=1280,height=720 ! videoconvert ! ximagesink 

working:

[02-27 21:57:57.551] CamHAL[ERR] Malformed ET range in exposure time range configuration
[02-27 21:57:57.551] CamHAL[ERR] Parse AE eExposure time range failed
[02-27 21:57:57.551] CamHAL[ERR] Malformed ET range in exposure time range configuration
[02-27 21:57:57.551] CamHAL[ERR] Parse AE gain range failed
Setting pipeline to PAUSED ...
[02-27 21:57:57.574] CamHAL[INF] aiqb file name ov01a10.aiqb
[02-27 21:57:57.574] CamHAL[INF] aiqb file name ov01a10.aiqb
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

broken:

[02-27 22:00:51.413] CamHAL[ERR] Malformed ET range in exposure time range configuration
[02-27 22:00:51.413] CamHAL[ERR] Parse AE eExposure time range failed
[02-27 22:00:51.413] CamHAL[ERR] Malformed ET range in exposure time range configuration
[02-27 22:00:51.413] CamHAL[ERR] Parse AE gain range failed
[02-27 22:00:51.413] CamHAL[ERR] Malformed ET range in exposure time range configuration
[02-27 22:00:51.413] CamHAL[ERR] Parse AE eExposure time range failed
[02-27 22:00:51.413] CamHAL[ERR] Malformed ET range in exposure time range configuration
[02-27 22:00:51.413] CamHAL[ERR] Parse AE gain range failed
[02-27 22:00:51.413] CamHAL[ERR] Malformed ET range in exposure time range configuration
[02-27 22:00:51.413] CamHAL[ERR] Parse AE eExposure time range failed
[02-27 22:00:51.413] CamHAL[ERR] Malformed ET range in exposure time range configuration
[02-27 22:00:51.413] CamHAL[ERR] Parse AE gain range failed
[02-27 22:00:51.413] CamHAL[ERR] Malformed ET range in exposure time range configuration
[02-27 22:00:51.413] CamHAL[ERR] Parse AE eExposure time range failed
[02-27 22:00:51.413] CamHAL[ERR] Malformed ET range in exposure time range configuration
[02-27 22:00:51.413] CamHAL[ERR] Parse AE gain range failed
[02-27 22:00:51.413] CamHAL[ERR] Malformed ET range in exposure time range configuration
[02-27 22:00:51.413] CamHAL[ERR] Parse AE eExposure time range failed
[02-27 22:00:51.413] CamHAL[ERR] Malformed ET range in exposure time range configuration
[02-27 22:00:51.413] CamHAL[ERR] Parse AE gain range failed
[02-27 22:00:51.414] CamHAL[ERR] Malformed ET range in exposure time range configuration
[02-27 22:00:51.414] CamHAL[ERR] Parse AE eExposure time range failed
[02-27 22:00:51.414] CamHAL[ERR] Malformed ET range in exposure time range configuration
[02-27 22:00:51.414] CamHAL[ERR] Parse AE gain range failed
[02-27 22:00:51.414] CamHAL[ERR] Malformed ET range in exposure time range configuration
[02-27 22:00:51.414] CamHAL[ERR] Parse AE eExposure time range failed
[02-27 22:00:51.414] CamHAL[ERR] Malformed ET range in exposure time range configuration
[02-27 22:00:51.414] CamHAL[ERR] Parse AE gain range failed
[02-27 22:00:51.414] CamHAL[ERR] Malformed ET range in exposure time range configuration
[02-27 22:00:51.414] CamHAL[ERR] Parse AE eExposure time range failed
[02-27 22:00:51.414] CamHAL[ERR] Malformed ET range in exposure time range configuration
[02-27 22:00:51.414] CamHAL[ERR] Parse AE gain range failed
[02-27 22:00:51.414] CamHAL[ERR] Malformed ET range in exposure time range configuration
[02-27 22:00:51.414] CamHAL[ERR] Parse AE eExposure time range failed
[02-27 22:00:51.414] CamHAL[ERR] Malformed ET range in exposure time range configuration
[02-27 22:00:51.414] CamHAL[ERR] Parse AE gain range failed
Setting pipeline to PAUSED ...
[02-27 22:00:51.697] CamHAL[INF] aiqb file name ov13b10.aiqb
[02-27 22:00:51.697] CamHAL[ERR] there is no aiqb file:ov13b10
[02-27 22:00:51.697] CamHAL[INF] aiqb file name ov13b10.aiqb
[02-27 22:00:51.697] CamHAL[ERR] there is no aiqb file:ov13b10
[02-27 22:00:51.697] CamHAL[INF] aiqb file name ov8856.aiqb
[02-27 22:00:51.697] CamHAL[ERR] there is no aiqb file:ov8856
[02-27 22:00:51.697] CamHAL[INF] aiqb file name ov8856.aiqb
[02-27 22:00:51.697] CamHAL[ERR] there is no aiqb file:ov8856
[02-27 22:00:51.697] CamHAL[INF] aiqb file name ov01a10.aiqb
[02-27 22:00:51.697] CamHAL[INF] aiqb file name ov01a10.aiqb
[02-27 22:00:51.697] CamHAL[INF] aiqb file name ov01a10.aiqb
[02-27 22:00:51.697] CamHAL[INF] aiqb file name ov01a10.aiqb
[02-27 22:00:51.697] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[02-27 22:00:51.698] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[02-27 22:00:51.698] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[02-27 22:00:51.698] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[02-27 22:00:51.698] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[02-27 22:00:51.698] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[02-27 22:00:51.698] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[02-27 22:00:51.698] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[02-27 22:00:51.698] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[02-27 22:00:51.698] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[02-27 22:00:51.698] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[02-27 22:00:51.698] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[02-27 22:00:51.698] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
[02-27 22:00:51.698] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
[02-27 22:00:51.698] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[02-27 22:00:51.699] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[02-27 22:00:51.699] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[02-27 22:00:51.699] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[02-27 22:00:51.699] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
[02-27 22:00:51.699] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
[02-27 22:00:51.699] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
[02-27 22:00:51.699] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
[02-27 22:00:51.699] CamHAL[INF] aiqb file name ov01a1s.aiqb
[02-27 22:00:51.699] CamHAL[INF] aiqb file name ov01a1s.aiqb
[02-27 22:00:51.699] 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 ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[02-27 22:00:51.706] CamHAL[ERR] Get entity fail for calling getEntityById
[02-27 22:00:51.706] CamHAL[ERR] Get entity fail for calling getEntityById
[02-27 22:00:51.706] CamHAL[ERR] setup Link ov01a10  [-1:0] ==> Intel IPU6 CSI-2  [-1x0] enable 1 failed.
[02-27 22:00:51.706] CamHAL[ERR] set MediaCtlConf McLink failed: ret = -1
[02-27 22:00:51.706] CamHAL[ERR] set up mediaCtl failed
[02-27 22:00:51.706] CamHAL[ERR] @configure Device Configure failed
[02-27 22:00:51.706] CamHAL[ERR] failed to config streams.
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)
Execution ended after 0:00:00.004845432
Setting pipeline to NULL ...

from ipu6-drivers.

kervel avatar kervel commented on August 27, 2024

a kernel upgrade to 6.1.0 later and now i have a working webcam! I verified the kernel version on the "working" laptop to check if i missed something, but i didn't. There, the webcam is working fine with the older kernel. Leaving this here for documentation purposes.

from ipu6-drivers.

alesrebec avatar alesrebec commented on August 27, 2024

Hi @kervel
I noticed you have it working on kernel 6.1, I have 6.1.15 (latest) with ubuntu 22.04.2 on Lenovo X1 Carbon gen 10 and the error in gst is similar to yours.

[03-04 11:38:26.298] CamHAL[ERR] Malformed ET range in exposure time range configuration
[03-04 11:38:26.298] CamHAL[ERR] Parse AE eExposure time range failed
[03-04 11:38:26.298] CamHAL[ERR] Malformed ET range in exposure time range configuration
[03-04 11:38:26.298] CamHAL[ERR] Parse AE gain range failed
...
[03-04 11:38:26.299] CamHAL[ERR] Malformed ET range in exposure time range configuration
[03-04 11:38:26.299] CamHAL[ERR] Parse AE eExposure time range failed
[03-04 11:38:26.299] CamHAL[ERR] Malformed ET range in exposure time range configuration
[03-04 11:38:26.299] CamHAL[ERR] Parse AE gain range failed
Setting pipeline to PAUSED ...
[03-04 11:38:26.582] CamHAL[INF] aiqb file name ov13b10.aiqb
[03-04 11:38:26.582] CamHAL[ERR] there is no aiqb file:ov13b10
[03-04 11:38:26.582] CamHAL[INF] aiqb file name ov13b10.aiqb
[03-04 11:38:26.582] CamHAL[ERR] there is no aiqb file:ov13b10
[03-04 11:38:26.582] CamHAL[INF] aiqb file name ov8856.aiqb
[03-04 11:38:26.582] CamHAL[ERR] there is no aiqb file:ov8856
[03-04 11:38:26.582] CamHAL[INF] aiqb file name ov8856.aiqb
[03-04 11:38:26.582] CamHAL[ERR] there is no aiqb file:ov8856
[03-04 11:38:26.582] CamHAL[INF] aiqb file name ov01a10.aiqb
[03-04 11:38:26.582] CamHAL[INF] aiqb file name ov01a10.aiqb
[03-04 11:38:26.582] CamHAL[INF] aiqb file name ov01a10.aiqb
[03-04 11:38:26.582] CamHAL[INF] aiqb file name ov01a10.aiqb
[03-04 11:38:26.582] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[03-04 11:38:26.582] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[03-04 11:38:26.582] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[03-04 11:38:26.583] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[03-04 11:38:26.583] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[03-04 11:38:26.583] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[03-04 11:38:26.583] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[03-04 11:38:26.583] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[03-04 11:38:26.583] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[03-04 11:38:26.583] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[03-04 11:38:26.583] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[03-04 11:38:26.583] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[03-04 11:38:26.583] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
[03-04 11:38:26.583] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
[03-04 11:38:26.583] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[03-04 11:38:26.583] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[03-04 11:38:26.583] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[03-04 11:38:26.583] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[03-04 11:38:26.583] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
[03-04 11:38:26.584] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
[03-04 11:38:26.584] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
[03-04 11:38:26.584] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
[03-04 11:38:26.584] CamHAL[INF] aiqb file name ov01a1s.aiqb
[03-04 11:38:26.584] CamHAL[INF] aiqb file name ov01a1s.aiqb
[03-04 11:38:26.584] CamHAL[ERR] Failed to find DevName for cameraId: 12, get video node: ov2740 , devname: /dev/v4l-subdev1
[03-04 11:38:26.586] CamHAL[ERR] MediaControl init failed
Setting pipeline to NULL ...
Freeing pipeline ...

Do you have any clue what might it be?

from ipu6-drivers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.