Excuse me, is camera debug tracing no longer available from versions r36.3.0 and above?
The current issue is:
tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 64
Thanks for the details. To help diagnose this issue, I need a bit more information:
- Exact software version: What is your current r-number (e.g., r36.3.0, r36.4.0, etc.)?
- Reproduction steps: What steps trigger the frame discard error? Is it consistent or intermittent?
- Expected behavior: When camera debug tracing is enabled, what output or behavior do you expect to see?
- Release notes check: Have you reviewed the release notes for r36.3.0 and later versions for any documented changes to camera debug features?
Once I have these details, I can better understand whether this is a feature change, a configuration issue, or a potential bug.
cat /etc/nv_tegra_release
R36 (release), REVISION: 4.4, GCID: 41062509, BOARD: generic, EABI: aarch64, DATE: Mon Jun 16 16:07:13 UTC 2025
Opening the camera preview has been continuously appearing without any normal images appearing; I hope to see the status of the received frames during debugging; And raw data?
Thanks for providing the R36 revision and the error details. To help diagnose whether this is a feature change, configuration issue, or a bug, could you please clarify a few more points:
-
Reproduction steps: What specific steps trigger the frame discard error (
corr_err: discarding frame 0)? Is it consistent every time you open the camera preview, or does it happen intermittently? -
Expected behavior: When you enable camera debug tracing, what output or behavior do you expect to see? (For example, are you looking for kernel logs, sysfs entries, or a specific debug interface?)
-
Release notes: Have you reviewed the release notes for r36.3.0 and later versions to check for any documented changes to camera debug features or tracing mechanisms?
These details will help us determine if this is a known change in the r36.3.0+ releases or if there’s an underlying issue with your setup.
Yes.
Use v4l2-ctl – stream mmap - d/dev/video0, immediately output this error; No further steps are required;
Debugging tracing can be done according to the method you provided. It is recommended to include it in the kernel log for the most convenient way;
I have briefly read the release notes, but I did not find any explanation in this regard
Supplement:
I usually see documents
or
Anything else?
When can I provide the camera-rtcpu-t234-rce.img file with debug information?
The err_data 64 aka 0x40. In VI CHANSEL_FAULT decode, 0x40 = PIXEL_RUNAWAY, meaning VI received more pixel lines than expected/programmed.
Get the trace log by below command instead of need specific debug RCE.
sudo su
modprobe rtcpu_debug
echo 1 > /sys/kernel/debug/tracing/tracing_on
echo 30720 > /sys/kernel/debug/tracing/buffer_size_kb
echo 1 > /sys/kernel/debug/tracing/events/tegra_rtcpu/enable
echo 1 > /sys/kernel/debug/tracing/events/freertos/enable
echo 3 > /sys/kernel/debug/camrtc/log-level
echo 1 > /sys/kernel/debug/tracing/events/camera_common/enable
echo > /sys/kernel/debug/tracing/trace
v4l2-ctl --stream-mmap -c bypass_mode=0
cat /sys/kernel/debug/tracing/trace