Skip to content

Layout

TL;DR. The packages are arranged in layers, from what any headset running Valve's Frame userspace needs (common/) through a SoC's (sm8250/) to what one headset needs (phoenix/, hollywood/). Each folder in a layer is one recipe. headsets/ holds each headset's image definitions, build/ the build and release scripts, tests/ the checks.

Folders

Folder What it holds Names
common/ packages for Valve's Frame userspace on any headset: overpressure-base (the installed system's share of overpressure's headset runtime: preinit with the headset's hooks, storage and recovery policy, USB link, steamos-readonly), GTK 2, MangoHud, gamescope, PipeWire's ALSA plugin, libdisplay-info 0.1 overpressure-*
sm8250/ packages for the Snapdragon XR2 (SM8250): sm8250-base (the DSPs' start, the persist partition, the Wi-Fi and video codec probes), hexagonrpc, the DSPs' file server sm8250-*
phoenix/ packages for the PICO 4: Monado with the PICO 4's driver and its tools, Basalt with the PICO 4's settings, pico4-slamd (the default head tracker: the host for PICO OS's libSlam on the CDSP), the compositor's swapchain layer, Steam Link's controller shim, the graphics test, and the system around Valve's userspace with its tests: pico4-base (preinit's PICO 4 hooks, charger mode, Wi-Fi and Bluetooth addresses, clock, panels), pico4-power (fan, battery guard, power key), pico4-audio, pico4-xr (DSPs, IMU, station, lenses, cameras), pico4-session (Valve's session and SteamVR's settings), pico4-checks (the acceptance checks); each one's preset enables its units pico4-*
hollywood/ packages for the Meta Quest 2 (overpressure/hollywood): none yet, the folder holds a .gitkeep until its first packages
headsets/<codename>/<flavour>/ a headset's image definition for one flavour (the system its install builds: steamos, ...): layers, pacman.conf, packages.txt, packages.lock (image definitions); headsets/hollywood/ holds a .gitkeep until its first packages
build/packages.sh, build/plan.py, build/notes.py, build/versions.py the build of a headset's packages; the jobs and cache keys CI builds them with; a release's notes; a release's name and the check that changed recipes raise their version
tests/ the checks of the layout, of the build plan, of the release notes, of the versions and of pico4-monado's texts

Recipes

Each folder in a layer is one recipe, a PKGBUILD with the files it builds, installs or applies beside it, the project's own code among them; a code package's unit tests run in its build(). A recipe pins its upstream by version and hash or by commit, and its local files by hash: python3 build/sums.py LAYER/RECIPE writes those after a change. A docs/... path in a recipe's comments is one of overpressure/phoenix's documents.