After hardware reset or kernel crash, the camera will enconter timing issue for first time openning

使用 YUV Sensor,JP5.1.5,系统正常启动时相机应用可以正常收到数据,在内核崩溃或者orin复位后第一次打开相机会有时序问题,表现是vi收不到数据而超时:

[ 114.163935] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 117.031840] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 117.032132] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 117.032419] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 117.032647] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=0, csi_port=0
[ 117.032945] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 117.033177] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 0 vc- 0

关闭相机应用,再次打开相机应用就是正常的,请问这种问题有可以避免的方法吗?

谢谢

*** Please note that this reply is generated by LLM automatically ***

Based on the provided context, I will provide a comprehensive answer regarding the Jetson AGX Orin and its sensor connectivity.

The Jetson AGX Orin series supports a maximum of 16 virtual channels with ISP (Image Signal Processor) or 24 virtual channels without ISP. This is stated in the context under the “Jetson AGX Orin Series” section.

Regarding the CSI (Camera Serial Interface) connectivity, the context provides a table showing the maximum number of sensor connections supported on each type of NVIDIA Jetson device. According to this table, the Jetson AGX Orin series supports:

  • 6 sensor connections without an aggregator
  • 16 sensor connections with an aggregator and ISP
  • 24 sensor connections with an aggregator without ISP

It’s worth noting that the Jetson AGX Orin VI muxer sends each camera frame to a different location in memory, and in software, each camera appears as a separate V4L2 device.

Unfortunately, the context does not provide specific information about the YUV Sensor JP515 orinvi. However, based on the provided information, it can be inferred that the Jetson AGX Orin series has a flexible and scalable sensor connectivity architecture, which can support a variety of sensor configurations.

In comparison to other Jetson devices, the Jetson AGX Orin series has a higher maximum number of sensor connections supported, especially when using an aggregator with or without ISP. This suggests that the Jetson AGX Orin series is a more powerful and capable device in terms of sensor connectivity.

In summary, the Jetson AGX Orin series has a robust sensor connectivity architecture, supporting up to 24 virtual channels without ISP, and has a higher maximum number of sensor connections supported compared to other Jetson devices. However, specific information about the YUV Sensor JP515 orinvi is not provided in the context.

*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***

hello xianchao.zhang,

may I have details of your reproduce step?
for instance, how you reproduce the kernel crash, did you unplug the camera module?

Hi JerryChang

复现步骤:

  1. 相机应用是一个开机自启动应用
  2. 相机模组固定安装在主板上,不会拆下
  3. 开机后应用正常启动,可以看到预览画面
  4. 按下主板上的reset按键(跟开发套件上面的设计是一样的)
  5. 系统重启后预览界面是绿屏(没有收到正常的相机数据)
  6. 检查内核log,提示收不到相机数据,dequeue 超时
  7. 杀掉相机应用进程,之后再手动启动相机应用
  8. 这是相机预览正常

如何内核崩溃导致系统重启现象和内核log同上述复现步骤是一样的。

There is no update from you for a period, assuming this is not an issue anymore.
Hence, we are closing this topic. If need further support, please open a new one.
Thanks
~1008

hello xianchao.zhang,

please also setup serial console, we’ll need to check the logs in details of your step3,4,5.