B0179 cameras unstable on Jetson Xavier NX with CANCELLED nvarguscamerasrc error

Hi, hoping someone can help. I’ve been banging my head against this for about a week now with a B0179 camera on two different Jetson Xavier NX systems. The cameras have been unstable and it’s halted development completely. They were working fine until recently, nothing changed on my side that I know of.

Both my app (running inside docker) and plain gst-launch fail with the same thing:

ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: CANCELLED

I get that error either way, so it doesn’t look like a docker/container problem from what I can tell. Full pipeline log from gst is here: https://cdn.arducam.com/forum/b85e626670ad87d5c53c7717a81a0541/gstlog.txt

Anyone have an idea what could cause this? I’m stuck.

Hi, Yang from Arducam support here. Thanks for the log, I had a look through it.

Honestly this doesn’t look like it’s an issue with the camera itself. The CANCELLED error usually means the pipeline got torn down before the source could deliver frames, which typically points at the environment / driver / Argus stack rather than the sensor.

So that I can narrow it down: does the same problem happen when you use the camera directly on the Jetson NX, i.e. outside docker and without your application in the loop? Just a plain gst-launch pipeline on the NX itself. If it works there but fails in docker, we’re chasing a container/permissions issue. If it fails in both places, we’re looking somewhere else entirely.

Can you let me know what you see?

Sorry, I think I may have been misleading in my first post. I should have been clearer.

I am getting the same error when I run the camera directly on the NX with gst-launch. My normal application runs in docker, but I used gst-launch specifically to try running the camera directly on the NX and bypass all of that - same CANCELLED error comes out.

So it fails both ways, docker app and direct gst-launch on the NX.

Okay, that rules out the container side of things. Let’s go through the hardware and driver side then, in this order:

  1. Re-seat the connector. Pop the camera connector off and connect it again, making sure it’s fully and squarely seated (same orientation as in the connector photo in this thread). A slightly loose or partially seated FPC is a very common cause of this exact error.

  2. Then restart the Argus daemon before running the camera again. This clears out a lot of stuck/CANCELLED states:

sudo systemctl restart nvargus-daemon

Run that first, then immediately try your gst-launch pipeline again and see if the camera comes up.

So to summarize where we are: the CANCELLED error isn’t being caused by docker or your application, since it reproduces with plain gst-launch on the NX. Start with the physical connector re-seat, then restart nvargus-daemon to clear any hung Argus state. If it comes back up after that, it was a connection or daemon issue. If it still fails after both steps, then unfortunately the camera itself is very likely to be faulty/destroyed and it’s a hardware failure - let me know either way and we’ll go from there.