stefanpartheym / archlinux-ipu6-webcam

Easy installation for patched Intel IPU6 camera drivers
133 stars 14 forks source link

Dell Latitude 7320 - ipu6-camera-bins fail due to dir structure (i5 11th gen Tiger Lake) #37

Closed usag1r closed 10 months ago

usag1r commented 10 months ago

After successfully installing majority of the components, I received the following error. This attempt is on fresh EndeavourOS. I've also built on Arch Linux and had similar issue which I've fixed by changing directory structure but not sure if it's causing other issues when I do that because I couldn't get it to start on Arch yet, was hoping this would work..

On Arch, I managed to get Virtual Camera with V4l2 but it's just black image output so far. Here is the error I got with install.sh of your solution. Thank you so much btw. This is great service to the Linux world. Unbelievable how inconsiderate Intel is moving with IPU6 devices.


Cloning into 'ipu6-camera-bins'...
done.
==> Starting pkgver()...
==> Updated version: ipu6-camera-bin r70.c4f9e52-1
==> Sources are ready.
==> Making package: ipu6-camera-bin r70.c4f9e52-1 (Mon 21 Aug 2023 08:37:58 PM BST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package_intel-ipu6-camera-bin()...
**cp: cannot stat 'ipu6-camera-bins/ipu6/lib': No such file or directory**
==> ERROR: A failure occurred in package_intel-ipu6-camera-bin().
    Aborting...
 -> error making: ipu6-camera-bin-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
intel-ipu6ep-camera-bin - exit status 4
**ERROR:  Failed to install: intel-ipu6ep-camera-bin**
twouters commented 10 months ago

The AUR packages (intel-ipu6-camera-bin and intel-ipu6ep-camera-hal-git) have been updated to work with the new structure.

twouters commented 10 months ago

Oh, this has probably already been fixed by #35

usag1r commented 10 months ago

I just wiped everything, tried again and managed to get the install script to work all the way to the end without any issues. Rebooted, cheese and mpv still don't get a healthy stream from internal cameras. I was wondering, the package installs:

From the official intel repos, I remember ipu6ep versions were for the Alder Lake chips. Maybe that's where the issue is as I'm on Tiger Lake processor. Also the confirmed working case for Dell Latitude 7440 seems to be an Alder Lake chip, so this makes me think that's where the issue is at this stage. It'd be great to get it working somehow!

By the way, I guess it's better if I mark this closed as originating dir structure issue seems to have been fixed and I can create a separate issue about testing with Tiger Lake?

alvinpeters commented 10 months ago

Yup, this script is tailored for Adler Lake as you said but the Intel drivers/HAL allow building for IPU6 from Tiger Lake to Meteor Lake so I will try making Tiger Lake and Meteor Lake work this weekend along with other fixes

usag1r commented 10 months ago

Thank you @striczkof . I can't wait. Thank you so much for your efforts. I'll close this as the original directory structure issue is fixed already as @twouters pointed out.

usag1r commented 9 months ago

Is there any progress or timeline on the Tiger Lake front?

alvinpeters commented 9 months ago

oh ye sorry been busy with uni stuff and shit thanks for reminding me

it should be just as easy as refactoring the variables in Makefiles/configs/whatever and make the script attempt to autodetect the appropriate version by current intel CPU's generation then build then install them. I just woke up and I have nothing to do so I will work on just that.

usag1r commented 9 months ago

Hi! No worries at all and thank you so much for the insight as well as potential progress and your efforts! πŸ™

alvinpeters commented 9 months ago

Hi! No worries at all and thank you so much for the insight as well as potential progress and your efforts! πŸ™

@usag1r feel free to check #42. I just have to finish and push the hal package when I wake up tomorrow. Sorry been busy lol

alvinpeters commented 9 months ago

@usag1r just wondering, what does cat /proc/cpuinfo | grep 11th shows up to you? I am trying to make the script autodetect the appropriate generation.

usag1r commented 9 months ago

Hi @striczkof, here is what I get:

$ cat /proc/cpuinfo | grep 11th
model name  : 11th Gen Intel(R) Core(TM) i5-1140G7 @ 1.10GHz
model name  : 11th Gen Intel(R) Core(TM) i5-1140G7 @ 1.10GHz
model name  : 11th Gen Intel(R) Core(TM) i5-1140G7 @ 1.10GHz
model name  : 11th Gen Intel(R) Core(TM) i5-1140G7 @ 1.10GHz
model name  : 11th Gen Intel(R) Core(TM) i5-1140G7 @ 1.10GHz
model name  : 11th Gen Intel(R) Core(TM) i5-1140G7 @ 1.10GHz
model name  : 11th Gen Intel(R) Core(TM) i5-1140G7 @ 1.10GHz
model name  : 11th Gen Intel(R) Core(TM) i5-1140G7 @ 1.10GHz
alvinpeters commented 9 months ago

awesome mate cheers!

I just realised that doing cat /sys/devices/cpu{,_core,_atom}/caps/pmu_name is much easier. @usag1r what does it show for you? and sorry for asking again lol. I really just want to make it less pain in the arse for everyone as possible.

usag1r commented 9 months ago

Hi, No worries at all! Let me know if anything else comes up.

I was able to do

cat /sys/devices/cpu/caps/pmu_name
icelake

icelake is the only output. :+1:

alvinpeters commented 9 months ago

What the fuck.

You are totally using a Tiger Lake chip (https://www.intel.com/content/www/us/en/products/sku/208659/intel-core-i51140g7-processor-8m-cache-up-to-4-20-ghz-with-ipu/specifications.html) yet it says Ice Lake (10th Generation)?

Cheers for the help, now found out that the earlier method is way reliable than this. Expect a working PR branch in 1 hour

usag1r commented 9 months ago

Haha, I know. It seems weird. Maybe Intel based Tiger Lake on Icelake architecture since they are consecutive or something like that. Looking forward to testing the new PR! You are most welcome. Thank you also

alvinpeters commented 9 months ago

cant make it. intel broke something either in icamerasrc or in the HAL and I'm way too tired to figure it out.

Basically the icamerasrc gst plugin keeps getting blacklisted, something like "can't open sem lock error permission denied" so i've been digging through the source code. job for tomorrow ig

alvinpeters commented 9 months ago

@usag1r would it be possible for you to try it right now? I managed to get it to the state of being able to easily install and uninstall. It should be able to detect your tiger lake then install only ipu6 stuff. Just do:

git clone --branch fix_and_rework https://github.com/striczkof/archlinux-ipu6-webcam.git
cd archlinux-ipu6-webcam
./install.sh

then restart just to be sure

Fuck me it's 12:19am already. I will fix whatever comes up tomorrow

usag1r commented 9 months ago

Absolutely! Testing asap. I'll keep you posted.

usag1r commented 9 months ago
$./install.sh 
# Detected Tiger Lake (11th generation).
# Install headers for: linux
# Install package from the AUR/repos: linux-headers
warning: linux-headers-6.5.4.arch2-1 is up to date -- skipping
 there is nothing to do
=> SUCCESS
# Installing dependencies.
# Install package from the AUR/repos: base-devel
warning: base-devel-1-1 is up to date -- skipping
 there is nothing to do
=> SUCCESS
# Install package from the AUR/repos: gst-plugin-pipewire
warning: gst-plugin-pipewire-1:0.3.80-1 is up to date -- skipping
 there is nothing to do
=> SUCCESS
# Install package from the AUR/repos: gst-plugins-good
warning: gst-plugins-good-1.22.6-1 is up to date -- skipping
 there is nothing to do
=> SUCCESS
# Installing the camera stack.
rm: cannot remove 'ipu6-pkgs.txt': No such file or directory

I guess, extra line or check fail?

usag1r commented 9 months ago
uninstall.sh:INSTALLED_PKG_LIST=ipu6-pkgs.txt
uninstall.sh:for pkg in $(tac "${INSTALLED_PKG_LIST}"); do
install.sh:INSTALLED_PKG_LIST=ipu6-pkgs.txt
install.sh:# These packages will be written down to $INSTALLED_PKG_LIST which will be then used by uninstall.sh
install.sh:rm "${INSTALLED_PKG_LIST}"
install.sh:  echo "${pkg}" >> "${INSTALLED_PKG_LIST}"

Must be related to one of these.

usag1r commented 9 months ago

I commented out

rm "${INSTALLED_PKG_LIST}"

from install.sh and the script is continuing right now. I'll write the outcomes here later. Thank you so much for your effort and have a nice day at work tomorrow!

usag1r commented 9 months ago

I just rebooted and checked via 3 methods but they are all showing black screen.

Methods tried for testing:

  1. mpv av://v4l2:/dev/video0
  2. online test via firefox
  3. cheese

screenshot

alvinpeters commented 9 months ago

rip.

Can you try rebuilding the reinstalling icamerasrc-git using paru -S --rebuild icamerasrc-git or your equivalent in your helper (should be no need to reboot after but just in case)?

Then, I'd love to see what you get out of these: ./test.sh (try running the test script first) sudo dmesg | grep ipu systemctl status v4l2-relayd v4l2-ctl --list-devices gst-inspect-1.0 icamerasrc (if this is empty should be blacklisted still) gst-inspect 1.0 (first few lines show blacklist reasons, last line/s show number of blacklisted plugins)

usag1r commented 9 months ago

Hi! Sure.

WARNING: erroneous pipeline: no element "icamerasrc"

Although pacman -Q | grep cam shows icamerasrc-git r65.931412a-1 installed...

$ sudo dmesg | grep ipu
[    3.093690] intel-ipu6 0000:00:05.0: enabling device (0000 -> 0002)
[    3.093960] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.093980] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.093982] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.115910] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.115915] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.115917] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.128704] intel-ipu6 0000:00:05.0: IPC reset done
[    3.128712] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.135902] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.148249] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.148269] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.148271] intel-ipu6 0000:00:05.0: mapped as: 0x00000000bd45f556
[    3.148559] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.148562] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.148564] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.150693] intel-ipu6 0000:00:05.0: IPC reset done
[    3.150695] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.153638] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.156482] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.156500] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.156501] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.157755] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.157758] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.157759] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.159611] intel-ipu6 0000:00:05.0: IPC reset done
[    3.159613] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.162435] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.204032] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.204049] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.204050] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.204126] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.204127] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.204128] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.205982] intel-ipu6 0000:00:05.0: IPC reset done
[    3.205984] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.208716] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.267824] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.267837] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.267839] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.269651] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.269654] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.269656] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.271593] intel-ipu6 0000:00:05.0: IPC reset done
[    3.271596] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.274889] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.278196] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.278211] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.278213] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.278287] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.278288] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.278290] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.280758] intel-ipu6 0000:00:05.0: IPC reset done
[    3.280761] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.284028] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.285022] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.285035] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.285037] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.285201] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.285203] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.285204] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.291114] intel-ipu6 0000:00:05.0: IPC reset done
[    3.291117] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.293792] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.294749] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.294763] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.294765] intel-ipu6 0000:00:05.0: mapped as: 0x00000000bd45f556
[    3.295273] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.295276] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.295277] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.297431] intel-ipu6 0000:00:05.0: IPC reset done
[    3.297434] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.300397] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.302002] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.302018] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.302020] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.302725] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.302728] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.302730] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.305626] intel-ipu6 0000:00:05.0: IPC reset done
[    3.305630] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.308625] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.314360] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.314382] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.314384] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.319234] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.319238] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.319240] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.321272] intel-ipu6 0000:00:05.0: IPC reset done
[    3.321275] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.324061] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.325533] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.325551] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.325553] intel-ipu6 0000:00:05.0: mapped as: 0x00000000bd45f556
[    3.327935] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.327938] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.327940] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.329959] intel-ipu6 0000:00:05.0: IPC reset done
[    3.329963] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.332943] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.334129] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.334149] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.334151] intel-ipu6 0000:00:05.0: mapped as: 0x000000002010b963
[    3.337107] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.337111] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.337113] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.338943] intel-ipu6 0000:00:05.0: IPC reset done
[    3.338947] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.341899] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.441373] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.441393] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.441395] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.441484] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.441487] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.441488] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.443299] intel-ipu6 0000:00:05.0: IPC reset done
[    3.443304] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.446250] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.449499] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.449515] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.449517] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.449800] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.449802] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.449804] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.451629] intel-ipu6 0000:00:05.0: IPC reset done
[    3.451633] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.454614] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.462805] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.462817] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.462819] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.465610] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.465614] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.465616] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.467862] intel-ipu6 0000:00:05.0: IPC reset done
[    3.467865] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.471083] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.472343] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.472359] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.472361] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.476653] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.476657] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.476659] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.478479] intel-ipu6 0000:00:05.0: IPC reset done
[    3.478481] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.481594] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.483472] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.483488] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.483490] intel-ipu6 0000:00:05.0: mapped as: 0x00000000bd45f556
[    3.486651] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.486654] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.486655] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.488483] intel-ipu6 0000:00:05.0: IPC reset done
[    3.488486] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.491672] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.522769] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.523015] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.523017] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.523743] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.523745] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.523746] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.525618] intel-ipu6 0000:00:05.0: IPC reset done
[    3.525637] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.528939] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.530004] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.530019] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.530020] intel-ipu6 0000:00:05.0: mapped as: 0x00000000bd45f556
[    3.530932] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.530934] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.530936] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.532884] intel-ipu6 0000:00:05.0: IPC reset done
[    3.532887] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.536109] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.536941] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.536957] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.536958] intel-ipu6 0000:00:05.0: mapped as: 0x000000002010b963
[    3.537200] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.537202] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.537203] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.539092] intel-ipu6 0000:00:05.0: IPC reset done
[    3.539094] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.542449] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.615783] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.615797] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.615799] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.616179] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.616181] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.616182] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.617940] intel-ipu6 0000:00:05.0: IPC reset done
[    3.617942] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.621904] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.622425] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.622434] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.622436] intel-ipu6 0000:00:05.0: mapped as: 0x00000000bd45f556
[    3.626966] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.626968] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.626970] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.628796] intel-ipu6 0000:00:05.0: IPC reset done
[    3.628798] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.631651] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.634297] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.634307] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.634309] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.639873] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.639878] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.639881] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.641731] intel-ipu6 0000:00:05.0: IPC reset done
[    3.641735] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.644649] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.663939] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.663955] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.663956] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.670093] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.670099] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.670101] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.672120] intel-ipu6 0000:00:05.0: IPC reset done
[    3.672124] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.676101] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.777753] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.777773] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.777775] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.778970] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.778973] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.778975] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.781731] intel-ipu6 0000:00:05.0: IPC reset done
[    3.781735] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.784659] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.786333] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.786348] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.786349] intel-ipu6 0000:00:05.0: mapped as: 0x00000000bd45f556
[    3.788049] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.788052] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.788054] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.789884] intel-ipu6 0000:00:05.0: IPC reset done
[    3.789887] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.793142] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.803295] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.803320] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.803322] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.805033] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.805037] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.805038] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.806856] intel-ipu6 0000:00:05.0: IPC reset done
[    3.806860] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.809856] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.874131] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.874164] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.874165] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.874279] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.874281] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.874283] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.876107] intel-ipu6 0000:00:05.0: IPC reset done
[    3.876111] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.879189] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.890610] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.890633] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.890635] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.891583] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.891586] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.891587] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.894492] intel-ipu6 0000:00:05.0: IPC reset done
[    3.894496] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.897340] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.898579] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.898592] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.898593] intel-ipu6 0000:00:05.0: mapped as: 0x00000000bd45f556
[    3.898694] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.898696] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.898697] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.900471] intel-ipu6 0000:00:05.0: IPC reset done
[    3.900473] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.903235] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.955852] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.955872] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.955874] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.956142] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.956145] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.956146] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.958076] intel-ipu6 0000:00:05.0: IPC reset done
[    3.958080] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.961666] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.971910] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.971938] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.971940] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.973962] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.973966] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.973968] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.975797] intel-ipu6 0000:00:05.0: IPC reset done
[    3.975801] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    3.978714] intel-ipu6 0000:00:05.0: FW version: 20210414
[    3.993290] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    3.993309] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    3.993311] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    3.996252] intel-ipu6 0000:00:05.0: IPU in secure mode
[    3.996257] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    3.996258] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    3.998087] intel-ipu6 0000:00:05.0: IPC reset done
[    3.998091] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.001090] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.001871] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.001885] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.001886] intel-ipu6 0000:00:05.0: mapped as: 0x00000000bd45f556
[    4.002029] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.002031] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.002032] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.004024] intel-ipu6 0000:00:05.0: IPC reset done
[    4.004027] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.006073] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.007441] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.007453] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.007454] intel-ipu6 0000:00:05.0: mapped as: 0x000000002010b963
[    4.007660] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.007663] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.007664] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.009484] intel-ipu6 0000:00:05.0: IPC reset done
[    4.009486] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.015050] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.015990] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.015998] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.015999] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    4.016125] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.016127] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.016128] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.017964] intel-ipu6 0000:00:05.0: IPC reset done
[    4.017965] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.020403] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.021256] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.021265] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.021266] intel-ipu6 0000:00:05.0: mapped as: 0x00000000bd45f556
[    4.021540] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.021542] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.021544] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.023390] intel-ipu6 0000:00:05.0: IPC reset done
[    4.023392] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.025812] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.026840] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.026860] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.026862] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    4.026948] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.026952] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.026954] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.031230] intel-ipu6 0000:00:05.0: IPC reset done
[    4.031235] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.035034] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.047808] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.047828] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.047829] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    4.047942] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.047944] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.047945] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.050084] intel-ipu6 0000:00:05.0: IPC reset done
[    4.050089] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.053264] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.054406] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.054419] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.054420] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    4.055935] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.055939] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.055940] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.057776] intel-ipu6 0000:00:05.0: IPC reset done
[    4.057780] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.061219] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.062634] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.062650] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.062652] intel-ipu6 0000:00:05.0: mapped as: 0x00000000bd45f556
[    4.064224] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.064228] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.064230] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.066058] intel-ipu6 0000:00:05.0: IPC reset done
[    4.066062] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.068973] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.069841] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.069856] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.069858] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    4.070591] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.070594] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.070595] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.073151] intel-ipu6 0000:00:05.0: IPC reset done
[    4.073156] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.076231] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.115797] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.115817] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.115819] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    4.117619] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.117622] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.117624] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.119454] intel-ipu6 0000:00:05.0: IPC reset done
[    4.119458] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.124212] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.126444] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.126460] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.126461] intel-ipu6 0000:00:05.0: mapped as: 0x00000000bd45f556
[    4.130153] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.130159] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.130161] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.131983] intel-ipu6 0000:00:05.0: IPC reset done
[    4.131986] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.135021] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.136513] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.136526] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.136528] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    4.137265] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.137268] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.137270] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.139302] intel-ipu6 0000:00:05.0: IPC reset done
[    4.139304] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.143590] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.144805] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.144816] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.144818] intel-ipu6 0000:00:05.0: mapped as: 0x00000000bd45f556
[    4.145054] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.145056] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.145057] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.146899] intel-ipu6 0000:00:05.0: IPC reset done
[    4.146901] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.152038] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.152890] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.152908] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.152909] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    4.153279] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.153286] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.153288] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.155119] intel-ipu6 0000:00:05.0: IPC reset done
[    4.155122] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.157886] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.158744] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.158762] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.158763] intel-ipu6 0000:00:05.0: mapped as: 0x00000000bd45f556
[    4.159017] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.159019] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.159021] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.160859] intel-ipu6 0000:00:05.0: IPC reset done
[    4.160863] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.163062] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.164151] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.164163] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.164164] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    4.164394] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.164396] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.164398] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.166447] intel-ipu6 0000:00:05.0: IPC reset done
[    4.166449] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.168776] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.170204] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.170218] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.170219] intel-ipu6 0000:00:05.0: mapped as: 0x00000000bd45f556
[    4.170282] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.170284] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.170285] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.172123] intel-ipu6 0000:00:05.0: IPC reset done
[    4.172127] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.174669] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.175495] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.175511] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.175512] intel-ipu6 0000:00:05.0: mapped as: 0x000000002010b963
[    4.176070] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.176073] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.176075] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.177991] intel-ipu6 0000:00:05.0: IPC reset done
[    4.177993] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.180721] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.182463] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.182478] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.182480] intel-ipu6 0000:00:05.0: mapped as: 0x00000000c30c48b2
[    4.182548] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.182550] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.182551] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.184373] intel-ipu6 0000:00:05.0: IPC reset done
[    4.184376] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.187093] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.187992] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.188005] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.188006] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    4.188144] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.188146] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.188147] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.190109] intel-ipu6 0000:00:05.0: IPC reset done
[    4.190112] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.192645] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.198344] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.198371] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.198373] intel-ipu6 0000:00:05.0: mapped as: 0x00000000bd45f556
[    4.201015] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.201020] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.201021] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.202884] intel-ipu6 0000:00:05.0: IPC reset done
[    4.202889] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.205943] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.228784] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.228800] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.228801] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    4.229025] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.229028] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.229030] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.237991] intel-ipu6 0000:00:05.0: IPC reset done
[    4.237995] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.240938] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.252174] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.252196] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.252198] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    4.252832] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.252835] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.252836] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.254613] intel-ipu6 0000:00:05.0: IPC reset done
[    4.254617] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.257242] intel-ipu6 0000:00:05.0: FW version: 20210414
[    4.578336] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    4.578350] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    4.578351] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[    4.578423] intel-ipu6 0000:00:05.0: IPU in secure mode
[    4.578424] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    4.578425] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    4.593289] intel-ipu6 0000:00:05.0: IPC reset done
[    4.593293] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    4.595253] intel-ipu6 0000:00:05.0: FW version: 20210414
[    8.009712] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    8.010029] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    8.010030] intel-ipu6 0000:00:05.0: mapped as: 0x00000000670e2560
[    8.010120] intel-ipu6 0000:00:05.0: IPU in secure mode
[    8.010122] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    8.010124] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    8.025885] intel-ipu6 0000:00:05.0: IPC reset done
[    8.025898] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    8.029203] intel-ipu6 0000:00:05.0: FW version: 20210414
[    8.359622] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[    8.359639] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[    8.359641] intel-ipu6 0000:00:05.0: mapped as: 0x00000000670e2560
[    8.359819] intel-ipu6 0000:00:05.0: IPU in secure mode
[    8.359822] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[    8.359823] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[    8.373784] intel-ipu6 0000:00:05.0: IPC reset done
[    8.373788] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[    8.375999] intel-ipu6 0000:00:05.0: FW version: 20210414
[   18.487345] intel-ipu6 0000:00:05.0: Device 0x9a19 (rev: 0x1)
[   18.487932] intel-ipu6 0000:00:05.0: physical base address 0x6052000000
[   18.487936] intel-ipu6 0000:00:05.0: mapped as: 0x000000007b5ed7c4
[   18.488425] intel-ipu6 0000:00:05.0: IPU in secure mode
[   18.488432] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[   18.488435] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[   18.505151] intel-ipu6 0000:00:05.0: IPC reset done
[   18.505164] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6_fw.bin
[   18.510783] intel-ipu6 0000:00:05.0: FW version: 20210414
$  systemctl status v4l2-relayd
● v4l2-relayd.service - v4l2-relay daemon service
     Loaded: loaded (/usr/lib/systemd/system/v4l2-relayd.service; enabled; preset: d
isabled)
    Drop-In: /etc/systemd/system/v4l2-relayd.service.d
             └─override.conf
     Active: active (running) since Mon 2023-10-02 03:42:16 BST; 6min ago
    Process: 1750 ExecCondition=/usr/bin/test -n ${VIDEOSRC} (code=exited, status=0/SUCCESS)
    Process: 1778 ExecCondition=/usr/bin/test -n $FORMAT (code=exited, status=0/SUCCESS)
    Process: 1804 ExecCondition=/usr/bin/test -n $WIDTH (code=exited, status=0/SUCCESS)
    Process: 1830 ExecCondition=/usr/bin/test -n $HEIGHT (code=exited, status=0/SUCCESS)
    Process: 1862 ExecCondition=/usr/bin/test -n $FRAMERATE (code=exited, status=0/SUCCESS)
    Process: 1893 ExecCondition=/usr/bin/test -n ${CARD_LABEL} (code=exited, status=0/SUCCESS)
   Main PID: 1923 (v4l2-relayd)
      Tasks: 5 (limit: 18763)
     Memory: 22.8M
        CPU: 129ms
     CGroup: /system.slice/v4l2-relayd.service
             └─1923 /usr/bin/v4l2-relayd -i icamerasrc -o "appsrc name=appsrc caps=video/x-raw,format=NV12,width=1280,height=720,framerate=30/1 ! videoconvert ! v
