When I was using my orin nano to access the CSI camera, I could normally detect the connected camera by using the command “ls -la /dev/video*”. However, I tried various methods but still couldn’t call this CSI camera. The error message I captured is as follows: Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:1204 Failed to start capture request
*** Please note that this reply is generated by LLM automatically ***
The issue you’re experiencing with the Jetson Orin Nano and the CSI camera is related to the camera not being detected or accessible through the ls /dev/video* command, despite trying various methods. The error message you provided indicates a failure to start the capture request.
To troubleshoot this issue, let’s break down the possible causes and solutions:
-
Camera Connection and Configuration: Ensure that the CSI camera is properly connected to the Jetson Orin Nano module. Verify that the camera is powered on and configured correctly. Check the camera’s documentation for specific configuration requirements.
-
Device Tree Configuration: The device tree configuration might not be set up correctly for the CSI camera. Check the device tree source file (usually
tegra194-p2888-0000-p2822-0000.dts) for the CSI camera configuration. Ensure that the camera is enabled and the correct settings are applied. -
Kernel Module Loading: The CSI camera kernel module might not be loaded. Check if the
tegra_camerakernel module is loaded using thelsmodcommand. If not, try loading it manually usingmodprobe tegra_camera. -
GStreamer Plugin: The
nvarguscamerasrcGStreamer plugin might not be installed or configured correctly. Ensure that the plugin is installed and the correct version is used. You can check the plugin version usinggst-inspect-1.0 nvarguscamerasrc. -
Sensor ID: The sensor ID might not be set correctly. Use the
v4l2-ctl --list-devicescommand to find the correct sensor ID for your camera. Then, use this ID in your GStreamer pipeline. -
GStreamer Pipeline: The GStreamer pipeline might not be configured correctly. Try using a simple pipeline like the one provided in the documentation:
gst-launch-1.0 nvarguscamerasrc num-buffers=1 sensor-id=0 ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12' ! nvjpegenc ! filesink location=${HOME}/gst-frame-cam0.jpgReplace the
sensor-idwith the correct value for your camera. -
Permissions: Ensure that you have the necessary permissions to access the camera device. Try running the GStreamer pipeline with elevated privileges using
sudo. -
Camera Compatibility: Verify that the CSI camera is compatible with the Jetson Orin Nano module. Check the camera’s documentation for compatibility information.
In comparison to other Jetson modules, the Orin Nano has a similar camera interface and configuration. However, the device tree configuration and kernel module loading might differ. Ensure that you’re using the correct device tree configuration and kernel modules for the Orin Nano.
To further debug the issue, you can try:
- Checking the kernel logs for any camera-related errors using
dmesg. - Using the
v4l2-ctlcommand to test the camera and verify that it’s working correctly. - Trying a different GStreamer pipeline or plugin to isolate the issue.
If none of these solutions work, please provide more information about your setup, including the camera model, device tree configuration, and kernel version. This will help in further troubleshooting the issue.
*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***
my orin nano is P3766 8G version
What’s your camera?
For the PI IMX219/IMX477 you need to enable by jetson-io.
For any others you need implement the sensor driver for it.
Thanks
IMX219 and i met a new question:Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-
i try the reboot and sudo systemctl restart nvargus-daemon but it did not work
its my platform
Linux cvi638-desktop 5.15.148-tegra #1 SMP PREEMPT Thu Sep 18 15:08:33 PDT 2025 aarch64 aarch64 aarch64 GNU/Linux
Please flash the Orin Nano by sdkmanager and run the jetson-io to enable the imx219 to try.
Thanks
I have flash it yesterday, but i use Jetson Linux R36.4.4_aarch64.tbz2 and Tegra_Linux_Sample-Root-Filesystem_R36.4.4_aarch64.tbz2 ,use sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 \
-c tools/kernel_flash/flash_l4t_t234_nvme.xml \
-p “-c bootloader/generic/cfg/flash_t234_qspi.xml” \
--showlogs --network usb0 \
jetson-orin-nano-devkit nvme0n1p1
Should i use the sdkmanager to flash orin nano again?
Please confirm by sdkmanager.
Thanks
I have done as you say, after install and flash , i still use sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 \
-c tools/kernel_flash/flash_l4t_t234_nvme.xml \
-p “-c bootloader/generic/cfg/flash_t234_qspi.xml” \
–showlogs --network usb0 \
and then i get a new orin nano environment,however, i still have the same question, the info are as follows:
cvi638@cvi638-desktop:/tmp$ sudo gst-launch-1.0 nvarguscamerasrc num-buffers=1 ! nvjpegenc ! filesink location=test.jpg
nvbufsurftransform: Could not get EGL display connection
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Pipeline is PREROLLED …
Setting pipeline to PLAYING …
New clock: GstSystemClock
GST_ARGUS: Creating output stream
(Argus) Error NotSupported: Failed to initialize EGLDisplay (in src/eglutils/EGLUtils.cpp, function getDefaultDisplay(), line 77)
(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:318 Failed to create FrameConsumer
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadFunction:239 (propagating)
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, waitRunning:201 Invalid thread state 3
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:849 (propagating)
Redistribute latency…
Got EOS from element “pipeline0”.
Execution ended after 0:00:00.110017607
Setting pipeline to NULL …
Freeing pipeline …
Do you connect the HDMI monitor?
If using ssh connect to the Orin need below command.
export DISPLAY=:0
nvbufsurftransform: Could not get EGL display connection
I have done this before
yeah, i connect a HDMI monitor
There is no update from you for a period, assuming this is not an issue anymore.
Hence, we are closing this topic. If need further support, please open a new one.
Thanks ~0325
Is this still an issue to support? Any result can be shared?