We are capturing and previewing the 4 MIPI streams from our custom deserializer board on i.MX8QM MEK board. We used gstreamer framework to acheive this. The issue we are facing is while stopping the capture by sending EOS( Ctrl + C) signal we are getting kernel crash. The crash is not happening everytime while stopping the capture, but in a random order.(3 out of 20 times). The kernel crash logs are attached. The gstreamer command we used is given below:
gst-launch-1.0 -e imxcompositor_g2d name=comp \
sink_0::xpos=0 sink_0::ypos=0 sink_0::width=1280 sink_0::height=960 \
sink_1::xpos=1280 sink_1::ypos=0 sink_1::width=1280 sink_1::height=960 \
sink_2::xpos=0 sink_2::ypos=960 sink_2::width=1280 sink_2::height=960 \
sink_3::xpos=1280 sink_3::ypos=960 sink_3::width=1280 sink_3::height=960 \
! waylandsink sync=false \
v4l2src device=/dev/video1 ! video/x-raw,width=1280,height=960,framerate=30/1 ! comp.sink_0 \
v4l2src device=/dev/video2 ! video/x-raw,width=1280,height=960,framerate=30/1 ! comp.sink_1 \
v4l2src device=/dev/video3 ! video/x-raw,width=1280,height=960,framerate=30/1 ! comp.sink_2 \
v4l2src device=/dev/video4 ! video/x-raw,width=1280,height=960,framerate=30/1 ! comp.sink_3
Can someone help here on this issue.
Thanks & Regards,
Charles
Hello charles,
Apparently the camara is waiting too much to get the output, which kernel are you working? you should try the latest BSP.
Regards
Hi,
Im working on linux kernel 5.10.72