ideo/x-raw,format=YUY2 ! v4l2sink name=v4l2sink device=/dev/video0"

Oct 02 03:42:16 Archtab systemd[1]: Starting v4l2-relay daemon service...
Oct 02 03:42:16 Archtab systemd[1]: Started v4l2-relay daemon service.
Oct 02 03:42:16 Archtab (sh)[1923]: v4l2-relayd.service: Referenced but unset environment variable evaluates to an empty string: SPLASHSRC

Oct 02 03:42:16 Archtab gst-plugin-scan[2055]: Failed to load plugin '/usr/lib/gstreamer-1.0/libgsticamerasrc.so': libia_cca.so: cannot op
en shared object file: No such file or directory
$  v4l2-ctl --list-devices
Virtual Camera (platform:v4l2loopback-000):
    /dev/video0
$ gst-inspect-1.0 icamerasrc
No such element or plugin 'icamerasrc'
...
x265:  x265enc: x265enc
ximagesink:  ximagesink: Video sink
ximagesrc:  ximagesrc: Ximage video source
xingmux:  xingmux: MP3 Xing muxer
xvimagesink:  xvimagesink: Video sink
y4mdec:  y4mdec: YUV4MPEG demuxer/decoder
y4menc:  y4menc: YUV4MPEG video encoder
zbar:  zbar: Barcode detector
zxing:  zxing: Barcode detector

