Hi everyone,
I’m encountering two frustrating issues while using an IMX477 camera with my Jetson Orin NX board, specifically when invoking the camera via the nvgstcapture command. I’d really appreciate any insights or solutions you can share:
1. Gray/Dull Camera Feed
Every time I launch the camera with nvgstcapture, the output feed is consistently grayish, dull, and lacks proper color/brightness (it doesn’t look like a normal, balanced video stream). I haven’t modified any default parameters for the command—could this be a driver issue, sensor configuration problem, or something else?
2. Cannot Re-invoke the Camera After Closing
After I close the nvgstcapture session, I can’t launch the camera again with the same command. The terminal throws an error about the camera device being unavailable. The only workaround is to reboot the Jetson Orin NX—after rebooting, the camera works once, but the problem repeats after closing.
Additional Context:
-
I’m using the official JetPack 6.2
-
The IMX477 camera is properly connected (I’ve verified the ribbon cable connection multiple times)
-
I’m running the command with default syntax: nvgstcapture-1.0
Has anyone faced similar issues with the IMX477 + Jetson Orin NX + nvgstcapture workflow? Could this be related to unclosed GStreamer pipelines, missing camera firmware, or permission issues? Any troubleshooting steps or fixes would be greatly appreciated!
Thanks in advance for your help!
Remove .isp .bin files at /var/nvidia/nvcam/settings/ to check.
Do you connect IMX477 to another port to check?
Thanks for your earlier reply!
I’ve got one more issue to ask about: the camera feed often gets garbled (like distorted stripes, flickering artifacts)—basically “screen corruption”—when using nvgstcapture
I tried switching to a different camera port on the Jetson Orin NX, but the issue persists: I can still only use the camera once per boot. After closing nvgstcapture, attempting to launch it again throws these errors:
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadExecute:734 NvBufSurfaceFromFd Failed.
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadFunction:245 (propagating)
I use ‘sudo dmesg | grep imx477’ command, show these:
[ 7.402819] imx477 9-001a: tegracam sensor driver:imx477_v2.0.6
[ 7.703491] imx477 9-001a: imx477_board_setup: error during i2c read probe (-121)
[ 7.703523] imx477 9-001a: board setup failed
[ 7.703592] imx477: probe of 9-001a failed with error -121
[ 7.703951] imx477 10-001a: tegracam sensor driver:imx477_v2.0.6
[ 8.004974] tegra-camrtc-capture-vi tegra-capture-vi: subdev imx477 10-001a bound
Get the RAW image by v4l2-ctl to confirm source is fine.
v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=10 --stream-to=imx477.raw -d /dev/video0
Apply below patch to verify.
[Argus][JP-6.2] Resolve blurry capture results, improve image quality
https://forums.developer.nvidia.com/t/320681/15/