libcamera 0.7.1 + millipixels for the Librem 5

This page shows how to get libcamera 0.7.1, with software-ISP autofocus and GPU debayering, onto PureOS 11 (crimson) arm64 without adding galilley's whole unsigned Crimson Backports repo (about 1,400 packages). Nine libcamera debs are cherry-picked from galilley's repo, and millipixels is rebuilt against them. This is not a Purism, PureOS or libcamera release.

Test status (2026-11-23): installed on a real Librem 5 (kernel 6.18.0-1-librem5), where cam -l lists the front hi846 and back s5k3l6xx cameras through libcamera 0.7.1. Using millipixels on the hardware (preview, autofocus, photo, video) is not yet verified and is still untested.
Download millipixels 0.24.0-0pureos1+seth1 (arm64 .deb) Full README (install, rollback, details) Source package and build recipe SHA256SUMS

SHA256 of the millipixels .deb:
968cdd1dd12c9897e62bd5667f0b98b3ea4c63af71d495eef549b0e2d03ab097

What's in it

The nine cherry-picked debs

From https://codeberg.org/galilley/librem5-crimson-backports/raw/branch/master/debs/. Check them with galilley-debs.SHA256SUMS.

PackageVersionSHA256
libcamera0.70.7.1-af2c36bb8f5e6bf39afebfabd61c0d201f593a561c517c369fa0b874ca424416ed5
libcamera-ipa0.7.1-af2bbc21f901adaff741100e0a316278412532acd74808c739ff2939bbfc5014172
libcamera-v4l20.7.1-af297278127339771e1b2e9265c5fcf52f49a8ad3bf24164e4c894c0eae1766823f
libcamera-tools0.7.1-af2ef862d08521e5cb1f004dd34e36a080956c006a555e30178fb7cedd638bebef4
libpisp11.2.1-2a4b140aa8b4fc8c66eb58bdb9975712f87cac7c54c621524258b90f817dd8ce5
libpisp-common1.2.1-2 (all)17bf3e96865d3a6497ab7617cd2d55f04fe09cac8cbb2f89105f65c0c2d4f10a
libtensorflow-lite2.14.12.14.1+dfsg-3.18b0175a6ec6f2e5b8d3fd10eb60e63ddc762d1d894890feceb73ef0ae8c66916
libabsl2024072220240722.0-424e5d389b8a5121eee80da3f3a1bb11426fdaa9a7c8a80273e859c9635aa6a49
libcpuinfo00.0~git20250327.39ea79a-11e14a95ec33612aa1e75da8db6b7fb5ae64e2219fa03d02f2e1d9aa6418d79c1

libcamera0.7 installs alongside crimson's libcamera0.0.3, so GStreamer and PipeWire keep using 0.0.3. libcpuinfo0 is the only upgrade of a package crimson already has.

Skipped, and why

Kernel requirement

CONFIG_DMABUF_HEAPS=y and CONFIG_DMABUF_HEAPS_CMA=y. On 6.18.0-1-librem5 both are set and /dev/dma_heap was already accessible, so no udev rule was needed. The README has the rule in case yours is root-only.

Install (short version)

cd ~/lc07   # holding galilley's nine debs (hash-checked) and the millipixels .deb from this page
echo "968cdd1dd12c9897e62bd5667f0b98b3ea4c63af71d495eef549b0e2d03ab097  millipixels_0.24.0-0pureos1+seth1_arm64.deb" | sha256sum -c
sudo apt install --no-install-recommends ./libcamera0.7_*.deb ./libcamera-ipa_*.deb ./libcamera-v4l2_*.deb \
  ./libcamera-tools_*.deb ./libpisp1_*.deb ./libpisp-common_*.deb ./libtensorflow-lite2.14.1_*.deb \
  ./libabsl20240722_*.deb ./libcpuinfo0_*.deb
sudo apt install --no-install-recommends ./millipixels_0.24.0-0pureos1+seth1_arm64.deb
sudo apt-mark hold libcamera0.7 libcamera-ipa libcamera-v4l2 libcamera-tools libcpuinfo0 millipixels
cam -l

On the test phone this gave 1 upgraded, 28 new and 0 removed, with GLib unchanged. Download commands, the backup step and rollback are in the README.

Credits

License

millipixels is GPL-3.0-or-later (see COPYING), and this rebuild is distributed under the same terms, with full source in source/. The libcamera packages belong to galilley and aren't distributed here.