Bug 2368952

Summary: Lenovo thinkbook-13x-gen4 ipu6 + ov02c10 upside down image
Product: [Fedora] Fedora Reporter: makrushka <mat.mcroci>
Component: kernelAssignee: Hans de Goede <hans>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: acaringi, adscvr, airlied, hdegoede, hpa, josef, kernel-maint, linville, masami256, mchehab, ptalbert, steved, suraj.ghimire7
Target Milestone: ---Keywords: Desktop, HardwareEnablement
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description makrushka 2025-05-28 13:33:35 UTC
1. Please describe the problem:

Laptop camera feed is upside down both system-wide (not only cheese/Firefox) in kernels 6.14.6 and 6.14.8. Works fine in kernel 6.14.5. 

2. What is the Version-Release number of the kernel:

kernel-core-6.14.8-300.fc42.x86_64

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :

It did work in kernel-core-6.14.5-300.fc42.x86_64

4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:

Just open whatever software that uses the camera.

Reproducible: Always

Comment 1 makrushka 2025-05-28 13:36:53 UTC
journalctl --no-hostname -k | grep ipu6
May 28 10:23:27 kernel: intel-ipu6 0000:00:05.0: enabling device (0000 -> 0002)
May 28 10:23:27 kernel: intel-ipu6 0000:00:05.0: Found supported sensor OVTI02C1:00
May 28 10:23:27 kernel: intel-ipu6 0000:00:05.0: Connected 1 cameras
May 28 10:23:27 kernel: intel-ipu6 0000:00:05.0: Sending BOOT_LOAD to CSE
May 28 10:23:27 kernel: intel-ipu6 0000:00:05.0: Sending AUTHENTICATE_RUN to CSE
May 28 10:23:27 kernel: intel-ipu6 0000:00:05.0: CSE authenticate_run done
May 28 10:23:27 kernel: intel-ipu6 0000:00:05.0: IPU6-v4[7d19] hardware version 6
May 28 10:23:27 kernel: intel_ipu6_psys.psys intel_ipu6.psys.40: pkg_dir entry count:8
May 28 10:23:27 kernel: intel_ipu6_psys.psys intel_ipu6.psys.40: psys probe minor: 0
May 28 10:23:58 kernel: intel_ipu6_isys.isys intel_ipu6.isys.40: csi2-0 error: Frame sync error
May 28 10:28:33 kernel: intel_ipu6_isys.isys intel_ipu6.isys.40: csi2-0 error: Frame sync error
May 28 10:30:11 kernel: intel_ipu6_isys.isys intel_ipu6.isys.40: csi2-0 error: Frame sync error
May 28 10:30:31 kernel: intel_ipu6_isys.isys intel_ipu6.isys.40: csi2-0 error: Frame sync error
May 28 11:34:00 kernel: intel-ipu6 0000:00:05.0: IPU6 in secure mode
May 28 14:58:25 kernel: intel-ipu6 0000:00:05.0: IPU6 in secure mode
May 28 15:31:22 kernel: intel_ipu6_isys.isys intel_ipu6.isys.40: csi2-0 error: Frame sync error

Comment 2 makrushka 2025-05-29 08:32:05 UTC
Forgot to add two extra details:

1- I am using the rpmfusion akmods. The open source drivers seem to not work at all for me.

2- Reports from other users here:

https://github.com/craigcabrey/thinkbook-13x-gen4-enablement/issues/7#issuecomment-2917695665

Suggest that the latest ipu6 drivers from https://github.com/intel/ipu6-drivers compiled from source do work so this may just require updating the rpmfusion drivers.

Comment 3 makrushka 2025-06-19 14:44:37 UTC
Still occurring on 6.14.11

Comment 4 makrushka 2025-07-16 15:17:20 UTC
Still occurring on latest kernel

Comment 5 Hans de Goede 2025-10-01 19:03:10 UTC
Thank you for reporting this.

This is a bug in the sensor driver, which should be fixed by this upstream patch:

https://lore.kernel.org/linux-media/20250820-ov02c10-fix-v1-0-3fcca2cfbfbf@kernel.org/

I'll try to get this backported to the Fedora kernels sometime during the next weeks.