Arducam IMX477 cameras unstable on Jetson NX 4.51 with gst assertion error

Hey everyone, need some help getting IMX477 cameras working on a Jetson. We ran the automated install script from the Arducam site. The install always completes successfully and reports the driver installed, but the cameras just don’t work. On capture we get this every time:

gst_mini_object_set_qdata: assertion ‘object != NULL’ failed

Out of 5 cameras we’ve installed, 3 throw the same error. It’s intermittent too — sometimes it works for a few seconds and then gets unstable. We tried a full install (including the cable to the board for the PTZ functionality) and also CSI-cable-only, and neither works.

Setup:

  • NVIDIA Jetson NX, L4T 32.5.1 (JetPack 4.5.1)
  • Arducam cameras for Jetson Nano/Xavier NX
  • Sensor: IMX477
  • Cameras involved: b10536CXXX0635, b10536CXXX0569, b10536CXXX0567

I went through the IMX477 troubleshooting page (the Contact Us section) but nothing there helped. Log file and photos of the attached device are attached. Any ideas?

Thanks for the detailed report, that’s a good starting point. The gst_mini_object_set_qdata / NULL object error usually means the pipeline is being handed a NULL buffer, which almost always happens when the camera isn’t actually being detected — not that the capture pipeline itself is broken.

Let’s confirm the driver is really binding. Can you run these on the NX and paste the output?

  • ls /dev/video*
  • dmesg | grep -i imx477
  • cat /etc/nv_tegra_release

Also, when you test, are all 5 cameras connected at once or just one at a time? And what capture command are you using? The intermittency makes me suspect a detection/driver issue rather than the sensors themselves.

Small update that might narrow it down. I grabbed a ‘simple’ IMX477 sensor (the plain one with the white cable) and plugged it into the SAME device — it works fine, images come out normally. So the driver and the NX seem OK. That makes me wonder if the cables on our PTZ cameras are the problem. Could the cables of all our PTZ cameras be damaged? How would we actually verify that?

That’s a really useful data point. If the plain sensor works with the same driver on the same board, then software isn’t the culprit. The PTZ camera does use a different harness/adapter than the simple sensor, so a bad cable is plausible.

To isolate it: take one PTZ camera and test it on a Jetson Nano developer kit using the exact same cable. If it works there, the problem follows the NX, not the cable. If it also fails on the Nano, we look harder at the cables/harness.

OK so we tested the same PTZ camera on a Nano developer kit with the same cables — it works as expected. On the Xavier NX it still fails. Right now we’re trying to get normal (non-PTZ) functionality working first, and we’ll test the PTZ part after that.

We have about 30 PTZ cameras that need a working solution. What else can we do specifically on the Xavier to make them work?

Since the exact same camera + cable passes on the Nano, that points strongly at the NX side. One more test to be sure: run the Nano on the same carrier board the NX is using. If the Nano works on your carrier board too, then we’ve confirmed it’s the NX module/config and not the board or the wiring.

We attached the Nano to our carrier board and the basic functionality works fine there too. So the carrier board, the physical camera, and the whole physical setup are confirmed good. The only failing combination is the Xavier NX. I attached a photo of a disassembled unit — the metal square is just the holder we use to fit the cameras into our device.

That’s a very clean isolation, thanks for doing it. So the failure follows the Xavier NX, not the camera, cable, or board.

A few things I want to pin down before we go further:

  • Which carrier board model are you using with the NX?
  • Is secure boot enabled on the NX modules?
  • What JetPack/L4T version is on the NX vs the Nano?

There’s a known class of issue on Xavier NX where the camera isn’t detected at the I2C/CSI level with certain carrier boards, and it gets worse when secure boot is involved. Can you fill out a quick test matrix: device / carrier board / software version / secure boot yes-no / ls /dev/video* / capture yes-no? That’ll tell us exactly where it’s breaking.

This is affecting our entire team, so we really need to get it sorted. We have about 30 PTZ cameras in this batch, and we have another order of roughly 100 cameras lined up, but we won’t place it until the initial 30 work. Could we arrange a technical call to go through everything?

