sbc-emu

3D on an emulated Raspberry Pi 4

Raspberry Pi OS draws these demos with Mesa’s own V3D driver, on a model of the Pi 4’s VideoCore VI GPU: its binner, rasterizer and shader cores, compiled to WebAssembly and running on your computer.

HDMI0 1024 × 768

Downloads a 63 MB snapshot of Raspberry Pi OS with Mesa, logged in with every demo loaded. Nothing more is downloaded: the demos run from the snapshot’s memory.

Powered off GPU – frames/s CPU – M instructions/s Guest time –

Inside the emulated BCM2711

Every block below, the GPU included, is modelled in Rust, compiled to WebAssembly for this page, and driven by the unmodified Linux drivers.

4 × Cortex-A72

ARMv8-A cores with FP and NEON, an MMU and timers. A block JIT translates guest code to WebAssembly.

V3D 4.2 GPU

The binner, rasterizer, tile buffer, texture unit and QPU shader cores. Mesa's OpenGL ES 3.1 and Vulkan drivers run on it.

HVS, pixel valve, HDMI

The vc4 display pipeline: planes, vblank, EDID, HDMI audio.

PCIe, VL805 xHCI

USB keyboard, tablet, stick and webcam on the USB-A ports.

GENET, CYW43455

Ethernet and Wi-Fi with the stock drivers, behind a virtual network.

GPIO, I²C, SPI, PCM

An LED, a button, a BME280, an MCP3008 and an I²S DAC.