Are libcamera and arducam 64mp cameras compatible with Jetson Nano?

Are libcamera and arducam 64mp cameras compatible with Jetson Nano?

hello henri.ha,

please refer to Camera API Matrix, libargus support cameras which uses Jetson ISP (CSI Interface).
please see-also Jetson Partner Supported Cameras for all cameras supported by Jetson Camera Partners.

BTW, what’s the output resolution, frame-rate, bit depth of such 64mp camera?
you may also evaluate the CSI data rate, it should within Jetson Nano’s max CSI bandwidth (6Gbps per 4-lane)
for instance,
here’s CSI data rate formula of 1920x1080, 10-bit, 30-fps… 1920 * 1080 * 10 * 30 * 1.15 = 715.392 Mbps

Im making book scanner. Capturing still images is the main purpose so framerate is not that importnant.
9152x6944 BGR888 resolution

pi@pi5:~ $ libcamera-still --list-cameras
Available cameras
-----------------
0 : arducam_64mp [9248x6944 10-bit RGGB] (/base/axi/pcie@120000/rp1/i2c@88000/arducam_64mp@1a)
    Modes: 'SRGGB10_CSI2P' : 1280x720 [120.09 fps - (2064, 2032)/5120x2880 crop]
                             1920x1080 [60.04 fps - (784, 1312)/7680x4320 crop]
                             2312x1736 [30.00 fps - (0, 0)/9248x6944 crop]
                             3840x2160 [20.00 fps - (784, 1312)/7680x4320 crop]
                             4624x3472 [10.00 fps - (0, 0)/9248x6944 crop]
                             8000x6000 [3.00 fps - (624, 472)/9248x6944 crop]
                             9152x6944 [2.70 fps - (0, 0)/9248x6944 crop]

1 : arducam_64mp [9248x6944 10-bit RGGB] (/base/axi/pcie@120000/rp1/i2c@80000/arducam_64mp@1a)
    Modes: 'SRGGB10_CSI2P' : 1280x720 [120.09 fps - (2064, 2032)/5120x2880 crop]
                             1920x1080 [60.04 fps - (784, 1312)/7680x4320 crop]
                             2312x1736 [30.00 fps - (0, 0)/9248x6944 crop]
                             3840x2160 [20.00 fps - (784, 1312)/7680x4320 crop]
                             4624x3472 [10.00 fps - (0, 0)/9248x6944 crop]
                             8000x6000 [3.00 fps - (624, 472)/9248x6944 crop]
                             9152x6944 [2.70 fps - (0, 0)/9248x6944 crop]

my current setup is two arducam 64mp cameras connected to RPI 5 but the problem is that even if i max out CMA ~960MB (since its in the DMA_ZONE which is limited to 30-bit addressable memory) i cant capture two RGB888 images at the same time just not enough memory for so large buffers, YUV420 is ok though, thats why i started looking into alternatives. It seems to me Jetson Nano DMA_ZONE is addressable 32-bit. I just wanted to know if my current code would also work on Jetson. Just got reply from arducam and they said that they indeed have made their cameras work on Jetson Nano but since its still in R&D phase they have not released it to the public.

Tx for the links ill be looking at those.

hello henri.ha,

so… it’s 2x 9152x6944, 10-bit, 2.70 fps
may I also know which Jetpack release you’re working with?
had you also try v4l standard control to fetch the capture raw files.
for example,
$ v4l2-ctl -d /dev/video0 --set-fmt-video=width=2592,height=1944,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1 --stream-to=test.raw

pi@pi5:~ $ v4l2-ctl -d /dev/video0 --set-fmt-video=width=2592,height=1944,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1 --stream-to=test.raw
unknown control 'bypass_mode'

what is Jetpack?

hello henri.ha,

you should revise the pipeline to adapt with sensor supported resolution.
and… please check release tag, # cat /etc/nv_tegra_release to verify the L4T version.

pi@pi5:~ $ pi@pi5:~ $ cat /etc/nv_tegra_release
cat: /etc/nv_tegra_release: No such file or directory

Hi, im not running linux for tegra at the moment, its raspberry pi os. Anyway as i mentioned earlier, i contacted arducam people and they told me that they indeed have made their cameras work on Jetson Nano with libcamera but since its still in R&D phase they have not released it to the public.

So we have decided to stick to raspberry pi5/raspberry pi os for now. Since its DMA_ZONE is limited to 30-bits we have to use yuv420 at max res instead of rgb for two cameras parallel capture at max res.

Perhaps in the future we will reconsider moving Jetson Nano once arducam has has made its Jetson driver available and we are certain that Jetson Nano DMA_ZONE covers 32-bits adressable memory.

all right, that release tag is only available for Jetpack release environment.

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