tvl-depot/users/flokli/ipu6-softisp
sterni 71435d9546 chore(3p/sources): Bump channels & overlays
* agenix has not been updated (https://github.com/ryantm/agenix/pull/241).
* wasm-bindgen bumped to 0.2.92 in Rust WASM projects
* 3p/lisp: port lispPackages from stable channel

  The Lisp package set we are using (`pkgs.lispPackages`) is the "old
  old" package set, whereas we were supposed to have been using
  `pkgs.lispPackages_new` (which is the "old new" package set).

  Either way we missed that train, and now there's a "new new" package
  set, but with a twist: Lisp packages in nixpkgs are now tied to
  their compilers, so the most generic way to access them seems to be
  from `pkgs.sbclPackages`.

  Switching to the packages from the "new new" package set doesn't
  work: Lots of stuff stops building if we just switch the sources
  over, and not everything is trivially fixable.

  For now we stay on the lispPackages from the stable channel. We need
  to look into the migration later.

  Or rewrite panettone.
* tvix: update generated protobuf files
* 3p/nixpkgs: pick trunk from stable channel; newer versions try to
  read files and do network I/O during build, but don't print enough
  details in error messages to figure out why.
* 3p/overlays: remove tdlib override (nixpkgs is currently new enough)
* 3p/overlays: override telega.el sources while updates are lagging in
  nixpkgs
* users/flokli/ipu6-softisp: update firmware paths, which NixOS now
  stores zstd-compressed.

Change-Id: I5a7a6c8b5d0688461bca92b9e6d654356d3a1cf1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11711
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Reviewed-by: tazjin <tazjin@tvl.su>
2024-06-08 15:20:48 +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 feat(users/flokli/ipu6-softisp): expose qcam to $PATH 2024-03-19 06:59:57 +00:00
default.nix chore(3p/sources): Bump channels & overlays 2024-06-08 15:20:48 +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.