Open treiher opened 11 months ago
The problem seems to be caused by v4l2-relayd. I'm able to use the webcam in Chromium after running
sudo -E gst-launch-1.0 icamerasrc buffer-count=7 device-name=ov01a10-uf ! video/x-raw,format=NV12,width=1280,height=720 ! v4l2sink device=/dev/video8
(as described in https://github.com/stefanpartheym/archlinux-ipu6-webcam/issues/33#issuecomment-1762967139).
Hi @treiher, are you still having issues? If so, try to update to the latest kernel version and use a fresh clone of this repo to install the drivers.
Hi @stefanpartheym,
Unfortunately, the issue still persists with the latest kernel version and a fresh installation of the drivers using the current main
(d3e96251bee388a40d863eac68b81ddc2c11016c). Even worse, the workaround mentioned in https://github.com/stefanpartheym/archlinux-ipu6-webcam/issues/48#issuecomment-1778778160 does not work anymore. :frowning_face:
❯ sudo -E gst-launch-1.0 icamerasrc buffer-count=7 device-name=ov01a10-uf ! video/x-raw,format=NV12,width=1280,height=720 ! v4l2sink device=/dev/video8
[11-23 10:34:32.376] CamHAL[ERR] Malformed ET range in exposure time range configuration
[11-23 10:34:32.376] CamHAL[ERR] Parse AE eExposure time range failed
[11-23 10:34:32.376] CamHAL[ERR] Malformed ET range in exposure time range configuration
[11-23 10:34:32.376] CamHAL[ERR] Parse AE gain range failed
Setting pipeline to PAUSED ...
[11-23 10:34:32.453] CamHAL[INF] aiqb file name ov01a10.aiqb
[11-23 10:34:32.453] CamHAL[INF] aiqb file name ov01a10.aiqb
[11-23 10:34:32.454] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[11-23 10:34:32.454] CamHAL[ERR] GetControl: Device node /dev/v4l-subdev16 IOCTL VIDIOC_G_EXT_CTRLS error: Invalid argument
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/Gstcamerasrc:camerasrc0: src pad: Internal data flow error.
Additional debug info:
gstcambasesrc.cpp(3153): gst_cam_base_src_loop (): /GstPipeline:pipeline0/Gstcamerasrc:camerasrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:00.000228848
Setting pipeline to NULL ...
Freeing pipeline ...
Hi @treiher,
what kernel version are you currently on?
@stefanpartheym I have switched to the LTS kernel (6.6.x) after getting a kernel panic when booting with 6.7.x. v4l2-relayd still doesn't work for me, but I can use the webcam with the gst-launch-1.0
workaround mentioned above.
@treiher: Trivial question, but have you tried reinstalling the packages (from a freshly cloned repo)? Otherwise I really have no clue, why v4l2 fails tbh.
FWIW, also on a 5480 and I am unable to get my webcam running on 6.8.4-arch1-1
with the latest commit.
FWIW, also on a 5480 and I am unable to get my webcam running on
6.8.4-arch1-1
with the latest commit.
Yep, kernel v6.8.x
and v6.9.x
won't work. You need an LTS kernel, or wait for v6.10.x
release (as mentioned in #80 and #82).
Are there any hints as to what else would be missing given a v6.10.x
release installed on the system?
I'm on 6.10.2-arch1-1
but was thus far unable to get a working internal camera setup.
Unfortunately, in contrast to #47 the webcam still does not work for me after installation. I'm using Arch Linux with kernel version
6.5.8-arch1-1
on aDell Precision 5480
. I used the state of today'smain
branch (698d5ad) for the installation. The camera works when executingtest.sh
.install.sh
ran completely without any errors. After a reboot, the webcam still doesn't work. A "Virtual Camera" is detected, but there is no output (the screen just keeps being black when trying the WebRTC sample).v4l2-relayd[876]: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed
pops up every time an attempt is made to use the webcam.Any ideas why it doesn't work for me?