The CSI camera turns on a green screen

Dear NVIDIA,The custom board uses IMX290-AHD camera, through TP2815 for data acquisition, after I ported the driver, it is very stable to open the CSI camera with 720 resolution, the image is as follows
➜ ~ gst-launch-1.0 v4l2src device=/dev/video3 ! 'video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)720, framerate=(fraction)30/1' ! xvimagesink -ev


However, if you open it with 1080 resolution, it will turn into a green screen after opening it three times, as shown below is the image that opens normally and does not open normally

➜  ~ gst-launch-1.0 v4l2src device=/dev/video3 ! 'video/x-raw, format=(string)UYVY, width=(int)1920, height=(int)1080, framerate=(fraction)30/1' ! xvimagesink  -ev


tegra-capture-vi: err_rec: successfully reset the capture channel
[ 3018.348129] tp2854 2-004b: SET MODE 0
[ 3018.348260] tp2854 2-004b: START M 4b
[ 3020.845945] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 3020.846187] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 3020.847130] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 3020.847281] t194-nvcsi 13e10000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=4, csi_port=4
[ 3020.847498] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 3020.847645] t194-nvcsi 13e10000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 4 vc- 3
[ 3020.853770] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel

This is to open the green screen of dmesg again after opening normally with 1080 resolution

Looking at this dmesg print, can tell me which problems are caused by me, how should I troubleshoot this problem?

Hello @DreamLan,

Most of the time this error means that the video communication was interrupted, but in this case, the pipeline should be closed and you will not able to see this green screen.

When you see the error reported (Error in closing stream_id=4, csi_port=4) Does the pipeline continue open showing the green screen?

For YUV formats, the green color indicates uninitialized memory, I am not familiar with TP2815 but you could check if there is some status register that you can read to confirm if it continues receiving frames from IMX290.

Regards.

Manuel Leiva
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com/
Website: www.ridgerun.com

Yes, when there is an error, it is also a green screen to open again, and it takes a while or reinstalling the TP2815 driver to display normally, but it is normal to see the register status of TP2815.thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.