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