Total count: 249 plugins (1 blacklist entry not shown), 1047 features
alvinpeters commented 9 months ago

Oh yeah right, I just got that piece of shit fixed by symlinking the missing files from /usr/lib/ipu_* to /usr/lib.

Delete your current repo then reclone it again. run ./uninstall.sh then /install.sh. These will uninstall then reinstall everything. I managed to fix the hiccups earlier. Plus the script will force rebuilding all AUR packages.

Love you man for testing xd

I somehow ended up breaking v4l2loopback and v4l2-relayd stuff, but ./test.sh should work.

usag1r commented 9 months ago

No worries! Absolutely love working with you on this.

deleted everything, rebooted, recloned. Building right now. I'll report in shortly.

usag1r commented 9 months ago

So I got these. Issue with icamerasrc pops up again.

$ ./test.sh 

(gst-plugin-scanner:4851): GStreamer-WARNING **: 04:20:42.787: Failed to load plugin '/usr/lib/gstreamer-1.0/libgsticamerasrc.so': libia_cca.so: cannot open shared object file: No such file or directory
WARNING: erroneous pipeline: no element "icamerasrc"
$ sudo pacman -Q | grep cam

icamerasrc-git r65.931412a-1
intel-ipu6-camera-bin-fix r72.ff21b55-1
intel-ipu6-camera-hal-git-fix r93.9fa05a9-1
libcamera 0.1.0-2
libcamera-ipa 0.1.0-2
alvinpeters commented 9 months ago

