You are not logged in.
Hi!
I've been following this thread and used the script from @stefanpartheym, which installed everything smoothly!
I can run `sudo -E LANG=C gst-launch-1.0 icamerasrc ! video/x-raw,format=NV12,width=1280,height=720 ! videoconvert ! ximagesink` and a window with the camera capture pops up. So apparently the camera is working!
My issue is that the camera it's not recognized on Chrome or any other app (like jitsi or teams).
I read here in this thread that to use it within the browser one needs to have the terminal open, but which command? Or maybe I'm missing a plugin or other package...
Does anyone have some hint?
Many thanks!!!
Did you try to make a file called `/etc/modprobe.d/v4l2loopback.conf` with the following contents: `options v4l2loopback exclusive_caps=1` @stefanpartheym github repo used to have instructions how to reload the v4l2loopback kernel module with that setting enabled, I just set it using a modprobe.d config file instead. The reason to use exclusive_caps=1 was to fix compatibility in some programs. I don't know why it was removed from the readme
Offline
Did you try to make a file called `/etc/modprobe.d/v4l2loopback.conf` with the following contents: `options v4l2loopback exclusive_caps=1` @stefanpartheym github repo used to have instructions how to reload the v4l2loopback kernel module with that setting enabled, I just set it using a modprobe.d config file instead. The reason to use exclusive_caps=1 was to fix compatibility in some programs. I don't know why it was removed from the readme
Thanks a lot @sigboe for answering! I tried that but still the applications do not recognize the camera device... :-(
Offline
Could not get the video drivers working on 6.2.8, anyone here could? The loopback interface seems to work, but the image on the camera is black
Offline
I got to compile with 6.2.8 but have a similar problem as @brandimarte sending a pipeline to ximagesink I can see the camera ok, but chrome for example recognizes the camera, but shows everything pitch black.
Offline
I also got `ximagesink` to work, but when I use `v4l2sink /dev/video1` and try to use cheese or obs, it only shows a frame and freezes. I got it to update some frames with `v4l2-ctl -d /dev/video1 -c sustain_framerate=0 -c keep_format=0`, but it is still not smooth. I don't know what is causing this issue. I am on Linux 6.1.
Offline
Hi! I am having trouble executing the command with v4l2sink.
When I run `sudo -E gst-launch-1.0 icamerasrc buffer-count=7 device-name=ov01a10-uf ! video/x-raw,format=YUY2,width=1280,height=720 ! v4l2sink device=/dev/video0`, I receive the message: WARNING: erroneous pipeline: no element "v4l2sink".
Does anyone have any idea what might be causing this error?
Any insights or suggestions would be greatly appreciated! Thanks!
Offline
Hi! I am having trouble executing the command with v4l2sink.
When I run `sudo -E gst-launch-1.0 icamerasrc buffer-count=7 device-name=ov01a10-uf ! video/x-raw,format=YUY2,width=1280,height=720 ! v4l2sink device=/dev/video0`, I receive the message: WARNING: erroneous pipeline: no element "v4l2sink".
Does anyone have any idea what might be causing this error?
Any insights or suggestions would be greatly appreciated! Thanks!
This plugin is not included in GStreamer base plugin package. Try install gst-plugins-good and/or gst-plugins-bad if you are on wayland and need waylandsink for the testing script.
Last edited by fhftsai256 (2023-05-03 12:19:18)
Offline
Thanks a lot @fhftsai256!
Installing gst-plugins-good solve it!
I had to remove the caps part (as mentioned here before by @potuz): `sudo -E gst-launch-1.0 icamerasrc buffer-count=7 device-name=ov01a10-uf ! v4l2sink device=/dev/video0`
Offline
I'm having trouble with kernel 6.5.1, the module ov01a10 is now included in the kernel and there seems to be some mismatch with the ipu6 drivers repo. Anyone running these newer kernels?
Edit: trying to rebuild everything the latest ipu6-camera-hal fail not finding libacss, where do I find that one?
Edit2... icamerasrc fails to build with
gstcamerawfovinterface.h:103:70: error: ‘camera_view_projection_t’ has not been declared
103 | gboolean (*set_view_projection) (GstCamerasrcWFOV *camWFOV, camera_view_projection_t projection);
And similar, the experience with this laptop has been a pain... every single time I need to update the kernel I waste an entire day trying to get the camera to work again. It seems that this time I'll fail
Seems like this last error is known https://aur.archlinux.org/packages/icamerasrc-git
Last edited by potuz (2023-09-04 16:29:38)
Offline
Some update, I managed to get `ipu6-camera-hal` to compile with `CFLAGS=-O2 CXXFLAGS=-O3 ./build.sh --board ipu_adl` The problem is the newer glibc do not allow you to use FORTIFIED_SOURCE without optimizations
Offline
I've been using the camera on this Dell ever since I bought it by banging my head against the wall every single time I needed to recompile the kernel to update it. This time instead of manually compiling and installing the drivers I decided to try to simply do ` yay -S icamerasrc-git`.. but now not only does the camera not work but I get these pretty scary logs at boot time
Mar 04 16:40:18 forkchoice kernel: BUG: kernel NULL pointer dereference, address: 0000000000000090
Mar 04 16:40:18 forkchoice kernel: #PF: supervisor read access in kernel mode
Mar 04 16:40:18 forkchoice kernel: #PF: error_code(0x0000) - not-present page
Mar 04 16:40:18 forkchoice kernel: note: irq/152-mei_vsc[559] exited with irqs disabled
Mar 04 16:40:18 forkchoice kernel: kernel tried to execute NX-protected page - exploit attempt? (uid: 0)
...
Mar 04 16:40:18 forkchoice kernel: BUG: unable to handle page fault for address: ffff9601102e20c0
Mar 04 16:40:18 forkchoice kernel: #PF: supervisor instruction fetch in kernel mode
Mar 04 16:40:19 forkchoice kernel: #PF: error_code(0x0011) - permissions violation
Is there any simple way of running the camera on this device or am I still supposed to install these drivers manually. Which now just became harder since I need to remove the whole mess of intertwined packages that the AUR dmks modules installed
Last edited by potuz (2024-03-04 19:47:40)
Offline
FYI, to anyone looking to the future of these cameras. Intel has finally been putting in the effort to get the drives/firmware upstreamed. This allegedly works for certain hardware already if you build the proposed patches, something jwrdegoede has done for Fedora. Information can be found in links below. If I get time I might try this on Arch.
https://lwn.net/ml/linux-media/20240111 … intel.com/
https://copr.fedorainfracloud.org/coprs … 6-softisp/
Last edited by acegallagher (2024-03-26 01:13:12)
Offline
Offline
Package 6.10.arch1-2 is out as of July 23, 2024. Are these issues gone now?
Offline
Package 6.10.arch1-2 is out as of July 23, 2024. Are these issues gone now?
Nope( libcamera does not currently support
Offline
Running Kernel 6.10.5 now, this kernel has upstream support of many of the modules that were needed to install manually before. I installed `v4l2loopback` manually, but still can't get the camera to work. What am I missing from the native kernel ones?
$ lsmod | grep -e ipu -e ov0
ov01a10 24576 0
v4l2_fwnode 32768 1 ov01a10
v4l2_async 32768 2 v4l2_fwnode,ov01a10
intel_ipu6 86016 0
videodev 389120 4 v4l2_async,v4l2_fwnode,ov01a10,v4l2loopback
ipu_bridge 24576 1 intel_ipu6
mc 90112 3 v4l2_async,videodev,ov01a10
EDIT: seems to be the module `mei_csi` which I think is part of the `ivsc-driver` repo. But I can't compile that repo against the 6.10.5 headers
EDIT2: seems the maintainers of `ivsc-driver` are sending people to use the upstream driver, which I have already set in the config, however CONFIG_INTEL_MEI_CSI does not exist in this kernel
Last edited by potuz (2024-08-19 14:47:44)
Offline