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
Created attachment 2076951 [details] Required logs Logs as described in https://fedoraproject.org/wiki/Changes/X86_MIPI_CameraHwEnablement#How_To_Test
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.
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"
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
Created attachment 2082964 [details] Logs with the patched kernel
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.