Arducam 12MP Quadrascopic camera no feed with nvarguscamerasrc on Jetson Nano B01

Hi everyone,

I’m trying to get an Arducam 12MP Quadrascopic Camera Bundle Kit (B0397) working on a Jetson Nano B01 and honestly I have never gotten it to work. I’m following the Arducam multi-camera adapter guide for the Nano/Xavier NX (the arducam-multi-camera-adapter-on-the-nano-xavier-nx page).

I’ve already tried reinstalling the driver, checking all the wiring, and swapping out the Arducam cable, but it always ends the same way.

When I run the gst-launch command from the docs I get this:

ben@ben-desktop:~$ gst-launch-1.0 nvarguscamerasrc sensor-id=$SENSOR_ID ! “video/x-raw(memory:NVMM),width=1920,height=1080,framerate=$FRAMERATE/1” ! nvvidconv ! nvoverlaysink
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 4032 x 3040 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 3840 x 2160 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1920 x 1080 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;
GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 2
Output Stream W = 1920 H = 1080
seconds to Run = 0
Frame Rate = 59.999999
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD… Exiting…
CONSUMER: ERROR OCCURRED
ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: CANCELLED
Additional debug info:
Argus Error Status
Execution ended after 0:00:02.600886901
Setting pipeline to PAUSED …
Setting pipeline to READY …
GST_ARGUS: Cleaning up
(Argus) Error EndOfFile: Unexpected error in reading socket (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 266)
(Argus) Error EndOfFile: Receive worker failure, notifying 2 waiting threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 340)
(Argus) Error InvalidState: Argus client is exiting with 2 outstanding client threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 357)
(Argus) Error EndOfFile: Receiving thread terminated with error (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadWrapper(), line 368)
(Argus) Error EndOfFile: Client thread received an error from socket (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 145)
(Argus) Error EndOfFile: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
(Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96)
(Argus) Error InvalidState: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
(Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96)
(Argus) Error InvalidState: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
(Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96)
(Argus) Error InvalidState: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
(Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96)
(Argus) Error InvalidState: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
(Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96)
(Argus) Error InvalidState: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
(Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96)
(Argus) Error InvalidState: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
(Argus) Error EndOfFile: Client thread received an error from socket (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 145)
(Argus) Error EndOfFile: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
Setting pipeline to NULL …
Freeing pipeline …
(Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96)
(Argus) Error InvalidState: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)

My goal is just to make the quad camera work so I can capture images. Any ideas would be really appreciated.

Hi, thanks for the very detailed log — that helps a lot.

That particular combo of errors stands out:

nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD… Exiting…
CONSUMER: ERROR OCCURRED
ERROR: … CANCELLED

When the sensor mode is detected (you can see the modes listed and it picks Camera mode = 2, 1920x1080) but then the buffer path blows up with the dmabuf_fd error and Argus gets cancelled, the usual cause is that the wrong driver is installed for this camera on the Nano B01. The sensor is coming up, but the buffer allocation doesn’t match, so capture dies right after ‘Producer has connected’.

Can you first verify which driver you actually have installed? The B0397 kit needs the driver from the CamArray doc, not the generic multi-camera one. Check the ‘Check the driver’ section on the Arducam 12MP synchronized camera bundle kit page (section 10, Check the driver).

Also tell us:

  • your L4T / JetPack version (cat /etc/nv_tegra_release)
  • the output of i2cdetect -r -y 6 and i2cdetect -r -y 7, so we can see whether the four sensors are actually showing on the i2c bus.

Thanks for the quick reply. To be honest I’m not sure which driver I ended up with — I just followed the multi-camera adapter guide. I did try reinstalling the driver a couple of times, checked all the wiring, and even swapped the Arducam cable for another one, but it always behaves the same.

How do I check which driver is actually installed, and which one should I have for the B0397 kit?

No problem — that’s likely exactly the issue then.

Go through the ‘Check the driver’ steps in the CamArray doc for the 12MP synchronized camera bundle kit (the section titled ‘10. Check the driver’). It walks you through confirming that the installed driver matches the B0397 kit and the L4T version.

A few things to do while you’re at it:

  1. Grab your L4T version: cat /etc/nv_tegra_release
  2. Confirm the sensors are detected: i2cdetect -r -y 6 and i2cdetect -r -y 7 — you should see the four camera addresses on the bus.
  3. After you confirm the driver, reinstall the correct one and reboot before testing again.

