Bumping libcamera version in Questing after its release is unlikely to
happen. Besides libcamera-0.5/questing is not the major problem to use
MIPI cameras via libcamera. It's the in-tree intel-ipu7-isys. You need
linux-modules-ipu7-generic for linux-generic/questing to correctly drive
the hardware.

With linux-modules-ipu7-generic installed, and with the libcamera testing build 
in aforementioned PPA, libcamera can drive IPU7 MIPI camera on Intel Lunar Lake 
platform:
```
$ sudo dmesg|grep ipu
[    2.762991] intel-ipu7 0000:00:05.0: enabling device (0000 -> 0002)
[    2.762997] intel-ipu7 0000:00:05.0: Device 0x645d (rev: 0x4)
[    2.762998] intel-ipu7 0000:00:05.0: IPU7 PCI BAR0 base 0x0000003012000000 
BAR2 base 0x000000301537a000
[    2.763012] intel-ipu7 0000:00:05.0: IPU7 PCI BAR0 mapped at 0000000082d18bcd
[    2.773511] intel-ipu7 0000:00:05.0: IPU7 SKU 0 in secure mode mask 0x0
[    2.774899] intel-ipu7 0000:00:05.0: firmware cpd file: intel/ipu/ipu7_fw.bin
[    2.775698] intel-ipu7 0000:00:05.0: FW binary0 info:
[    2.775703] intel-ipu7 0000:00:05.0: Name:  psys
[    2.775704] intel-ipu7 0000:00:05.0: Version:  1.1.9.240627135220
[    2.775705] intel-ipu7 0000:00:05.0: Timestamp:  build_id:331942702
[    2.775706] intel-ipu7 0000:00:05.0: Commit:  commit_id:d84f5c35
[    2.775707] intel-ipu7 0000:00:05.0: FW binary1 info:
[    2.775707] intel-ipu7 0000:00:05.0: Name:  isys
[    2.775708] intel-ipu7 0000:00:05.0: Version:  1.1.9.240627135318
[    2.775709] intel-ipu7 0000:00:05.0: Timestamp:  build_id:3823931988
[    2.775709] intel-ipu7 0000:00:05.0: Commit:  commit_id:d84f5c35
[    2.799887] intel-ipu7 0000:00:05.0: Found supported sensor OVTI02C1:00
[    2.799965] intel-ipu7 0000:00:05.0: Connected 1 cameras
[    2.802463] intel-ipu7 0000:00:05.0: Sending BOOT_LOAD to CSE
[    2.866990] intel-ipu7 0000:00:05.0: Sending AUTHENTICATE_RUN to CSE
[    2.896129] intel-ipu7 0000:00:05.0: CSE authenticate_run done
[    3.900081] intel_ipu7_psys.psys intel_ipu7.psys.40: IPU psys probe done.
[    4.163727] intel_ipu7_isys.isys intel_ipu7.isys.40: bind ov02c10 3-0036 
nlanes is 2 port is 0
[    4.163897] intel_ipu7_isys.isys intel_ipu7.isys.40: All sensor registration 
completed.

```
```
$ cam -c 1 --capture=10 -s pixelformat=BGR888 --file=./out.ppm
[37:40:32.511061715] [19161]  INFO Camera camera_manager.cpp:326 libcamera 
v0.5.0
[37:40:32.518064898] [19164]  WARN CameraSensor camera_sensor_legacy.cpp:354 
'ov02c10 3-0036': Recommended V4L2 control 0x009a0922 not supported
[37:40:32.518101852] [19164] ERROR V4L2 v4l2_subdevice.cpp:1196 'ov02c10 
3-0036': Unable to get rectangle 2 on pad 0/0: Inappropriate ioctl for device
[37:40:32.518110145] [19164]  WARN CameraSensor camera_sensor_legacy.cpp:401 
'ov02c10 3-0036': The PixelArraySize property has been defaulted to 1928x1092
[37:40:32.518115963] [19164] ERROR V4L2 v4l2_subdevice.cpp:1196 'ov02c10 
3-0036': Unable to get rectangle 1 on pad 0/0: Inappropriate ioctl for device
[37:40:32.518119797] [19164]  WARN CameraSensor camera_sensor_legacy.cpp:412 
'ov02c10 3-0036': The PixelArrayActiveAreas property has been defaulted to (0, 
0)/1928x1092
[37:40:32.518131865] [19164] ERROR V4L2 v4l2_subdevice.cpp:1196 'ov02c10 
3-0036': Unable to get rectangle 0 on pad 0/0: Inappropriate ioctl for device
[37:40:32.518138360] [19164]  WARN CameraSensor camera_sensor_legacy.cpp:420 
'ov02c10 3-0036': Failed to retrieve the sensor crop rectangle
[37:40:32.518141660] [19164]  WARN CameraSensor camera_sensor_legacy.cpp:426 
'ov02c10 3-0036': The sensor kernel driver needs to be fixed
[37:40:32.518145667] [19164]  WARN CameraSensor camera_sensor_legacy.cpp:428 
'ov02c10 3-0036': See Documentation/sensor_driver_requirements.rst in the 
libcamera sources for more information
[37:40:32.518413122] [19164]  WARN CameraSensorProperties 
camera_sensor_properties.cpp:473 No static properties available for 'ov02c10'
[37:40:32.518429353] [19164]  WARN CameraSensorProperties 
camera_sensor_properties.cpp:475 Please consider updating the camera sensor 
properties database
[37:40:32.518433612] [19164]  WARN CameraSensor camera_sensor_legacy.cpp:594 
'ov02c10 3-0036': Failed to retrieve the camera location
[37:40:32.518437243] [19164]  WARN CameraSensor camera_sensor_legacy.cpp:616 
'ov02c10 3-0036': Rotation control not available, default to 0 degrees
[37:40:32.518444495] [19164]  WARN CameraSensor camera_sensor_legacy.cpp:501 
'ov02c10 3-0036': No sensor delays found in static properties. Assuming 
unverified defaults.
[37:40:32.520111872] [19164]  WARN IPAProxy ipa_proxy.cpp:177 Configuration 
file 'ov02c10.yaml' not found for IPA module 'simple', falling back to 
'uncalibrated.yaml'
[37:40:32.520133916] [19164] ERROR V4L2 v4l2_subdevice.cpp:1196 'ov02c10 
3-0036': Unable to get rectangle 0 on pad 0/0: Inappropriate ioctl for device
[37:40:32.520141617] [19164]  WARN CameraSensor camera_sensor_legacy.cpp:880 
'ov02c10 3-0036': The analogue crop rectangle has been defaulted to the active 
area size
[37:40:32.520158121] [19164]  WARN IPASoft soft_simple.cpp:103 IPASoft: Failed 
to create camera sensor helper for ov02c10
Using camera \_SB_.LNK1 as cam0
[37:40:32.520533027] [19161]  INFO Camera camera.cpp:1205 configuring streams: 
(0) 1920x1092-BGR888
[37:40:32.520666364] [19164]  INFO IPASoft soft_simple.cpp:264 IPASoft: 
Exposure 4-2320, gain 0-248 (1)
cam0: Capture 10 frames
135632.817578 (0.00 fps) cam0-stream0 seq: 000000 bytesused: 6289920
```

So, for libcamera/questing, backport that commit is the only thing I
will do for Questing. For Resolute, stay tuned.

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

Title:
  libcamera version in Ubuntu 25.10 is too old to support IPU7 / Lunar
  Lake cameras via Simple/SoftISP pipeline

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


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

Reply via email to