Trying to stream AR0234 sensor with serdes and AGX Orin with Jetpack 6.0, but getting NVARGUSCAMERASRC0 error.
However, recently we are facing the following issue while streaming:
The setup mentioned above can stream only for the first time with a gst-launch command or python script with GStreamer pipeline and OpenCV. Once we discontinue with the capturing of the stream and try to recapture the stream for second time, the streaming is not enabled, the frames are not captured and the display BLACK OUTS.
Once we power off the serdes as well as AGX Orin kit and run the gst-launch or python script for the first time after power on, the streaming is successfully. Again, if we close the stream and try to recapture the stream for second time, streaming fails.
Kindly help us trouble shoot this issue. Streaming should be continuous irrespective of number of attempts.
Attached herewith is the error log for your reference:
*** Please note that this reply is generated by LLM automatically ***
Based on the provided context, I’ll try to help you troubleshoot the issue with streaming the AR0234 sensor with serdes and AGX Orin using Jetpack 6.0.
Issue Summary
You’re experiencing an issue where the streaming of the AR0234 sensor works only for the first time using a gst-launch command or Python script with GStreamer pipeline and OpenCV. When you try to recapture the stream for the second time, the streaming fails, and the display shows a black screen. This issue persists even after restarting the AGX Orin kit and serdes.
Possible Causes
NVARGUSCAMERASRC0 error: This error is related to the NVIDIA ARGUS camera source component, which is used in the GStreamer pipeline. The error might be caused by a configuration issue or a problem with the camera sensor.
GStreamer pipeline issue: The GStreamer pipeline might not be properly configured or might be experiencing issues with the RTP stack, which could lead to intermittent segmentation faults (as mentioned in issue 4297071).
Camera sensor configuration: The AR0234 sensor might require specific configuration settings that are not being applied correctly, leading to the streaming failure.
Comparison with Similar Issues
Issue 4385287: This issue mentions a problem with the IMX219 camera on Jetson Orin NX, where the preview and capture fail when using argus_samples and argus_camera. Although this issue is specific to the IMX219 camera, it highlights the importance of correct camera configuration and sensor settings.
Issue 4327644: This issue mentions the need to explicitly specify sensor-id=1 instead of the default sensor-id=0 in the gstreamer nvarguscamera element when using the CAM0 interface on Jetson Orin NX and Jetson Orin Nano devices. This might be relevant to your issue, as you’re using the AR0234 sensor with serdes and AGX Orin.
Troubleshooting Steps
Verify camera sensor configuration: Ensure that the AR0234 sensor is properly configured and that the correct sensor settings are applied.
Check GStreamer pipeline configuration: Review the GStreamer pipeline configuration to ensure that it’s correct and that the RTP stack is properly configured.
Use the jetson_clocks utility: Try using the jetson_clocks utility to max out the SOC clocks and speed up execution, as mentioned in issue 4391619. This might help alleviate the issue.
Restart the AGX Orin kit and serdes: As you’ve already tried, restart the AGX Orin kit and serdes to see if the issue persists.
Check for firmware updates: Ensure that the firmware for the AGX Orin kit and serdes is up-to-date, as newer firmware versions might resolve the issue.
Additional Information Needed
To further assist with troubleshooting, please provide the following information:
GStreamer pipeline configuration: Share the GStreamer pipeline configuration used in your setup.
Camera sensor settings: Provide the camera sensor settings used in your setup.
Error log details: Share more details about the error log, including any relevant error messages or codes.
By providing this additional information and following the troubleshooting steps outlined above, we can work together to resolve the issue with streaming the AR0234 sensor with serdes and AGX Orin using Jetpack 6.0.
*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***
Thats what we tried exactly, power down the device. But every time it’s not feasible to power down and boot the device again. So, we are looking for an alternative solution.