Intel MIPI camera not found

Hi guys,

I definitely solved my issues with the integrated Intel MIPI camera [Dell Latitude 7340] in Ubuntu 24.04LTS.

I thought this would be helpful to a bunch of Dell/HP/Lenovo owners :slight_smile:

Please use the OEM archive for stable releases and remove the PPA repository or any package ipu6/ipu7 installed, before starting.

Purging code
sudo add-apt-repository --remove ppa:oem-solutions-group/intel-ipu6

sudo add-apt-repository --remove ppa:oem-solutions-group/intel-ipu7 

sudo apt autopurge oem-*-meta libia-* libgcss* libipu* libcamhal*

sudo apt autopurge lib*ipu6*

sudo apt autopurge lib*ipu7*

Here you are the code:

$ sudo apt install ubuntu-oem-keyring
$ sudo add-apt-repository "deb http://dell.archive.canonical.com/ noble somerville"
$ sudo apt-get update
$ ubuntu-drivers list   #install all the drivers listed in your output with sudo apt install as below
...
libcamhal0 
...
$ sudo apt install libcamhal0 

You may be prompted a MOK for secure boot.
For more visit: https://wiki.ubuntu.com/IntelMIPICamera#Ubuntu_LTS_24.04

We made a couple of model specific threads, so make sure to have a look also at those in case you need further help. Comments are very welcome.

4 Likes

Hi !

I have a Dell 9340 also with a MIPI camera but does not work, do you have any hint for me? how are you testing? I used the ubuntu camera app and a webpage calling the camera from chrome but both unsuccessfully

