Clean-room PowerVR Volcanic GPU ISA specifications (FreeUSC), command-stream specs (FreeCS), offline shader/packet validators (freepvr-twin), and differential SPIR-V probe tooling for Google Pixel 10 (DXT-48-1536, BVNC 71.2.2448.1212) and Pixel 11 (CXTP-48-1536 MC1).
FreePVR supplies the clean-room hardware specifications and offline validators powering freesilicon/mesa and freesilicon/linux-omamobile, while staying clean and ready for upstream Mesa (pvr / pco / csbgen) and Linux (drm/imagination).
| Silicon | Verified Clean-Room Outcome | Downstream Consumer |
|---|---|---|
Pixel 10 (DXT-48-1536, Tensor G5) |
Clean-room Volcanic Vulkan compute (FP16, paired F16X2 MMA, wait-fence scoreboard, matvec) delivers zero-env 151.22 t/s prefill / 15.12 t/s decode (0/0 faults) on llama.cpp — beating Google stock Android 17 DDX 25.3 (14.89 t/s) — alongside GPU-accelerated Hyprland/Zink bring-up and 3-bus memory-fabric OPP (3.66x decode lift). |
freesilicon/mesa (#1, #2), freesilicon/linux-omamobile (#1, #2, #3) |
Pixel 11 (CXTP-48-1536 MC1, Tensor G6) |
Non-root stock hardware calibration measured 50.66 GB/s memory bandwidth (74.5% peak), 3,197 GFLOPs FP16 (4.6x faster than INT8), and 1,286 MHz OPP; freepvr-twin now ships DXT/CXTP architecture profiles, static scoreboard audits, and OPP/precision analysis (#18). |
freepvr-twin/, freesilicon/freesched |
Modern Pixel Tensor SoCs pair Google's custom CPU/TPU blocks with Imagination PowerVR Volcanic GPUs (DXT-48-1536 on Tensor G5 / Pixel 10, CXTP-48-1536 MC1 on Tensor G6 / Pixel 11). While upstream Linux (drm/imagination) and Mesa (pvr + pco) already support earlier PowerVR Rogue GPUs, Volcanic introduces major breaking hardware changes:
- Completely new shader machine code (
FreeUSC): Replaces Rogue's byte-aligned 3-phase instruction groups with variable-length 1–4 x 32-bit little-endian words framed by bit 31 (EOI), 17 opcode families, 16 canonical register banks, re-indexed special registers/constants, inline data fences, and 128-wide SIMD subgroups. - Completely new geometry command stream & state descriptors (
FreeCS): Replaces Rogue's 32-bitVDMCTRLstream with a two-level 64-bit QWORD Draw Call Engine (DCE), an indirect 16-byte Pixel Shader Descriptor Table, 32K (15-bit) texture/surface coordinates, raw byte-addressed 48-bit virtual addresses inPBESTATE/TEXSTATE, multi-word ZLS v2, and a new 6-stepRGX_CR_SOFT_RESETsequence.
FreePVR packages these specifications, offline validators, and the 37-shader differential SPIR-V probe bench into one standalone, zero-blob repository:
| Component | Path | Scope | Consumer |
|---|---|---|---|
FreeUSC Specs |
spec/freeusc/ |
17-family Volcanic USC word framing, 16 canonical banks, SR 0..60, SC 0..127, CTRL/COND, full ALU/Bitwise/DMA/SMP/ITR/EMI/PSB opcodes, 40/64-bit BDA, 128-wide subgroups, active BRNs |
freesilicon/mesa & upstream src/imagination/pco/ |
FreeCS Specs |
spec/freecs/ |
64-bit QWORD DCE (vdm), Volcanic PPP_STATE + 16B Pixel Shader Table, RGX_CR_SOFT_RESET, S7_TOP ISP/ZLS v2, PBESTATE, TEXSTATE, CDM/PDS deltas |
freesilicon/mesa csbgen/volcanic/, pvr/, Linux drm/imagination |
Offline Validators (freepvr-twin) |
freepvr-twin/ |
Volcanic CSB/FW-ABI validator, MMUv4 & CDM stack-state checks, 128-lane USC simulator, DXT/CXTP architecture profiles, static scoreboard audit & OPP/precision analyzer |
Offline compiler & driver CI |
FreeUSC Tools |
tools/freeusc/ |
Offline Volcanic USC instruction framer, Vulkan pipeline-cache / VK_KHR_pipeline_binary bit-diff & opcode clusterer, rgx.sh container parser, 37-probe SPIR-V generator |
Offline host verification & compiler bring-up |
FreeCS Tools |
tools/freecs/ |
Offline packer/decoder and proof-vector validator for DCE, TA_STATE_HEADER, PBESTATE, TEXSTATE, and RGX_CR_SOFT_RESET |
csbgen XML cross-check |
| Differential Probes | probes/ |
37 clean-room GLSL 4.60 1-op paired-twin compute shaders (local_size_x = 128), standalone C11 Vulkan capture sweeper, on-device capture manifest |
Pixel 10 (DXT) vs. Pixel 11 (CXTP) silicon validation |
Every validator, parser, packet check, and clean-room audit runs offline on any macOS or Linux laptop with Python 3.9+ (standard library only):
# 1. Run the clean-room boundary & SPDX audit (must pass with 0 violations)
./scripts/clean-room-audit.sh
# 2. Run the full offline unit test suite (FreeUSC + FreeCS + freepvr-twin + probe parity)
python3 -m unittest discover -s tests -v
# 3. Run individual CLI self-tests
python3 tools/freeusc/volcanic_bitdiff.py --self-test
python3 tools/freeusc/rgx_sh_parser.py --self-test
python3 tools/freeusc/gen_spirv_probes.py --self-test
python3 tools/freecs/freecs_packet_validator.py --self-testBinary .spv files are intentionally not committed to this repository; only the 37 human-readable GLSL .comp sources are tracked under probes/spirv/. To regenerate and validate all 37 SPIR-V 1.5 (vulkan1.2) binaries locally (requires glslangValidator and spirv-val):
python3 tools/freeusc/gen_spirv_probes.py --out-dir local-captures/spv --keep-disasmTo build the standalone C11 Vulkan capture sweeper (requires Vulkan headers and libvulkan):
gcc -std=c11 -O2 -Wall -Wextra -Werror \
-o local-captures/vk_pipeline_cache_sweeper \
probes/vk_pipeline_cache_sweeper.c -lvulkanSee probes/CAPTURE-MANIFEST.md for the Android NDK cross-compile and 1-command on-device capture workflow.
All 13 hardware interface gaps needed for Volcanic Phase 4 bring-up are closed in the clean-room specifications with explicit provenance tags ([V-GPL], [V-BIN], [V-ROUNDTRIP], [OPEN]):
- Critical
csbgen/volcanic/Silicon Fixes Identified:pbestate.xml:STATE_WORD0is a raw byte address (shift="0", NOTshift="2"); fullSTATE_WORD0..2+ 64-bitREG_WORD0..2specified inVDM-PPP-CLEANROOM-SPEC.md.texstate.xml&pco/usclib/tex.cl:DXT-48-1536widensIMAGE_WORD0to 15-bit 32K dimensions (width=[41:27],height=[56:42]), uses raw byte VA inIMAGE_WORD1, addsIMAGE_WORD2[7:6]=smpcnt(1u << ((word2_lo >> 6u) & 3u)), plusIMAGE_WORD3andSAMPLER_WORD1.cdm.xml: 5DXT-48-1536deltas (KERNEL0.block_type=3, 8-bitusc_unified_size[19:12],KERNEL1[1],KERNEL8common-store/event fields);pds.xmlverified 100% clean.
- New
csbgen/volcanic/Streams & Control Registers:- Two-level 64-bit QWORD DCE (
Handle Buffer+ 10 opcodes0x01..0x0c), VolcanicPPP_STATEwith indirect 16-byte Pixel Shader Descriptor Table (0x00ff_0d87= 23-dword single-viewport proof vector),S7_TOPISP + 4-word ZLS v2, and the 6-stepRGX_CR_SOFT_RESET(0x0100, mask0x7fffffe0_007bdeff, bit37=GARTEN_EN) boot sequence.
- Two-level 64-bit QWORD DCE (
- Volcanic
pcoShader Backend:- Bit-exact 1–4 dword LE word framing (
bit 31EOI, default-word elision,CTRL.NOPalignment,CTRL.END = 0x8000031c), 16 canonical register banks, VolcanicSR 0..60&SC 0..127, full execution families (FOP,AF32,INT,DOT8,MOV,BIT,DMA,SMP,TAP,ITR,EMI,PSB_WR/RD,CTRL,COND), 40/64-bit BDA, 128-wideSLOT-based subgroup lowering, and active Volcanic BRN catalog. - Framing and
ISA_CTRLround-trip verified with 0 errors across 1,927 realDXT-48-1536shaders (38,967 instructions) (4,587/4,587CTRLround-trips,139/139valid relativeBRtarget landings).
- Bit-exact 1–4 dword LE word framing (
.
├── CONTRIBUTING.md # Clean-room rules & contributor workflow
├── LICENSE # Apache-2.0
├── README.md
├── .github/workflows/ci.yml # Clean-room audit, offline tests, C11 & SPIR-V validation
├── freepvr-twin/ # Offline Volcanic CSB/FW-ABI, MMUv4, 128-lane USC & DXT/CXTP validators
├── probes/
│ ├── CAPTURE-MANIFEST.md # On-device VK_KHR_pipeline_binary capture runbook
│ ├── vk_pipeline_cache_sweeper.c # Standalone C11 Vulkan 1.2 probe sweeper
│ └── spirv/ # 37 clean-room GLSL 4.60 .comp sources + manifest (zero .spv blobs)
├── scripts/
│ └── clean-room-audit.sh # Enforces zero blobs, zero vendor code, zero PII/paths
├── spec/
│ ├── freecs/
│ │ └── VDM-PPP-CLEANROOM-SPEC.md # FreeCS: DCE, PPP, CR, ISP/ZLS v2, PBE, TEXSTATE, CDM/PDS
│ └── freeusc/
│ ├── VOLCANIC-USC-ISA-MAP.md # FreeUSC Core: framing, banks, SR/SC, CTRL, COND
│ ├── VOLCANIC-USC-OPCODES.md # FreeUSC Ops: ALU, bitwise, DMA/BDA, SMP/ITR/EMI/PSB, subgroups
│ └── RGX-SH-INVENTORY.md # Structural inventory of TQ shader container format
├── tests/ # Offline unittest/pytest suite (zero hardware needed)
└── tools/
├── freecs/
│ └── freecs_packet_validator.py # FreeCS packet/CR bitfield packer & proof-vector validator
└── freeusc/
├── gen_spirv_probes.py # 37-probe 1-op paired-twin GLSL/SPIR-V generator
├── rgx_sh_parser.py # rgx.sh container parser & chunk extractor
└── volcanic_bitdiff.py # Pipeline-cache parser, USC framer & paired-twin bit-differ
- Zero proprietary artifacts: This repository contains zero vendor binaries (
.so,.bin,.fw,.ko,rgx.sh.*,.spv), zero vendor source code, zero proprietary headers, and zero verbatim decompiled output. - Automated enforcement: Every commit and pull request is gated by
scripts/clean-room-audit.shand.github/workflows/ci.yml. - Local captures stay local: Any user-extracted vendor files or on-device Vulkan pipeline captures belong strictly under gitignored
local-captures/and must never be committed.
Licensed under the Apache License, Version 2.0.