Jetson Orin NX 16GB Camera support (Arducam IMX519)

Hello,
I am using arducam IMX519 with jetson orin nx 16gb JP5.1.1 . However I am having problems with this camera module.

Background:

I have used the same camera module in Jetson nano and it was working fine.

Right now, I am using Jetson Orin NX 16GB with nvidia jetpack 5.1.1. I installed it using this guide (JetPack-5.1.1 Installation for DSBOARD-ORNX). When I connect the camera on camport1 using 15pin flex cable or on camport 0 using 22pin flex cable. The output of the command nvgstcapture-1.0 is

Encoder null, cannot set bitrate!
Encoder Profile = High
Supported resolutions in case of ARGUS Camera
  (2) : 640x480
  (3) : 1280x720
  (4) : 1920x1080
  (5) : 2104x1560
  (6) : 2592x1944
  (7) : 2616x1472
  (8) : 3840x2160
  (9) : 3896x2192
  (10): 4208x3120
  (11): 5632x3168
  (12): 5632x4224

Runtime ARGUS Camera Commands:

  Help : 'h'
  Quit : 'q'
  Set Capture Mode:
      mo:<val>
          (1): image
          (2): video
  Get Capture Mode:
      gmo
  Set sensor orientation:
      so:<val>
          (0): none
          (1): Rotate counter-clockwise 90 degrees
          (2): Rotate 180 degrees
          (3): Rotate clockwise 90 degrees
  Get sensor orientation:
      gso
  Set sensor mode:
      smo:<val> e.g., smo:1
  Get sensor mode:
      gsmo
  Set Whitebalance Mode:
      wb:<val>
          (0): off
          (1): auto
          (2): incandescent
          (3): fluorescent
          (4): warm-fluorescent
          (5): daylight
          (6): cloudy-daylight
          (7): twilight
          (8): shade
          (9): manual
  Get Whitebalance Mode:
      gwb
  Set Saturation (0 to 2):
      st:<val> e.g., st:1.25
  Get Saturation:
      gst
  Set Exposure Compensation (-2 to 2):
      ec:<val> e.g., ec:-2
  Get Exposure Compensation:
      gec
  Set Auto Whitebalance Lock:
      awbl:<val> e.g., awbl:0
  Get Auto Whitebalance Lock:
      awbl
  Set Auto Exposure Lock:
      ael:<val> e.g., ael:0
  Get Auto Exposure Lock:
      gael
  Set TNR Mode:
      tnrm:<val> e.g., tnrm:1
          (0): OFF
          (1): FAST
          (2): HIGH QUALITY
  Get TNR Mode:
      gtnrm
  Set TNR Strength (-1 to 1):
      tnrs:<val> e.g., tnrs:0.5
  Get TNR Strength:
      gtnrs
  Set EE Mode:
      eem:<val> e.g., eem:1
          (0): OFF
          (1): FAST
          (2): HIGH QUALITY
  Get EE Mode:
      geem
  Set EE Strength (-1 to 1):
      ees:<val> e.g., ees:0.5
  Get EE Strength:
      gees
  Set Auto Exposure Anti-Banding (0 to 3):
      aeab:<val> e.g., aeab:2
          (0): OFF
          (1): MODE AUTO
          (2): MODE 50HZ
          (3): MODE 60HZ
  Get Auto Exposure Anti-Banding:
      gaeab
  Set Gain Range:
      gr:<val><space><val> e.g., gr:1 16
  Get Gain Range:
      ggr
  Set Exposure Time Range:
      etr:<val><space><val> e.g., etr:34000 35000
  Get Exposure Time Range:
      getr
  Set ISP Digital Gain Range:
      dgr:<val><space><val> e.g., dgr:2 152
  Get ISP Digital Gain Range:
      gdgr
  Capture: enter 'j' OR
           followed by a timer (e.g., jx5000, capture after 5 seconds) OR
           followed by multishot count (e.g., j:6, capture 6 images)
           timer/multihot values are optional, capture defaults to single shot with timer=0s
  Start Recording : enter '1'
  Stop Recording  : enter '0'
  Video snapshot  : enter '2' (While recording video)
  Get Preview Resolution:
      gpcr
  Get Image Capture Resolution:
      gicr
  Get Video Capture Resolution:
      gvcr


Runtime encoder configuration options:

  Set Encoding Bit-rate(in bytes):
      br:<val> e.g., br:4000000
  Get Encoding Bit-rate(in bytes):
      gbr
  Set Encoding Profile(only for H.264):
      ep:<val> e.g., ep:1
          (0): Baseline
          (1): Main
          (2): High
  Get Encoding Profile(only for H.264):
      gep
  Force IDR Frame on video Encoder(only for H.264):
      Enter 'f'


bitrate = 4000000
Encoder Profile = High
Encoder control-rate = 1

Using winsys: x11
Opening in BLOCKING MODE
** Message: 17:02:58.433: <main:4734> iterating capture loop ....
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:751 No cameras available
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
ERROR on bus: by /GstPipeline:capture_native_pipeline: Output window was closed
debug info:
/dvs/git/dirty/git-master_linux/tests-multimedia/nvgstapps/nvgstcapture-1.0/nvgstcapture.c(4159): nvgst_handle_xevents (): /GstPipeline:capture_native_pipeline

And when I am trying to install arducam driver from this guide (Quick Start Guide - Arducam Wiki)

The output of the command ./install_full.sh -m arducam is