root@pythagoras:/etc/apt/sources.list.d# add-apt-repository ā€œdeb http [: ]//dell[ . ]archive[ . ]canonical[ . ]com/ noble somervilleā€
Repository: ā€˜deb http[ : ]//dell[ . ]archive[ . ]canonical[ . ]com/ noble somervilleā€™
Description:
Archive for codename: noble components: somerville
More info: http[ : ]//dell[ . ]archive[ . ]canonical[ . ]com/
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Adding deb entry to /etc/apt/sources.list.d/archive_uri-http_dell_archive_canonical_com_-noble.list
Adding disabled deb-src entry to /etc/apt/sources. list . d/archive_uri-http_dell_archive_canonical_com_-noble.list
ā€¦
Reading package listsā€¦ Done
root@pythagoras:/etc/apt/sources. list .d# apt install ubuntu-oem-keyring
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
ubuntu-oem-keyring is already the newest version (2023.11.28.1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
root@pythagoras:/etc/apt/sources.list.d# ubuntu-drivers list
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
oem-somerville-treecko-meta
intel-ipu6-dkms, (kernel modules provided by intel-ipu6-dkms)
libcamhal-ipu6epmtl
root@pythagoras:/etc/apt/sources.list.d# apt install libcamhal0
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
libcamhal0 is already the newest version (0~git202412180530.b6f6eeb~ubuntu24.04.1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
root@pythagoras:/etc/apt/sources.list.d# uname -a
Linux pythagoras 6.11.0-1010-oem #10-Ubuntu SMP PREEMPT_DYNAMIC Mon Dec 9 08:36:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

root@pythagoras:/etc/apt/sources.list.d# dmesg | grep -i cam
[ 0.000000] AMD AuthenticAMD
[ 0.146900] PCI: ECAM [mem 0xc0000000-0xcdffffff] (base 0xc0000000) for domain 0000 [bus 00-df]
[ 2.668313] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[ 2.699677] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[ 2.727864] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[ 2.781637] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[ 3.194205] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[ 3.219415] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[ 3.265195] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[ 3.300555] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[ 3.305373] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[ 3.346529] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[ 3.395014] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[ 3.433105] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[ 3.672915] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[ 12.756780] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[ 12.773427] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[ 12.789918] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[ 12.802226] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[ 12.809351] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[ 12.811391] audit: type=1400 audit(1734987365.665:7): apparmor=ā€œSTATUSā€ operation=ā€œprofile_loadā€ profile=ā€œunconfinedā€ name=ā€œcamā€ pid=870 comm=ā€œapparmor_parserā€
[ 12.886791] intel-ipu6 0000:00:05.0: IPU camera mask = 0x0
[ 12.887927] intel-ipu6 0000:00:05.0: Connected 1 cameras
root@pythagoras:/etc/apt/sources.list.d# v4l2-ctl --list-devices
ipu6 (PCI:pci:pci0000:00):
/dev/video1
/dev/video2
/dev/video3
/dev/video4
/dev/video5
/dev/video6
/dev/video7
/dev/video8

ipu6 (pci:pci0000:00):
/dev/media0

Intel MIPI Camera (platform:v4l2loopback-000):
/dev/video0

1 Like

Hi,
Have you installed the three of them?
It seems that you do not need libcamhal0, but rather the ones listed above.

1 Like

Hi Federica

This is what I see in my drivers list using the GUI appl;ication, do you mean that I need to uninstall all those ? if I do ā€œapt install libcamhal0ā€ it tells me I already have it

root@pythagoras:/home/eduardo# apt-get install libcamhal0
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
libcamhal0 is already the newest version (0~git202412180530.b6f6eeb~ubuntu24.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@pythagoras:/home/eduardo#

In the image below, I cannot use the hardware support module for meteorlake since it needs 6.8.1005-oem which is not available anymore

1 Like

Hi,
in the wiki it is written one should install what is listed under drivers list, thus the three that you need are:
oem-somerville-treecko-meta
intel-ipu6-dkms, (kernel modules provided by intel-ipu6-dkms)
libcamhal-ipu6epmtl

Could you please copy the code you obtain doing:

sudo apt remove libcamhal0
sudo apt install oem-somerville-treecko-meta
sudo apt install intel-ipu6-dkms
sudo apt install libcamhal-ipu6epmtl
sudo apt-get autoclean
sudo apt-get autoremove
1 Like

2 posts were split to a new topic: Intel MIPI camera on Ubuntu 22.04

Thanks for all your support in this christmas and new year days
Here I copy and paste what you told me to do, I pressed yes of course, however no camera (how do you test it?). I am currently testing this with the following kernel: (which OEM kernel are you using)?

root@pythagoras:/home/eduardo# uname -a
Linux pythagoras 6.11.0-1010-oem #10-Ubuntu SMP PREEMPT_DYNAMIC Mon Dec 9 08:36:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
root@pythagoras:/home/eduardo# sudo apt remove libcamhal0
sudo apt install oem-somerville-treecko-meta
sudo apt install intel-ipu6-dkms
sudo apt install libcamhal-ipu6epmtl
sudo apt-get autoclean
sudo apt-get autoremove
Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
The following packages were automatically installed and are no longer required:

  • libbroxton-ia-pal-ipu6-0 libcamhal-ipu6-common libgcss-ipu6-0*
  • libgsticamerainterface-1.0-1 libia-aiq-ipu6-0 libia-aiqb-parser-ipu6-0*
  • libia-bcomp-ipu6-0 libia-cca-ipu6-0 libia-ccat-ipu6-0*
  • libia-cmc-parser-ipu6-0 libia-coordinate-ipu6-0 libia-dvs-ipu6-0*
  • libia-emd-decoder-ipu6-0 libia-exc-ipu6-0 libia-isp-bxt-ipu6-0*
  • libia-lard-ipu6-0 libia-log-ipu6-0 libia-ltm-ipu6-0 libia-mkn-ipu6-0*
  • libia-nvm-ipu6-0*
    Use ā€˜sudo apt autoremoveā€™ to remove them.
    The following packages will be REMOVED:
  • gstreamer1.0-icamera libcamhal-ipu6 libcamhal-ipu6ep0 libcamhal-ipu6epmtl*
  • libcamhal0*
    0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
    After this operation, 8,252 kB disk space will be freed.
    Do you want to continue? [Y/n]
1 Like

Hi,
no problem. Yes, you should do Y there and then
sudo apt autoremove
as well.
What happens if you use cheese after rebooting?
Also, whatā€™s the code for

sudo add-apt-repository --list

?

1 Like

Hi!

Sure, this is the output, one question, **what kernel are you using in your setting where your camera works? (**cheese does not find device, also I am trying with ffplay -f video4linux2 /dev/video0 where video0 is the device returned by video4linux (but does not work too)

(venv) eduardo@pythagoras:/tmp$ v4l2-ctl --list-devices
ipu6 (pci:pci0000:00):

  • /dev/media0*

Intel MIPI Camera (platform:v4l2loopback-000):

  • /dev/video0*

(venv) eduardo@pythagoras:/tmp$ sudo add-apt-repository --list
*deb [arch=amd64] https dl.google[.]com/linux/chrome/deb/ stable main *

Types: deb
URIs: https ppa.launchpadcontent[.]net/oem-solutions-group/intel-ipu6/ubuntu/
Suites: noble
Components: main
Signed-By: -----BEGIN PGP PUBLIC KEY BLOCK-----

  • ā€¦*
  • -----END PGP PUBLIC KEY BLOCK----- *

Types: deb
URIs: http nl[.]archive.ubuntu[.]com/ubuntu/
Suites: noble noble-updates noble-backports
Components: restricted universe multiverse
*Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg *

Types: deb
URIs: http security.ubuntu[.]com/ubuntu/
Suites: noble-security
Components: restricted universe multiverse
*Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg *

*deb http dell.archive.canonical[.]com/ noble somerville somerville-tentacool *

Types: deb
URIs: https ppa.launchpadcontent[.]net/oem-solutions-group/intel-ipu7/ubuntu/
Suites: noble
Components: main
Signed-By: -----BEGIN PGP PUBLIC KEY BLOCK-----

  • ā€¦*
  • -----END PGP PUBLIC KEY BLOCK----- *

deb http repository.spotify[.]com stable non-free

Hi,
my kernel is 6.8.0-51, but the problem is not the kernel.

You should have removed all the ppa repositories and the packages linked to ipu6 and ipu7, before starting with the OEM release.

Here you are the code:

sudo add-apt-repository --remove ppa:oem-solutions-group/intel-ipu6
sudo add-apt-repository --remove ppa:oem-solutions-group/intel-ipu7 
sudo apt autopurge oem-*-meta libia-* libgcss* libipu* libcamhal*
sudo apt autopurge lib*ipu6*
sudo apt autopurge lib*ipu7*

Please paste and execute each command as listed above, then

reboot
1 Like

will try right now and come back in some minutes.

Hi Federica

Good news, I followed all that you said in the last message , but to be honest I am not sure anymore what I did.

It did not work with the OEM kernel I was using (6.11.1009 OEM) , but I rebooted with the same kernel as you (6.8.0-52)

Does not work:
a) Cheese
b) Ubuntu camera app does not work

What workss

a) test here: https://nl.webcamtests.com/
b) test as: ffplay -f video4linux2 /dev/video0

