Help with IMX219 Cameras

Greetings. I have a freshly flashed and setup Orin Nano Dev using Jetpack 6, CUDA 12.2.140, cuDNN 8.9.4.25, TensorRT 8.6.2.3, VPI 3.0.10, Vulkan 1.3.204, and OpenCV 4.8.0.

I have a IMX219 77 on port 0 and an IMX219 160 on port 1.

When I run “v4l2-ctl --list-devices” I get:
NVISIA Tegra Video Input Device (platform:tegra-camrtc-ca):
/dev/media0

cannot open device /dev/video0, exiting.

I have been going through the instructions here [Jetson Orin Nano Developer Kit User Guide - How-to | NVIDIA Developer](https://Orin Nano Dev Guide)

When I enter this command:

Blockquotegst-launch-1.0 nvarguscamerasrc ! ‘video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1’ ! nvvidconv ! video/x-raw, format=I420 ! x264enc ! h264parse ! qtmux ! filesink location=output.mp4 -e

I get the following:

Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Pipeline is PREROLLED …
Setting pipeline to PLAYING …
New clock: GstSystemClock
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:751 No cameras available
Redistribute latency…
Redistribute latency…
Got EOS from element “pipeline0”.
EOS received - stopping pipeline…
Execution ended after 0:00:00.021375597
Setting pipeline to NULL …
Freeing pipeline …
(Argus) Error EndOfFile: Unexpected error in reading socket (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 266)
(Argus) Error EndOfFile: Receive worker failure, notifying 1 waiting threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 339)
(Argus) Error InvalidState: Argus client is exiting with 1 outstanding client threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 355)
(Argus) Error EndOfFile: Receiving thread terminated with error (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadWrapper(), line 368)
(Argus) Error EndOfFile: Client thread received an error from socket (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 145)
(Argus) Error EndOfFile: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)

My assumption is that I missed a step somewhere, but I have gone through this quite a few times now.

Thanks for your help!

Looks like we can close this too. After all day digging through hundreds of posts and comments, scripts, walk throughs, and a million other documents, I found the solution:

After running sudo /opt/nvidia/jetson-io/jetson-io.py and reconfiguring those ports, just like magic it started working.

Suggestion?
It would be EPIC if all these related topics could be consolidated into an easy to navigate area. A guide on How to use cameras (Yeah, you kinda have that) but link to it common problems and solutions.

1 Like