If the i2c scan shows nothing, then we’d look at hardware/wiring instead, but the dmabuf error strongly suggests it’s a driver mismatch. Let us know what the check shows.

OK, I went through the ‘Check the driver’ section and compared it against what I had — turns out I did have the wrong driver installed. I reinstalled the correct one and rebooted.

Good news: the original nvbuf_utils / CANCELLED errors are gone now, that part seems fixed.

But now I still don’t get any picture. The pipeline starts and it just sits at ‘CONSUMER: Producer has connected; continuing.’ and no feed is shown. I’m not sure why.

Here’s the command I’m running now:

ben@ben-desktop:~$ gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! “video/x-raw(memory:NVMM),width=4032,height=3040,framerate=$FRAMERATE/1” ! nvvidconv ! “video/x-raw(memory:NVMM),width=1432,height=1080,framerate=$FRAMERATE/1” ! nvoverlaysink

And the log:

Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 4032 x 3040 FR = 29.999999 fps …
GST_ARGUS: 3840 x 2160 FR = 29.999999 fps …
GST_ARGUS: 1920 x 1080 FR = 59.999999 fps …
GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 2
Output Stream W = 1920 H = 1080
Frame Rate = 59.999999
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.

…and then it just stays there, nothing on the screen.

Good — that’s real progress. The dmabuf/CANCELLED errors being gone confirms the driver is correct now. What’s left looks like a display-side / caps negotiation issue rather than the driver.

Some things to try, in order:

  1. Check that $FRAMERATE is actually set in your shell. If it’s empty, your caps string becomes framerate=/1, which can silently fail to negotiate. Hardcode it for the test: framerate=30/1 (or 60/1 only for 1080p).

  2. Match the requested mode to a real one. The sensor supports 4032x3040@30, 3840x2160@30 and 1920x1080@60. Note your log says the stream is actually running 1920x1080, not the 4032x3040 you asked for — try matching the widths/heights/framerate exactly.

  3. Rule out the sink. Skip the preview entirely and capture to a file to see whether frames are really coming out:

gst-launch-1.0 nvarguscamerasrc sensor-id=0 num-buffers=100 ! “video/x-raw(memory:NVMM),width=1920,height=1080,framerate=30/1” ! nvvidconv ! “video/x-raw,format=I420” ! filesink location=test.yuv

  1. Try nv3dsink instead of nvoverlaysink, and make sure you’re on a real local display (not SSH), since nvoverlaysink needs the display.

Let us know what the filesink run does and how big test.yuv ends up.

Thanks. FRAMERATE is set to 60 in my shell, so that part should be fine, but I tried forcing framerate=30/1 and matching the mode to 1920x1080 anyway — same result. Pipeline runs and just prints:

CONSUMER: Producer has connected; continuing.

and then nothing shows on screen. I haven’t tried the nvvidconv to filesink route yet, I’ll do that next and report back with the file size.

One thing I noticed: in the log it says ‘Camera mode = 2’ and ‘Output Stream W = 1920 H = 1080’, so it does seem to be picking a valid mode on its own.

Thanks — here’s where we stand.

  • The original failure (nvbuf_utils: dmabuf_fd -1 mapped entry NOT found, followed by CONSUMER: ERROR OCCURRED and the Argus CANCELLED / EndOfFile errors) was caused by the wrong driver for the B0397 kit on the Nano B01. Following the ‘Check the driver’ section in the CamArray doc and reinstalling the correct driver cleared all of those errors, so that part is resolved.
  • The remaining issue is no visible feed: the pipeline reaches ‘CONSUMER: Producer has connected; continuing.’ and then just holds, with nothing on nvoverlaysink. Since the sensor modes are detected and a valid mode is selected, this now points at the sink/display or the caps negotiation rather than the driver.

Next step is to isolate capture from display: run the num-buffers=100 filesink test I posted above and send us the log plus the size of test.yuv.

  • If test.yuv comes out non-empty (roughly a few hundred MB), the capture path is fine and the problem is only in the preview sink / display setup — then we focus on nv3dsink vs nvoverlaysink and the local display config.
  • If test.yuv is empty or 0 bytes, then frames aren’t being produced and we’ll dig into the sensor-mode negotiation next.

Send that output and we’ll take it from there.