I recently encountered an issue where I found that I couldn’t get the first frame of sensor output. After checking the CSI log, I noticed that it consistently reported the following error. Could you help me understand the specific meaning of this log?
Thank you for your response. I have a few more questions to understand:
Why is “frame:3072” appearing? Is it normal for it to be 3072, which is the height of my image? Shouldn’t it be “frame:1” in normal circumstances?
Based on your answer, could it be possible that there is an issue with parsing my first frame of data? For example, data that should represent the datatype is actually storing other data, causing NVCSI to recognize it as an unsupported datatype. Consequently, what should have been “WC[word-count:3072]” is recognized as a frame ID. Is this a likely scenario?
Your response has left me somewhat confused. I need to restate my question. The situation is this: after powering on the sensor for the first time, I cannot receive the first frame of the image, but I can receive images from the second frame onwards. I can confirm that there are no configurations related to embedded data in both the sensor and the device tree. My issue is not related to this. I want to understand what is causing Orin not to decode the first frame of the image.thank you
I don’t think this is the reason causing it. We have previously considered this possibility and conducted some experimental attempts, such as adding a delay before enabling the sensor output, or enabling sensor output after starting V4L2 streaming to ensure that the first frame is sent out after NVCSI starts capturing. However, we still encountered the same error with the same logs. So, are there any other possibilities we should explore? thanks
I checked the frame-id (also called frame-number or frame count),The frame ID is decoded from the MIPI signal, and it should start counting from 1. However, what I’m getting starts from 2, just as shown in the logs. The logs after frame:2 are normal, and by calculating the frame time from the second frame’s FS time point backward in the logs, it coincides with the error message “CSIMUX_STREAM,data:0x0000000000100000” at the time of the first frame’s FS. So, I believe the first frame wasn’t received correctly
We have tested this on both the R35.5.0 and R35.3.1 versions of the BSP
We have tried similar operations, such as delaying the activation of the sensor output register, but still cannot obtain the first frame of the image.
The process looks something like this: write sensor ini register without stream on–> open /dev/video0 → start to capture → write sensor stream on register.
There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks
Is this still an issue to support? Any result can be shared?