oh ye right it's still blacklisted. get rid of the blacklist by rm ~/.cache/gstreamer-1.0/registry.x86_64.bin

usag1r commented 9 months ago

I removed it but it's immediately created again after running ./test.sh

$ ./test.sh 

(gst-plugin-scanner:4894): GStreamer-WARNING **: 04:30:32.497: Failed to load plugin '/usr/lib/gstreamer-1.0/libgsticamerasrc.so': libia_cca.so: cannot open shared object file: No such file or directory
WARNING: erroneous pipeline: no element "icamerasrc"
alvinpeters commented 9 months ago

I removed it but it's immediately created again after running ./test.sh

$ ./test.sh 

(gst-plugin-scanner:4894): GStreamer-WARNING **: 04:30:32.497: Failed to load plugin '/usr/lib/gstreamer-1.0/libgsticamerasrc.so': libia_cca.so: cannot open shared object file: No such file or directory
WARNING: erroneous pipeline: no element "icamerasrc"

Why is it not detecting/installing? try this.

sudo ln -sf /usr/lib/ipu_tgl/{libia_cca.so,libia_log.so,libgcss.so.0} "/usr/lib/"

then get rid of the blacklist again

Fuck, that's why. It was using ipuadl instead of ipu${_ipugen}. What coding whilst being sleep deprived does to a mf

