Project Name
RVA Rendering Engine
Submodule: Persistent Map Staging Buffer — Zero-copy data bridge for off-screen rendering → AI inference → hardware encoding
Use Cases on K3
Build an AI-enhanced rendering pipeline on the K3 platform:
text
Vulkan off-screen rendering (low resolution) → AI super-resolution inference → color format conversion → video encoding
Project Runtime Environment
| Item | Specifications |
|---|---|
| Hardware | SpacemiT Key Stone K3 (Pico ITX) |
| GPU | PowerVR B-Series BXM-4-64 MC1 |
| AI | 8× A100, 60 TOPS |
| System | Bianbu 4.0.1 |
| Programming language | C++17 |
Core Features
Background
Tiled-format rendering textures on PowerVR TBDR cannot be read directly by the CPU; the GPU must detile them first. In the standard approach, map/unmap on every frame adds overhead.
Persistent Map Approach
Core idea: Reuse the mapping across all frames to eliminate the overhead of two API calls per frame.
Key Features
No CPU memory copies (data is sent directly to the encoder/AI inference)
Multithreaded asynchronous readback (per-slot future)
Adapts to UMA memory strategies
Screenshots / Demo Video / Code Repository
Bilibili video embed code
“
”
Current Progress and Next Steps
Current Progress
Persistent Map approach running reliably
Multithreaded asynchronous rendering pipeline
V2D hardware validation complete
DMA-BUF driver interface under development
Next Steps
Goal: End-to-end zero-copy pipeline
text
Vulkan rendering → DMA-BUF export → V2D format conversion → VPU hardware encoding
- Current status: Code framework is complete; awaiting completion of the driver interface
- Expected performance: >50 FPS (fully hardware-accelerated zero-copy path)