Jetson Nano tc358748

hello djager471,

this looks like you’re not assign correct stride alignments, you should note that VI requires atom (64-Byte) aligned.
could you please enable preferred_stride controls via v4l2 standard controls for verification,
for example,
$ v4l2-ctl -d /dev/video0 ... --set-ctrl preferred_stride=256 ...

you may also check kernel drivers for reference.
for example,
$L4T_Sources/r32.4.3/Linux_for_Tegra/source/public/kernel/nvidia/drivers/media/platform/tegra/camera/vi/channel.c

        case TEGRA_CAMERA_CID_VI_PREFERRED_STRIDE:
                chan->preferred_stride = ctrl->val;
                tegra_channel_update_format(chan, chan->format.width,
                                chan->format.height,
                                chan->format.pixelformat,
                                &chan->fmtinfo->bpp,
                                chan->preferred_stride);