Bug 2346224

Summary: IPU6 camera on Dell Precision 5690 laptop not working
Product: [Fedora] Fedora Reporter: fnerdman <fnerdman>
Component: kernelAssignee: Hans de Goede <hdegoede>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 41CC: acaringi, adscvr, airlied, bskeggs, hdegoede, hpa, josef, kernel-maint, linville, masami256, mchehab, ptalbert, steved, suraj.ghimire7
Target Milestone: ---   
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:
Bug Depends On: 2341736    
Bug Blocks:    
Attachments:
Description Flags
Required logs
none
Logs with the patched kernel none

Description fnerdman 2025-02-18 08:13:42 UTC
Fedora 41
6.12.13-200.fc41.x86_64

Try to open webcam, using https://mozilla.github.io/webrtc-landing/gum_test.html on firefox:
Error: NotReadableError: Failed to allocate videosource

Using Gnome Camera: No Error but black input

Reproducible: Always

Reproducible: Always

Comment 1 fnerdman 2025-02-18 08:16:18 UTC
Created attachment 2076951 [details]
Required logs

Logs as described in https://fedoraproject.org/wiki/Changes/X86_MIPI_CameraHwEnablement#How_To_Test

Comment 2 Hans de Goede 2025-03-26 09:12:19 UTC
Thank you for filing this bug and for the logs.

Looking at the logs, this laptop is using an ov02e10 (OVTI02E1) sensor which is not yet supported in mainline / Fedora's kernels. Work is underway to get support for this added to the mainline kernels:

https://lore.kernel.org/linux-media/20250325-b4-media-comitters-next-25-03-13-ov02e10-v2-0-4d933ac8cff6@linaro.org/

Adding support for the ov02e10 sensor is being tracked in bug 2341736.

Comment 3 Hans de Goede 2025-03-26 09:28:04 UTC
As a workaround you can install the out of tree IPU6 drivers + binary only userspace stack from rpmfusion. This does come with ov02e10 support.

Note since this uses an out of tree kernel module build as unsigned akmod you need to disable secureboot for this to work; or alternatively sign the kmod with your own local key (instructions: https://rpmfusion.org/Howto/Secure%20Boot).

First enable both the rpmfusion-free and rpmfusion-nonfree repositories, for instructions see https://rpmfusion.org/Configuration and then run "sudo dnf install akmod-intel-ipu6"

Comment 4 Hans de Goede 2025-03-26 20:56:53 UTC
I have prepared a test-kernel with the following patches:

1. 2 hi566 power-on sequence fixes (not posted upstream yet)
2. ov02c10 support https://lore.kernel.org/linux-media/20250319145927.70534-1-hdegoede@redhat.com/
3. ov02e10 support https://lore.kernel.org/linux-media/20250325-b4-media-comitters-next-25-03-13-ov02e10-v2-2-4d933ac8cff6@linaro.org/
4. Lattice / usbio handshake pin support https://lore.kernel.org/platform-driver-x86/20250325161340.342192-1-hdegoede@redhat.com/

This should make the camera on the laptop from this bug work, please give the test kernel a try:

https://koji.fedoraproject.org/koji/taskinfo?taskID=130775742

Here are some instructions for directly installing a kernel from koji:

https://fedorapeople.org/~jwrdegoede/kernel-test-instructions.txt

Comment 5 fnerdman 2025-04-01 18:01:28 UTC
Created attachment 2082964 [details]
Logs with the patched kernel

Comment 6 fnerdman 2025-04-01 18:03:22 UTC
Tried this patched kernel but still no success. I can see a lot of ipu6 devices to choose from the dropdown menu in firefox, tried the first two so far without luck, I get an "NotReadableError: Failed to allocate videosource" error. Gnome Camera also does not work. Haven't tried the rpmfusion approach yet.