Skip to content

Rockchip

CVEDIA-RT supports any Rockchip AARCH64 CPU that has an NPU core. This includes RK3562, RK3568, RK3588, RV1106, and others.

Any Rockchip SoC with NPU that has RKNNRT drivers installed will work.

Preflight checks

OS Requirements

  • Debian 11+ or Ubuntu 20+

Android

CVEDIA-RT is not supported on Android.

Installing RKNN / MPP

RKNN module, or librknn allows us to configure and execute models on Rockchip's NPU, while MPP, or librockchip_mpp, allows video decoding on Rockchip's VPU.

librknn and librockchip_mpp usually come bundled with Rockchip ISO images, however, they are not easily updatable since there's no official repository or Debian packages related to these libraries. Some of them can be manually compiled from source or come pre-compiled in airockchip GitHub repositories.

Using CVEDIA's DEB repository

You can add our apt repository using the convenience script then install these packages:

apt install librockchip-rknn librockchip-mpp

Alternatively, you can browse our apt repository to download then install the packages you want.

Manually installing

rknn

Make sure you have librknnrt.so at your /lib/ folder. Depending on the image you used it may not be available, you can download it from the airockchip rknn-toolkit2 repository

To confirm module has been loaded you can:

ldconfig -vp | grep rknnrt

mpp

You will have to compile MPP from source, you can find it at this repository

Supported Versions of RKNN

RKNN CVEDIA-RT
1.4.0 2025.1.0
1.6.0 2023.5.0
2.3.0 2025.1.0
2.3.2 2025.1.0

Limitations

Appearance search is only supported in RKNN 2.x and newer.

Supported Versions of MPP

MPP CVEDIA-RT
1.0.11 2025.1.1