Closed hinricht closed 1 year ago
already tried and that sadly did nope help
@alba4k do you use dracut?
I do:
~ $ pacman -Q|grep drac
dracut 059-0.4
kernel-install-for-dracut 1.9.1-1
@alba4k do you use dracut?
I do:
~ $ pacman -Q|grep drac dracut 059-0.4 kernel-install-for-dracut 1.9.1-1
Yup, must be kernel-install. Making another arch install with kernel install enabled and lets see what happens
I am not using either though, so I'm thinking this may actually be two different issues?
Really sorry mate. Why did I forget to answer to this question :/ kernel-install actually comes with systemd. You will see it in action whenever you install a kernel.
@alba4k and anyone else around. can you do these for me?
git clone --branch fix_and_rework https://github.com/striczkof/archlinux-ipu6-webcam.git && cd archlinux-ipu6-webcam
./uninstall.sh
rm ~/.cache/gstreamer-1.0/registry.x86_64.bin
./install.sh
./test.sh
sudo dmesg | grep ipu
systemctl status v4l2-relayd
v4l2-ctl --list-devices
gst-inspect-1.0 icamerasrc # (if this is empty, icamerasrc should be blacklisted still)
gst-inspect 1.0 # (first few lines show blacklist reasons, last line/s show why)
that was hard to read xd
But it does show that your icamerasrc is blacklisted. Assuming you already deleted the registry cache. Can I see your groups
?
Sure, here you go:
whoops, I mean I want to know what's your user's group, like what shows up when you type in groups
in terminal
$ groups
network power rfkill video lp wheel hinricht
so you do have video group.
I seriously don't get this one. Ha! time to reinstall EndeavourOS again and see what I get from gst-inspect
Sorry that my case is such a hard one :disappointed: If you want to use the same setup as I do: I'm running Manjaro Sway Editor updated to the latest package updates as of today (+ dracut, kernel-install-for-dracut).
FUCK
KERNEL-INSTALL + DRACUT
PERFECT
Think we're getting close. kernel-install seems to break the udev permission. Thus the permission denied error and subsequent blacklist.
Absolute appreciate it mate. This will help people in the future so they don't get screwed by the same bug again.
Hi, I will post everything this evening (~16 UTC), as I am currently at school
Thanks! Based on my testing, the icamerasrc blacklist issue appears to be irrelevant anyways as the kernel_install part of my kernel upgrade kills the camera stack permanently anyway by causing the firmware to fail loading. Gotta try to narrow it down furthermore. But fresh logs are still awesome to work on.
@alba4k can you send me a log of your pacman -S linux
and let me see if you have a kernel-install set up?
sorry for the delay. I am currently installing from your fork, will post the outputs of everything asap
@striczkof Update on this
As someone already mentioned in #42, The build seems to fail with ==> ERROR: 70-ipu6-psys.rules was not found in the build directory and is not a URL.
(Related to icamerasrc-git`
Oh man, I forgot about that file again. It's added manually by package function but I forgot to remove it from the sources oops
Should be fixed now, let's see how this goes
Uh hey everyone. Sorry, I just murdered my Dell XPS 13 Plus in an extremely stupid liquid metal repasting accident. (100/10 thermals but ded in 10 hours after going home from uni due to blobs of death running amok so 10/10 would recommend again if using barriers) Until Dell support replaces my motherboard, (Dell Premium Support with Accident Protection worth it) I can't help at all with debugging and stuff but I will be completing my PR since that fixes the issue for most people without this extremly rare issue.
@alba4k I've noticed that your firmware somehow loads successfully but your HAL seems to get the wrong device again. I'm starting to think it might be a HAL issue. I gotta check once I get my laptop sorted out. Also wondering, what hook runs this? I have never seen this before. Maybe something similar to kernel-install?:
:: Running post-transaction hooks...
(1/6) Restoring Linux kernel modules...
++ uname -r
+ KVER=6.5.5-zen1-1.1-zen
+ test -e /usr/lib/modules/backup/6.5.5-zen1-1.1-zen
+ rsync -AHXal --ignore-existing /usr/lib/modules/backup/6.5.5-zen1-1.1-zen /usr/lib/modules/
+ rm -rf /usr/lib/modules/backup
Your test logs seem to be interesting though, think I saw that sometime ago but not so sure:
...
[10-02 23:05:18.515] CamHAL[ERR] Failed to find DevName for cameraId: 0, get video node: ov13b10 , devname: /dev/v4l-subdev1
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[10-02 23:05:18.524] CamHAL[ERR] Get entity fail for calling getEntityById
[10-02 23:05:18.524] CamHAL[ERR] Get entity fail for calling getEntityById
[10-02 23:05:18.524] CamHAL[ERR] setup Link ov13b10 [-1:0] ==> Intel IPU6 CSI-2 [-1x0] enable 1 failed.
[10-02 23:05:18.524] CamHAL[ERR] set MediaCtlConf McLink failed: ret = -1
[10-02 23:05:18.524] CamHAL[ERR] set up mediaCtl failed
[10-02 23:05:18.524] CamHAL[ERR] @configure Device Configure failed
[10-02 23:05:18.524] CamHAL[ERR] failed to config streams.
ERROR: from element /GstPipeline:pipeline0/Gstcamerasrc:camerasrc0: src pad: Internal data flow error.
Additional debug info:
gstcambasesrc.cpp(3143): gst_cam_base_src_loop (): /GstPipeline:pipeline0/Gstcamerasrc:camerasrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:00.004169517
Setting pipeline to NULL ...
Freeing pipeline ...
@hinricht Since @alba4k is not using kernel-install itself and you do, and the firmware fails to you unlike his setup. Kernel-install is most likely the culprit. Now, time to figure out how kernel-install works then see how it messes up the firmware somehow. But you might also still have the HAL issue like him. But now you have an entirely different error when testing it compared to @alba4k 's:
...
[10-02 08:04:40.803] CamHAL[ERR] Failed to find DevName for cameraId: 0, get video node: ov13b10 , devname: /dev/v4l-subdev1
[10-02 08:04:40.805] CamHAL[ERR] MediaControl init failed
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...
[10-02 08:04:40.988] CamHAL[WAR] Seems camera device 0 is not closed properly (pid 3301).
Massive thanks to all your help mates! I will keep investigating this weekend or after hopefully. Either I get my motherboard replaced or I have to grind my arse for a month to buy a new one lmao
Damm, sorry for your laptop ahah, did you just not at all use barriers for the metal? What temps were you getting before and after, jusr out of curiosity?
that script you see should not be the issue, all it does is copy the old kernel modules into a backup folder and copying them back after pacman deleted the original ones (so the system remains usable), which should not be related to our issue here. I believe you can find it in extra as kernel-modules-hook
or smth like that.
As for the camera issues, is there anything that you'd want me to try while wating?
I installed kernel 6.5.5-1-MANJARO
today (6.6 doesn't work for me) and gave my webcam another try.
I could run the uninstall + install script fine, after reboot I get this now:
archlinux-ipu6-webcam $ ./test.sh
[sudo] password for varac:
WARNING: erroneous pipeline: no element "icamerasrc"
~ $ pacman -Q|grep icamerasrc
icamerasrc-git r65.931412a-1
Hey everyone, just got my laptop fixed a week ago but schoolwork and stuff happened. I will be working on testing and getting those workarounds.
But I have a very good news for people using dracut. Especially @hinricht ! Thanks to https://github.com/stefanpartheym/archlinux-ipu6-webcam/issues/33#issuecomment-1762967139 I just figured out a dracut config that works best (for now). Unlike his comment, I thought that it would just be better to drop the drivers from early loading unless someone wants to take a picture of themselves whilst booting up Arch lol Try this one then reinstall your kernels/run dracut manually:
sudo sh -c 'echo -e omit_drivers+=\" intel_ipu6 intel_ipu6_isys intel_ipu6_psys intel_vsc mei_vsc v4l2loopback \" > /etc/dracut.conf.d/ipu6.conf'
and just in case:
sudo rm /root/.cache/gstreamer-1.0/registry.x86_64.bin
rm ~/.cache/gstreamer-1.0/registry.x86_64.bin
Let me know what you guys think!
I will also post pictures taken before/after the liquid metal disaster tomorrow lol
Hej @striczkof thanks for getting back to this. I tried
Sadly, no luck still :(
Here's the test.sh output:
rip. Can you send me your entire dmesg logs?
@striczkof Sure, here you go:
@hinricht it's still loading in the initramfs for some reason, even though omitted. Can you try doing something like sudo dracut --uefi --verbose
and send me.the logs? it shows you what files are inside the initramfs
Here you go: dracut.log.txt
$ sudo cat /etc/dracut.conf.d/ipu6.conf
omit_drivers+=" intel_ipu6 intel_ipu6_isys intel_ipu6_psys intel_vsc mei_vsc v4l2loopback "
Here you go: dracut.log.txt
$ sudo cat /etc/dracut.conf.d/ipu6.conf omit_drivers+=" intel_ipu6 intel_ipu6_isys intel_ipu6_psys intel_vsc mei_vsc v4l2loopback "
ipu6 is indeed not included in the dracut and should never even load in the initramfs. did you ever rerun dracut/reinstall the kernel before testign the camera? can you do something like sudo pacman -S linux
or whatever kernel you are using just to trigger the pacman hook, reboot, them test the camera again?
@striczkof YEAH :partying_face:
sudo pacman -S linux65
did the trick ! I don't know why dracut --uefi --verbose
was not enough, I tried rebooting afterwards without success. But now, after reinstalling the kernel (which triggers a dracut rebuild) the test.sh script runs and I can see my cam working:
$ archlinux-ipu6-webcam $ ./test.sh
Setting pipeline to PAUSED ...
[11-01 16:44:13.454] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
[11-01 16:44:13.454] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
[11-01 16:44:13.455] CamHAL[ERR] invalid media format, default value used.
[11-01 16:44:13.455] 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
(gst-launch-1.0:6274): GStreamer-CRITICAL **: 16:44:13.515: Registering meta implementation 'GstCamerasrcMeta' without init function
[11-01 16:44:13.515] CamHAL[ERR] sensor output sub device is not set
Redistribute latency...
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:03.810726952
Setting pipeline to NULL ...
Enter ia_aiq_get_aiqd_data()
Out-aiqd data size: 41480
[11-01 16:44:17.386] CamHAL[WAR] Failed to open file /run/camera/ov2740-uf_VIDEO.aiqd, error No such file or directory
Thanks so much !!!
I still cannot access my camera with cheese or chromium though, wonder where I should continue from here..
how are you running install.sh? you might need -as
how are you running install.sh? you might need -as
I'll try that in a bit. But for now: https://github.com/stefanpartheym/archlinux-ipu6-webcam/pull/51 :)
So now the WebRTC test works, as well as video in a zoom call.
The only thing which doesn't work is cheese, but this is not important for me (cheese-WARNING **: stream error: can't negotiate buffers on port: ../pipewire/src/gst/gstpipewiresrc.c(685): on_state_changed (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin36/GstPipeWireSrc:pipewiresrc1
, no matter which device I use from /dev/media0
, /dev/video0
or /dev/video1
)
Well, my system is not really known to work, but I have a Surface Pro 7+ with plain Arch Linux, and because it is a Surface device I use the Linux Surface kernel: Edit: I should probably add that I use 6.5.8-arch1-1-surface for the specific kernel version and I am running the Sway compositor
I have cloned this git repo, tried running install.sh, which worked. I also tried uninstall/reinstall with the scripts, but one thing modified slightly from the scripts was to use trizen as the package manager since that's what I use. I am in the "video" group.
Here's the last few lines of the output of ./test.sh if that's useful:
[11-07 14:04:45.12] CamHAL[ERR] Get entity fail for calling getEntityById
[11-07 14:04:45.12] CamHAL[ERR] Get entity fail for calling getEntityById
[11-07 14:04:45.12] CamHAL[ERR] setup Link ov13b10 [-1:0] ==> Intel IPU6 CSI-2 [-1x0] enable 1 failed.
[11-07 14:04:45.12] CamHAL[ERR] set MediaCtlConf McLink failed: ret = -1
[11-07 14:04:45.12] CamHAL[ERR] set up mediaCtl failed
[11-07 14:04:45.12] CamHAL[ERR] @configure Device Configure failed
[11-07 14:04:45.12] CamHAL[ERR] failed to config streams.
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.006304749
Setting pipeline to NULL ...
Freeing pipeline ...
As you can see, I get the exact same "internal flow error" I can provide more information if needed, thanks
I'll close this issue now, as it is reported as successfully working in PR #51 . Again, thanks for the effort guys :heart:
@striczkof wanna hear something funny?
I had the webcam disabled in the firmware...
Anyway, it still does not work, but that may or may not be linked to this driver being broken in 6.6, as I had disabled it a long time ago because of the driver not working at the time
Again, I still have no idea if it will work now, guess we'll have to see. Maybe
@striczkof wanna hear something funny?
I had the webcam disabled in the firmware...
Anyway, it still does not work, but that may or may not be linked to this driver being broken in 6.6, as I had disabled it a long time ago because of the driver not working at the time
Again, I still have no idea if it will work now, guess we'll have to see. Maybe
I came up with that idea but when I tried disabling the camera in the firmware, it showed me different errors in the logs, so ruled against it.
@alba4k Intel just fixed their driver now, see if it starts working for you.
@alba4k Intel just fixed their driver now, see if it starts working for you.
@striczkof Do you mean they fixed the issue related to kernel v6.6.x
? If so, we could consider updating the repo.
@alba4k Intel just fixed their driver now, see if it starts working for you.
@striczkof Do you mean they fixed the issue related to kernel
v6.6.x
? If so, we could consider updating the repo.
yup they did. the interesting thing is, it prolly breaks reverse compatibility with previous versions due to V4L2 changes. meaning, the current version only works with 6.6.x and beyond.
I'm doing it rn, and its gonna be a big one too
@striczkof yes it works!
@striczkof Thanks again for your help. I'm super happy with the camera support, and am wondering about the long term solution. I guess the official support will be integrated in the mainline kernel, making this project obsolete ? Or how can I imagine the transition to the official kernel module ? Do we need to uninstall drivers from this project at some point once the kernel ships the official modules/drivers ?
they will eventually get into the official kernel, there is work being done
We're probably not, however, talking about the next weeks or months: people have been working on this for pretty much 2 years already.
But yes, Probably the easiest thing will be to uninstall the packages from this repo as dkms won't be needed anymore
I'm trying to get my webcam working on
First, the installation failed during compiling
icamerasrc-git
but I got it succeeding following these instructions patching icamerasrc-git, and I could succeed with the install script. Here's the installation log:install.sh log
```console Sync Explicit (1): linux61-headers-6.1.31-1 warning: linux61-headers-6.1.31-1 is up to date -- skipping there is nothing to do # Build and install package: intel-ipu6-dkms-git ~/work/webcam/archlinux-ipu6-webcam/intel-ipu6-dkms-git ~/work/webcam/archlinux-ipu6-webcam ==> Making package: intel-ipu6-dkms-git-fix r100.8c02a846d-1 (Do 01 Jun 2023 21:42:05 CEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating ipu6-drivers git repo... ==> Validating source files with sha256sums... ipu6-drivers ... Skipped ==> Extracting sources... -> Creating working copy of ipu6-drivers git repo... Reset branch 'makepkg' ==> Starting prepare()... Cloning into 'ivsc-driver'... ==> Starting pkgver()... ==> WARNING: A package has already been built, installing existing package... ==> Installing package intel-ipu6-dkms-git-fix with pacman -U... warning: intel-ipu6-dkms-git-fix-r100.8c02a846d-1 is up to date -- reinstalling loading packages... resolving dependencies... looking for conflicting packages... Packages (1) intel-ipu6-dkms-git-fix-r100.8c02a846d-1 Total Installed Size: 1,45 MiB Net Upgrade Size: 0,00 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Running pre-transaction hooks... (1/1) Remove upgraded DKMS modules ==> dkms remove --no-depmod ipu6-drivers/r100.8c02a846d -k 6.1.31-1-MANJARO ==> dkms remove --no-depmod ipu6-drivers/r100.8c02a846d -k 6.3.5-1-MANJARO :: Processing package changes... reinstalling intel-ipu6-dkms-git-fix... :: Running post-transaction hooks... (1/2) Arming ConditionNeedsUpdate... (2/2) Install DKMS modules ==> dkms install --no-depmod ipu6-drivers/r100.8c02a846d -k 6.1.31-1-MANJARO Module version for ov2740.ko.zst exactly matches what is already found in kernel 6.1.31-1-MANJARO. DKMS will not replace this module. You may override by specifying --force. Module version for hi556.ko.zst exactly matches what is already found in kernel 6.1.31-1-MANJARO. DKMS will not replace this module. You may override by specifying --force. ==> dkms install --no-depmod ipu6-drivers/r100.8c02a846d -k 6.3.5-1-MANJARO Module version for ov2740.ko.zst exactly matches what is already found in kernel 6.3.5-1-MANJARO. DKMS will not replace this module. You may override by specifying --force. Module version for hi556.ko.zst exactly matches what is already found in kernel 6.3.5-1-MANJARO. DKMS will not replace this module. You may override by specifying --force. ==> depmod 6.1.31-1-MANJARO ==> depmod 6.3.5-1-MANJARO ~/work/webcam/archlinux-ipu6-webcam => SUCCESS # Install dependency for intel-ipu6ep-camera-hal-git AUR Explicit (1): intel-ipu6ep-camera-bin-r32.0797f74-1 :: [1mPKGBUILD up to date, skipping download: ipu6-camera-bin[0m 1 ipu6-camera-bin (Build Files Exist) ==> Packages to cleanBuild? ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) ==> 1 ipu6-camera-bin (Build Files Exist) ==> Diffs to show? ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) ==> ==> Making package: ipu6-camera-bin r32.0797f74-1 (Do 01 Jun 2023 21:42:26 CEST) ==> Retrieving sources... -> Updating ipu6-camera-bins git repo... ==> Validating source files with sha256sums... ipu6-camera-bins ... Skipped :: [1m(1/1) Parsing SRCINFO: ipu6-camera-bin[0m ==> Making package: ipu6-camera-bin r32.0797f74-1 (Do 01 Jun 2023 21:42:27 CEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating ipu6-camera-bins git repo... ==> Validating source files with sha256sums... ipu6-camera-bins ... Skipped ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Creating working copy of ipu6-camera-bins git repo... Cloning into 'ipu6-camera-bins'... done. ==> Starting pkgver()... ==> Updated version: ipu6-camera-bin r44.276859f-1 ==> Sources are ready. -> ipu6-camera-bin-r44.276859f-1 already made -- skipping build ==> Making package: ipu6-camera-bin r44.276859f-1 (Do 01 Jun 2023 21:42:30 CEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> WARNING: Using existing $srcdir/ tree ==> Starting pkgver()... ==> Sources are ready. warning: intel-ipu6ep-camera-bin-r44.276859f-1 is up to date -- reinstalling loading packages... resolving dependencies... looking for conflicting packages... Packages (1) intel-ipu6ep-camera-bin-r44.276859f-1 Total Installed Size: 13,39 MiB Net Upgrade Size: 0,00 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... reinstalling intel-ipu6ep-camera-bin... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... => SUCCESS # Build and install package: intel-ipu6ep-camera-hal-git ~/work/webcam/archlinux-ipu6-webcam/intel-ipu6ep-camera-hal-git ~/work/webcam/archlinux-ipu6-webcam ==> Making package: intel-ipu6ep-camera-hal-git-fix r56.884b81a-1 (Do 01 Jun 2023 21:42:31 CEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating ipu6-camera-hal git repo... ==> Validating source files with sha256sums... ipu6-camera-hal ... Skipped ==> Extracting sources... -> Creating working copy of ipu6-camera-hal git repo... Reset branch 'makepkg' ==> Starting pkgver()... ==> WARNING: A package has already been built, installing existing package... ==> Installing package intel-ipu6ep-camera-hal-git-fix with pacman -U... warning: intel-ipu6ep-camera-hal-git-fix-r56.884b81a-1 is up to date -- reinstalling loading packages... resolving dependencies... looking for conflicting packages... Packages (1) intel-ipu6ep-camera-hal-git-fix-r56.884b81a-1 Total Installed Size: 13,79 MiB Net Upgrade Size: 0,00 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... reinstalling intel-ipu6ep-camera-hal-git-fix... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ~/work/webcam/archlinux-ipu6-webcam => SUCCESS # Build and install package: v4l2-looback-dkms-git ~/work/webcam/archlinux-ipu6-webcam/v4l2-looback-dkms-git ~/work/webcam/archlinux-ipu6-webcam ==> Making package: v4l2loopback-dkms-git-fix r10.f94def5-1 (Do 01 Jun 2023 21:42:32 CEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating v4l2loopback git repo... ==> Validating source files with md5sums... v4l2loopback ... Skipped ==> Extracting sources... -> Creating working copy of v4l2loopback git repo... Reset branch 'makepkg' ==> Starting prepare()... patching file v4l2loopback.c patching file v4l2loopback.c patching file dkms.conf ==> Starting pkgver()... ==> WARNING: A package has already been built, installing existing package... ==> Installing package v4l2loopback-dkms-git-fix with pacman -U... warning: v4l2loopback-dkms-git-fix-r10.f94def5-1 is up to date -- reinstalling loading packages... resolving dependencies... looking for conflicting packages... Packages (1) v4l2loopback-dkms-git-fix-r10.f94def5-1 Total Installed Size: 0,23 MiB Net Upgrade Size: 0,00 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Running pre-transaction hooks... (1/1) Remove upgraded DKMS modules ==> dkms remove --no-depmod v4l2loopback/r10.f94def5 -k 6.1.31-1-MANJARO ==> dkms remove --no-depmod v4l2loopback/r10.f94def5 -k 6.3.5-1-MANJARO :: Processing package changes... reinstalling v4l2loopback-dkms-git-fix... :: Running post-transaction hooks... (1/2) Arming ConditionNeedsUpdate... (2/2) Install DKMS modules ==> dkms install --no-depmod v4l2loopback/r10.f94def5 -k 6.1.31-1-MANJARO ==> dkms install --no-depmod v4l2loopback/r10.f94def5 -k 6.3.5-1-MANJARO ==> depmod 6.1.31-1-MANJARO ==> depmod 6.3.5-1-MANJARO ~/work/webcam/archlinux-ipu6-webcam => SUCCESS # Build and install package: v4l2-relayd ~/work/webcam/archlinux-ipu6-webcam/v4l2-relayd ~/work/webcam/archlinux-ipu6-webcam ==> Making package: v4l2-relayd r42.6fd6b6a-1 (Do 01 Jun 2023 21:42:41 CEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating v4l2-relayd git repo... ==> Validating source files with sha256sums... v4l2-relayd ... Skipped ==> Extracting sources... -> Creating working copy of v4l2-relayd git repo... Reset branch 'makepkg' ==> Starting pkgver()... ==> WARNING: A package has already been built, installing existing package... ==> Installing package v4l2-relayd with pacman -U... warning: v4l2-relayd-r42.6fd6b6a-1 is up to date -- reinstalling loading packages... resolving dependencies... looking for conflicting packages... Packages (1) v4l2-relayd-r42.6fd6b6a-1 Total Installed Size: 0,02 MiB Net Upgrade Size: 0,00 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Running pre-transaction hooks... (1/1) etckeeper: pre-transaction commit [master 2cfa246] saving uncommitted changes in /etc prior to pacman run Author: VaracBut after reboot the
test.sh
script failed withERROR: from element /GstPipeline:pipeline0/Gstcamerasrc:camerasrc0: src pad: Internal data flow error.
test.sh log
```console [06-01 21:43:22.856] CamHAL[ERR] Malformed ET range in exposure time range configuration [06-01 21:43:22.856] CamHAL[ERR] Parse AE eExposure time range failed [06-01 21:43:22.856] CamHAL[ERR] Malformed ET range in exposure time range configuration [06-01 21:43:22.856] CamHAL[ERR] Parse AE gain range failed [06-01 21:43:22.856] CamHAL[ERR] Malformed ET range in exposure time range configuration [06-01 21:43:22.856] CamHAL[ERR] Parse AE eExposure time range failed [06-01 21:43:22.856] CamHAL[ERR] Malformed ET range in exposure time range configuration [06-01 21:43:22.856] CamHAL[ERR] Parse AE gain range failed [06-01 21:43:22.856] CamHAL[ERR] Malformed ET range in exposure time range configuration [06-01 21:43:22.856] CamHAL[ERR] Parse AE eExposure time range failed [06-01 21:43:22.856] CamHAL[ERR] Malformed ET range in exposure time range configuration [06-01 21:43:22.856] CamHAL[ERR] Parse AE gain range failed [06-01 21:43:22.856] CamHAL[ERR] Malformed ET range in exposure time range configuration [06-01 21:43:22.856] CamHAL[ERR] Parse AE eExposure time range failed [06-01 21:43:22.856] CamHAL[ERR] Malformed ET range in exposure time range configuration [06-01 21:43:22.856] CamHAL[ERR] Parse AE gain range failed [06-01 21:43:22.856] CamHAL[ERR] Malformed ET range in exposure time range configuration [06-01 21:43:22.856] CamHAL[ERR] Parse AE eExposure time range failed [06-01 21:43:22.856] CamHAL[ERR] Malformed ET range in exposure time range configuration [06-01 21:43:22.856] CamHAL[ERR] Parse AE gain range failed [06-01 21:43:22.856] CamHAL[ERR] Malformed ET range in exposure time range configuration [06-01 21:43:22.856] CamHAL[ERR] Parse AE eExposure time range failed [06-01 21:43:22.856] CamHAL[ERR] Malformed ET range in exposure time range configuration [06-01 21:43:22.856] CamHAL[ERR] Parse AE gain range failed [06-01 21:43:22.856] CamHAL[ERR] Malformed ET range in exposure time range configuration [06-01 21:43:22.856] CamHAL[ERR] Parse AE eExposure time range failed [06-01 21:43:22.856] CamHAL[ERR] Malformed ET range in exposure time range configuration [06-01 21:43:22.856] CamHAL[ERR] Parse AE gain range failed [06-01 21:43:22.856] CamHAL[ERR] Malformed ET range in exposure time range configuration [06-01 21:43:22.856] CamHAL[ERR] Parse AE eExposure time range failed [06-01 21:43:22.856] CamHAL[ERR] Malformed ET range in exposure time range configuration [06-01 21:43:22.856] CamHAL[ERR] Parse AE gain range failed [06-01 21:43:22.857] CamHAL[ERR] Malformed ET range in exposure time range configuration [06-01 21:43:22.857] CamHAL[ERR] Parse AE eExposure time range failed [06-01 21:43:22.857] CamHAL[ERR] Malformed ET range in exposure time range configuration [06-01 21:43:22.857] CamHAL[ERR] Parse AE gain range failed Setting pipeline to PAUSED ... [06-01 21:43:23.136] CamHAL[INF] aiqb file name ov13b10.aiqb [06-01 21:43:23.136] CamHAL[ERR] there is no aiqb file:ov13b10 [06-01 21:43:23.136] CamHAL[INF] aiqb file name ov13b10.aiqb [06-01 21:43:23.136] CamHAL[ERR] there is no aiqb file:ov13b10 [06-01 21:43:23.136] CamHAL[INF] aiqb file name ov8856.aiqb [06-01 21:43:23.136] CamHAL[ERR] there is no aiqb file:ov8856 [06-01 21:43:23.136] CamHAL[INF] aiqb file name ov8856.aiqb [06-01 21:43:23.136] CamHAL[ERR] there is no aiqb file:ov8856 [06-01 21:43:23.136] CamHAL[INF] aiqb file name ov01a10.aiqb [06-01 21:43:23.136] CamHAL[INF] aiqb file name ov01a10.aiqb [06-01 21:43:23.136] CamHAL[INF] aiqb file name ov01a10.aiqb [06-01 21:43:23.137] CamHAL[INF] aiqb file name ov01a10.aiqb [06-01 21:43:23.137] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb [06-01 21:43:23.137] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb [06-01 21:43:23.137] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb [06-01 21:43:23.137] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb [06-01 21:43:23.137] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb [06-01 21:43:23.137] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb [06-01 21:43:23.137] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb [06-01 21:43:23.137] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb [06-01 21:43:23.137] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb [06-01 21:43:23.137] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb [06-01 21:43:23.137] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb [06-01 21:43:23.137] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb [06-01 21:43:23.137] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb [06-01 21:43:23.137] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb [06-01 21:43:23.137] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb [06-01 21:43:23.137] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb [06-01 21:43:23.137] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb [06-01 21:43:23.138] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb [06-01 21:43:23.138] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb [06-01 21:43:23.138] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb [06-01 21:43:23.138] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb [06-01 21:43:23.138] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb [06-01 21:43:23.138] CamHAL[INF] aiqb file name ov01a1s.aiqb [06-01 21:43:23.138] CamHAL[INF] aiqb file name ov01a1s.aiqb [06-01 21:43:23.138] CamHAL[ERR] Failed to find DevName for cameraId: 0, get video node: ov13b10 , devname: /dev/v4l-subdev1 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(3143): gst_cam_base_src_loop (): /GstPipeline:pipeline0/Gstcamerasrc:camerasrc0: streaming task paused, reason not-negotiated (-4) [06-01 21:43:23.143] CamHAL[ERR] Get entity fail for calling getEntityById [06-01 21:43:23.143] CamHAL[ERR] Get entity fail for calling getEntityById [06-01 21:43:23.143] CamHAL[ERR] setup Link ov13b10 [-1:0] ==> Intel IPU6 CSI-2 [-1x0] enable 1 failed. [06-01 21:43:23.143] CamHAL[ERR] set MediaCtlConf McLink failed: ret = -1 [06-01 21:43:23.143] CamHAL[ERR] set up mediaCtl failed [06-01 21:43:23.143] CamHAL[ERR] @configure Device Configure failed [06-01 21:43:23.143] CamHAL[ERR] failed to config streams. Execution ended after 0:00:00.003083925 Setting pipeline to NULL ... Freeing pipeline ... ```I also tried with kernel 6.3.5-1 with the same error. What am I missing ?