Good day!
I’ve an issue with dummy buffer in rkcif
when using custom build of rkaiq_3A_server
. The rkcif
driver somehow allocated dummy buffer instead of a normal one. I can’t get not a single frame from the stream.
v4l2-ctl -d 11 --stream-mmap=4 --stream-count=1 --stream-to=/tmp/cap.raw
rkcif-mipi-lvds2: Allocate dummy buffer, size: 0x00a05000 ... rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
If I stop rkaiq_3A_server
or run rkaiq_3A_server
from package, stream captures correctly.
Kernel: 5.10.66-10-rockchip
rkaiq_3A_server
was built from sources taken from here: https://gitlab.com/rk3588_linux/linux/external/camera_engine_rkaiq.git . Statically linked with librkaiq.a
I’ve tried to look in rkcif driver in kernel and only found what dummy mode could be enabled by device attribute:
DEVICE_ATTR(is_use_dummybuf, S_IWUSR | S_IRUSR,
rkcif_show_dummybuf_mode, rkcif_store_dummybuf_mode);
But I fail to see how rkaiq_3A_server
enables it. Or maybe there is another reason.
Questions:
- What could cause this issue?
- Where I can get a working sources for ‘camera_engine_rkaiq’?
Would appreciate any help.