Public bug reported:

Intel CVS/USBIO drivers finally ready after v7.2 kernel release. Commit
https://github.com/intel/ipu6-camera-
hal/commit/aea89223d0d1cc84ca6d7513421c62189d8f001e from ipu6-camera-hal
is required to address such sensor pad name changes, but that appears to
break Lenovo ThinkPad X1 Carbon Gen 12 with:

```
$ sudo -E cameraDebug=3 gst-launch-1.0 icamerasrc ! videoconvert ! avimux ! 
filesink location=out.avi
......
[09-15 18:16:36.925] CamHAL[LV1] @Open
[09-15 18:16:36.925] CamHAL[LV1] @SetFormat
[09-15 18:16:36.925] CamHAL[LV2] <id0> @getSubDev, sub device name: 
/dev/v4l-subdev0
[09-15 18:16:36.925] CamHAL[LV1] SENSORCTRLINFO: width=3856, height=2176, 
code=0x300a
[09-15 18:16:36.925] CamHAL[LV1] set format Intel IPU6 CSI2 0 [193:0/0] 
[3856x2176] [3856x2176] V4L2_MBUS_FMT_SGRBG10_1X10 
[09-15 18:16:36.925] CamHAL[LV1] @SetFormat
[09-15 18:16:36.925] CamHAL[LV1] setup Link ov08x40 17-0010 [349:0] ==> Intel 
CVS [-1x0] enable 1.
[09-15 18:16:36.925] CamHAL[LV1] @setupLink srcEntity 349 srcPad 0 sinkEntity 
-1 sinkPad 0 enable 1
ERROR: from element /GstPipeline:pipeline0/Gstcamerasrc:camerasrc0: src pad: 
Internal data flow error.
Additional debug info:
gstcambasesrc.cpp(3156): gst_cam_base_src_loop (): 
/GstPipeline:pipeline0/Gstcamerasrc:camerasrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:00.007261636
Setting pipeline to NULL ...
```

To reproduce this use the linux-hwe-7.0 test kernel from 
https://launchpad.net/~vicamo/+archive/ubuntu/intel-ipu, install with commands:
```
$ sudo add-apt-repository ppa:vicamo/intel-ipu
$ sudo apt install --no-install-recommends --yes \
    linux-image-unsigned-7.0.0-4031-generic \
    linux-modules-ipu6-7.0.0-4031-generic \
    linux-modules-ipu7-7.0.0-4031-generic \
    libcamhal-ipu6epmtl \
    gstreamer1.0-icamera \
    v4l2-relayd
```
Make sure one turns off SecureBoot to run testing kernels. Reboot the the newly 
installed kernel.

** Affects: ubuntu
     Importance: Undecided
         Status: Incomplete

** Changed in: ubuntu
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167437

Title:
  Lenovo ThinkPad X1 Carbon Gen 12 MIPI camera doesn't work with in-tree
  cvs/usbio driver migration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2167437/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to