I am having issues streaming IMX390 with Xavier NX.
I am using the following command
" gst-launch-1.0 nvarguscamerasrc sensor-mode=0 ! nvvidconv ! xvimagesink "
and, the response I am receiving is as mentioned below
" Error Generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst nvarguscamera/gstnvarguscamerasrc.cpp, threadExecute:694 NvBufSurfaceFd.
Error Generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadFunction:247 (propagating) "
The stream window starts with no image, but then crashes after a minute.
Could you all please help me with the issue?
PS: The hardware is provided by D3 Engineering.
Do you make sure the sensor driver probe successfully and v4l2-ctl capture without problem?
If yes get the daemon log.
Thanks
Hello Shane,
with v4l2-ctl, there is no response and it is stuck there.
The FPD Link Serialiser-Deserialiser is also locked.
Get the trace log.
modprobe rtcpu_debug
echo 1 > /sys/kernel/debug/tracing/tracing_on
echo 30720 > /sys/kernel/debug/tracing/buffer_size_kb
echo 1 > /sys/kernel/debug/tracing/events/tegra_rtcpu/enable
echo 1 > /sys/kernel/debug/tracing/events/freertos/enable
echo 3 > /sys/kernel/debug/camrtc/log-level
echo 1 > /sys/kernel/debug/tracing/events/camera_common/enable
echo > /sys/kernel/debug/tracing/trace
v4l2-ctl --stream-mmap -c bypass_mode=0
cat /sys/kernel/debug/tracing/trace
Hi @abhijeet.gite,
The nvarguscamerasrc error is most likely just a symptom of a failure earlier in the capture pipeline (sensor → SerDes → CSI → V4L2). Since v4l2-ctl also hangs, I would first focus on getting the V4L2 path working before debugging Argus.
First, check that the IMX390 driver probed successfully and that there were no errors during initialization. During probe, the driver configures the sensor and registers it with the Jetson camera subsystem, so any issue there can prevent streaming.
dmesg | grep -iE "imx390|csi|nvcsi|vi|camera|des|ser"
Also verify that the video device exists and that the sensor exposes a valid format:
v4l2-ctl --list-devices
v4l2-ctl -d /dev/video0 --list-formats-ext
media-ctl -p
Next, verify the IMX390 configuration itself: resolution, pixel format, lane configuration, and whether the sensor (or the deserializer) provides any frame counter or status registers that confirm frames are actually being generated.
Finally, I would run the trace log that ShaneCCC requested. If the trace shows that no CSI frames are reaching the VI/NVCSI, then the issue is likely before the Jetson (sensor configuration, SerDes configuration, or CSI output). If frames are reaching the Jetson, the trace should provide much more information about where they are being rejected.
That trace will probably be the most useful piece of information to narrow down the root cause.
Jose Morera
Embedded Software Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com
Website: www.ridgerun.com
v4l2_trace.txt (3.9 KB)
I have uploaded the trace, could you please have a look at it?
The trace log shows doesn’t receive any validate data form the sensor.
Maybe have scope probe the signal to confirm it.
Thanks
probe.txt (8.6 KB)
Hello Jose, I have attached the response for the command you mentioned. Also, I verified the device and the format, they both are correct. Thank you!
Since the trace log shows no evidence of data reaching the Jetson, the next step is to verify the earlier stages of the camera pipeline.
Please confirm that the IMX390 is configured correctly and is actually generating frames. Then verify the serializer/deserializer configuration and check their status and error registers to confirm that video data is reaching the SerDes and being forwarded to the CSI output.
In particular, check the sensor streaming status, FPD-Link lock/pass status, CSI transmitter enable, virtual channel, data type, lane configuration, and any available frame or packet counters. The link being locked does not necessarily mean that valid CSI-2 frames are being transmitted to the Jetson.
Jose Morera
Embedded Software Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com
Website: www.ridgerun.com