Gstreamer connects nvv4l2camerasrc to nv3dsink get SIGSEGV error on Jetpack5.0.1

The environment is agx-orin, Jetpack version 5.0.1.
I use a mipi csi camera with UYVY output. The driver has been debugged properly.

The following command will preview the camera image normally.

export DISPLAY=:1
gst-launch-1.0 v4l2src device=/dev/video0 !  "video/x-raw,format=(string)UYVY,width=(int)1920, height=(int)1080" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)NV12" ! nv3dsink -e

But error occurred if I use nvv4l2camerasrc:

export DISPLAY=:1
gst-launch-1.0 nvv4l2camerasrc device=/dev/video0 !  "video/x-raw(memory:NVMM),format=(string)UYVY,width=(int)1920, height=(int)1080" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)NV12" ! nv3dsink -e

Here is error log:

$ gst-launch-1.0 nvv4l2camerasrc device=/dev/video0 !  "video/x-raw(memory:NVMM),format=(string)UYVY,width=(int)1920, height=(int)1080" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)NV12" ! nv3dsink -e
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
gst_nvvconv_transform: NvBufSurfTransform Failed 
ERROR: from element /GstPipeline:pipeline0/GstNvV4l2CameraSrc:nvv4l2camerasrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstNvV4l2CameraSrc:nvv4l2camerasrc0:
streaming stopped, reason error (-5)
EOS on shutdown enabled -- waiting for EOS after Error
Waiting for EOS...
#0  0x0000ffff7f9adcd8 in __GI___poll
#1  0x0000ffff7fadab30 in  () at /lib/aarch64-linux-gnu/
#2  0x0000ffff7fadaef0 in g_main_loop_run ()
#3  0x0000ffff7fc7d984 in gst_bus_poll
#4  0x0000aaaaafe64b48 in event_loop
#5  0x0000aaaaafe639b8 in main (argc=<optimized out>, argv=<optimized out>)
Spinning.  Please run 'gdb gst-launch-1.0 3676' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.

I really prefer nvv4l2camerasrc because it use DMA BUFFER.
Please help me. Thanks in advance.

We will check this. As a quick solution, please use v4l2src plugin.

@DaneLLL Any news regarding this? Is this a bug in JP 5.0.1?

Please check
JP 5.0 DP GStreamer Pipeline Crash - #7 by DaneLLL

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