usag1r commented 9 months ago

Wow, yes! ./test.sh worked for the first time. Here's the output:

$ ./test.sh 

Setting pipeline to PAUSED ...
[10-02 04:41:28.653] CamHAL[INF] aiqb file name hm11b1.aiqb
[10-02 04:41:28.653] CamHAL[INF] aiqb file name hm11b1.aiqb
[10-02 04:41:28.655] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.655] CamHAL[INF] aiqb file name ov01a1s.aiqb
[10-02 04:41:28.655] CamHAL[INF] aiqb file name ov01a1s.aiqb
[10-02 04:41:28.656] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.656] CamHAL[INF] aiqb file name hm11b1.aiqb
[10-02 04:41:28.656] CamHAL[INF] aiqb file name hm11b1.aiqb
[10-02 04:41:28.657] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.657] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 04:41:28.657] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 04:41:28.657] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.657] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 04:41:28.657] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 04:41:28.657] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.657] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 04:41:28.657] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 04:41:28.657] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.657] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 04:41:28.657] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 04:41:28.657] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.657] CamHAL[INF] aiqb file name IMX390_HDR_TGL_2.aiqb
[10-02 04:41:28.657] CamHAL[INF] aiqb file name IMX390_HDR_TGL_2.aiqb
[10-02 04:41:28.657] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.657] CamHAL[INF] aiqb file name IMX390_HDR_TGL_2.aiqb
[10-02 04:41:28.657] CamHAL[INF] aiqb file name IMX390_HDR_TGL_2.aiqb
[10-02 04:41:28.657] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.657] CamHAL[INF] aiqb file name IMX390_HDR_TGL_2.aiqb
[10-02 04:41:28.657] CamHAL[INF] aiqb file name IMX390_HDR_TGL_2.aiqb
[10-02 04:41:28.658] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.658] CamHAL[INF] aiqb file name IMX390_HDR_TGL_2.aiqb
[10-02 04:41:28.658] CamHAL[INF] aiqb file name IMX390_HDR_TGL_2.aiqb
[10-02 04:41:28.658] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.658] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 04:41:28.658] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 04:41:28.658] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.658] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 04:41:28.658] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 04:41:28.658] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.658] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 04:41:28.658] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 04:41:28.658] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.658] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 04:41:28.658] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 04:41:28.658] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.658] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 04:41:28.658] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 04:41:28.658] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.658] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 04:41:28.658] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 04:41:28.659] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.659] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 04:41:28.659] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 04:41:28.659] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.659] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 04:41:28.659] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 04:41:28.659] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.659] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 04:41:28.659] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 04:41:28.659] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.659] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 04:41:28.659] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 04:41:28.659] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.659] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 04:41:28.659] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 04:41:28.659] CamHAL[ERR] invalid media format, default value used.
[10-02 04:41:28.659] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[10-02 04:41:28.659] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[10-02 04:41:28.659] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[10-02 04:41:28.659] CamHAL[ERR] Failed to find DevName for cameraId: 0, get video node: hm11b1 , devname: /dev/v4l-subdev1
[10-02 04:41:28.662] CamHAL[ERR] MediaControl init failed
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...
[10-02 04:41:28.750] CamHAL[WAR] Seems camera device 0 is not closed properly (pid 5586).
usag1r commented 9 months ago

