tvl-depot/users/flokli/ipu6-softisp
Florian Klink 9948eb64d1 chore(users/flokli/ipu6-softisp): refresh libcamera patches
Refresh them with the patches from
https://patchwork.libcamera.org/cover/19663/.

This is still based off v0.2.0.

Change-Id: I875fd64e3bb71a95c92af1108a23d27c0f3494e0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11179
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: flokli <flokli@flokli.de>
2024-03-19 06:59:57 +00:00
..
kernel chore(3p/sources): bump channels & overlays (2024-03-17) 2024-03-18 16:28:40 +00:00
libcamera chore(users/flokli/ipu6-softisp): refresh libcamera patches 2024-03-19 06:59:57 +00:00
config.nix chore(users/flokli/ipu6-softisp): refresh libcamera patches 2024-03-19 06:59:57 +00:00
default.nix feat(users/flokli/ipu6-softisp): test pipewire & wireplumber 2024-03-19 06:59:52 +00:00
README.md chore(3p/sources): bump channels & overlays (2024-03-17) 2024-03-18 16:28:40 +00:00

ipu6-softisp

This code adds support for the ipu6 webcams via libcamera, based on the work in https://copr.fedorainfracloud.org/coprs/jwrdegoede/ipu6-softisp/.

It's supposed to be included in your NixOS configuration imports, and will:

  • Add some patches to your kernel, which should apply on 6.8.x
  • Add the ipu6-camera-bins firmware (still needed)
  • Enable some kernel config options
  • Add an udev rule so libcamera can do DMABUF things
  • Override services.pipewire.package and services.pipewire.wireplumber.package to use a pipewire built with a libcamera with support for this webcam.

Please make sure you don't have any of the hardware.ipu6 options still enabled, as they use the closed-source userspace stack and will conflict.

Also make sure to track nixos-unstable for this. This code will get periodically updated to be compatible with nixos-unstable!

The testing instructions from https://copr.fedorainfracloud.org/coprs/jwrdegoede/ipu6-softisp/ still apply.

qcam can be found in libcamera-qcam (pending on https://github.com/NixOS/nixpkgs/pull/284964 to trickle into master).

Thanks to Hans de Goede for helping me bringing this up, as well as to puckipedia for sorting out some pipewire-related confusion.