Camera preview has no image

Hello, Nvidia

I used xaiver to connect a camera with 1920x1280 resolution and 30fps. The mipi signal looks normal but there is no image when previewing the camera. So here’s the trace log.

trace_log.txt (409.3 KB)

Can you help me fix this problem?

thanks.

hello skr_giao,

please refer to Applications Using V4L2 IOCTL Directly for using V4L2 IOCTL to verify basic functionality.

hello JerryChang

Thank you for your reply.

I used the following command

v4l2-ctl --set-fmt-video=width=1920,height=1280,pixelformat=YUYV --stream-mmap --stream-count=1 -d /dev/video0 --stream-to=isx021.yuv

When I change pixelformat I get a chansel_nomatch error, so pixelformat should be correct, but no matter how I change width, height, the error is the same.

hello skr_giao,

may I know what’s the sensor format dumps… $ v4l2-ctl -d /dev/video0 --list-formats-ext
you should assign the exactly sensor support formats to the pipeline.

hello JerryChang,

I ran this command and the format looks fine

ioctl: VIDIOC_ENUM_FMT
	Index       : 0
	Type        : Video Capture
	Pixel Format: 'YUYV'
	Name        : YUYV 4:2:2
		Size: Discrete 1920x1280
			Interval: Discrete 0.033s (30.000 fps)

	Index       : 1
	Type        : Video Capture
	Pixel Format: 'YUYV'
	Name        : YUYV 4:2:2
		Size: Discrete 1920x1280
			Interval: Discrete 0.033s (30.000 fps)

Could it be something else?

hello skr_giao,

there’s PHY interrupts according to VI tracings logs. which shows PHY_INTR0 =0x10 or 0x110.
it means the data-lane FIFO overflow.

this usually due to the issue on sensor side, or, are you using a SerDes chip for sending data, it would be SerDes chip configuration error.

hello JerryChang

I have solved the problem and it is indeed a configuration problem with the 9295.

Thank you for your reply

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