Skip to content

Thinkpad X1 Carbon

X1 Carbon Gen 5

X1 Carbon Gen 7 (private)

X1 Carbon Gen 10 (work)

Webcam

Doesn't work yet. From the arch wiki page:

Warning: Do not buy this laptop (says even Lenovo) with a 2.8k OLED screen because the only webcam available with that screen is the MIPI camera (listed by Lenovo as 'Computer Vision camera') which does not have open source drivers and will just not work in the coming few years.

Installation from kernel v6.11 onwards

Working installation

Prerequisites:

  • Linux kernel >= 6.14
  • libcamera >= 0.4.0
  • systemd > v256

Install packages shown in this success tutorial:

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

✅ Test the cam, this should generate a lot of files (stop it after a second with Ctrl+C) and turn on the camera light if everything is working correctly:

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

✅ Test with gstreamer, this should show the stream from the camera:

gst-launch-1.0 libcamerasrc ! queue ! glimagesink

Apps that work with the camera:

Still with cheese:

Internal data stream error.: ../gstreamer/subprojects/gstreamer/libs/gst/base/gstbasesrc.c(3177): gst_base_src_loop (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin36/GstPipeWireSrc:pipewiresrc1:
streaming stopped, reason not-negotiated (-4)

Pre 6.11 install

sudo pacman -S linux65-headers

git clone https://github.com/stefanpartheym/archlinux-ipu6-webcam \
  ~/work/webcam/archlinux-ipu6-webcam
cd ~/work/webcam/archlinux-ipu6-webcam
./install.sh

If it breaks compiling the icamerasrc-git AUR package dependency follow this fix:

git clone https://aur.archlinux.org/icamerasrc-git.git ~/work/webcam/icamerasrc-git
cd ~/work/webcam/icamerasrc-git
sed -i 's/branch=icamerasrc_slim_api/commit=17841ab6249aaa69bd9b3959262bf182dee74111/'\
  PKGBUILD
makepkg -sic

Then run the install script again:

cd ~/work/webcam/archlinux-ipu6-webcam
./install.sh

After successfull execution:

reboot

Test webcam with ./test.sh

./test.sh

Uninstall:

sudo pacman -R
  dkms \
  icamerasrc-git \
  intel-ipu6-dkms-git-fix \
  intel-ipu6ep-camera-bin \
  intel-ipu6ep-camera-bin-fix \
  intel-ipu6ep-camera-hal-git-fix
  intel-ipu6ep-camera-hal-git-fix \
  intel-ivsc-driver-dkms-git \
  v4l2-relayd-fix \
  v4l2loopback-dkms-git-fix \
  v4l2loopback-dkms-git-fix \