Unable to stream Waveshare IMX219-160 cam with Jetson nano

I am using Waveshare IMX219-160 Camera sensor with jetson nano module. But I am unable to view output stream. Here is the pipeline I used:

gst-launch-1.0 nvarguscamerasrc ! ‘video/x-raw(memory:NVMM),width=1920,height=1080,framerate=30/1’ > ! nvvidconv ! ‘video/x-raw,format=I420’ > ! x264enc tune=zerolatency bitrate=500 speed-preset=ultrafast ! rtph264pay ! udpsink host=192.168.55.1 port=4000
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
Redistribute latency…
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3264 x 2464 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 3264 x 1848 FR = 28.000001 fps Duration = 35714284 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1640 x 1232 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 120.000005 fps Duration = 8333333 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 2
Output Stream W = 1920 H = 1080
seconds to Run = 0
Frame Rate = 29.999999
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD… Exiting…
CONSUMER: ERROR OCCURRED
ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: CANCELLED
Additional debug info:
Argus Error Status
Execution ended after 0:00:01.947134583
Setting pipeline to PAUSED …
Setting pipeline to READY …
GST_ARGUS: Cleaning up

Can you guide me here !

Does v4l2-ctl command able to capture frame data from sensor?

v4l2-ctl --stream-mmap -c bypass_mode=0

No. When I run this cmd it does not respond anything. I also connected display but nothing works

It should show the fps otherwise nvcsi/vi unable capture from the sensor.
You may check with Waveshare for this issue.

nvidia@tegra-ubuntu:/usr/src$ v4l2-ctl --stream-mmap
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps

No, its not showing anything.

That’s tell unable capture data from the sensor.

I tested IMX477 Arducam on the same MIPI CSI Interface and it able to stream.

What do you mean on the same MIPI CSI interface?

I mean MIPI CSI Connector

Then it could be Waveshare IMX219 HW need customize driver for it.

I have attached the dmesg logs can you please check ones the root cause for this.

dmesglogs_nano.txt (104.4 KB)

The log tell unable capture data from sensor and timeout.

Can you tell me in brief why this happen ?

It’s could be Waveshare HW didn’t compatible with native driver.
You may consult with vendor to get match driver for it.

Thanks

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