carbonian on the raspberry pi 2
On the Raspberry Pi 2 Carbonian brings the same desktop, the same palettes, panels and
conf files, over its own base: Raspberry Pi OS Lite (trixie) recompiled for the Pi 2's Cortex-A7 with
-mcpu=cortex-a7 -mfpu=neon-vfpv4 instead of the ARMv6 baseline. From a key or a click to a panel
moving takes 5 to 60 ms on a 1 GHz board. The Pi 2 is Carbonian's floor: what runs here runs everywhere.
The console from power-on to power-off, then a session: zsh, git, a script written in neovim, btop with two cores busy, logout and a reboot. Raspberry Pi 2, KMS display driver, real time. (Recorded before the site moved to Forest.)
Every armhf package on the reference Pi comes from Carbonian, read from the archive every time the factory publishes.
Raspberry Pi OS targets ARMv6 so one image fits a Pi 1. Carbonian compiles for the Pi 2's Cortex-A7, hardware integer division included, verified per binary with readelf -A.
glibc, systemd, OpenSSL, zlib, OpenSSH, PAM, coreutils, bash, apt, Python 3.13 and PostgreSQL 17, all rebuilt; packages Raspberry Pi patches keep their patches.
gpiomem, I2C, SPI and PWM in the kernel; libgpiod, gpiozero, lgpio and smbus2 in the archive. No cloud-init or NetworkManager: 17 s to the login.
Carbonian's own Mesa for the VideoCore IV only: EGL, GLES2 and GBM on Wayland, no GLX, LLVM or Vulkan. wlroots 0.20 on top, with Carbonian's colour filter and CRT patches: the filters and styles work on the Pi too.
GTK 3 rebuilt for the Pi with no X11 or Broadway backend, no CUPS and no colord. A GTK app runs as a Wayland guest and takes the palette.
On a Pi, reading a full-screen picture back from the GPU costs tens of milliseconds, so the overview's pictures stay on the GPU
and the status line asks the compositor through its socket instead of searching /proc.
Same Pi, same data, Raspberry Pi OS (ARMv6) binaries against Carbonian (ARMv7). The gain depends on the workload: big on memory and string work, flat on pure integer logic.
| Workload | Raspberry Pi OS | Carbonian | Difference |
|---|---|---|---|
| PostgreSQL 17 · pgbench TPC-B | 658–667 tps | 771–778 tps | +16–18% |
| PostgreSQL 17 · read-only (warm) | 4 223 tps | 4 738 tps | +12% |
SQLite · LIKE '%abc%' scan | 0.863 s | 0.726 s | +16% |
| SQLite · 300k-row insert | 10.78 s | 10.17 s | +5.7% |
| SQLite · full workload | 16.78 s | 16.14 s | +3.8% |
| glibc · memcpy / string search | 3 122 ms | 2 979 ms | +4.6% |
| SQLite · index, group by, join | — | — | within 1% |
Raspberry Pi 2 Model B v1.1, 4× Cortex-A7 @ 1.0 GHz, 1 GB. PostgreSQL: scale 10, 4 clients, 60 s, synchronous_commit=off.
From Raspberry Pi OS Lite (trixie, 32-bit): Carbonian's packages win by pin priority, then the desktop goes on top.
curl -fsSL https://deb.carbonian.org/carbonian.gpg | sudo tee /usr/share/keyrings/carbonian-archive-keyring.gpg >/dev/null sudo tee /etc/apt/sources.list.d/carbonian.sources >/dev/null <<'EOF' Types: deb deb-src URIs: https://deb.carbonian.org Suites: carbonian-pi2 Components: main Signed-By: /usr/share/keyrings/carbonian-archive-keyring.gpg EOF
printf 'Package: *\nPin: release o=Carbonian\nPin-Priority: 700\n' | sudo tee /etc/apt/preferences.d/carbonian.pref sudo apt update && sudo apt full-upgrade
sudo apt install --no-install-recommends carbonian-desktop && sudo reboot
Until the release the archive asks for a login: ask for one. The Pi takes packages only from carbonian-pi2: anything new is built by the factory for it first.
The same kernel and CPU tuning as a 21 MB Buildroot image, for appliances: no package manager, the whole system is the image.
Every package is built by scripts in git, signed with the Carbonian key and published with its sources. The same factory builds the other ports (amd64, arm64, riscv64).