You are not logged in.

#101 2023-03-13 10:28:40

sigboe
Member
Registered: 2023-01-02
Posts: 7

Re: Dell XPS 13 Plus 9320: Camera issues (Intel IPU6 MIPI on Alder Lake)

brandimarte wrote:

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

#102 2023-03-20 07:41:46

brandimarte
Member
Registered: 2016-06-09
Posts: 4

Re: Dell XPS 13 Plus 9320: Camera issues (Intel IPU6 MIPI on Alder Lake)

sigboe wrote:

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

#103 2023-03-28 19:20:55

potuz
Member
Registered: 2009-10-23
Posts: 108

Re: Dell XPS 13 Plus 9320: Camera issues (Intel IPU6 MIPI on Alder Lake)

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

#104 2023-03-31 18:01:01

potuz
Member
Registered: 2009-10-23
Posts: 108

Re: Dell XPS 13 Plus 9320: Camera issues (Intel IPU6 MIPI on Alder Lake)

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

#105 2023-04-07 11:35:40

Pavilion9242
Member
Registered: 2023-04-05
Posts: 1

Re: Dell XPS 13 Plus 9320: Camera issues (Intel IPU6 MIPI on Alder Lake)

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

#106 2023-04-13 07:17:33

brandimarte
Member
Registered: 2016-06-09
Posts: 4

Re: Dell XPS 13 Plus 9320: Camera issues (Intel IPU6 MIPI on Alder Lake)

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

#107 2023-04-29 18:47:27

fhftsai256
Member
Registered: 2020-05-12
Posts: 11

Re: Dell XPS 13 Plus 9320: Camera issues (Intel IPU6 MIPI on Alder Lake)

brandimarte wrote:

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

#108 2023-05-02 20:57:53

brandimarte
Member
Registered: 2016-06-09
Posts: 4

Re: Dell XPS 13 Plus 9320: Camera issues (Intel IPU6 MIPI on Alder Lake)

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

#109 2023-09-04 15:41:00

potuz
Member
Registered: 2009-10-23
Posts: 108

Re: Dell XPS 13 Plus 9320: Camera issues (Intel IPU6 MIPI on Alder Lake)

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

#110 2023-09-05 11:41:47

potuz
Member
Registered: 2009-10-23
Posts: 108

Re: Dell XPS 13 Plus 9320: Camera issues (Intel IPU6 MIPI on Alder Lake)

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

Board footer

Powered by FluxBB