Index
MIPI camera,
- NOT DONE YET, wait for 6.18! Following this: https://bbs.archlinux.org/viewtopic.php?id=297262&p=7 3rd from top, kernel 6.18.3 or later is needed (on 6.17.0-14-generic presently); install
intel-ipu6-dkms-git, intel-ipu6-camera-bin, intel-ipu6-camera-hal-git, icamerasrc-git, v4l2-relayd. (-git versions compile latest)
- Create file /etc/modprobe.d/v4l2loopback.conf with contents
options v4l2loopback card_label="V4L2 Loopback 1"
- Create file /etc/v4l2-relayd.d/intel-ipu.conf with contents
# GStreamer source element name:
VIDEOSRC="icamerasrc"
# Output format, width, height, and frame rate:
FORMAT=NV12
WIDTH=1920
HEIGHT=1080
FRAMERATE=30/1
# Virtual video device name:
CARD_LABEL="V4L2 Loopback 1"
- load the v4l2loopback module and start the v4l2-relayd@intel-ipu.service in systemd
older suff below
AFTER UDGRADE TO 6.14 kernel 27 July 2025):
THIS CORRUPTS ALSO the compilation of the 6.11 kernel modules
- certified bug , status of oem-sommerville-treecko-meta
- modified grub default to
Linux pc34 6.11.0-29-generic #29~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jun 26 14:16:59 UTC 2 x86_64 x86_64 x86_64 GNU/Linux by editing /etc/default/grub (to revert uncomment #GRUB-DEFAULT=0 and comment @@GRUB-DEFAULT=""gnulinux...")
- tried including sommerville code as well
- tried to clean start by
sudo apt-get purge linux-image-6.14.0-27-generic
sudo apt-get purge linux-headers-6.14.0-27-generic
sudo apt purge oem-somerville-treecko-meta
sudo apt purge intel-ipu6-dkms
sudo apt purge libcamhal0
sudo apt install oem-somerville-treecko-meta
sudo apt install intel-ipu6-dkms
sudo apt install libcamhal0
v4l2-ctl --list-devices yields
Intel MIPI Camera (platform:v4l2loopback-000):
/dev/video0
- still ffplay yields blanck screen, even after reboot under 6.11
STABLE WITH 6.11, although with mishaps:
ffplay stopped working with some update on 4/04/25, soved by reboot
- on 19/03/2025, while camera was working both on ffplay and on TEAMS, I hit the TEAMS Picture-in-picture mode icon and Mipi stopped working (black screen). Also ffplay stopped working. Works again after reboot. Try to reproduce and reload driver? Never hit PiP icon!!!
- on 10/03/2025 Mipi stopped working everywhere (also ffplay) and required a driver recompilation. This needs reloading the driver modules. Done by reboot, maybe try
rmmod intel_ipu6 and then insmod intel_ipu6 instead
Kernel 6.11 solution
- latest reinstall 14-02-202516:15: selected repositories noble somerville AND noble somerville-treecko; removed-all install-all oem-somerville-treecko-meta, intel-ipu6-dkms, libcamhal0. In the process it reinstalls 6.11.0-17-generic, its headers, modules ... and it reruns update-grub by itself. Reboot selects 6.11.0-17-generic and both ThinkVision and Mipi do work.
- finally followed https://discourse.ubuntu.com/t/intel-mipi-camera-on-ubuntu-24-04/51797
- beware, must have this repository
sudo add-apt-repository "deb http://dell.archive.canonical.com/ noble somerville"
- determine needed drivers by
ubuntu-drivers list, e.g.
oem-somerville-treecko-meta
intel-ipu6-dkms, (kernel modules provided by intel-ipu6-dkms)
libcamhal0
- remove all of them by @@sudo apt remove xxx@
- install them again
sudo apt install xxx (in particular intel-ipu6-dkms recompiles them for the present kernel, so redo if kernel changes (confirmed, it does not work on 6.8)
- check with this command:
v4l2-ctl --list-devices
Intel MIPI Camera (platform:v4l2loopback-000):\\
/dev/video0
ffplay -f video4linux2 /dev/video0 must work and https://webcamtests.com/ also
- TEAMS works from firefox
- use
video shortcut (see .local/bin)
Index