Open betaboon opened 1 year ago
I tried https://github.com/NixOS/nixpkgs/issues/225743#issuecomment-1916499267 and it built after a long while only when hardware.ipu6.enable = false;
, but webcam still isn't detected.
If I enable ipu6
, it fails to build.
I also tried https://github.com/NixOS/nixpkgs/issues/225743#issuecomment-1984955853 without success, fails to build too.
EDIT: it doesn't build with Kernel 6.8.8 either when enabling hardware.ipu6
.
I got it building with this kernel version while enabling hardware.ipu6
, and now Firefox detects the camera!
However, it doesn't work. I noticed some initialization issues with ipu6, here's what I found in the logs:
The good news is that it works on Slack! I had a successful test call where the camera worked without issues. Also a good test for my bluetooth headphones, though the audio quality isn't as great as on my other machine, need to work on this.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/lenovo-x13s-experience-and-support/44589/15
uname -a
: Linux nixe-work 6.1.90 #1-NixOS SMP PREEMPT_DYNAMIC Thu May 2 14:29:32 UTC 2024 x86_64 GNU/Linux
nixos-version
: 24.05.20240515.33d1e75 (Uakari)
uname -a
: Linux sagaru 6.1.91 #1-NixOS SMP PREEMPT_DYNAMIC Fri May 17 09:56:25 UTC 2024 x86_64 GNU/Linux
nixos-version
: 23.11.7202.e7cc61784ddf (Tapir)
Works fine in-browser, but not in Cheese (as others have reported)
Dell Precision 5680
Linux klotz 6.1.91 #1-NixOS SMP PREEMPT_DYNAMIC Fri May 17 09:56:25 UTC 2024 x86_64 GNU/Linux
lsmod | grep -Ei "int3472|ipu"
intel_ipu6_isys 135168 0 - Live 0x0000000000000000 (O)
videobuf2_dma_contig 20480 1 intel_ipu6_isys, Live 0x0000000000000000
videobuf2_v4l2 36864 1 intel_ipu6_isys, Live 0x0000000000000000
videobuf2_common 65536 4 intel_ipu6_isys,videobuf2_dma_contig,videobuf2_memops,videobuf2_v4l2, Live 0x0000000000000000
intel_ipu6_psys 98304 0 - Live 0x0000000000000000 (O)
intel_skl_int3472_tps68470 20480 0 - Live 0x0000000000000000
intel_ipu6 106496 2 intel_ipu6_isys,intel_ipu6_psys, Live 0x0000000000000000 (O)
v4l2_fwnode 32768 2 intel_ipu6_isys,ov02c10, Live 0x0000000000000000
v4l2_async 28672 3 intel_ipu6_isys,ov02c10,v4l2_fwnode, Live 0x0000000000000000
intel_skl_int3472_discrete 16384 0 - Live 0x0000000000000000
videodev 282624 7 intel_ipu6_isys,ov02c10,videobuf2_v4l2,videobuf2_common,v4l2_async,v4l2loopback, Live 0x0000000000000000
mc 73728 7 snd_usb_audio,intel_ipu6_isys,ov02c10,videobuf2_v4l2,videobuf2_common,v4l2_async,videodev, Live 0x0000000000000000
firmware_class 49152 19 r8152,btusb,btrtl,btbcm,btintel,btmtk,intel_ipu6_isys,snd_sof,snd_hda_intel,intel_ipu6_psys,iwlwifi,mei_vsc,nvidia,cfg80211,intel_ipu6,xhci_pci_renesas,i915,drm_display_helper,drm, Live 0x0000000000000000
dmesg | grep -Ei "int3472|ipu"
[ 0.004935] ACPI: SSDT 0x000000005D744000 000150 (v02 INTEL IpuSsdt 00001000 INTL 20200717)
[ 20.460007] int3472-discrete INT3472:01: INT3472 seems to have no dependents.
[ 20.464698] int3472-discrete INT3472:06: No sensor module config
[ 20.466254] int3472-discrete INT3472:06: error -EINVAL: Failed to map regulator to sensor
[ 20.467851] int3472-discrete: probe of INT3472:06 failed with error -22
[ 20.508519] intel-ipu6 0000:00:05.0: enabling device (0000 -> 0002)
[ 20.508635] intel-ipu6 0000:00:05.0: Device 0xa75d (rev: 0x0)
[ 20.508646] intel-ipu6 0000:00:05.0: physical base address 0x644e000000
[ 20.508647] intel-ipu6 0000:00:05.0: mapped as: 0x00000000640e0e03
[ 20.508688] intel-ipu6 0000:00:05.0: IPU in secure mode
[ 20.508689] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[ 20.508690] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[ 20.525367] intel-ipu6 0000:00:05.0: IPC reset done
[ 20.525368] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin
[ 20.539634] intel-ipu6 0000:00:05.0: FW version: 20230102
[ 20.556667] intel-ipu6 0000:00:05.0: Found supported sensor OVTI02C1:00
[ 20.556801] intel-ipu6 0000:00:05.0: Connected 1 cameras
[ 20.557458] intel-ipu6 0000:00:05.0: Sending BOOT_LOAD to CSE
[ 20.566975] intel-ipu6 0000:00:05.0: Sending AUTHENTICATE_RUN to CSE
[ 20.636898] intel-ipu6 0000:00:05.0: CSE authenticate_run done
[ 20.636922] intel-ipu6 0000:00:05.0: IPU6-v3 driver version 1.0
[ 21.005766] intel-ipu6-psys intel-ipu6-psys0: pkg_dir entry count:8
[ 21.005955] intel-ipu6-psys intel-ipu6-psys0: psys probe minor: 0
[ 22.182020] intel-ipu6-isys intel-ipu6-isys0: isys port open ready failed -16
[ 22.182022] intel-ipu6-isys intel-ipu6-isys0: Device close failure: -16
Notes: Webcam shows up as "Intel MIPI Camera" but only a black image is shown (tested in Teams, Jitsi and Cheese)
Note that I dowrgraded from nixos-unstable
to 23.11
following comment https://github.com/NixOS/nixpkgs/issues/225743#issuecomment-2119466759
I've tried:
nixos-unstable
, and 23.11
(nixpkgs.url = "github:nixos/nixpkgs/e7cc61784ddf";
)hardware.ipu6
option (with platform = "ipu6ep"
) with different version of nixos.Everytime I do have a camera listed in browser, but it is always black with 0 fps. When using @flokli solution, when opening qcam
, the verbosity options lists me the camera in terminal, but the camera selection dropdown is empty.
With my latest attempt (e.g. https://github.com/NixOS/nixpkgs/issues/225743#issuecomment-1984955853 using nixos 23.11)
lsmod | grep -Ei "int3472|ipu"
intel_ipu6_isys 135168 0
videobuf2_dma_contig 20480 1 intel_ipu6_isys
videobuf2_v4l2 36864 1 intel_ipu6_isys
videobuf2_common 65536 4 videobuf2_dma_contig,videobuf2_v4l2,intel_ipu6_isys,videobuf2_memops
intel_ipu6_psys 98304 0
intel_ipu6 106496 2 intel_ipu6_isys,intel_ipu6_psys
intel_skl_int3472_tps68470 20480 0
v4l2_fwnode 32768 2 ov01a10,intel_ipu6_isys
intel_skl_int3472_discrete 16384 0
v4l2_async 28672 3 v4l2_fwnode,ov01a10,intel_ipu6_isys
videodev 282624 7 v4l2_async,videobuf2_v4l2,ov01a10,v4l2loopback,intel_ipu6_isys,videobuf2_common
mc 73728 6 v4l2_async,videodev,videobuf2_v4l2,ov01a10,intel_ipu6_isys,videobuf2_common
firmware_class 49152 17 btrtl,snd_hda_intel,intel_ipu6,xhci_pci_renesas,btmtk,snd_sof,drm_display_helper,mei_vsc,intel_ipu6_isys,btintel,btbcm,iwlwifi,btusb,i915,intel_ipu6_psys,cfg80211,drm
dmesg | grep -Ei "int3472|ipu"
[ 0.006824] ACPI: SSDT 0x000000005D75F000 000150 (v02 INTEL IpuSsdt 00001000 INTL 20200717)
[ 9.774670] int3472-discrete INT3472:01: INT3472 seems to have no dependents.
[ 9.783850] int3472-discrete INT3472:06: GPIO type 0x02 unknown; the sensor may not work
[ 9.857166] intel-ipu6 0000:00:05.0: enabling device (0000 -> 0002)
[ 9.858573] intel-ipu6 0000:00:05.0: Device 0x465d (rev: 0x6)
[ 9.858613] intel-ipu6 0000:00:05.0: physical base address 0x6076000000
[ 9.858616] intel-ipu6 0000:00:05.0: mapped as: 0x0000000053a580c3
[ 9.859840] intel-ipu6 0000:00:05.0: Unable to set secure mode
[ 9.859846] intel-ipu6 0000:00:05.0: IPU in non-secure mode
[ 9.859849] intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[ 9.859854] intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[ 9.861770] intel-ipu6 0000:00:05.0: Skip ipc reset for non-secure mode
[ 9.861776] intel-ipu6 0000:00:05.0: IPC reset done
[ 9.861779] intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin
[ 9.895194] intel-ipu6 0000:00:05.0: FW version: 20230102
[ 9.897942] intel-ipu6 0000:00:05.0: IPU6-v3 driver version 1.0
[ 10.079820] intel-ipu6-psys intel-ipu6-psys0: pkg_dir entry count:8
[ 10.080184] intel-ipu6-psys intel-ipu6-psys0: psys probe minor: 0
[ 25.186188] ipu own camera failed
grep -A4 '(CAM' dsdt.dsl
Device (CAM0)
{
Name (_HID, "INT3471") // _HID: Hardware ID
Name (_DDN, "IMX135-CRDG2") // _DDN: DOS Device Name
Name (_UID, "0") // _UID: Unique ID
--
Device (CAM1)
{
Name (_HID, "INT3474") // _HID: Hardware ID
Name (_DDN, "OV2740-CRDG2") // _DDN: DOS Device Name
Name (_UID, "0") // _UID: Unique ID
For the record, here i a screenshot of qcam
with no camera listed:
And here is the debug output:
$ LIBCAMERA_LOG_LEVELS=*:DEBUG qcam
[9:40:42.025491367] [125264] INFO IPAManager ipa_manager.cpp:143 libcamera is not installed. Adding '/nix/store/src/ipa' to the IPA search path
[9:40:42.025572011] [125264] DEBUG IPAModule ipa_module.cpp:334 ipa_ipu3.so: IPA module /nix/store/x062jabqpl2g7fbyp1z8gnmnizr90y1l-libcamera-0.2.0/lib/libcamera/ipa_ipu3.so is signed
[9:40:42.025586641] [125264] DEBUG IPAManager ipa_manager.cpp:245 Loaded IPA module '/nix/store/x062jabqpl2g7fbyp1z8gnmnizr90y1l-libcamera-0.2.0/lib/libcamera/ipa_ipu3.so'
[9:40:42.025605804] [125264] INFO Camera camera_manager.cpp:284 libcamera v0.2.0
[9:40:42.025814602] [125269] DEBUG Camera camera_manager.cpp:69 Starting camera manager
[9:40:42.033581371] [125269] DEBUG DeviceEnumerator device_enumerator.cpp:230 New media device "intel-ipu6-isys" created from /dev/media0
[9:40:42.033592688] [125269] DEBUG DeviceEnumerator device_enumerator_udev.cpp:96 Defer media device /dev/media0 due to 24 missing dependencies
[9:40:42.035072256] [125269] DEBUG DeviceEnumerator device_enumerator_udev.cpp:322 All dependencies for media device /dev/media0 found
[9:40:42.035078066] [125269] DEBUG DeviceEnumerator device_enumerator.cpp:258 Added device /dev/media0: intel-ipu6-isys
[9:40:42.035225423] [125269] DEBUG Camera camera_manager.cpp:113 Found registered pipeline handler 'PipelineHandlerIPU3'
[9:40:42.035237116] [125269] DEBUG Camera camera_manager.cpp:113 Found registered pipeline handler 'PipelineHandlerUVC'
Dell Precision 5680
Linux klotz 6.6.32 #1-NixOS SMP PREEMPT_DYNAMIC Sat May 25 14:22:56 UTC 2024 x86_64 GNU/Linux
24.05.803.b3b2b28c1daa (Uakari)
@guibou I find it very interesting that we have the same machine and same kernel version but different results. I’m going to collect the outputs of the commands you ran and see if I can spot any differences
@keeakita My branch with the specific setup which tries to mimic your configuration is here: https://github.com/guibou/nixos_config/compare/main...camera_tobias_bora
It contains the content of the file from https://github.com/NixOS/nixpkgs/issues/225743#issuecomment-1984955853 as well as specific changes in order to get the same kernel and same nixos version as you have.
The result is a "black" camera in firefox or chrome.
edit: I have this feeling that I'm super close to completion, but that I'm missing something obvious. Setting in bios looks like correct (e.g. camera is enabled), I don't have secure boot. I'm using X (are you using X or wayland?). I'm also using pipewire.
No idea if it's related but you should remove the udev rules from my comment as a first step as it hides some webcams… maybe yours was removed since the name of the camera to keep may be slightly different? What do you see in obs?
And I think to remember that I also had black camera in firefox/chrome and that I needed to change the camera (a dummy black camera is created if my memory is correct), and my udev rules were trying to automatically select the good one.
@tobiasBora, thank you. I removed the udev rules and now I have something like 10 different camera available (named dummy, or ipu6 something, in obs), but none of them are working (error, or black with 0 fps)
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/nixos-of-intel-core-ultra/46970/14
Webcam does not show up in Zoom or in Firefox.
uname -a
: Linux nixe-work 6.9.4 #1-NixOS SMP PREEMPT_DYNAMIC Wed Jun 12 09:39:59 UTC 2024 x86_64 GNU/Linux
nixos-version
: 24.11.20240613.e9ee548 (Vicuna)
lsmod | grep -Ei "int3472|ipu"
:
intel_skl_int3472_tps68470 20480 0
intel_skl_int3472_discrete 28672 0
led_class 20480 6 snd_hda_codec_generic,videodev,input_leds,iwlmvm,dell_laptop,intel_skl_int3472_discrete
dmesg | grep -Ei "int3472|ipu"
: ``grep -A4 '(CAM' dsdt.dsl
:
Device (CAM0)
{
Name (_HID, "INT3471") // _HID: Hardware ID
Name (_CID, "INT3471") // _CID: Compatible ID
Name (_DDN, "IMX135-CRDG2") // _DDN: DOS Device Name
--
Device (CAM1)
{
Name (_HID, "INT3474") // _HID: Hardware ID
Name (_CID, "INT3474") // _CID: Compatible ID
Name (_DDN, "OV2740-CRDG2") // _DDN: DOS Device Name
I tried the following snippet:
hardware.ipu6 = {
enable = true;
platform = "ipu6epmtl";
};
But then the build of ipu6-drivers-unstable-2023-11-24.drv
fails. Here is the log: build-error.log
@christoph-blessing you may have a kernelPackages = pkgs.linuxPackages_latest;
in your configuration. Remove it to revert back to a 6.6 kernel and the build should be ok. (But does not guarantee that the camera will work).
@guibou thanks for the tip. The build indeed works on 6.6 and the camera gets detected but it only outputs a black image. I am using the 6.9 kernel because of some unrelated issues with the device on 6.6.
@guibou
(are you using X or wayland?)
I'm on Wayland, specifically sway.
Re your extra outputs, I don't actaully see much different. I get exactly the same lsmod
output, and the only dmesg
diff is that doesn't report failure:
[ 26.652612] intel-ipu6-psys intel-ipu6-psys0: pkg_dir entry count:8
[ 26.652765] intel-ipu6-psys intel-ipu6-psys0: psys probe minor: 0
[ 36.177794] intel-ipu6-isys intel-ipu6-isys0: bind ov01a10 18-0036 nlanes is 1 port is 2
[ 36.177952] intel-ipu6-isys intel-ipu6-isys0: All sensor registration completed.
I also get slightly different results from dsdt:
Device (CAM0)
{
Name (_HID, "INT3471") // _HID: Hardware ID
Name (_DDN, "IMX135-CRDG2") // _DDN: DOS Device Name
Name (_UID, "0") // _UID: Unique ID
--
Device (CAM1)
{
Name (_HID, "INT3474") // _HID: Hardware ID
Name (_DDN, "OV2740-CRDG2") // _DDN: DOS Device Name
Name (_UID, "0") // _UID: Unique ID
The only other difference I see if our specific minor versions of NixOS. I'm going to try rebuilding my system off a more recent 23.11 and see if things still work.
@keeakita
I'm sorry if I'm missing something obvious, but looks like your dsdt (if what you did paste in the previous comment, https://github.com/NixOS/nixpkgs/issues/225743#issuecomment-2179647935) and mine (in https://github.com/NixOS/nixpkgs/issues/225743#issuecomment-2143298896) are the same.
I have two co workers with the same hardware and different result. Both have the same dsdt
as me, one is using wayland (and camera is working) and the other is using X (and camera is not working). The first do have the All sensor registration completed
and the other have the ipu own camera failed
messages in dmesg
.
I just tried with wayland (sway) and same in dmesg
.
The "huge" delay between the psys probe minor: 0
message and the success or failure (10s
in your case, 15
in my failure, 9s
for my collegue with success, still waiting for the timing for my collegue with failure).
I'm wondering. Either we have minor hardware differences (e.g. same XPS, but internally, intel may have done "minor" revision of the chip), or there is a service enabled/disabled or a module in our system which breaks for any reason the camera initialisation (the LONG 10+s
.).
I'm a bit dispapointed.
dmesg
let me think that wayland or X is irrelevant because the problem seems to happen on kernel space.hardware.ipu6.enable = true
option, with correct platform = "ipu6ep"
and it started to work immediately.My next try will be to install window and confirm that the camera is working, maybe it is just dead since the beginning.
I don't know if it can help, but if it works on one laptop but not the other, it might help to upgrade the firmwares and the uefi bios?
@tobiasBora everything was updated (as far as I know, we used fwupdmgr
@guibou Including the bios? You can't upgrade it via fwupdmgr
, on my Dell I needed to go to the bios itself, go to a tab like "Update" (can't remember the exact name), and follow the instructions (it will try to connect to the internet to download the latest version).
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:20.981] CamHAL[ERR] Failed to find NVM directory
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:20.981] CamHAL[ERR] Failed to find NVM directory
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:21.91] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:21.92] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:21.93] CamHAL[ERR] invalid media format, default value used.
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:21.93] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:21.93] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:21.93] CamHAL[ERR] invalid media format, default value used.
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:21.94] CamHAL[ERR] GetControl: Device node /dev/v4l-subdev16 IOCTL VIDIOC_G_EXT_CTRLS error: Invalid argument
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:21.283] CamHAL[ERR] sensor output sub device is not set
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: Enter ia_aiq_get_aiqd_data()
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: Out-aiqd data size: 41480
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:43.576] CamHAL[WAR] Failed to open file /run/camera/hi556-uf_VIDEO.aiqd, error No such file or directory
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:50.631] CamHAL[ERR] Failed to find NVM directory
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:50.631] CamHAL[ERR] Failed to find NVM directory
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:50.718] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:50.718] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:50.719] CamHAL[ERR] invalid media format, default value used.
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:50.719] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:50.719] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:50.719] CamHAL[ERR] invalid media format, default value used.
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:50.719] CamHAL[ERR] GetControl: Device node /dev/v4l-subdev16 IOCTL VIDIOC_G_EXT_CTRLS error: Invalid argument
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:50.873] CamHAL[ERR] sensor output sub device is not set
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: Enter ia_aiq_get_aiqd_data()
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: Out-aiqd data size: 41480
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:51.750] CamHAL[WAR] Failed to open file /run/camera/hi556-uf_VIDEO.aiqd, error No such file or directory
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:51.827] CamHAL[ERR] Failed to find NVM directory
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:51.827] CamHAL[ERR] Failed to find NVM directory
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:51.934] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:51.934] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:51.934] CamHAL[ERR] invalid media format, default value used.
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:51.934] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:51.935] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:51.935] CamHAL[ERR] invalid media format, default value used.
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:51.936] CamHAL[ERR] GetControl: Device node /dev/v4l-subdev16 IOCTL VIDIOC_G_EXT_CTRLS error: Invalid argument
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:52.216] CamHAL[ERR] sensor output sub device is not set
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: Enter ia_aiq_get_aiqd_data()
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: Out-aiqd data size: 41480
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:52.787] CamHAL[WAR] Failed to open file /run/camera/hi556-uf_VIDEO.aiqd, error No such file or directory
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:52.856] CamHAL[ERR] Failed to find NVM directory
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:52.857] CamHAL[ERR] Failed to find NVM directory
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:52.940] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:52.940] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:52.940] CamHAL[ERR] invalid media format, default value used.
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:52.940] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:52.940] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:52.940] CamHAL[ERR] invalid media format, default value used.
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:52.941] CamHAL[ERR] GetControl: Device node /dev/v4l-subdev16 IOCTL VIDIOC_G_EXT_CTRLS error: Invalid argument
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:34:53.173] CamHAL[ERR] sensor output sub device is not set
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: Enter ia_aiq_get_aiqd_data()
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: Out-aiqd data size: 41480
Jul 05 09:35:07 box v4l2-relayd-ipu6-start[46582]: [07-05 09:35:07.534] CamHAL[WAR] Failed to open file /run/camera/hi556-uf_VIDEO.aiqd, error No such file or directory
Jul 05 09:35:07 box systemd-timesyncd[1159]: Network configuration changed, trying to establish connection.
Jul 05 09:35:07 box v4l2-relayd-ipu6-post-stop[47000]: /dev/video28: Device or resource busy
Jul 05 09:35:07 box systemd[1]: v4l2-relayd-ipu6.service: Deactivated successfully.
Jul 05 09:35:07 box systemd[1]: v4l2-relayd-ipu6.service: Consumed 12.533s CPU time, no IP traffic.
Jul 05 09:35:07 box systemd-timesyncd[1159]: Contacted time server 131.111.8.61:123 (3.nixos.pool.ntp.org).
Jul 05 09:35:07 box systemd[1]: v4l2-relayd-ipu6.service: Scheduled restart job, restart counter is at 23.
Jul 05 09:35:07 box systemd[1]: Starting Streaming relay for v4l2loopback using GStreamer...
Jul 05 09:35:07 box systemd-timesyncd[1159]: Network configuration changed, trying to establish connection.
Jul 05 09:35:07 box systemd[1]: Started Streaming relay for v4l2loopback using GStreamer.
Jul 05 09:35:07 box systemd-timesyncd[1159]: Network configuration changed, trying to establish connection.
Jul 05 09:35:07 box systemd-timesyncd[1159]: Contacted time server 131.111.8.61:123 (3.nixos.pool.ntp.org).
Jul 05 09:35:08 box v4l2-relayd[47011]: Registering meta implementation 'GstCamerasrcMeta' without init function
Jul 05 09:35:08 box kernel: intel-ipu6-isys intel-ipu6-isys0: stream on hi556 12-0020
Jul 05 09:35:09 box kernel: intel-ipu6-isys intel-ipu6-isys0: stream off hi556 12-0020
Recently a couple of PRs introduced support for Intel MIPI/IPU6 based webcams. (#212799, #225160, #225292)
As the upstream situation for these devices currently is a mess, this does not work on all devices.
This tracking issue should serve two purposes:
reporting success
please provide the following information:
Lenovo X1 Carbon Gen 10 21CB00B9GE
)uname -a
nixos-version
reporting failure
please provide the following information:
Lenovo X1 Carbon Gen 10 21CB00B9GE
)uname -a
nixos-version
lsmod | grep -Ei "int3472|ipu"
dmesg | grep -Ei "int3472|ipu"
Known-good devices