<html><head><style>pre,code,address {
margin: 0px;
}
h1,h2,h3,h4,h5,h6 {
margin-top: 0.2em;
margin-bottom: 0.2em;
}
ol,ul {
margin-top: 0em;
margin-bottom: 0em;
}
blockquote {
margin-top: 0em;
margin-bottom: 0em;
}
</style></head><body><div>Hi,</div><div><br></div><div>Le vendredi 15 septembre 2023 à 13:26 -0400, Dwight Kulkarni via gstreamer-devel a écrit :</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>We have a camera board and are trying to use Gstreamer with it.</div><div><br></div><div>Two different units of the exact same camera board are giving different behaviour when launching with gstreamer.</div><div><br></div><div>One of the boards is always launching. Other boards are launching with some frequency like 8/10 or 9/10 times. And one of the boards is never launching.</div></div></blockquote><div><br></div><div>Looks like a driver problem to me.</div><div><br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>When we measure the MIPI output on the camera board, we can measure data there when pipeline launches. This means the board is sending data.</div><div><br></div><div>However, for whatever reason Gstreamer some of the time doesn't start up.</div><div><br></div><div>We think it might be some sort of timing issue, but it is very inconsistent. I am attaching a sample log which includes dmesg output for the two cases. In one case, gstreamer was successful and other case not, in starting up.</div><div><br></div><div>In both instances, we don't see any error message but no stream appears. It even says v4l2src was set to PLAYING successfully in both cases.</div></div></blockquote><div><br></div><div>I've checked the log, its not giving much. Try to set the debug category like this:<br><br> GST_DEBUG="v4l2*:7,2"</div><div><br></div><div>You can also enable v4l2 ioctl traces:<br><br> echo 0xff > /sys/class/video4linux/video1/dev_debug</div><div><br></div><div>This will come out on dmesg. These two trace will give you a hint of what the software is doing. Though, you will not have much hint on what the driver is doing. As you are on downstream kernel you will have to work with the dowstream devs to find out more. Upstream linux also have some support through rkisp driver and libcamera, but no encoder yet.</div><div><br></div><div>Nicolas </div><div><br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>If anyone has any insight into this, would really appreciate it. We have tried everything even remaking the board twice, but it seems to be some timing or initialization or sequencing issue. <br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><span style="font-size:12.8px">Sincerely,</span><div><br></div><div>Dwight Kulkarni </div><div><br></div></div></div></div></div></div></div></div></div></blockquote><div><br></div><div><span></span></div></body></html>