Arducam UC-698 IMX477 camera driver/install errors on Jetson Orin NX

Hi, I’m trying to get an Arducam UC-698 (IMX477) camera working on a Jetson Orin NX, but I keep hitting driver/install errors. The camera is connected over the CSI connector. During the GitHub driver install I captured an error log to a text file, but I can paste the relevant parts if that helps. Has anyone seen this combination fail on install before?

Thanks for the details. Before we dig into the error log, can you share a bit more about the environment? Specifically the JetPack/L4T release and the running kernel version. If you can, run:
cat /etc/nv_tegra_release
uname -a
and paste the output here.

Here’s what I have:

cat /etc/nv_tegra_release

R35 (release), REVISION: 3.1, GCID: 32827747, BOARD: t186ref, EABI: aarch64, DATE: Sun Mar 19 15:19:21 UTC 2023

uname -a
Linux orin 5.10.104-tegra (arducam_006@arducam-server-006) (aarch64-linux-gcc.br_real (Buildroot 2020.08) 9.3.0, GNU ld (GNU Binutils) 2.33.1) #1 SMP PREEMPT Fri Jul 21 17:08:15 CST 2023 aarch64 aarch64 aarch64 GNU/Linux

Camera is an Arducam UC-698 (IMX477) on the CSI connector.

Got it. That kernel is 5.10.104-tegra. Next, can you check the sensor probe in dmesg? Run:
sudo dmesg | grep -E “imx477|imx219|arducam”
and paste the output. That will show whether the imx477 driver is even binding to the I2C address.

Here’s the dmesg output:

sudo dmesg | grep -E “imx477|imx219|arducam”
[ 0.000000] Linux version 5.10.104-tegra (arducam_006@arducam-server-006) (aarch64-linux-gcc.br_real (Buildroot 2020.08) 9.3.0, GNU ld (GNU Binutils) 2.33.1) #1 SMP PREEMPT Fri Jul 21 17:08:15 CST 2023
[ 12.141488] nv_imx477: no symbol version for module_layout
[ 12.150253] imx477 9-001a: tegracam sensor driver:imx477_v2.0.6
[ 12.450939] imx477 9-001a: imx477_board_setup: error during i2c read probe (-121)
[ 12.458774] imx477 9-001a: board setup failed
[ 12.501671] imx477: probe of 9-001a failed with error -121
[ 12.510550] imx477 10-001a: tegracam sensor driver:imx477_v2.0.6
[ 12.811227] imx477 10-001a: imx477_board_setup: error during i2c read probe (-121)
[ 12.819080] imx477 10-001a: board setup failed
[ 12.823731] imx477: probe of 10-001a failed with error -121

Thanks, that’s the key clue. The imx477 driver v2.0.6 is probing on both I2C buses (9-001a and 10-001a) but the board setup is failing with -121 on the I2C read probe. Error -121 means the sensor isn’t responding on the I2C bus at all. That usually points to a wiring/connection problem or a compatibility issue with the carrier board, not necessarily a driver version problem by itself.

Can you post pictures of the board you’re using, both the front and the back? I want to check the carrier board layout and the CSI connector wiring.

Sure. The board is currently out of its case because I’m mounting it to a drone. I’ve posted pictures of the front and back of the board, plus the case it came out of. Let me know if you need a closer shot of the CSI connector.

Thanks for the photos. Based on what you’ve posted, this is a third-party development/carrier board, not the official Jetson Orin NX dev kit. That board is known to be incompatible with some of these Arducam camera modules. Because of that, I can’t confirm yet whether the fault is the camera or the carrier board.

The best isolation test is to run the same camera on the official development kit. If it works there, the camera is fine and the issue is the third-party carrier board. If it fails there too, contact support again and we can go further.

I don’t have access to an official dev kit, unfortunately. But I kept working on it on this same third-party board and I actually got past the earlier driver/probe error. Now the camera streams, but the image has segmentation/artifacts — parts of the frame look torn or broken up. Is this a known issue with the UC-698? What would cause that?

Good progress on the probe error. The segmentation could be a bandwidth/format issue, but it might also be related to the carrier board. Can you post the exact GStreamer pipeline you’re using and a screenshot of the stream if you can?

Here’s the pipeline I’m using:

gst-launch-1.0 nvarguscamerasrc sensor_id=0 ! “video/x-raw(memory:NVMM),width=4032, height=3040, framerate=10/1, format=NV12” ! queue ! nvvidconv ! fpsdisplaysink

I attached a screenshot of the stream: Screenshot from 2024-04-30 11-21-21.png. You can see the segmentation/artifacts in the frame.

Looking at the pipeline, you’re running the full IMX477 resolution at 4032x3040 @ 10fps in NV12. That’s a lot of data, and segmentation at full res is commonly a bandwidth/link issue on these carrier boards. Try dropping to 1080p first and see if the artifacts go away.

Also, just to be clear: since this is a third-party carrier board, I can’t fully troubleshoot the board side of this. If the camera shows the same problem on an official dev kit, reach out again and we’ll dig deeper. But start with a lower resolution, e.g. 1920x1080, and check if the stream is clean.