Also, you mentioned a known issue on the NX — what exactly is that known issue? I’ve attached another photo of a disassembled device here so you can see how it’s mounted.

Understood, and I’ll do my best to explain the known issue while we keep going.

The known NX issue: on Xavier NX with certain third-party carrier boards, the camera doesn’t come up because the device tree / pinmux layout differs from the Nano, and the Arducam driver overlay isn’t loaded for that configuration. When secure boot is enabled, the signed device tree won’t accept the overlay at all, so the CSI/I2C nodes never appear — which is exactly why you’d get no /dev/video* and then the gst NULL buffer error on capture.

For the call, I’ve sent the meeting details through private message — please check your messages.

To confirm we’re actually hitting that, can you post the test matrix I asked about, plus your hardware and software lists? Once I see which rows fail I can tell you if it’s the secure-boot/device-tree path for sure.

Here’s everything you asked for.

Used hardware:

  1. Jetson Nano dev kit
  2. Xavier NX eMMC
  3. Forecr carrier board
  4. Arducam PTZ camera

Used software:

  1. JetPack 4.5.1 (L4T 32.5.1)
  2. JetPack 4.6 (L4T 32.6.1)
  3. IMX477 drivers via the automatic driver installation script

Test matrix (Device | Carrier board | Jetson software | Secure boot | ls /dev/video* | Capture image):

  • jetson nano | developer kit | l4t 32.5.1 | No | Yes | Yes
  • jetson nano | forecr | l4t 32.5.1 | No | Yes | Yes
  • Xavier nx | forecr | l4t 32.5.1 | No | Yes | No
  • Xavier nx | forecr | l4t 32.5.1 | Yes | No | No
  • Xavier nx | forecr | l4t 32.6.1* | Yes | No | No
  • On L4T 32.6.1 we used the built-in driver configuration from the Arducam guide. So basically: on the Xavier NX rows ls /dev/video* shows nothing (or shows up but capture fails), and capture image fails; on the Nano rows both pass.

This is exactly the pattern I expected, and it matches the known NX behavior. Two things stand out:

  1. NX + secure boot disabled: you still get /dev/video* nodes, but capture fails. That means the sensor is partially detected but the driver/device tree isn’t fully correct.
  2. NX + secure boot enabled: no device nodes at all. The signed device tree is rejecting the driver overlay, so the CSI/I2C nodes never appear.
  3. On 32.6.1 with the built-in config you still fail — so it’s not just the auto-install script.

Since every Nano row passes, this is a device-tree / driver loading problem on the NX, not a camera hardware fault. Next steps on the NX: load the driver manually and capture the full dmesg imx477 probe lines, and try one NX with secure boot disabled to compare. Also, can you send a clear photo of the back of the PTZ sensor board?

Photo of the back of the sensor is attached. Note the transistors have ‘103’ engraved on them. We honestly don’t have the capability to change transistors or make any hardware modifications at all. We need an urgent resolution — our end users are waiting for their devices next week. We need something that works for all 30 cameras.

Got the photo, thanks. Good news on that front: that ‘103’ marking is just the resistor/transistor part marking for this revision and is expected — we’re not going to ask you to rework the hardware, and you shouldn’t need to change any transistors.

The actionable path is the device-tree/driver side for the NX. I’ve sent the driver/overlay package to try through private message — please check your messages and run it on the NX, then post the dmesg output here.

We had a call scheduled shortly but I don’t see any meeting links in the invite. Can you confirm the link?

I’ve sent you the meeting link/details through private message — please check your messages.

To wrap up where we are for anyone following the thread:

  • Camera, cables, and carrier board are all confirmed good — every combination passes on the Jetson Nano, including the Nano on the same Forecr carrier board.
  • The failure is specific to the Xavier NX. With secure boot disabled we get /dev/video* but capture fails; with secure boot enabled there are no device nodes at all; and L4T 32.6.1 with the built-in driver config also fails.
  • This is consistent with the known NX device-tree / secure-boot issue rather than a fault in the 30 PTZ cameras.
  • Current path is the device-tree/driver fix on the NX (package sent privately). If the manual load still fails, please post the full dmesg imx477 lines and the overlay test result here so we can see the probe error and take the next step.