./install_full.sh: line 241: warning: command substitution: ignored null byte in input
Orin NX 16GB for DSBOARD-ORNXLAN
--2023-08-01 16:39:48--  https://github.com/ArduCAM/MIPI_Camera/releases/download/v0.0.3/arducam_links.txt
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/186627215/be0acbd8-0427-4a2f-ab30-13c9aec63ff6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230801%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230801T143948Z&X-Amz-Expires=300&X-Amz-Signature=18838b26ab3208cd18cd2f65e25f8e6324fd85003d7d1f717976cfdd87535aee&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=186627215&response-content-disposition=attachment%3B%20filename%3Darducam_links.txt&response-content-type=application%2Foctet-stream [following]
--2023-08-01 16:39:48--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/186627215/be0acbd8-0427-4a2f-ab30-13c9aec63ff6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230801%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230801T143948Z&X-Amz-Expires=300&X-Amz-Signature=18838b26ab3208cd18cd2f65e25f8e6324fd85003d7d1f717976cfdd87535aee&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=186627215&response-content-disposition=attachment%3B%20filename%3Darducam_links.txt&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.109.133, 185.199.111.133, 185.199.108.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10202 (10.0K) [application/octet-stream]
Saving to: ‘arducam_links.txt’

arducam_links.txt   100%[===================>]   9.96K  --.-KB/s    in 0.001s  

2023-08-01 16:39:49 (8.91 MB/s) - ‘arducam_links.txt’ saved [10202/10202]

--2023-08-01 16:39:49--  https://github.com/ArduCAM/MIPI_Camera/releases/download/v0.0.1-orin-nx/arducam-nvidia-l4t-kernel-t234-nx-5.10.104-tegra-35.3.1-20230725012901_arm64.deb
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/186627215/3fdb6d48-7a31-4b4a-92c8-a3ca8df76eb1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230801%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230801T143949Z&X-Amz-Expires=300&X-Amz-Signature=fc45207d96f970bbede2d81c55486253bb0b8ddb791e8c42a446f82bc0ed45c9&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=186627215&response-content-disposition=attachment%3B%20filename%3Darducam-nvidia-l4t-kernel-t234-nx-5.10.104-tegra-35.3.1-20230725012901_arm64.deb&response-content-type=application%2Foctet-stream [following]
--2023-08-01 16:39:49--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/186627215/3fdb6d48-7a31-4b4a-92c8-a3ca8df76eb1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230801%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230801T143949Z&X-Amz-Expires=300&X-Amz-Signature=fc45207d96f970bbede2d81c55486253bb0b8ddb791e8c42a446f82bc0ed45c9&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=186627215&response-content-disposition=attachment%3B%20filename%3Darducam-nvidia-l4t-kernel-t234-nx-5.10.104-tegra-35.3.1-20230725012901_arm64.deb&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.110.133, 185.199.108.133, 185.199.111.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9966386 (9.5M) [application/octet-stream]
Saving to: ‘arducam-nvidia-l4t-kernel-t234-nx-5.10.104-tegra-35.3.1-20230725012901_arm64.deb’

arducam-nvidia-l4t- 100%[===================>]   9.50M  9.30MB/s    in 1.0s    

2023-08-01 16:39:50 (9.30 MB/s) - ‘arducam-nvidia-l4t-kernel-t234-nx-5.10.104-tegra-35.3.1-20230725012901_arm64.deb’ saved [9966386/9966386]

[sudo] password for nvidia:
(Reading database ... 171443 files and directories currently installed.)
Preparing to unpack arducam-nvidia-l4t-kernel-t234-nx-5.10.104-tegra-35.3.1-20230725012901_arm64.deb ...
Unpacking arducam-nvidia-l4t-kernel (5.10.104-tegra-35.3.1-20230725012901) over (5.10.104-tegra-35.3.1-20230725012901) ...
Setting up arducam-nvidia-l4t-kernel (5.10.104-tegra-35.3.1-20230725012901) ...

Traceback (most recent call last):
  File "/opt/arducam/jetson-io/config-by-hardware.py", line 125, in <module>
    main()
  File "/opt/arducam/jetson-io/config-by-hardware.py", line 94, in main
    jetson = board.Board()
  File "/opt/arducam/jetson-io/Jetson/board.py", line 230, in __init__
    self.dtb = _board_get_dtb(self.compat, self.model, dtbdir)
  File "/opt/arducam/jetson-io/Jetson/board.py", line 114, in _board_get_dtb
    raise RuntimeError("No DTB found for %s!" % model)
RuntimeError: No DTB found for Orin NX 16GB for DSBOARD-ORNXLAN!
An unknown error occurred while installing dtoverlays.
dpkg: error processing package arducam-nvidia-l4t-kernel (--install):
 installed arducam-nvidia-l4t-kernel package post-installation script subprocess returned error exit status 255
Errors were encountered while processing:
 arducam-nvidia-l4t-kernel

I have gone through many thread and try out many solutions but nothing worked for me so far.

hello deepak.bamania,

it looks the installation has failed. please check with sensor vendor to confirm that’s supported on Orin NX.
BTW, are you using Orin NX DevKit (p3768+p3767), or, it’s Orin NX on Xavier NX carrier board (p3509+p3767)?

Hey @JerryChang ,
Thanks for your reply, according to this link this sensor is supported on Orin NX Jetson Partner Supported Cameras | NVIDIA Developer
And I am using Orin NX p3509+p3767

hello deepak.bamania,

you may also contact with sensor vendor since there’s installation failure.

@JerryChang Yes, I am also in contact with arducam. I am using Forecr Jetson Orin NX and it seems like they don’t support the 3rd party boards yet

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