CSI camera capture failure in remote session

Hi,

I am trying to capture frames from a CSI camera (without display) with GStreamer but experiencing failures.

gst-launch-1.0 -v nvarguscamerasrc sensor-id=0 ! nvvidconv ! fakesink

I am getting the below error.

GST_ARGUS: Creating output stream
(Argus) Error BadParameter: (propagating from src/eglstream/FrameConsumerImpl.cpp, function initialize(), line 93)
(Argus) Error BadParameter: (propagating from src/eglstream/FrameConsumerImpl.cpp, function create(), line 44)
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadInitialize:316 Failed to create FrameConsumer
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadFunction:237 (propagating)
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, waitRunning:199 Invalid thread state 3
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:847 (propagating)

These are the software details on the board.
Software:
L4T: 36.3.0
JetPack: 6.0
OpenCV: 4.8.0 (without CUDA)
GStreamer: 1.20.3
CUDA: 12.2
TensorRT: 8.6.2
cuDNN: 8.9.4
SDL: 1.2.15

Camera details:
Driver Info:
Driver name : tegra-video
Card type : vi-output, imx219 9-0010
Bus info : platform:tegra-capture-vi:2

Arducam for Raspberry Pi Camera Module V2-8

Hi,
You would need to enable the camera module in device tree. Please contact vendor of the module for support.

I am able to resolve this issue by connecting to the board without ‘-X’ flag. Simply removing X display redirection ran the pipelines properly.

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