【Super Spark】RVA Rendering Engine — Zero-Copy Rendering Pipeline for Persistent Map on K3

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

  • :white_check_mark: No CPU memory copies (data is sent directly to the encoder/AI inference)
  • :white_check_mark: Multithreaded asynchronous readback (per-slot future)
  • :white_check_mark: Adapts to UMA memory strategies

Screenshots / Demo Video / Code Repository

Bilibili video embed code
“

”

Current Progress and Next Steps

Current Progress

  • :white_check_mark: Persistent Map approach running reliably
  • :white_check_mark: Multithreaded asynchronous rendering pipeline
  • :white_check_mark: V2D hardware validation complete
  • :warning: 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)
1 Like

代码仓库能贴一下吗