These logs appear repeatedly during operation and always include err_data 0. However, I am not sure what err_data 0 specifically indicates or why these messages are being generated.
Could anyone provide insights into:
What err_data 0 signifies in this context?
Potential causes or scenarios that might trigger these logs.
Any recommended steps to debug or resolve this issue.
please visit Jetson Linux Archive, for instance, jetson-linux-r3640 to download [Driver Package (BSP) Sources] for the public release source package.
here’s discarding frame error report by VI engine.
discarding frame it’s due to unsuccessful capture state, it’s VI dropping frames and issue a requeue for new buffers.
as you can see… $public_sources/r36.4.0/Linux_for_Tegra/source/kernel_src/nvidia-oot/drivers/media/platform/tegra/camera/vi/vi5_fops.c
you may see-also CaptureStatusCodes and CaptureStatusFlags from below for more details.
the err_data content it depends on the value of CaptureStatusCodes. $public_sources/r36.4.0/Linux_for_Tegra/source/kernel_src/nvidia-oot/include/soc/tegra/camrtc-capture.h
let me give you another example, i.e. err_data=4194404.
it represents below… CAPTURE_STATUS_NOTIFY_BIT_CSIMUX_FRAME_PXL_ENABLE_FAULT CAPTURE_STATUS_NOTIFY_BIT_CSIMUX_FRAME_RESERVED_1 CAPTURE_STATUS_NOTIFY_BIT_CSIMUX_STREAM_FIFO_OVERFLOW
anyways,
please examine your sensor pixel clock settings, it must be set correctly to avoid potential issues.
please see-also Camera Driver Porting if you’ve porting drivers from previous Jetpack release version.
you may dig into Debugging Tips section for troubleshooting.
Thank you for your detailed response.
Based on your explanation, it is clear that an err_data value of 0 is unrelated to specific errors, and I only need to debug the reason why the capture status was unsuccessful, leading to the VI discarding the frame and requesting a new buffer.