JetPack 5.0.2 Compatible with imx477-stereo camera

Hi, Support

I’m adapting an imx477-stereo camera on a Jetson NX for a JetPack5.0.2 system.

I’m currently having some problems:

Could you tell me what could be the reason for this error?

Looking forward to your reply, thank you.

What’s the command line?

Hi, @ShaneCCC

Are you trying to ask what command I am using?

gst-launch-1.0 nvarguscamerasrc sensor_id=0 !    'video/x-raw(memory:NVMM),width=2028, height=1520, framerate=30/1, format=NV12' !    nvvidconv flip-method=0 ! 'video/x-raw,width=960, height=720' !    nvvidconv ! nvegltransform ! nveglglessink -e

Could you check with below command.

gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM),width=1920,height=1080,format=NV12' ! nvvidconv ! fpsdisplaysink video-sink=fakesink --verbose

The configuration of the IMX477-Steeo camera is implemented by ourselves. There is no resolution of 1920x1080.

Including the following resolution:

  1. 2028x1080
  2. 2028x1520
  3. 4056x3040

Among them, 2028x1080 can only run once normally.

They all have the same mistake.

Under what circumstances do this error usually occur?

Did you check v4l2-ctl to confirm the sensor driver configure?

v4l2-ctl --set-fmt-video=width=2028,height=1080,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap

There is no problem running the v4l2 command when gstreamer is not executed.

After executing gstreamer there is an error:

Could you modify the sensor driver to make those CID function ad dummy to try the gst-launch-1.0 command.

Hi, @ShaneCCC

When I went through nv_imx477.c as you instructed, I noticed some differences.

The current driver sets the IMX477_SENSOR_INTERNAL_CLK_FREQ fixed to 840000000.


Then when I changed the code defined by this macro to the writing method in the original driver, the camera ran successfully.


After testing, when the frame rate is reduced to 20FPS, the above error appears.

That could be the CID function REG setting incorrect cause the issue.

is there a driver for IMX477 (simple HQ RPi camera) for jetpack 5.0.2? Thanks!

No, you may need to contact with the vendor for the support.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.