Issue with nvgstcapture-1.0 on Jetson Nano 2GB with Raspberry Pi Camera Board v2

Hello community,

I’m currently working on a project using the Jetson Nano 2GB Developer Kit and the Raspberry Pi Camera Board v2 (CSI 8-megapixel Sony IMX219). I encountered an issue while trying to check if the CSI camera is working using the following command:

nvgstcapture-1.0

However, when I run this command, a white window appears instead of the expected camera feed. I’ve double-checked the connections and configurations, but I’m still facing this problem.

Has anyone else experienced a similar issue, or does anyone have suggestions on how to troubleshoot and resolve this problem? Any insights or guidance would be greatly appreciated.

Thank you in advance!

hello jsnow4243,

may I know which Jetpack release version you’re working with?
had you also configure CSI connector by Jetson-IO utility?
please also share the kernel init messages, i.e. $ dmesg > klogs.txt to check camera device registration status.

Hello @JerryChang

Thanks for replying me. I am working with Jetpack 4.6.1 . And I haven’t configured CSI connector by jetson-IO utility , if you have any resources please do share here. PFA kernel init messages.

klogs.txt (55.1 KB)

hello jsnow4243,

it looks IMX219 has register to system,
[ 1.272484] imx219 6-0010: tegracam sensor driver:imx219_v2.0.6
[ 1.504490] vi 54080000.vi: subdev imx219 6-0010 bound

please check you’ve /dev/video0 created, you may also test with v4l2 IOCTL for camera functionality.
you may see-also Applications Using V4L2 IOCTL Directly.

Hey @JerryChang

I did checked for /dev/video0. It is created. I have configured CSI connector by jetson-IO utility, but same issue is happening. Also i tried testing v4l2 but nothing is showing up there . I am attaching latest kernel messages

klogs (1).txt (57.9 KB)

I tried following command

v4l2-ctl --list-devices
vi-output, imx219 6-0010 (platform:54080000.vi:0):
/dev/video0

I did also test the cable to make sure it’s fine and it is working.

I checked if any kernel message after runnig the v4l2-ctl to capture data from sensor using following commands

sudo su
echo file csi2_fops.c +p > /sys/kernel/debug/dynamic_debug/control

When I also try to run v4l2-ctl --stream-mmap --set-ctrl bypass_mode=0
Nothing seems to happen:

image

What can be the issue ??

Hi @JerryChang

I executed few commands for getting live feed of Raspberry Pi v2 CSI camera on Jetson Nano 2GB developer kit ( Jetpack 4.6.1). I am attaching documents for troubleshooting.

Jetson_csi_issues (1).pdf (175.4 KB)
klogs (2).txt (54.9 KB)

hello jsnow4243,

we’ve checked and confirmed imx219 is working on JP-4.6.1 + Jetson-Nano 2GB.
may I double check the camera module you’re using? you may sharing the picture of your camera module.

Hi @JerryChang

We are using Raspberry Pi Camera V2. Please find attached picture for your reference.

image

hello jsnow4243,

it looks the same camera module we’ve verified.
please do running $ v4l2-ctl --list-devices for checking your system nodes.

and…
please try again to fetch the stream with v4l2 IOCTL by specify sensor mode settings.
for instance,
$ v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=100

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