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.
I am running the rpmfusion packages on Fedora42. It kinda works, but if you leave it running for a few seconds it starts to flicker like it's trying to show you what having an epilepsy is like. I have tried with both `ipu6-driver-select foss/proprietary` and it gives the same result.
(In reply to fnerdman from comment #6) > 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. Thank you for testing. Looking at your logs it seems that for some reason the ov02e10 driver fails to communicate with the sensor. The ov02e10 sensor patch has now landed upstream: https://git.linuxtv.org/media.git/commit/?id=1c734f8ab070716604d0794094e18de3475c8eeb And I've backported this to the Fedora kernels starting with kernel-6.14.6-300.fc42. Can you please update to a Fedora kernel >= kernel-6.14.6-300.fc42 and try running qcam and see if you get a picture. If things still do not work, please collect a new dmesg with the new kernel.
Seems it's not yet part of 6.15.4 release: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/media/i2c/Makefile?h=v6.15.4 ↪ uname -a Linux voytpc 6.15.4-arch2-1 #1 SMP PREEMPT_DYNAMIC Fri, 27 Jun 2025 16:35:07 +0000 x86_64 GNU/Linux ↪ modprobe ov02e10 modprobe: FATAL: Module ov02e10 not found in directory /lib/modules/6.15.4-arch2-1
Good news the just released 6.17 kernel has support for the IPU7 CSI2 receiver and the missing USBIO drivers have recently landed in linux-next. I have backported the USBIO drivers + a few other camera fixes to the Fedora 6.17 kernel: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/4105 I've also prepared an updated libcamera-0.5.2 Fedora package with support for IPU7 (Lunar Lake) CSI2 receivers as well as backporting a set of upstream SwStats and AGC fixes, fixing various crashes as well as the bad flicker MIPI camera users have been hitting with libcamera 0.5.2. Together these 2 updates should make the FOSS MIPI camera support work on most Meteor Lake, Lunar Lake and Arrow Lake laptops: https://bodhi.fedoraproject.org/updates/FEDORA-2025-a2b653cff6 https://bodhi.fedoraproject.org/updates/FEDORA-2025-bdeff04027 Please install these updates, disable the proprietary stack from rpmfusion (if installed) by running: "sudo ipu6-driver-select foss", reboot and give the new drivers a try by running qcam, snapshot or video-conferencing in Firefox. After testing please report the testing results in this bug. If things work well for you please leave positive feedback on the updates in bodhi. Note snapshot on Lunar Lake triggers a bug in the LNL Vulkan code, to avoid this start snapshot from a terminal with: GSK_RENDERER=gl snapshot
As mentioned in the previous comment and also here: https://hansdegoede.dreamwidth.org/31089.html This should be fixed by the latest F43 kernel + libcamera builds, closing.