Hi,
I’m trying to get a clean image from a Radxa Camera 8M 219 (IMX219 sensor) connected via MIPI CSI to a Radxa Cubie A5E (Allwinner A527, Debian Bullseye, Kernel 5.15.147-10-aw2501).
Current status: The hardware pipeline is fully working — the sensor is detected, the media controller topology is correctly wired, and GStreamer receives frames at 1920x1080 @ 30fps using:
gst-launch-1.0 \
v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 \
! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 \
! videoconvert ! jpegenc \
! multifilesink location=/tmp/frame%03d.jpg
However, the image has severe color artifacts — diagonal red, green and yellow overlays across the entire frame. The scene is recognizable but clearly wrong.
Root cause identified:
The ISP log reveals the problem:
[ISP_WARN]cannot find imx219_1920_1080_1_0_0 isp config,
use imx219_3280_2464_30_0_0 -> [imx219_3280_2464_isp_cfg]
After inspecting the installed libraries with strings, I found a clear name mismatch:
libisp.so contains this mapping for imx219 at 1080p:
imx219 → imx219_3280_2464_isp_cfg (only full 4:3 resolution)
imx219 → imx219_isp_cfg (generic fallback)
libisp_ini.so (from libawispapi-isp-601-arm64) actually contains a 1080p config, but under a different name:
imx219_mipi_1080p_isp_cfg ← exists in libisp_ini.so but is never requested
libisp.so searches for imx219_1920_1080_1_0_0 which exists in neither library. It falls back to the 4:3 full-resolution config which causes the color artifacts at 1080p.
What I’ve tried:
-
Installed
task-a527-camera(which replaceslibawispapi-isp-602withlibawispapi-isp-601) — same issue, same mismatch -
Tried
en-largemode=1with 3280x2464 — produces no frames at all -
Tried different Bayer orders (SRGGB, SGRBG) via
media-ctl— no improvement, the issue is deeper
Question:
Is there a package or updated version of libisp.so that correctly maps imx219 at 1920x1080 to imx219_mipi_1080p_isp_cfg? Or is there another approach to get a clean 1080p image from the IMX219 on the A527?
Any help appreciated — happy to provide more logs or test patches.
Thanks!