Skip to content

IPU6 Webcam

Status on x1 carbon gen10

Apps that work with the camera:

  • cam
  • ✅ gstreamer
  • Gnome snapshot
  • ✅ Chromium
    • Beware: Enabling the #enable-webrtc-pipewire-camera flag results in the internal cam to work, but the USB webcam (Logitech C920 PRO HD) is not seen anymore (vice very without this flag)
  • ❌ Firefox

Setup

Install packages:

sudo pacman -S \
  extra/gst-plugin-libcamera \
  extra/pipewire-libcamera \
  extra/libcamera-tools \
  extra/libcamera-ipa \
  extra/libcamera
pamac install intel-ivsc-firmware

Test

This lists the cameras available to v4l2 (currently there are 32 cameras detected !):

v4l2-ctl --list-devices

cam (libcamera-tools)

List cameras:

cam -l

Capture images: This should generate a lot of files named cam*.bin (stop it after a second with Ctrl+C)

cam -c 1 -F'/tmp/#.bin' -C

gstreamer

Show video devices detected by gstreamer:

gst-device-monitor-1.0 Video 2>/dev/null | grep 'name  :'

Stream from the camera:

gst-launch-1.0 libcamerasrc ! queue ! glimagesink

WebRtc

  • Test in web browsers with the following sites:
  • Chromium
    • Enable #enable-webrtc-pipewire-camera in chrome://flags/
      • Beware: Enabling thie flag results in the internal cam to work, but the USB webcam (Logitech C920 PRO HD) is not seen anymore (vice very without this flag)
  • Firefox:
    • Make sure to enable media.webrtc.camera.allow-pipewire in about:config

Resources

From the X1 carbon gen 10 Arch wiki page:

Do not buy this laptop (says even Lenovo) with MIPI camera (listed by Lenovo as 'Computer Vision camera') (an only option with 2.8k OLED screen but also possible with IPS screens) which does not have open source drivers and will not just work in the coming few years.