I am trying IMX477 camera (SKU: B0251) on Jetson Orin Nano.
Version of JetPack that I am using is 5.1.2 (L4T 35.4.1).
When connected to the CAM0 port, I am able to display the image.
However, when connected to the CAM1 port, the image cannot be displayed. Is this expected? Or is it necessary to conduct some operations, such as GPIO operations, on Jetson?
The command I tried is as follows:
SENSOR_ID=0 # 0 for CAM0 and 1 for CAM1 ports FRAMERATE=60 # Framerate can go from 2 to 60 for 1920x1080 mode gst-launch-1.0 nvarguscamerasrc sensor-id=$SENSOR_ID ! "video/x-raw(memory:NVMM),width=1920,height=1080,framerate=$FRAMERATE/1" ! nvvidconv ! xvimagesink
- this command was got from arducam github page.
The results are as follows:
Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock GST_ARGUS: Creating output stream CONSUMER: Waiting until producer is connected... GST_ARGUS: Available Sensor modes : GST_ARGUS: 4032 x 3040 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000; GST_ARGUS: 3840 x 2160 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000; GST_ARGUS: 1920 x 1080 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 22.250000; 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 = 59.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 Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadExecute:694 NvBufSurfaceFromFd Failed. Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadFunction:247 (propagating) ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: TIMEOUT Additional debug info: Argus Error Status Execution ended after 0:00:08.048854752 Setting pipeline to NULL ... GST_ARGUS: Cleaning up Freeing pipeline ...
If I change SENSOR_ID=1, message told me camera not found. If you need log, I will paste.
Previously, when I tried it on Xavier NX, I was able to retrieve the image even from the CAM1 port. The version of JetPack I used at that time was 5.0.2. (However, I was able to retrieve it by setting SensorID=0 for both CAM0 and CAM1)