[Bug 2138706] Re: OV02C10 camera unusable on Lenovo Yoga Slim 7x (hangs and color artifacts)

Saikiran 2138706 at bugs.launchpad.net
Tue Jan 20 08:51:24 UTC 2026


Configuration & Setup:

For general context on the libcamera stack for X1E devices, see:
https://github.com/alexVinarskis/linux-x1e80100-zenbook-a14#camera-configuration

1. Kernel Configuration:

The OV02C10 driver is not enabled by default in some defconfigs. Ensure
the following symbol is set to build as a module:

2. Userspace Requirements (Libcamera):

The sensor operates via the `simple` pipeline handler using SoftISP (Software Image Signal Processor).
Ensure the following packages are installed:

libcamera-tools libcamera-ipa gstreamer1.0-libcamera

3. Color Tuning (Optional, for Community Help):

The Bayer pattern fix commit resolves the major green tint. The YAML tuning file is for further userspace color tuning only.
If anyone in the community can help improve the color accuracy, please see and experiment with the attached ov02c10.yaml file.


** Attachment added: "YAML tuning file"
   https://bugs.launchpad.net/ubuntu-concept/+bug/2138706/+attachment/5940014/+files/ov02c10.yaml

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

Title:
  OV02C10 camera unusable on Lenovo Yoga Slim 7x (hangs and color
  artifacts)

Status in ubuntu-concept:
  New

Bug description:
  This patch set addresses three critical issues with the OV02C10 camera
  sensor on the Lenovo Yoga Slim 7x (Snapdragon X Elite), making the
  camera fully functional and stable.

  1. System Hang & I2C Timeout Fix (Critical) Issue: The system would
  hang or crash with a kernel oops during camera usage, or fail to
  initialize with "master 1 queue 0 timeout" errors. Cause: A race
  condition in ov02c10_remove() where resources were freed before
  powering off, causing use-after-free errors when interacting with
  PipeWire/WirePlumber. Additionally, internal sensor reset timings were
  too aggressive. Fix: Reordered cleanup sequence to disable Runtime PM
  before freeing resources and relaxed reset timings (5ms assert, 20ms
  post-delay) to ensure reliable boot.

  2. Color Pattern Fix Issue: Images had a severe green/incorrect color
  tint that could not be corrected by simple white balance. Cause: The
  driver was reporting SBGGR10 (or SGBRG10), but the actual physical
  sensor layout on this device is SGRBG10. Fix: Updated ov02c10.c to
  report MEDIA_BUS_FMT_SGRBG10_1X10.

  Impact: With these patches applied, the camera is stable across
  repeated sessions, oriented correctly, and produces sharp images
  (userspace tuning is still required for perfect color balance, but the
  raw format is now physically correct).

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




More information about the foundations-bugs mailing list