So, not sure why cheese or the ubuntu gtk camera app does not initialize it

Thank you very much, can you tell me what made this thing work ? what is this PPA and why ipu6 ipu7 should be removed?

This is what worked:

eduardo@pythagoras:~$ uname -a
Linux pythagoras 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

2 Likes

I am happy it worked out! :star_struck:

These ppas are for development, so the release is not stable.

IPU stays for Image Processing Unit (6 for 6th generation) and it is an Intel Input System + Processing System.

Try to reinstall cheese or camera, but I am glad the issue is solved (more or less).

Also @toorandom, since you have now deleted all the wrong packages and repositories, make sure you have the three you needed at the very beginning. Namely,

sudo apt install oem-somerville-treecko-meta
sudo apt install intel-ipu6-dkms
sudo apt install libcamhal-ipu6epmtl

Federica!

yeah, Zoom Web works, Google Meeting, FFPlay works and also I can open the camera using Intelā€™s OpenCV Python Library which is what I was looking for also. No cheese nor gnome webcam though.

Thanks for your help! I was losing all hope and I just bought this dell machine because it was supposed to work everything with Linux (including Intel ARC GPU with PyTorch which workls like a charm) and was really sad since I wanted to use it for computer vision.

Happy New Year!

1 Like

Anytime!

Wishing you peace and happiness as we welcome another year of possibilities.

P.S. Never lose hope!

2 Likes

Hi federicarike
thank-you very much for this post.
I want to confirm that has worked for me on Dell XPS plus 13 9320

Great! Only one month without it

2 Likes

Hi @fame,

I am glad to hear that you solved and the post was helpful!

Have an amazing 2025!

21 posts were split to a new topic: Dell XPS 7390 camera not found

@federicarike Thank you so much, everything works on Dell XPS 9315

1 Like

Glad to help! Have an amazing day!