If I run anything that tries to access the camera cache registry (blacklist?) appears again. I can then remove it again and run the test and it gives the same output...

alvinpeters commented 9 months ago

Awesome mate. Now I gotta figure out how I broke the relax then fix the camera in apps.

If I run anything that tries to access the camera cache registry (blacklist?) appears again. I can then remove it again and run the test and it gives the same output...

Oh no need. It won't get blacklisted anymore. You only remove it whenever it gets blacklisted but right now should be never.

usag1r commented 9 months ago

Awesome, thank you!

I mentioned blacklist because if I run for example cheese or sth like that...

$ cheese 

[10-02 04:53:11.675] CamHAL[ERR] failed to open sem lock, errno: Permission denied
[10-02 04:53:11.889] CamHAL[ERR] failed to open sem lock, errno: Permission denied

Then icamerasrc is inaccessible again...

$ ./test.sh 

WARNING: erroneous pipeline: no element "icamerasrc"

Then if I remove the registry, I can run the test script again.

alvinpeters commented 9 months ago

Wait, when you clear the blacklist registry, does ./test.sh even work (show your video camera) or it just outputs that long list of accessed files as you have shown earlier?

usag1r commented 9 months ago

I meant it just runs and gives the same output. Can't access the camera at all. If I try to get image from the camera by any app, then registry is recreated and can't even run the test.sh as in the recent screenshot..

