Tool/software:
Hi expert,
I'm working on displaying the images from four cameras simultaneously. It fails to display the images of four cameras simultaneously. The following error is displayed.
[ 921.676101] ds90ub960 5-003d: rx2 CSI error: 0xc
[ 921.680724] ds90ub960 5-003d: rx2 CSI checksum error
[ 921.685682] ds90ub960 5-003d: rx2 CSI length error
[ 922.221586] ds90ub960 5-003d: rx1 buffer error
[ 922.227764] ds90ub960 5-003d: rx3 buffer error
[ 922.232212] ds90ub960 5-003d: rx3 CSI error: 0xc
[ 922.236833] ds90ub960 5-003d: rx3 CSI checksum error
[ 922.241800] ds90ub960 5-003d: rx3 CSI length error
[ 922.764084] ds90ub960 5-003d: rx0 buffer error
[ 922.769119] ds90ub960 5-003d: rx1 buffer error
[ 922.774152] ds90ub960 5-003d: rx3 buffer error
[ 923.308087] ds90ub960 5-003d: rx0 buffer error
[ 923.313122] ds90ub960 5-003d: rx1 buffer error
[ 923.318153] ds90ub960 5-003d: rx2 buffer error
[ 923.323192] ds90ub960 5-003d: rx3 buffer error
Here are my GStreamer commands. I modified them based on the commands for two cameras.
gst-launch-1.0 -v \
v4l2src device=/dev/video-ox03c10-cam0 io-mode=5 ! video/x-bayer, width=1920, height=1280, framerate=60/1, format=bggr12 ! queue leaky=2 ! tiovxisp sink_0::device=/dev/v4l-ox03c10-subdev0 sensor-name=SENSOR_SONY_OX03C10_UB953_D3 dcc-isp-file=/opt/imaging/ox03c10/wdr/dcc_viss_wdr.bin sink_0::dcc-2a-file=/opt/imaging/ox03c10/wdr/dcc_2a_wdr.bin format-msb=11 sink_0::pool-size=8 src::pool-size=8 ! video/x-raw, format=NV12, width=1920, height=1280 ! queue ! mosaic.sink_0 \
v4l2src device=/dev/video-ox03c10-cam1 io-mode=5 ! video/x-bayer, width=1920, height=1280, framerate=60/1, format=bggr12 ! queue leaky=2 ! tiovxisp sink_0::device=/dev/v4l-ox03c10-subdev1 sensor-name=SENSOR_SONY_OX03C10_UB953_D3 dcc-isp-file=/opt/imaging/ox03c10/wdr/dcc_viss_wdr.bin sink_0::dcc-2a-file=/opt/imaging/ox03c10/wdr/dcc_2a_wdr.bin format-msb=11 sink_0::pool-size=8 src::pool-size=8 ! video/x-raw, format=NV12, width=1920, height=1280 ! queue ! mosaic.sink_1 \
v4l2src device=/dev/video-ox03c10-cam2 io-mode=5 ! video/x-bayer, width=1920, height=1280, framerate=60/1, format=bggr12 ! queue leaky=2 ! tiovxisp sink_0::device=/dev/v4l-ox03c10-subdev2 sensor-name=SENSOR_SONY_OX03C10_UB953_D3 dcc-isp-file=/opt/imaging/ox03c10/wdr/dcc_viss_wdr.bin sink_0::dcc-2a-file=/opt/imaging/ox03c10/wdr/dcc_2a_wdr.bin format-msb=11 sink_0::pool-size=8 src::pool-size=8 ! video/x-raw, format=NV12, width=1920, height=1280 ! queue ! mosaic.sink_2 \
v4l2src device=/dev/video-ox03c10-cam3 io-mode=5 ! video/x-bayer, width=1920, height=1280, framerate=60/1, format=bggr12 ! queue leaky=2 ! tiovxisp sink_0::device=/dev/v4l-ox03c10-subdev3 sensor-name=SENSOR_SONY_OX03C10_UB953_D3 dcc-isp-file=/opt/imaging/ox03c10/wdr/dcc_viss_wdr.bin sink_0::dcc-2a-file=/opt/imaging/ox03c10/wdr/dcc_2a_wdr.bin format-msb=11 sink_0::pool-size=8 src::pool-size=8 ! video/x-raw, format=NV12, width=1920, height=1280 ! queue ! mosaic.sink_3 \
tiovxmosaic name=mosaic \
sink_0::startx="<0>" sink_0::starty="<0>" sink_0::widths="<640>" sink_0::heights="<360>" \
sink_1::startx="<640>" sink_1::starty="<0>" sink_1::widths="<640>" sink_1::heights="<360>" \
sink_2::startx="<0>" sink_2::starty="<360>" sink_2::widths="<640>" sink_2::heights="<360>" \
sink_2::startx="<640>" sink_2::starty="<360>" sink_2::widths="<640>" sink_2::heights="<360>" ! \
video/x-raw, width=2560, height=1440 ! kmssink driver-name=tidss sync=false
In addition, sometimes when switching between the images of a single camera, the video stream may also fail to be output. It needs to be restarted to be achieved. Could you give me some suggestions? Do I need to upgrade to the latest SDK version? Thanks!
0:00:04.650278950 2623 0x3c4b19e0 INFO aggregator gstaggregator.c:612:gst_aggregator_push_mandatory_events:<tiovxisp0> pushing stream start
0:00:04.650461620 2623 0x3c4b19e0 FIXME basesink gstbasesink.c:3395:gst_base_sink_default_event:<kmssink0> stream-start event without group-id. Consider implementing group-id handling in the upstream elements
0:00:04.650555575 2623 0x3c4b19e0 INFO aggregator gstaggregator.c:623:gst_aggregator_push_mandatory_events:<tiovxisp0> pushing caps: video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1280, framerate=(fraction)0/1
0:00:04.650583720 2623 0x3c4b19e0 INFO GST_EVENT gstevent.c:892:gst_event_new_caps: creating caps event video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1280, framerate=(fraction)0/1
0:00:04.650652660 2623 0x3c4b19e0 INFO basetransform gstbasetransform.c:1326:gst_base_transform_setcaps:<capsfilter1> reuse caps
0:00:04.650675530 2623 0x3c4b19e0 INFO GST_EVENT gstevent.c:892:gst_event_new_caps: creating caps event video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1280, framerate=(fraction)0/1
0:00:04.650810830 2623 0x3c4b19e0 INFO tiovxisp gsttiovxisp.c:1122:gst_tiovx_isp_init_module:<tiovxisp0> Input parameters:
Width: 1920
Height: 1280
Num exposures: 1
Lines interleaved: 0
Format pixel container: 0x101000
Format MSB: 11
Meta height before: 0
Meta height after: 0
0:00:04.650847170 2623 0x3c4b19e0 INFO tiovxisp gsttiovxisp.c:1214:gst_tiovx_isp_init_module:<tiovxisp0> Output parameters:
Width: 1920
Height: 1280
0:00:04.650861850 2623 0x3c4b19e0 INFO tiovxisp gsttiovxisp.c:1223:gst_tiovx_isp_init_module:<tiovxisp0> Initializing ISP object
0:00:04.652112625 2623 0x3c4b19e0 INFO tiovxisp gsttiovxisp.c:1285:gst_tiovx_isp_init_module:<tiovxisp0:sink_0> TI 2A parameters:
Sensor DCC ID: 233
Sensor Image Format: 0
Sensor Image Phase: 0
Sensor AWB Mode: 0
Sensor AE Mode: 0
Sensor AWB number of skipped frames: 0
Sensor AE number of skipped frames: 0
IttCtrl_registerHandler: command echo registered at location 0
IttCtrl_registerHandler: command iss_read_2a_params registered at location 1
IttCtrl_registerHandler: command iss_write_2a_params registered at location 2
IttCtrl_registerHandler: command iss_raw_save registered at location 3
IttCtrl_registerHandler: command iss_yuv_save registered at location 4
IttCtrl_registerHandler: command iss_read_sensor_reg registered at location 5
IttCtrl_registerHandler: command iss_write_sensor_reg registered at location 6
IttCtrl_registerHandler: command dev_ctrl registered at location 7
IttCtrl_registerHandler: command iss_send_dcc_file registered at location 8
NETWORK: Opened at IP Addr = 0.0.0.0, socket port=5000!!!