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.
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.SHA256 of the millipixels .deb:968cdd1dd12c9897e62bd5667f0b98b3ea4c63af71d495eef549b0e2d03ab097
What's in it
- libcamera 0.7.1-af2 (linked, not hosted). galilley's binaries, cherry-picked unchanged. Their SHA256 matched his
Packagesindex (2026-11-07). They give the soft-ISP autofocus (IPASoftAutoFocus) and the GPU debayer (DebayerEGL). galilley publishes no source packages or license statement, so they aren't rehosted here. Get them from codeberg.org/galilley/librem5-crimson-backports. - millipixels 0.24.0-0pureos1+seth1 (built here). The PureOS crimson
0.24.0-0pureos1source rebuilt against libcamera 0.7.1. There is no source patch, only adebian/changelogentry. The source package, .buildinfo, .changes, build log and recipe are all here.
The nine cherry-picked debs
From https://codeberg.org/galilley/librem5-crimson-backports/raw/branch/master/debs/. Check them with galilley-debs.SHA256SUMS.
| Package | Version | SHA256 |
|---|---|---|
libcamera0.7 | 0.7.1-af2 | c36bb8f5e6bf39afebfabd61c0d201f593a561c517c369fa0b874ca424416ed5 |
libcamera-ipa | 0.7.1-af2 | bbc21f901adaff741100e0a316278412532acd74808c739ff2939bbfc5014172 |
libcamera-v4l2 | 0.7.1-af2 | 97278127339771e1b2e9265c5fcf52f49a8ad3bf24164e4c894c0eae1766823f |
libcamera-tools | 0.7.1-af2 | ef862d08521e5cb1f004dd34e36a080956c006a555e30178fb7cedd638bebef4 |
libpisp1 | 1.2.1-2 | a4b140aa8b4fc8c66eb58bdb9975712f87cac7c54c621524258b90f817dd8ce5 |
libpisp-common | 1.2.1-2 (all) | 17bf3e96865d3a6497ab7617cd2d55f04fe09cac8cbb2f89105f65c0c2d4f10a |
libtensorflow-lite2.14.1 | 2.14.1+dfsg-3.1 | 8b0175a6ec6f2e5b8d3fd10eb60e63ddc762d1d894890feceb73ef0ae8c66916 |
libabsl20240722 | 20240722.0-4 | 24e5d389b8a5121eee80da3f3a1bb11426fdaa9a7c8a80273e859c9635aa6a49 |
libcpuinfo0 | 0.0~git20250327.39ea79a-1 | 1e14a95ec33612aa1e75da8db6b7fb5ae64e2219fa03d02f2e1d9aa6418d79c1 |
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
gstreamer1.0-libcamera 0.7.1-af2and galilley'smillipixels 0.24.0-0pureos2need GLib ≥ 2.80 (crimson has 2.74.6).pipewire-libcamera/libspa-0.2-libcamera 1.6.9-3-cbuneed the whole PipeWire 1.6.9 stack.gnome-snapshot 51.0-2needs GTK ≥ 4.18 and libadwaita ≥ 1.8.
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
- galilley for the libcamera 0.7.1-af2 packages and Crimson Backports.
- NekoCWD for the soft-ISP autofocus work (gitlab.com/NekoCWD/libcamera).
- Discussion: Purism forum, "Librem 5 camera to use everywhere", post #27.
- millipixels by Purism / PureOS (source.puri.sm) and libcamera.
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.