alvinpeters commented 9 months ago

@usag1r I literally just found out about this. Apparently Tiger Lakes only use YUY2. So try this out and see if you get any output (after deleting the registry again): Replace waylandsink with ximagesink if you are not on Wayland. sudo -E gst-launch-1.0 icamerasrc buffer-count=7 ! video/x-raw,format=YUY2,width=1280,height=720 ! videoconvert ! waylandsink

usag1r commented 9 months ago

Great discovery! but it must be something else?

Maybe something is blocking the camera or not letting it start from the start up? Btw, I have triple boot and Camera is 100% functional on Windows 11, so we're sure it's not a hardware fault.

Please see output below. I'm on xorg so replaced waylandsink with ximagesink as instructed.

$ echo $XDG_SESSION_TYPE
x11
$ sudo -E gst-launch-1.0 icamerasrc buffer-count=7 ! video/x-raw,format=YUY2,width=1280,height=720 ! videoconvert ! ximagesink

Setting pipeline to PAUSED ...
[10-02 11:26:27.175] CamHAL[INF] aiqb file name hm11b1.aiqb
[10-02 11:26:27.177] CamHAL[INF] aiqb file name hm11b1.aiqb
[10-02 11:26:27.178] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.178] CamHAL[INF] aiqb file name ov01a1s.aiqb
[10-02 11:26:27.179] CamHAL[INF] aiqb file name ov01a1s.aiqb
[10-02 11:26:27.179] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.179] CamHAL[INF] aiqb file name hm11b1.aiqb
[10-02 11:26:27.180] CamHAL[INF] aiqb file name hm11b1.aiqb
[10-02 11:26:27.181] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.181] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 11:26:27.181] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 11:26:27.181] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.181] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 11:26:27.181] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 11:26:27.182] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.182] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 11:26:27.182] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 11:26:27.182] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.182] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 11:26:27.182] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 11:26:27.182] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.182] CamHAL[INF] aiqb file name IMX390_HDR_TGL_2.aiqb
[10-02 11:26:27.182] CamHAL[INF] aiqb file name IMX390_HDR_TGL_2.aiqb
[10-02 11:26:27.182] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.182] CamHAL[INF] aiqb file name IMX390_HDR_TGL_2.aiqb
[10-02 11:26:27.182] CamHAL[INF] aiqb file name IMX390_HDR_TGL_2.aiqb
[10-02 11:26:27.182] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.182] CamHAL[INF] aiqb file name IMX390_HDR_TGL_2.aiqb
[10-02 11:26:27.182] CamHAL[INF] aiqb file name IMX390_HDR_TGL_2.aiqb
[10-02 11:26:27.183] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.183] CamHAL[INF] aiqb file name IMX390_HDR_TGL_2.aiqb
[10-02 11:26:27.183] CamHAL[INF] aiqb file name IMX390_HDR_TGL_2.aiqb
[10-02 11:26:27.183] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.183] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 11:26:27.183] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 11:26:27.183] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.183] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 11:26:27.183] CamHAL[INF] aiqb file name IMX390_HDR_TGL.aiqb
[10-02 11:26:27.183] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.183] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 11:26:27.183] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 11:26:27.183] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.183] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 11:26:27.183] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 11:26:27.183] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.183] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 11:26:27.183] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 11:26:27.183] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.183] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 11:26:27.183] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 11:26:27.183] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.183] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 11:26:27.183] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 11:26:27.183] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.183] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 11:26:27.183] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 11:26:27.183] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.183] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 11:26:27.183] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 11:26:27.183] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.183] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 11:26:27.183] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 11:26:27.184] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.184] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 11:26:27.184] CamHAL[INF] aiqb file name AR0234_TGL_10bits.aiqb
[10-02 11:26:27.184] CamHAL[ERR] invalid media format, default value used.
[10-02 11:26:27.184] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[10-02 11:26:27.184] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[10-02 11:26:27.184] CamHAL[INF] (null), media format in tuning: 0, media format for aic 0.
[10-02 11:26:27.184] CamHAL[ERR] Failed to find DevName for cameraId: 0, get video node: hm11b1 , devname: /dev/v4l-subdev1
[10-02 11:26:27.187] CamHAL[ERR] MediaControl init failed
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...
[10-02 11:26:27.265] CamHAL[WAR] Seems camera device 0 is not closed properly (pid 5553).
usag1r commented 9 months ago

