Open rmasad opened 1 month ago
I have a dell precision 5680 and it is now working in 24.04 too...
What kernel version do you have? Any extra step do you do that fix the camara?
I've tried 6.8 and 6.9 and 6.91 and it doesn't work no matter what I do.
On Tue, May 21, 2024, 10:07 rmasad @.***> wrote:
What kernel version do you have? Any extra step do you do that fix the camara?
— Reply to this email directly, view it on GitHub https://github.com/intel/ipu6-drivers/issues/228#issuecomment-2123071463, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAETWKCECSZSJAWLSTDKAUTZDN5MXAVCNFSM6AAAAABH2YM5WSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRTGA3TCNBWGM . You are receiving this because you commented.Message ID: @.***>
What's more strange is that I go back to kernel 6.5.0-35-generic (where it worked before) and it doesn't work anymore.
I was silly enough to upgrade kernel to 6.8 and the driver the latest and my camera doesn't work anymore:
int3472-discrete INT3472:06: cannot find GPIO chip INTC1096:00, deferring
Before I had kernel 6.6 for 3 months and it worked fine. Unfortunately rolling back to kernel 6.6 and even all 4 ipu6 repos to ~February did help. The laptop: X1 Carbon Gen 11. Debian sid with patched kernel.
Ubuntu 24.04 with kernel and packages from the 6.8.0-32 series (currently in noble-proposed) do work out of the box. To get the noble-proposed packages, one need to select Software & Updates->Developer Options->pre-release updates, apt update, and apt install the 6.8.0-32 linux image, module, and dkms packages. These image and module packages contain the upstream kernel patches and intel-ipu6 drivers.
For example, it just works with zoom.
It is not perfect, however. Sometimes the video hangs and needs to be reset. Sometimes these hangs prevent the system from suspending which requires a reboot. But it's usable. Hoping that this will soon be reliable?
I should say: I have a Carbon X11 Gen 11. For some reason, this hardware is particularly finicky by combining experiences of others.
Ubuntu 24.04 with kernel and packages from the 6.8.0-32 series (currently in noble-proposed) do work out of the box. To get the noble-proposed packages, one need to select Software & Updates->Developer Options->pre-release updates, apt update, and apt install the 6.8.0-32 linux image, module, and dkms packages. These image and module packages contain the upstream kernel patches and intel-ipu6 drivers.
For example, it just works with zoom.
It is not perfect, however. Sometimes the video hangs and needs to be reset. Sometimes these hangs prevent the system from suspending which requires a reboot. But it's usable. Hoping that this will soon be reliable?
I should say: I have a Carbon X11 Gen 11. For some reason, this hardware is particularly finicky by combining experiences of others.
Hmmm. No updates available after toggling pre-release updates then apt update.
I think you need to apt install
the packages directly. Not an apt upgrade
. So stuff like:
apt install linux-generic-hwe-24.04/noble-proposed linux-headers-generic-hwe-24.04/noble-proposed
apt install linux-modules-ipu6-6.8.0-32-generic/noble-proposed
Hopefully, I didn't miss one (this is by memory). I also seemed to need:
apt reinstall intel-ipu6-dkms
Not 100% sure that this is right. But it worked.
What if you are using mainline 6.9.1 ?
On Wed, May 22, 2024 at 7:14 PM Martin Weinberg @.***> wrote:
I think you need to apt install the packages directly. Not an apt upgrade. So stuff like:
apt install linux-generic-hwe-24.04/noble-proposed linux-headers-generic-hwe-24.04/noble-proposed apt install linux-modules-ipu6-6.8.0-32-generic/noble-proposed
Hopefully, I didn't miss one (this is by memory). I also seemed to need:
apt reinstall intel-ipu6-dkms
Not 100% sure that this is right. But it worked.
— Reply to this email directly, view it on GitHub https://github.com/intel/ipu6-drivers/issues/228#issuecomment-2126066004, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAETWKBOVHXSBPBDMZZZPITZDVGILAVCNFSM6AAAAABH2YM5WSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRWGA3DMMBQGQ . You are receiving this because you commented.Message ID: @.***>
@The9Cat I tried what you proposed and nothing.
What catches my attention is that when doing v4l2-ctl --list-devices I get only one device (and not the 3 that appear in the blog post I sent before):
$ v4l2-ctl --list-devices
Intel MIPI Camera (platform:v4l2loopback-000):
/dev/video0
I think you need to
apt install
the packages directly. Not anapt upgrade
. So stuff like:apt install linux-generic-hwe-24.04/noble-proposed linux-headers-generic-hwe-24.04/noble-proposed apt install linux-modules-ipu6-6.8.0-32-generic/noble-proposed
Hopefully, I didn't miss one (this is by memory). I also seemed to need:
apt reinstall intel-ipu6-dkms
Not 100% sure that this is right. But it worked.
Thanks. But this caused my trackpad to not work and a few issues with the screen itself. Rolled back to 6.8.0-31.
That's strange. My understanding is that this noble-proposed kernel set applies the patches from this site (https://github.com/intel/ipu6-drivers) to the standard Ubuntu 6.8.0 kernel source. So I'm surprised that this breaks things for @heredia21 . Sorry about that.
One could try one of the methods in the README for the 6.9.1 mainline.
I'm prepared to wait for maintainer support, myself.
@rmasad I'm mystified. You rebooted to the new kernel and nothing? When you say 'nothing', what did you try? For example, Camera
(a.k.a. gnome-snapshot) detects the devices but doesn't work for any device for me; not even a uvc camera. I should attempt to troubleshoot that. Separate issue.
Seems to me that your system must have configured the camera at some level or you would not see anything in v4l2
. Did you check your dmesg to see if it found the ipu6
stuff? E.g. sudo grep ipu6 /var/log/dmesg
? I see:
[ 23.883497] kernel: intel-ipu6 0000:00:05.0: Device 0xa75d (rev: 0x0)
[ 23.883525] kernel: intel-ipu6 0000:00:05.0: physical base address 0x603c000000
[ 23.883527] kernel: intel-ipu6 0000:00:05.0: mapped as: 0x0000000074d90f91
[ 23.883651] kernel: intel-ipu6 0000:00:05.0: IPU in secure mode
[ 23.883660] kernel: intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[ 23.883664] kernel: intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[ 23.900686] kernel: intel-ipu6 0000:00:05.0: IPC reset done
[ 23.900691] kernel: intel-ipu6 0000:00:05.0: cpd file name: ipu6ep_fw.bin
[ 23.906846] kernel: intel-ipu6 0000:00:05.0: FW version: 20230925
[ 23.908413] kernel: intel-ipu6 0000:00:05.0: Found supported sensor INT3474:01
[ 23.908678] kernel: intel-ipu6 0000:00:05.0: Connected 1 cameras
[ 23.910347] kernel: intel-ipu6 0000:00:05.0: Sending BOOT_LOAD to CSE
[ 23.922429] kernel: intel-ipu6 0000:00:05.0: Sending AUTHENTICATE_RUN to CSE
[ 24.013247] kernel: intel-ipu6 0000:00:05.0: CSE authenticate_run done
[ 24.013275] kernel: intel-ipu6 0000:00:05.0: IPU6-v3 driver version 1.0
[ 24.064755] kernel: intel-ipu6-psys intel-ipu6-psys0: pkg_dir entry count:8
[ 24.064921] kernel: intel-ipu6-psys intel-ipu6-psys0: psys probe minor: 0
[ 24.154810] kernel: intel-ipu6-isys intel-ipu6-isys0: bind ov2740 3-0036 nlanes is 2 port is 1
[ 24.155087] kernel: intel-ipu6-isys intel-ipu6-isys0: All sensor registration completed.
At that point, I can use vlc
or zoom
to stream video.
@The9Cat the output of sudo grep ipu6 /var/log/dmesg
is:
[ 4.015205] kernel: intel-ipu6 0000:00:05.0: enabling device (0000 -> 0002)
[ 4.015602] kernel: intel-ipu6 0000:00:05.0: Device 0xa75d (rev: 0x0)
[ 4.015627] kernel: intel-ipu6 0000:00:05.0: physical base address 0x603c000000
[ 4.015629] kernel: intel-ipu6 0000:00:05.0: mapped as: 0x000000002c53b4a4
[ 4.015698] kernel: intel-ipu6 0000:00:05.0: IPU in secure mode
[ 4.015700] kernel: intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[ 4.015702] kernel: intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[ 4.017795] kernel: intel-ipu6 0000:00:05.0: IPC reset done
[ 4.017800] kernel: intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin
[ 4.018682] kernel: intel-ipu6 0000:00:05.0: Direct firmware load for intel/ipu6ep_fw.bin failed with error -2
[ 4.018689] kernel: intel-ipu6 0000:00:05.0: Requesting signed firmware failed
[ 4.018970] kernel: intel-ipu6: probe of 0000:00:05.0 failed with error -2
That's strange. I thought that issue was fixed in the latest source but maybe not. I had to copy /lib/firmware/intel/ipu/ipu6ep_fw.bin.zst
to /lib/firmware/intel
. Maybe do that and try again?
It works on kernel 6.5.0-35 but not on 6.8.0-32.
I leave the logs of sudo grep ipu6 /var/log/dmesg
:
[ 3.833691] kernel: intel-ipu6 0000:00:05.0: enabling device (0000 -> 0002)
[ 3.833857] kernel: intel-ipu6 0000:00:05.0: Device 0xa75d (rev: 0x0)
[ 3.833878] kernel: intel-ipu6 0000:00:05.0: physical base address 0x603c000000
[ 3.833880] kernel: intel-ipu6 0000:00:05.0: mapped as: 0x00000000adfa0952
[ 3.834075] kernel: intel-ipu6 0000:00:05.0: IPU in secure mode
[ 3.834078] kernel: intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[ 3.834080] kernel: intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[ 3.852020] kernel: intel-ipu6 0000:00:05.0: IPC reset done
[ 3.852024] kernel: intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin
[ 3.857344] kernel: intel-ipu6 0000:00:05.0: FW version: 20230925
[ 3.860740] kernel: intel-ipu6 0000:00:05.0: Device 0xa75d (rev: 0x0)
[ 3.860756] kernel: intel-ipu6 0000:00:05.0: physical base address 0x603c000000
[ 3.860758] kernel: intel-ipu6 0000:00:05.0: mapped as: 0x00000000adfa0952
[ 3.860804] kernel: intel-ipu6 0000:00:05.0: IPU in secure mode
[ 3.860807] kernel: intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[ 3.860809] kernel: intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[ 3.865971] kernel: intel-ipu6 0000:00:05.0: IPC reset done
[ 3.865975] kernel: intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin
[ 3.869159] kernel: intel-ipu6 0000:00:05.0: FW version: 20230925
[ 3.871462] kernel: intel-ipu6 0000:00:05.0: Device 0xa75d (rev: 0x0)
[ 3.871479] kernel: intel-ipu6 0000:00:05.0: physical base address 0x603c000000
[ 3.871481] kernel: intel-ipu6 0000:00:05.0: mapped as: 0x0000000052e114ab
[ 3.871567] kernel: intel-ipu6 0000:00:05.0: IPU in secure mode
[ 3.871569] kernel: intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[ 3.871570] kernel: intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[ 3.874609] kernel: intel-ipu6 0000:00:05.0: IPC reset done
[ 3.874629] kernel: intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin
[ 3.878413] kernel: intel-ipu6 0000:00:05.0: FW version: 20230925
[ 3.901518] kernel: intel-ipu6 0000:00:05.0: Device 0xa75d (rev: 0x0)
[ 3.901540] kernel: intel-ipu6 0000:00:05.0: physical base address 0x603c000000
[ 3.901543] kernel: intel-ipu6 0000:00:05.0: mapped as: 0x00000000adfa0952
[ 3.901600] kernel: intel-ipu6 0000:00:05.0: IPU in secure mode
[ 3.901604] kernel: intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[ 3.901606] kernel: intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[ 3.903949] kernel: intel-ipu6 0000:00:05.0: IPC reset done
[ 3.903953] kernel: intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin
[ 3.908547] kernel: intel-ipu6 0000:00:05.0: FW version: 20230925
[ 3.914126] kernel: intel-ipu6 0000:00:05.0: Device 0xa75d (rev: 0x0)
[ 3.914140] kernel: intel-ipu6 0000:00:05.0: physical base address 0x603c000000
[ 3.914141] kernel: intel-ipu6 0000:00:05.0: mapped as: 0x0000000052e114ab
[ 3.914189] kernel: intel-ipu6 0000:00:05.0: IPU in secure mode
[ 3.914194] kernel: intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[ 3.914196] kernel: intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[ 3.916960] kernel: intel-ipu6 0000:00:05.0: IPC reset done
[ 3.916964] kernel: intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin
[ 3.919755] kernel: intel-ipu6 0000:00:05.0: FW version: 20230925
[ 3.921958] kernel: intel-ipu6 0000:00:05.0: Device 0xa75d (rev: 0x0)
[ 3.921977] kernel: intel-ipu6 0000:00:05.0: physical base address 0x603c000000
[ 3.921979] kernel: intel-ipu6 0000:00:05.0: mapped as: 0x0000000052e114ab
[ 3.922033] kernel: intel-ipu6 0000:00:05.0: IPU in secure mode
[ 3.922036] kernel: intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[ 3.922038] kernel: intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[ 3.923825] kernel: intel-ipu6 0000:00:05.0: IPC reset done
[ 3.923828] kernel: intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin
[ 3.928858] kernel: intel-ipu6 0000:00:05.0: FW version: 20230925
[ 3.942759] kernel: intel-ipu6 0000:00:05.0: Device 0xa75d (rev: 0x0)
[ 3.942781] kernel: intel-ipu6 0000:00:05.0: physical base address 0x603c000000
[ 3.942783] kernel: intel-ipu6 0000:00:05.0: mapped as: 0x0000000052e114ab
[ 3.942873] kernel: intel-ipu6 0000:00:05.0: IPU in secure mode
[ 3.942875] kernel: intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[ 3.942876] kernel: intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[ 3.944701] kernel: intel-ipu6 0000:00:05.0: IPC reset done
[ 3.944705] kernel: intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin
[ 3.948861] kernel: intel-ipu6 0000:00:05.0: FW version: 20230925
[ 3.956970] kernel: intel-ipu6 0000:00:05.0: Device 0xa75d (rev: 0x0)
[ 3.956982] kernel: intel-ipu6 0000:00:05.0: physical base address 0x603c000000
[ 3.956983] kernel: intel-ipu6 0000:00:05.0: mapped as: 0x0000000037355ac1
[ 3.957058] kernel: intel-ipu6 0000:00:05.0: IPU in secure mode
[ 3.957059] kernel: intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[ 3.957061] kernel: intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[ 3.958838] kernel: intel-ipu6 0000:00:05.0: IPC reset done
[ 3.958841] kernel: intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin
[ 3.962664] kernel: intel-ipu6 0000:00:05.0: FW version: 20230925
[ 3.994818] kernel: intel-ipu6 0000:00:05.0: Device 0xa75d (rev: 0x0)
[ 3.994831] kernel: intel-ipu6 0000:00:05.0: physical base address 0x603c000000
[ 3.994833] kernel: intel-ipu6 0000:00:05.0: mapped as: 0x0000000052e114ab
[ 3.994907] kernel: intel-ipu6 0000:00:05.0: IPU in secure mode
[ 3.994908] kernel: intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[ 3.994909] kernel: intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[ 3.996741] kernel: intel-ipu6 0000:00:05.0: IPC reset done
[ 3.996747] kernel: intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin
[ 3.999246] kernel: intel-ipu6 0000:00:05.0: FW version: 20230925
[ 4.016939] kernel: intel-ipu6 0000:00:05.0: Device 0xa75d (rev: 0x0)
[ 4.016952] kernel: intel-ipu6 0000:00:05.0: physical base address 0x603c000000
[ 4.016953] kernel: intel-ipu6 0000:00:05.0: mapped as: 0x0000000052e114ab
[ 4.016991] kernel: intel-ipu6 0000:00:05.0: IPU in secure mode
[ 4.016992] kernel: intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[ 4.016993] kernel: intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[ 4.018849] kernel: intel-ipu6 0000:00:05.0: IPC reset done
[ 4.018850] kernel: intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin
[ 4.021116] kernel: intel-ipu6 0000:00:05.0: FW version: 20230925
[ 4.042465] kernel: intel-ipu6 0000:00:05.0: Device 0xa75d (rev: 0x0)
[ 4.042489] kernel: intel-ipu6 0000:00:05.0: physical base address 0x603c000000
[ 4.042491] kernel: intel-ipu6 0000:00:05.0: mapped as: 0x0000000052e114ab
[ 4.042534] kernel: intel-ipu6 0000:00:05.0: IPU in secure mode
[ 4.042536] kernel: intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[ 4.042538] kernel: intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[ 4.044318] kernel: intel-ipu6 0000:00:05.0: IPC reset done
[ 4.044328] kernel: intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin
[ 4.045761] kernel: intel-ipu6 0000:00:05.0: FW version: 20230925
[ 4.047469] kernel: intel-ipu6 0000:00:05.0: Device 0xa75d (rev: 0x0)
[ 4.047480] kernel: intel-ipu6 0000:00:05.0: physical base address 0x603c000000
[ 4.047481] kernel: intel-ipu6 0000:00:05.0: mapped as: 0x0000000037355ac1
[ 4.047529] kernel: intel-ipu6 0000:00:05.0: IPU in secure mode
[ 4.047530] kernel: intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[ 4.047531] kernel: intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[ 4.049318] kernel: intel-ipu6 0000:00:05.0: IPC reset done
[ 4.049322] kernel: intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin
[ 4.051003] kernel: intel-ipu6 0000:00:05.0: FW version: 20230925
[ 4.090575] kernel: intel-ipu6 0000:00:05.0: Device 0xa75d (rev: 0x0)
[ 4.090606] kernel: intel-ipu6 0000:00:05.0: physical base address 0x603c000000
[ 4.090607] kernel: intel-ipu6 0000:00:05.0: mapped as: 0x0000000052e114ab
[ 4.090692] kernel: intel-ipu6 0000:00:05.0: IPU in secure mode
[ 4.090694] kernel: intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[ 4.090695] kernel: intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[ 4.092508] kernel: intel-ipu6 0000:00:05.0: IPC reset done
[ 4.092511] kernel: intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin
[ 4.093728] kernel: intel-ipu6 0000:00:05.0: FW version: 20230925
[ 4.096341] kernel: intel-ipu6 0000:00:05.0: Found supported sensor INT3474:01
[ 4.096483] kernel: intel-ipu6 0000:00:05.0: Connected 1 cameras
[ 4.097513] kernel: intel-ipu6 0000:00:05.0: Sending BOOT_LOAD to CSE
[ 4.107413] kernel: intel-ipu6 0000:00:05.0: Sending AUTHENTICATE_RUN to CSE
[ 4.178474] kernel: intel-ipu6 0000:00:05.0: CSE authenticate_run done
[ 4.178538] kernel: intel-ipu6 0000:00:05.0: IPU6-v3 driver version 1.0
[ 4.179483] kernel: ipu_isys_queue_cleanup+0x12/0x20 [intel_ipu6_isys]
[ 4.179493] kernel: ipu_isys_video_cleanup+0x2e/0x40 [intel_ipu6_isys]
[ 4.179499] kernel: ipu_isys_csi2_be_soc_cleanup+0x37/0x50 [intel_ipu6_isys]
[ 4.179505] kernel: isys_unregister_subdevices+0x40/0xa0 [intel_ipu6_isys]
[ 4.179511] kernel: isys_probe+0x5c5/0xb80 [intel_ipu6_isys]
[ 4.179518] kernel: ? __pfx_isys_probe+0x10/0x10 [intel_ipu6_isys]
[ 4.179523] kernel: ipu_bus_probe+0x72/0x130 [intel_ipu6]
[ 4.179571] kernel: Modules linked in: i915(+) polyval_generic(+) snd_compress(+) mac80211(+) ghash_clmulni_intel btusb ac97_bus sha256_ssse3 btrtl snd_pcm_dmaengine sha1_ssse3 processor_thermal_device_pci btintel processor_thermal_device intel_ipu6_isys(O) drm_buddy libarc4 snd_hda_intel aesni_intel btbcm processor_thermal_wt_hint videobuf2_dma_contig ttm snd_intel_dspcfg crypto_simd spi_nor btmtk processor_thermal_rfim videobuf2_memops snd_intel_sdw_acpi drm_display_helper videobuf2_v4l2 cryptd mtd processor_thermal_rapl spi_ljca gpio_ljca iwlwifi bluetooth i2c_ljca snd_hda_codec videobuf2_common cec think_lmi(+) intel_rapl_msr ecdh_generic rapl intel_rapl_common nxp_nci_i2c mei_pxp mei_hdcp intel_ipu6_psys(O) intel_skl_int3472_tps68470 intel_cstate nxp_nci snd_hda_core processor_thermal_wt_req spi_intel_pci usb_ljca ecc firmware_attributes_class rc_core wmi_bmof intel_pmc_core tps68470_regulator cfg80211 thinkpad_acpi mei_me ov2740(O) processor_thermal_power_floor nci spi_intel i2c_i801 snd_hwdep mei i2c_smbus i2c_algo_bit
[ 4.179604] kernel: intel_ipu6(O) igen6_edac clk_tps68470 intel_vsec v4l2_fwnode int3403_thermal intel_hid soc_button_array processor_thermal_mbox nvram int340x_thermal_zone nfc pmt_telemetry mei_vsc_hw int3400_thermal intel_skl_int3472_discrete v4l2_async acpi_thermal_rel sparse_keymap acpi_tad acpi_pad pmt_class joydev input_leds mac_hid serio_raw v4l2loopback(O) msr snd_aloop snd_pcm snd_timer videodev mc parport_pc ppdev lp parport efi_pstore nfnetlink dmi_sysfs ip_tables x_tables autofs4 intel_ishtp_hid hid_multitouch hid_generic nvme ucsi_acpi intel_lpss_pci snd nvme_core typec_ucsi xhci_pci intel_ish_ipc intel_lpss psmouse i2c_hid_acpi crc32_pclmul soundcore idma64 intel_ishtp xhci_pci_renesas nvme_auth typec thunderbolt i2c_hid ledtrig_audio video hid platform_profile wmi pinctrl_tigerlake
Same here, noble 24.04 (with kernel 6.8.0.31) and no camera :-(
However I don't have the same logs
[ 2.978150] kernel: intel_ipu6: loading out-of-tree module taints kernel. [ 2.978157] kernel: intel_ipu6: module verification failed: signature and/or required key missing - tainting kernel [ 2.982148] kernel: intel-ipu6 0000:00:05.0: enabling device (0000 -> 0002) [ 2.982299] kernel: intel-ipu6 0000:00:05.0: Device 0x465d (rev: 0x2) [ 2.982325] kernel: intel-ipu6 0000:00:05.0: physical base address 0x618e000000 [ 2.982327] kernel: intel-ipu6 0000:00:05.0: mapped as: 0x00000000e6481492 [ 2.982381] kernel: intel-ipu6 0000:00:05.0: Unable to set secure mode [ 2.982385] kernel: intel-ipu6 0000:00:05.0: IPU in non-secure mode [ 2.982387] kernel: intel-ipu6 0000:00:05.0: IPU secure touch = 0x0 [ 2.982388] kernel: intel-ipu6 0000:00:05.0: IPU camera mask = 0xff [ 2.982727] kernel: intel-ipu6 0000:00:05.0: Skip ipc reset for non-secure mode [ 2.982730] kernel: intel-ipu6 0000:00:05.0: IPC reset done [ 2.982732] kernel: intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin [ 2.984033] kernel: intel-ipu6 0000:00:05.0: Direct firmware load for intel/ipu6ep_fw.bin failed with error -2 [ 2.984040] kernel: intel-ipu6 0000:00:05.0: Requesting signed firmware failed
The package was install via apt reinstall intel-ipu6-dkm
@yger I believe that you need the following steps:
apt update
, and apt install
the 6.8.0-35 linux image and modules like this:
sudo apt install linux-image-6.8.0-35-generic/noble-proposed linux-headers-6.8.0-35-generic linux-modules-6.8.0-35-generic/noble-proposed linux-modules-extra-6.8.0-35-generic/noble-proposed linux-modules-ipu6-6.8.0-35-generic/noble-proposed linux-tools-6.8.0-35/noble-proposed
sudo apt reinstall intel-ipu6-dkms
linux-firmware
package is putting the firmware in /lib/firmware/intel/ipu
but the driver is expecting it in /lib/firmware/intel
. So copy /lib/firmware/intel/ipu/ipu6ep_fw.bin.zst
to /lib/firmware/intel
. This directory issue has been noted by a develper and is supposed to be fixed upstream. So eventually, this workaround will not be necessary.Also, you may not need all of these packages, depending on your use case. the image and ipu6 modules packages may be sufficient. Also, I needed the apt reinstall intel-ipu6-dkm
for reasons that I do not fully understand (was it to clean up the previous non-working out-of-tree implementation?).
Also, just so everyone knows: I'm just a user trying to provide info to the developers to get this thing fixed. So I'm sharing my experience to help anyone who's willing to try but I'm not in a position to really fix this myself.
@rmasad I've also seen stuff like this. You might try rebooting again, just to test. I've found that most of the time it boots correctly but not every time. Some sort of hardware timing issue? Not sure. I'm currently finding it to be mostly reliable but not 100%.
Thanks a lot for the help, really appreciated. Sadly however, I followed all your suggestion and the problem remains. I now have kernel 6.8.0.35, but sill the following
[ 2.984544] kernel: intel_ipu6: loading out-of-tree module taints kernel. [ 2.984553] kernel: intel_ipu6: module verification failed: signature and/or required key missing - tainting kernel [ 2.991590] kernel: intel-ipu6 0000:00:05.0: enabling device (0000 -> 0002) [ 2.992194] kernel: intel-ipu6 0000:00:05.0: Device 0x465d (rev: 0x2) [ 2.992218] kernel: intel-ipu6 0000:00:05.0: physical base address 0x618e000000 [ 2.992219] kernel: intel-ipu6 0000:00:05.0: mapped as: 0x00000000a751386a [ 2.992267] kernel: intel-ipu6 0000:00:05.0: Unable to set secure mode [ 2.992268] kernel: intel-ipu6 0000:00:05.0: IPU in non-secure mode [ 2.992269] kernel: intel-ipu6 0000:00:05.0: IPU secure touch = 0x0 [ 2.992271] kernel: intel-ipu6 0000:00:05.0: IPU camera mask = 0xff [ 2.992439] kernel: intel-ipu6 0000:00:05.0: Skip ipc reset for non-secure mode [ 2.992442] kernel: intel-ipu6 0000:00:05.0: IPC reset done [ 2.992443] kernel: intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin [ 2.997230] kernel: intel-ipu6 0000:00:05.0: FW version: 20230925 [ 3.000422] kernel: intel-ipu6 0000:00:05.0: IPU6-v3 driver version 1.0 [ 3.043934] kernel: intel-ipu6-psys intel-ipu6-psys0: pkg_dir entry count:8 [ 3.044071] kernel: intel-ipu6-psys intel-ipu6-psys0: psys probe minor: 0 [ 3.661015] kernel: ipu_isys_queue_cleanup+0x12/0x20 [intel_ipu6_isys] [ 3.661030] kernel: ipu_isys_video_cleanup+0x2e/0x40 [intel_ipu6_isys] [ 3.661042] kernel: ipu_isys_csi2_be_soc_cleanup+0x37/0x50 [intel_ipu6_isys] [ 3.661055] kernel: isys_unregister_subdevices+0x40/0xa0 [intel_ipu6_isys] [ 3.661067] kernel: isys_probe+0x5c5/0xb80 [intel_ipu6_isys] [ 3.661082] kernel: ipu_bus_probe+0x72/0x130 [intel_ipu6] [ 3.661115] kernel: ? __pfx_isys_driver_init+0x10/0x10 [intel_ipu6_isys] [ 3.661128] kernel: ipu_bus_register_driver+0x16/0x20 [intel_ipu6] [ 3.661137] kernel: isys_driver_init+0x15/0xff0 [intel_ipu6_isys] [ 3.661214] kernel: Modules linked in: btintel(+) crct10dif_pclmul snd_rawmidi intel_ipu6_isys(OE+) polyval_clmulni libarc4 polyval_generic btbcm ghash_clmulni_intel videobuf2_dma_contig btmtk hid_sensor_custom_intel_hinge hid_sensor_als hid_sensor_gyro_3d nvidia_drm(POE+) sha256_ssse3 snd_seq dell_wmi(+) hid_sensor_trigger videobuf2_memops sha1_ssse3 snd_seq_device bluetooth nvidia_modeset(POE) videobuf2_v4l2 industrialio_triggered_buffer drm_buddy processor_thermal_device_pci(+) iwlwifi aesni_intel dell_smbios snd_timer kfifo_buf processor_thermal_device ttm videobuf2_common dell_wmi_sysman(+) ecdh_generic hid_sensor_iio_common processor_thermal_wt_hint crypto_simd dcdbas nvidia(POE) cryptd rapl intel_cstate processor_thermal_rfim ecc usb_ljca dell_smm_hwmon dell_wmi_ddv ledtrig_audio intel_ipu6_psys(OE) dell_wmi_descriptor spi_intel_pci firmware_attributes_class wmi_bmof industrialio snd drm_display_helper processor_thermal_rapl i2c_i801 ov01a10(OE) cfg80211 spi_intel mei_me i2c_smbus intel_rapl_common soundcore cec [ 3.661250] kernel: v4l2_fwnode intel_skl_int3472_tps68470 processor_thermal_wt_req processor_thermal_power_floor v4l2_async mei tps68470_regulator rc_core int3403_thermal processor_thermal_mbox clk_tps68470 i2c_algo_bit intel_ipu6(OE) mei_vsc_hw int340x_thermal_zone igen6_edac videodev intel_pmc_core mc intel_skl_int3472_discrete intel_hid input_leds joydev intel_vsec int3400_thermal pmt_telemetry sparse_keymap pmt_class acpi_tad acpi_pad acpi_thermal_rel mac_hid serio_raw msr parport_pc ppdev lp parport efi_pstore nfnetlink dmi_sysfs ip_tables x_tables autofs4 raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 hid_sensor_custom hid_sensor_hub intel_ishtp_hid nvme nvme_core hid_multitouch nvme_auth hid_generic spi_pxa2xx_platform ahci dw_dmac dw_dmac_core libahci 8250_dw rtsx_pci_sdmmc video crc32_pclmul ucsi_acpi psmouse thunderbolt typec_ucsi intel_lpss_pci intel_ish_ipc xhci_pci intel_lpss rtsx_pci intel_ishtp vmd xhci_pci_renesas idma64 typec i2c_hid_acpi i2c_hid
I'm using a Dell Precision 5470, and loooking forward for a possible fix!
Hm. I don't have a good answer for this. A few things/questions come to mind:
@rmasad @yger commit ac347ffb9372c8e15f16302c0920bec204379e9e should fix the FW path issue on Ubuntu 24.04.
Seems something bad happened in ipu6 driver in later callstack, please share a full dmesg and I will check it.
@yger @rmasad On Ubuntu 24.04, package intel-ipu6-dkms at version 07f0612ea is outdated and doesn't include the change for kernel v6.8, which use the ipu-bridge for fwnode creating. The latest master should works.
did you manage to solve this , I have the same issue , Ubuntu 24.04, kernel 6.9 laptop xps 16, I tried many methods but no lucks here is the output of my sudo grep ipu6 /var/log/dmesg:
[ 4.842580] kernel: intel_ipu6: loading out-of-tree module taints kernel. [ 4.842585] kernel: intel_ipu6: module verification failed: signature and/or required key missing - tainting kernel [ 4.866168] kernel: intel-ipu6 0000:00:05.0: enabling device (0000 -> 0002) [ 4.866643] kernel: intel-ipu6 0000:00:05.0: Device 0x7d19 (rev: 0x4) [ 4.866652] kernel: intel-ipu6 0000:00:05.0: physical base address 0x5229000000 [ 4.866654] kernel: intel-ipu6 0000:00:05.0: mapped as: 0x0000000000d78e90 [ 4.866726] kernel: intel-ipu6 0000:00:05.0: IPU in secure mode [ 4.866728] kernel: intel-ipu6 0000:00:05.0: IPU secure touch = 0x80000000 [ 4.866729] kernel: intel-ipu6 0000:00:05.0: IPU camera mask = 0x0 [ 4.878670] kernel: intel-ipu6 0000:00:05.0: IPC reset done [ 4.878677] kernel: intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6epmtl_fw.bin [ 4.878738] kernel: intel-ipu6 0000:00:05.0: Direct firmware load for intel/ipu6epmtl_fw.bin failed with error -2 [ 4.878741] kernel: intel-ipu6 0000:00:05.0: Requesting signed firmware failed [ 4.878754] kernel: intel-ipu6 0000:00:05.0: probe with driver intel-ipu6 failed with error -2
@hao-yao I believe that the Ubuntu package maintainer has integrated your kernel patches, the in-tree ivsc driver, and ipu6 drivers into the 6.8.0-35 series now in noble-proposed. Is this any way for you to check if this is enough? It does seem to work, although it occasionally times out. Restarting the v4l2-relayd often gets it working, but not always. In some cases, the system requires a reboot to allow a suspend. The suspend problem is occasional; many times it just works as expected.
@MarjanHJ As in my e-mails above, you might try the 6.8.0-35 series now in noble-proposed. It does work for me (most of the time) but as you can see by reading this thread, it does not work for everyone. Also note: there is some confusion about the fw location. You might try, as I suggested here, copying the fw file that you need for your sensor, in this case /lib/firmware/intel/ipu/ipu6epmtl_fw.bin.zst
up to /lib/firware/intel
.
@The9Cat thanks for your response, I have already updated my kernel to 6.9 because my audio was not working with kernel 6.8 as well , fortunately audio is working now with 6.9 mainline but camera is still not working, I have also copied the firmware file and didn't work, I hope someone can suggest a way to solve this. thanks
6.8.0-35 still not working
Also struggling with getting ipu6 camera working on noble. My HW is Dell Precision 5680. Related to the claim by @The9Cat that it should "work out of the box", I fail to understand how exactly?
I thought these cameras requires the gstreamer1.0-icamera package to work, and I cannot find any package containing this in standard noble repositories?
What packages should I need, from where?
I also still haven't managed to fix this issue, my laptop is xps 16 , ubuntu 24.04, I updated the kernel to 6.9 and that fixed my audio but tried many things including copying firmware etc but camera is still not working.
@rawler
Related to the claim by @The9Cat that it should "work out of the box", I fail to understand how exactly?
By 'out of the box', I did not mean kernel only. Rather I meant: the recent proposed Noble updates provide integrated packages with all that you need. Specifically, you would not have to apply kernel patches and compile the kernel and modules yourself. You still need the v4l2-relayd
package which uses Gstreamer support to map the device with a v4l2-loopback. This will install gstreamer1.0-icamera
as a dependency.
Sadly, reports here suggest that this does not work for all hardware sensors. If you want the latest kernel(s) and need the ipu6-driver master
branch with the latest updates, then you will need to do that on your own.
I've same problem but after upgrade in ubuntu 24 I've problem with gstreamer1.0-icamera
(not exists) and v4l2loopback
Sob!
Rather I meant: the recent proposed Noble updates provide integrated packages with all that you need ... You still need the
v4l2-relayd
package which uses Gstreamer support to map the device with a v4l2-loopback. This will installgstreamer1.0-icamera
as a dependency.
How? As far as I can tell, v4l2-relayd
only depends on gstreamer1.0-plugins-base
, which does not depend on gstreamer1.0-icamera
? In fact, I cannot find any packaging of gstreamer1.0-icamera
in the main archives? (Only in PPA)
So, if I'm understanding this right, the kernel components from noble-proposed is expected to work out of the box (replacing ipu6- and ivsc-), but I still need the oem-solutions PPA for the userland components?
@rawler I did some digging and I see your point. I do not have the intel-ipu6 PPA. With apt, I find:
$ apt-cache rdepends v4l2-relayd
v4l2-relayd
Reverse Depends:
libcamhal0
$ apt-cache rdepends libcamhal0
libcamhal0
Reverse Depends:
gstreamer1.0-icamera
$ apt policy gstreamer1.0-icamera
gstreamer1.0-icamera:
Installed: 0~git202404150111.3d9cd3a~ubuntu24.04.2
Candidate: 0~git202404150111.3d9cd3a~ubuntu24.04.2
Version table:
*** 0~git202404150111.3d9cd3a~ubuntu24.04.2 100
100 /var/lib/dpkg/status
This was a fresh install of 24.04, so no cruft from an previous versions can be there. I note that this version gstreamer1.0-icamera is the one from the oem-solutions PPA, but I am not updating from that PPA. At one point, I tried the noble-proposed oem kernel 6.8.0-32 for testing, but ended up using the generic flavor instead. Wondering if that might have pulled those packages?
Give it a shot, maybe?
I'm a bit lost, and don't know really what to do. I still use my 6.8.0.35 kernel, but so far nothing regarding the camera side. Now, I have
sudo grep ipu6 /var/log/dmesg
[ 4.401210] kernel: intel-ipu6 0000:00:05.0: enabling device (0000 -> 0002) [ 4.401409] kernel: intel-ipu6 0000:00:05.0: Device 0x465d (rev: 0x2) [ 4.401444] kernel: intel-ipu6 0000:00:05.0: physical base address 0x618e000000 [ 4.401446] kernel: intel-ipu6 0000:00:05.0: mapped as: 0x000000003f50496d [ 4.401508] kernel: intel-ipu6 0000:00:05.0: Unable to set secure mode [ 4.401512] kernel: intel-ipu6 0000:00:05.0: IPU in non-secure mode [ 4.401514] kernel: intel-ipu6 0000:00:05.0: IPU secure touch = 0x0 [ 4.401516] kernel: intel-ipu6 0000:00:05.0: IPU camera mask = 0xff [ 4.402279] kernel: intel-ipu6 0000:00:05.0: Skip ipc reset for non-secure mode [ 4.402284] kernel: intel-ipu6 0000:00:05.0: IPC reset done [ 4.402286] kernel: intel-ipu6 0000:00:05.0: cpd file name: ipu6ep_fw.bin [ 4.408430] kernel: intel-ipu6 0000:00:05.0: FW version: 20230925 [ 4.411200] kernel: intel-ipu6 0000:00:05.0: IPU6-v3 driver version 1.0 [ 4.473965] kernel: intel-ipu6-psys intel-ipu6-psys0: pkg_dir entry count:8 [ 4.474115] kernel: intel-ipu6-psys intel-ipu6-psys0: psys probe minor: 0
So no more tainted kernel or anything. But no camera either. Should I go for an install of the module here on github via dkms, will it work? Or should I try a linux repo via apt (such as intel-ipu6-dkms). Will such an ipu6 module solve my camera issue?
@rawler @yger It is possible that I had the oem solutions group PPA enabled at one point just after my initial installation, following the suggestions on the Ubuntu 22.04 Lenovo wiki web page. Then I realized that the 6.8.0-31 kernel did not support the intel-ipu6 patches and modules. So then I moved to the noble-proposed kernel which were supposed to include that new work. However, I did not uninstall the libcamhal0
package. So if you want to experiment, perhaps try installing the libcamhal0
package after enabling the PPA? Just a thought. It is working for me. That's all I can say. It seems that I stumbled up this solution accidentally.
Hello folks,
Checked that the package intel-ipu6-dkms on Ubuntu 24.04 is 0~git202311240921.07f0612e-0ubuntu2
, which is outdated and don't work with kernel v6.8. Please clone the master branch directly and add to dkms manually:
# Remove Ubuntu package intel-ipu6-dkms
sudo apt purge intel-ipu6-dkms
git clone https://github.com/intel/ipu6-drivers.git
cd ipu6-drivers
sudo dkms add .
sudo dkms install -m ipu6-drivers/0.0.0
# Then reboot and check by sudo dmesg | grep -i ipu
# To remove:
# sudo dkms remove -m ipu6-drivers/0.0.0
I validated it works on Ubuntu 6.8.0-35-generic kernel.
hello I compiled and install v4l2loopback ( I had problems) I cloned and installed ipu6-drivers.git But I have this problem
λ sudo grep ipu6 /var/log/dmesg
[ 5.560213] kernel: intel-ipu6 0000:00:05.0: enabling device (0000 -> 0002)
[ 5.560496] kernel: intel-ipu6 0000:00:05.0: Device 0x465d (rev: 0x6)
[ 5.560517] kernel: intel-ipu6 0000:00:05.0: physical base address 0x6076000000
[ 5.560519] kernel: intel-ipu6 0000:00:05.0: mapped as: 0x00000000e269010a
[ 5.560568] kernel: intel-ipu6 0000:00:05.0: Unable to set secure mode
[ 5.560572] kernel: intel-ipu6 0000:00:05.0: IPU in non-secure mode
[ 5.560573] kernel: intel-ipu6 0000:00:05.0: IPU secure touch = 0x0
[ 5.560575] kernel: intel-ipu6 0000:00:05.0: IPU camera mask = 0xff
[ 5.560583] kernel: intel-ipu6 0000:00:05.0: Skip ipc reset for non-secure mode
[ 5.560584] kernel: intel-ipu6 0000:00:05.0: IPC reset done
[ 5.560585] kernel: intel-ipu6 0000:00:05.0: cpd file name: intel/ipu6ep_fw.bin
[ 5.561609] kernel: intel-ipu6 0000:00:05.0: Direct firmware load for intel/ipu6ep_fw.bin failed with error -2
[ 5.561612] kernel: intel-ipu6 0000:00:05.0: Requesting signed firmware failed
[ 5.561915] kernel: intel-ipu6: probe of 0000:00:05.0 failed with error -2
Thanks in advance
Hello folks,
Checked that the package intel-ipu6-dkms on Ubuntu 24.04 is
0~git202311240921.07f0612e-0ubuntu2
, which is outdated and don't work with kernel v6.8. Please clone the master branch directly and add to dkms manually:# Remove Ubuntu package intel-ipu6-dkms sudo apt purge intel-ipu6-dkms git clone https://github.com/intel/ipu6-drivers.git cd ipu6-drivers sudo dkms add . sudo dkms install -m ipu6-drivers/0.0.0 # Then reboot and check by sudo dmesg | grep -i ipu # To remove: # sudo dkms remove -m ipu6-drivers/0.0.0
I validated it works on Ubuntu 6.8.0-35-generic kernel.
Thanks for these steps. My camera now works on Ubuntu 6.8.0-35-generic kernel following this.
I tried this 'recipe'. Unfortunately, it doesn't work at all for me. No detection or configuration of ipu6 on boot at all it seems. I tried reinstalling the Ubuntu dkms package and, now, that doesn't work either. So I'm at a loss on what I'm doing wrong and why restoring the Ubuntu package did not work. And have no camera sadly. I'll try to debug a bit later. But for now, I not sure how to fix this.
@heredia21 Did you need to do anything else besides these steps? Other packages perhaps? I have no idea what I've screwed up, but there are no ipu6
kernel messages at all at this point in dmesg. I'm going to have to give up on this for now. My own fault for trying this change when I had a solution that worked. So disappointing.
@heredia21 Did you need to do anything else besides these steps? Other packages perhaps? I have no idea what I've screwed up, but there are no
ipu6
kernel messages at all at this point in dmesg. I'm going to have to give up on this for now. My own fault for trying this change when I had a solution that worked. So disappointing.
I was on 6.8.0-31-generic, so changed it to 6.8.0-35-generic. That was the only difference.
I'm in the exact same situation...I've followed the step aforementioned, but still no camera...
It's weird. I worked for me earlier on 6.8.0-35-generic even though @hao-yao confirmed that it shouldn't. And now the kernel seems to ignore the entire ipu6 driver. It's probably something that is confused somewhere but I'm not seeing it.
I would remove everything and start over.
@The9Cat What do you get when you run dkms status?
@heredia21 I get:
ipu6-drivers/0.0.0, 6.8.0-35-generic, x86_64: installed
Same here...
This is what I get:
$ dkms status
ipu6-drivers/0.0.0, 6.5.0-14-generic, x86_64: built
ipu6-drivers/0.0.0, 6.8.0-31-generic, x86_64: installed
ipu6-drivers/0.0.0, 6.8.0-35-generic, x86_64: installed
ipu6-drivers/0.0.1: added
v4l2loopback/0.12.7, 6.8.0-31-generic, x86_64: installed (WARNING! Diff between built and installed module!)
v4l2loopback/0.12.7, 6.8.0-35-generic, x86_64: installed (WARNING! Diff between built and installed module!)
@heredia21 Ah. so you have v4l2loopback-dkms installed? Is that right?
Previously, I managed to get the camera working with this guide on Ubuntu 23.04: https://dshedd.com/2023/07/18/fixing-lenovos-mipi-camera-problems-on-ubuntu-22-04/
Today, I updated to Ubuntu 24.04 (kernel 6.8.0-31-generic) and my camera stopped working. I repeated the steps and still have problems.