Meet NvBufSurfaceFromFd Failed when driving imx577 on Orin Nano

hello EmondCai,

let’s narrow down the issue.
please check developer guide, Approaches for Validating and Testing the V4L2 Driver.
you may try fetch the camera stream with V4L2 IOCTL directly to verify basic camera functionality.
for example,
$ v4l2-ctl -d /dev/video0 --set-fmt-video=width=4056,height=3040,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=100

may I know which Jetpack release you’re using now?
FYI, I do see some issue on r35.3.1 to stream 4-lane camera on CSI-C. please try enable your i2c@1 camera that’s using CSI-E at the moment.

besides,
the settings within tegra-camera-platform looks incorrect.

	tegra-camera-platform {
		num_csi_lanes = <4>;

the num_csi_lanes means the total active CSI lanes.
please configure num_csi_lanes = <8>; since you’ve two 4-lane cameras in your system.