Waveshare Jetson Xavier Nx 16 Gb JETSON-IO-BASE-B Board Rasperry Pi Hq Camera Connection Problem

Hello,

I have a Jetson Xavier NX 16GB kit with a Waveshare Jetson IO Base B board. I am unable to connect a Raspberry Pi HQ camera to this kit. I suspect the device doesn’t recognize the camera because it is a third-party board, and I think it might be related to the device tree.By the way, I have also removed the R8 resistor.However, I have no idea how to handle this issue. I would greatly appreciate your help.

hello fthssccmz,

Jetson Xavier NX by default support Raspberry Pi High Quality Camera, IMX477, you should Configuring the CSI Connector running Jetson-IO utility.

First of all, thank you for your kindness, JerryChang. However, despite completing the configuration process, I am still encountering these errors and would greatly appreciate your assistance.

On the boot screen, I get the following error:

And Rasperry Pi Hq is connected to the CAM0 port:

When I run this command (ls /dev/vid*), regardless of whether the camera is connected or not, it outputs /dev/video0.

When I execute these commands in sequence, I encounter the following errors.

fs@fs-desktop:~$ SENSOR_ID=0
fs@fs-desktop:~$ FRAMERATE=30
fs@fs-desktop:~$ gst-launch-1.0 nvarguscamerasrc sensor-id=$SENSOR_ID ! "video/x-raw(memory:NVMM),width=4032,height=3040,framerate=$FRAMERATE/1" ! nvvidconv ! "video/x-raw(memory:NVMM),width=1920,height=1080,framerate=$FRAMERATE/1" ! nvvidconv ! nveglglessink
Setting pipeline to PAUSED ...

Using winsys: x11 
Pipeline is live and does not need PREROLL ...
Got context from element 'eglglessink0': gst.egl.EGLDisplay=context, display=(GstEGLDisplay)NULL;
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: 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  = 0 
   Output Stream W = 3840 H = 2160 
   seconds to Run    = 0 
   Frame Rate = 29.999999 
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
eglglessink cannot handle NVRM surface array gst_eglglessink_cuda_buffer_copy
ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0:
streaming stopped, reason error (-5)
Execution ended after 0:00:00.970141414
Setting pipeline to NULL ...
GST_ARGUS: Cleaning up
CONSUMER: Done Success
GST_ARGUS: Done Success
Freeing pipeline ...

hello fthssccmz,

there’s IMX477 camera config with dual-camera support, which might be the detection failure reported by CAM1 slot (without camera connected.)
you may looking for… $ dmesg | grep imx477, or, please share the complete kernel logs.

since you’ve video node register to linux kernel,
you may also give it a try by using V4L2 IOCTL to verify basic camera functionality.
please see-also… Applications Using V4L2 IOCTL Directly.

Hello, thank you again for your interest, I was able to overcome the problem by using this code structure.
I have no idea why this is the case at the moment. Even though it gets an i2c error, it works with this code structure. I hope it will help friends who have this problem:

CAMERA_SLOT=0
WIDTH=1920
HEIGHT=1080
FRAMERATE=60

gst-launch-1.0 nvarguscamerasrc sensor-id=$CAMERA_SLOT ! 'video/x-raw(memory:NVMM),width='$WIDTH',height='$HEIGHT',framerate='$FRAMERATE'/1' ! nvvidconv flip-method=2 ! 'video/x-raw,width=1920,height=1080,framerate='$FRAMERATE'/1' ! videoconvert ! xvimagesink

Now I have another problem. In the datasheet of the Raspberry Pi HQ camera, it says that it can give 120 fps, but although I can get 30 and 60 fps, I cannot get 120 fps. I would be happy if you help me.