And also:

$ sudo systemctl status | grep v4l2-relayd

           β”‚ β”œβ”€v4l2-relayd.service
           β”‚ β”‚ └─1868 /usr/bin/v4l2-relayd -i icamerasrc -o "appsrc name=appsrc caps=video/x-raw,format=NV12,width=1280,height=720,framerate=30/1 ! videoconvert ! v4l2sink name=v4l2sink device=/dev/video0"
               β”‚ β”œβ”€6122 grep --color=auto v4l2-relayd
$ sudo systemctl status v4l2-relayd

● v4l2-relayd.service - v4l2-relay daemon service
     Loaded: loaded (/usr/lib/systemd/system/v4l2-relayd.service; enabled; preset: disabled)
     Active: active (running) since Mon 2023-10-02 11:24:55 BST; 10min ago
    Process: 1621 ExecCondition=/usr/bin/test -n ${VIDEOSRC} (code=exited, status=0/SUCCESS)
    Process: 1689 ExecCondition=/usr/bin/test -n $FORMAT (code=exited, status=0/SUCCESS)
    Process: 1724 ExecCondition=/usr/bin/test -n $WIDTH (code=exited, status=0/SUCCESS)
    Process: 1754 ExecCondition=/usr/bin/test -n $HEIGHT (code=exited, status=0/SUCCESS)
    Process: 1807 ExecCondition=/usr/bin/test -n $FRAMERATE (code=exited, status=0/SUCCESS)
    Process: 1843 ExecCondition=/usr/bin/test -n ${CARD_LABEL} (code=exited, status=0/SUCCESS)
   Main PID: 1868 (v4l2-relayd)
      Tasks: 3 (limit: 18763)
     Memory: 17.0M
        CPU: 139ms
     CGroup: /system.slice/v4l2-relayd.service
             └─1868 /usr/bin/v4l2-relayd -i icamerasrc -o "appsrc name=appsrc caps=video/x-raw,format=NV12,width=1280,height=720,framerate=30/1 ! videoconvert ! v4l2sink name=v4l2sink device=/dev/video0"

Oct 02 11:24:55 Archtab systemd[1]: Starting v4l2-relay daemon service...
Oct 02 11:24:55 Archtab systemd[1]: Started v4l2-relay daemon service.
Oct 02 11:24:55 Archtab (sh)[1868]: v4l2-relayd.service: Referenced but unset environment variable evaluates to an empty string: SPLASHSRC
Oct 02 11:29:27 Archtab v4l2-relayd[1868]: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed
alvinpeters commented 9 months ago

Most likely will not fix your issue but I have just fixed the icamerasrc not displaying to application by pinning it down to a july commit. Might as well try it out by redoing the install again with a fresh clone of my branch. Also, let's move this to #44 as closed issues are kinda pain in the arse to track xd

I have also modified the ./test.sh so it tries to detect if you are using Tiger Lake so only use ./test.sh.