VI Bypass mode PXL_SOF issue with high resolution frames on TX2 on L4T 28.2

Hi,

I currently have an issue when capturing using the bypass mode on the TX2 and it seems to be related to the resolution of the frame. For instance, when trying to capture using the following command:

v4l2-ctl --set-fmt-video=width=4656,height=3496,pixelformat=BG10 --stream-mmap -d /dev/video0 --set-ctrl bypass_mode=0 --stream-to=test_5.raw --stream-count=1

I get the following frame on the TX1:

However, using the exact same configuration for the sensor on TX2 the frame seems to be cut out:

Inspecting the contents of the actual corrupted frame , it seems like it’s filled with zeros at the beginning:

The dmesg error shows a PXL_SOF message:

[ 1329.144846] imx298 30-0010: imx298_s_stream++ enable 1 mode 4
[ 1329.453008] imx298 30-0010: imx298_s_stream: s_data->mode 4
[ 1329.489449] imx298 30-0010: imx298_s_stream: success setting stream
[ 1329.495771] imx298 30-0010: imx298_s_stream: s_stream finished 
[ 1329.524579] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00000000, fsynr=0x11, cb=19, sid=4(0x4 - VI), pgd=0, pud=0, pmd=0, pte=0
[ 1330.498542] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 1330.523273] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00000000, fsynr=0x11, cb=19, sid=4(0x4 - VI), pgd=0, pud=0, pmd=0, pte=0
[ 1331.502545] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 1331.521980] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00000000, fsynr=0x11, cb=19, sid=4(0x4 - VI), pgd=0, pud=0, pmd=0, pte=0
[ 1332.506566] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 1332.520657] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00000000, fsynr=0x11, cb=19, sid=4(0x4 - VI), pgd=0, pud=0, pmd=0, pte=0
[ 1333.510534] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 1333.519351] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00000000, fsynr=0x11, cb=19, sid=4(0x4 - VI), pgd=0, pud=0, pmd=0, pte=0
[ 1334.514586] tegra-vi4 15700000.vi: ATOMP_FE syncpt timeout!
[ 1334.520804] imx298 30-0010: imx298_s_stream++ enable 0 mode 4

I’m not able to see this issue when capturing using Libargus or Nvcamerasrc. Also, the issue is not present when capturing at 1080p using the following command :

v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat=BG10 --stream-mmap -d /dev/video0 --set-ctrl bypass_mode=0 --stream-to=test_5.raw --stream-count=1

I have the following questions:

  1. Is this a known issue?
  2. Any recommendations on what could be the path to fix this issue? I have the same sensor configuration when capturing from the sensor on TX1 and the issue is not present there

Thanks in advance.

To enable trace for more information before capture.

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 2 > /sys/kernel/debug/camrtc/log-level
echo > /sys/kernel/debug/tracing/trace
cat /sys/kernel/debug/tracing/trace

Hi ShaneCCC,

Thanks for your reply, enabling that debug I have the following traces:

root@tegra-ubuntu:/home/nvidia# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 75/75   #P:4
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
     kworker/3:1-5104  [003] ...1  7495.981287: rtos_queue_peek_from_isr_failed: tstamp:234598419494 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7495.981292: rtcpu_start: tstamp:234598420505
     kworker/3:1-5104  [003] ...1  7496.137316: rtos_queue_peek_from_isr_failed: tstamp:234603420401 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7496.293294: rtos_queue_peek_from_isr_failed: tstamp:234608420900 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7496.449317: rtos_queue_peek_from_isr_failed: tstamp:234613421405 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7496.616071: rtos_queue_peek_from_isr_failed: tstamp:234618421884 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7496.769294: rtos_queue_peek_from_isr_failed: tstamp:234623422431 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7496.925304: rtos_queue_peek_from_isr_failed: tstamp:234628422930 queue:0x0b4a3c58
          <idle>-0     [000] d.h1  7497.018242: arm_smmu_context_fault: Unhandled context fault: iova=0x00000000, fsynr=0x11, cb=19, sid=4(0x4 - VI), pgd=0 pud=0, pmd=0, pte=0
     kworker/3:1-5104  [003] ...1  7497.037324: rtcpu_vinotify_handle_msg: tstamp:234631688039 tag:CHANSEL_FAULT channel:0x00 frame:1 vi_tstamp:2703453457 data:0x00004004
     kworker/3:1-5104  [003] ...1  7497.037330: rtcpu_vinotify_handle_msg: tstamp:234631688224 tag:ATOMP_FS channel:0x00 frame:1 vi_tstamp:2703453462 data:0x00000000
     kworker/3:1-5104  [003] ...1  7497.037334: rtcpu_vinotify_handle_msg: tstamp:234631695613 tag:CHANSEL_FAULT channel:0x00 frame:1 vi_tstamp:2703461172 data:0x00004001
     kworker/3:1-5104  [003] ...1  7497.089311: rtcpu_vinotify_handle_msg: tstamp:234632703971 tag:CHANSEL_FAULT channel:0x00 frame:1 vi_tstamp:2704469140 data:0x0da74002
     kworker/3:1-5104  [003] ...1  7497.089316: rtcpu_vinotify_handle_msg: tstamp:234632704154 tag:CHANSEL_SHORT_FRAME channel:0x01 frame:1 vi_tstamp:2704469441 data:0x00001000
     kworker/3:1-5104  [003] ...1  7497.089319: rtcpu_vinotify_handle_msg: tstamp:234632704356 tag:ATOMP_FE channel:0x00 frame:1 vi_tstamp:2704469445 data:0x00000000
     kworker/3:1-5104  [003] ...1  7497.089325: rtos_queue_peek_from_isr_failed: tstamp:234633423438 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7497.245321: rtos_queue_peek_from_isr_failed: tstamp:234638423939 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7497.401280: rtos_queue_peek_from_isr_failed: tstamp:234643424423 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7497.557314: rtos_queue_peek_from_isr_failed: tstamp:234648424939 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7497.713272: rtos_queue_peek_from_isr_failed: tstamp:234653425439 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7497.869309: rtos_queue_peek_from_isr_failed: tstamp:234658425967 queue:0x0b4a3c58
          <idle>-0     [000] d.h1  7498.016937: arm_smmu_context_fault: Unhandled context fault: iova=0x00000000, fsynr=0x11, cb=19, sid=4(0x4 - VI), pgd=0 pud=0, pmd=0, pte=0
     kworker/3:1-5104  [003] ...1  7498.025310: rtcpu_vinotify_handle_msg: tstamp:234662897275 tag:CHANSEL_FAULT channel:0x00 frame:31 vi_tstamp:2734662702 data:0x00004004
     kworker/3:1-5104  [003] ...1  7498.025318: rtcpu_vinotify_handle_msg: tstamp:234662897458 tag:ATOMP_FS channel:0x00 frame:31 vi_tstamp:2734662706 data:0x00000000
     kworker/3:1-5104  [003] ...1  7498.025321: rtcpu_vinotify_handle_msg: tstamp:234662904861 tag:CHANSEL_FAULT channel:0x00 frame:31 vi_tstamp:2734670417 data:0x00004001
     kworker/3:1-5104  [003] ...1  7498.025327: rtos_queue_peek_from_isr_failed: tstamp:234663426479 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7498.077307: rtcpu_vinotify_handle_msg: tstamp:234663913221 tag:CHANSEL_FAULT channel:0x00 frame:31 vi_tstamp:2735678385 data:0x0da74002
     kworker/3:1-5104  [003] ...1  7498.077312: rtcpu_vinotify_handle_msg: tstamp:234663913402 tag:CHANSEL_SHORT_FRAME channel:0x01 frame:31 vi_tstamp:2735678687 data:0x00001000
     kworker/3:1-5104  [003] ...1  7498.077315: rtcpu_vinotify_handle_msg: tstamp:234663913606 tag:ATOMP_FE channel:0x00 frame:31 vi_tstamp:2735678690 data:0x00000000
     kworker/3:1-5104  [003] ...1  7498.181301: rtos_queue_peek_from_isr_failed: tstamp:234668426979 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7498.389305: rtos_queue_peek_from_isr_failed: tstamp:234673427500 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7498.545293: rtos_queue_peek_from_isr_failed: tstamp:234678428001 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7498.701315: rtos_queue_peek_from_isr_failed: tstamp:234683428505 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7498.857361: rtos_queue_peek_from_isr_failed: tstamp:234688429013 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7499.013329: rtos_queue_peek_from_isr_failed: tstamp:234693429518 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7499.013339: rtcpu_vinotify_handle_msg: tstamp:234694106524 tag:CHANSEL_FAULT channel:0x00 frame:61 vi_tstamp:2765871946 data:0x00004004
     kworker/3:1-5104  [003] ...1  7499.013343: rtcpu_vinotify_handle_msg: tstamp:234694106712 tag:ATOMP_FS channel:0x00 frame:61 vi_tstamp:2765871951 data:0x00000000
     kworker/3:1-5104  [003] ...1  7499.013347: rtcpu_vinotify_handle_msg: tstamp:234694114104 tag:CHANSEL_FAULT channel:0x00 frame:61 vi_tstamp:2765879661 data:0x00004001
          <idle>-0     [000] d.h1  7499.015634: arm_smmu_context_fault: Unhandled context fault: iova=0x00000000, fsynr=0x11, cb=19, sid=4(0x4 - VI), pgd=0 pud=0, pmd=0, pte=0
     kworker/3:1-5104  [003] ...1  7499.065317: rtcpu_vinotify_handle_msg: tstamp:234695122451 tag:CHANSEL_FAULT channel:0x00 frame:61 vi_tstamp:2766887630 data:0x0da74002
     kworker/3:1-5104  [003] ...1  7499.065324: rtcpu_vinotify_handle_msg: tstamp:234695122632 tag:CHANSEL_SHORT_FRAME channel:0x01 frame:61 vi_tstamp:2766887931 data:0x00001000
     kworker/3:1-5104  [003] ...1  7499.065327: rtcpu_vinotify_handle_msg: tstamp:234695122827 tag:ATOMP_FE channel:0x00 frame:61 vi_tstamp:2766887934 data:0x00000000
     kworker/3:1-5104  [003] ...1  7499.169304: rtos_queue_peek_from_isr_failed: tstamp:234698430035 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7499.325297: rtos_queue_peek_from_isr_failed: tstamp:234703430527 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7499.481319: rtos_queue_peek_from_isr_failed: tstamp:234708431040 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7499.637304: rtos_queue_peek_from_isr_failed: tstamp:234713431539 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7499.793301: rtos_queue_peek_from_isr_failed: tstamp:234718432051 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7499.949303: rtos_queue_peek_from_isr_failed: tstamp:234723432552 queue:0x0b4a3c58
          <idle>-0     [000] d.h1  7500.014281: arm_smmu_context_fault: Unhandled context fault: iova=0x00000000, fsynr=0x11, cb=19, sid=4(0x4 - VI), pgd=0 pud=0, pmd=0, pte=0
     kworker/3:1-5104  [003] ...1  7500.053272: rtcpu_vinotify_handle_msg: tstamp:234725315749 tag:CHANSEL_FAULT channel:0x00 frame:91 vi_tstamp:2797081191 data:0x00004004
     kworker/3:1-5104  [003] ...1  7500.053276: rtcpu_vinotify_handle_msg: tstamp:234725315893 tag:ATOMP_FS channel:0x00 frame:91 vi_tstamp:2797081195 data:0x00000000
     kworker/3:1-5104  [003] ...1  7500.053276: rtcpu_vinotify_handle_msg: tstamp:234725323323 tag:CHANSEL_FAULT channel:0x00 frame:91 vi_tstamp:2797088905 data:0x00004001
     kworker/3:1-5104  [003] ...1  7500.053277: rtcpu_vinotify_handle_msg: tstamp:234726331648 tag:CHANSEL_FAULT channel:0x00 frame:91 vi_tstamp:2798096874 data:0x0da74002
     kworker/3:1-5104  [003] ...1  7500.053278: rtcpu_vinotify_handle_msg: tstamp:234726331755 tag:CHANSEL_SHORT_FRAME channel:0x01 frame:91 vi_tstamp:2798097175 data:0x00001000
     kworker/3:1-5104  [003] ...1  7500.053279: rtcpu_vinotify_handle_msg: tstamp:234726331880 tag:ATOMP_FE channel:0x00 frame:91 vi_tstamp:2798097178 data:0x00000000
     kworker/3:1-5104  [003] ...1  7500.105282: rtos_queue_peek_from_isr_failed: tstamp:234728433018 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7500.313312: rtos_queue_peek_from_isr_failed: tstamp:234733433570 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7500.469315: rtos_queue_peek_from_isr_failed: tstamp:234738434087 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7500.625308: rtos_queue_peek_from_isr_failed: tstamp:234743434582 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7500.781307: rtos_queue_peek_from_isr_failed: tstamp:234748435088 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7500.937303: rtos_queue_peek_from_isr_failed: tstamp:234753435601 queue:0x0b4a3c58
          <idle>-0     [000] dnh1  7501.013025: arm_smmu_context_fault: Unhandled context fault: iova=0x00000000, fsynr=0x11, cb=19, sid=4(0x4 - VI), pgd=0 pud=0, pmd=0, pte=0
     kworker/3:1-5104  [003] ...1  7501.041308: rtcpu_vinotify_handle_msg: tstamp:234756525007 tag:CHANSEL_FAULT channel:0x00 frame:121 vi_tstamp:2828290435 data:0x00004004
     kworker/3:1-5104  [003] ...1  7501.041316: rtcpu_vinotify_handle_msg: tstamp:234756525190 tag:ATOMP_FS channel:0x00 frame:121 vi_tstamp:2828290440 data:0x00000000
     kworker/3:1-5104  [003] ...1  7501.041320: rtcpu_vinotify_handle_msg: tstamp:234756532593 tag:CHANSEL_FAULT channel:0x00 frame:121 vi_tstamp:2828298149 data:0x00004001
     kworker/3:1-5104  [003] ...1  7501.041323: rtcpu_vinotify_handle_msg: tstamp:234757540940 tag:CHANSEL_FAULT channel:0x00 frame:121 vi_tstamp:2829306119 data:0x0da74002
     kworker/3:1-5104  [003] ...1  7501.041326: rtcpu_vinotify_handle_msg: tstamp:234757541132 tag:CHANSEL_SHORT_FRAME channel:0x01 frame:121 vi_tstamp:2829306419 data:0x00001000
     kworker/3:1-5104  [003] ...1  7501.041330: rtcpu_vinotify_handle_msg: tstamp:234757541333 tag:ATOMP_FE channel:0x00 frame:121 vi_tstamp:2829306423 data:0x00000000
     kworker/3:1-5104  [003] ...1  7501.093301: rtos_queue_peek_from_isr_failed: tstamp:234758436117 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7501.249311: rtos_queue_peek_from_isr_failed: tstamp:234763436610 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7501.405317: rtos_queue_peek_from_isr_failed: tstamp:234768437099 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7501.561301: rtos_queue_peek_from_isr_failed: tstamp:234773437627 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7501.717304: rtos_queue_peek_from_isr_failed: tstamp:234778438135 queue:0x0b4a3c58
     kworker/3:1-5104  [003] ...1  7501.873301: rtos_queue_peek_from_isr_failed: tstamp:234783438643 queue:0x0b4a3c58
     kworker/3:0-31524 [003] ...1  7502.029267: rtos_queue_peek_from_isr_failed: tstamp:234787874289 queue:0x0b4a3c58

Further inspection on my side shows that the problem might not be a resolution itself but rather some timing configuration missing on the TX2. I’m able to capture the frame properly using nvcamerasrc but not using v4l2ctrl (with the command pasted above) for instance. Let me know if you have any ideas of what I should check

Regards,
JJ

Looks like the embedded data is not correct. Please check with the sensor vendor to make sure the how many line of the embedded data to correct the embedded_metadata_height.

Hi ShaneCCC,

According to the datasheed the embedded metadata size should be two lines; I added the following definition into the device tree:

embedded_metadata_height = "2";

However the it didn’t made any difference on the captured frame, any other recommendations?

Hi ShaneCCC,

I checked the VI4 driver and it seems like the embedded_metadata_height needed to be defined on the modes of the sensor. After adding that information I was able to get the complete frame, however framerate is really slow, around 1fps and I get the following errors:

[  545.672537] imx298 30-0010: imx298_s_stream: success setting stream
[  545.678986] imx298 30-0010: imx298_s_stream: s_stream finished 
[  546.683412] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[  547.687418] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[  548.691406] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[  549.695405] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[  550.699416] tegra-vi4 15700000.vi: ATOMP_FE syncpt timeout!
[  550.705507] imx298 30-0010: imx298_s_stream++ enable 0 mode 4

The trace information shows the following information:

# tracer: nop
#
# entries-in-buffer/entries-written: 70/70   #P:4
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
     kworker/4:1-53    [004] ...1   544.675318: rtos_queue_peek_from_isr_failed: tstamp:17370970065 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   544.675324: rtcpu_start: tstamp:17370973243
     kworker/4:1-53    [004] ...1   544.831359: rtos_queue_peek_from_isr_failed: tstamp:17375970982 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   544.987354: rtos_queue_peek_from_isr_failed: tstamp:17380971480 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   545.151505: rtos_queue_peek_from_isr_failed: tstamp:17385971978 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   545.314701: rtos_queue_peek_from_isr_failed: tstamp:17390972446 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   545.467332: rtos_queue_peek_from_isr_failed: tstamp:17395972990 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   545.623369: rtos_queue_peek_from_isr_failed: tstamp:17400973499 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   545.727370: rtcpu_vinotify_handle_msg: tstamp:17404439687 tag:ATOMP_FS channel:0x00 frame:1 vi_tstamp:224569623 data:0x00000000
     kworker/4:1-53    [004] ...1   545.727377: rtcpu_vinotify_handle_msg: tstamp:17404439879 tag:CHANSEL_FAULT channel:0x00 frame:1 vi_tstamp:224569811 data:0x00002000
     kworker/4:1-53    [004] ...1   545.727380: rtcpu_vinotify_handle_msg: tstamp:17404440106 tag:CHANSEL_FAULT channel:0x00 frame:1 vi_tstamp:224570068 data:0x00013008
     kworker/4:1-53    [004] ...1   545.727384: rtcpu_vinotify_handle_msg: tstamp:17404446963 tag:CHANSEL_FAULT channel:0x00 frame:1 vi_tstamp:224577332 data:0x00003001
     kworker/4:1-53    [004] ...1   545.779338: rtcpu_vinotify_handle_msg: tstamp:17405455195 tag:CHANSEL_FAULT channel:0x00 frame:1 vi_tstamp:225585301 data:0x0da73002
     kworker/4:1-53    [004] ...1   545.779343: rtcpu_vinotify_handle_msg: tstamp:17405455377 tag:ATOMP_FE channel:0x00 frame:1 vi_tstamp:225585606 data:0x00000000
     kworker/4:1-53    [004] ...1   545.779347: rtos_queue_peek_from_isr_failed: tstamp:17405974003 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   545.935352: rtos_queue_peek_from_isr_failed: tstamp:17410974512 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   546.091337: rtos_queue_peek_from_isr_failed: tstamp:17415975019 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   546.247383: rtos_queue_peek_from_isr_failed: tstamp:17420975526 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   546.403346: rtos_queue_peek_from_isr_failed: tstamp:17425976034 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   546.559354: rtos_queue_peek_from_isr_failed: tstamp:17430976552 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   546.715374: rtcpu_vinotify_handle_msg: tstamp:17435648928 tag:ATOMP_FS channel:0x00 frame:31 vi_tstamp:255778867 data:0x00000000
     kworker/4:1-53    [004] ...1   546.715382: rtcpu_vinotify_handle_msg: tstamp:17435649120 tag:CHANSEL_FAULT channel:0x00 frame:31 vi_tstamp:255779056 data:0x00002000
     kworker/4:1-53    [004] ...1   546.715385: rtcpu_vinotify_handle_msg: tstamp:17435649299 tag:CHANSEL_FAULT channel:0x00 frame:31 vi_tstamp:255779312 data:0x00013008
     kworker/4:1-53    [004] ...1   546.715389: rtcpu_vinotify_handle_msg: tstamp:17435656209 tag:CHANSEL_FAULT channel:0x00 frame:31 vi_tstamp:255786577 data:0x00003001
     kworker/4:1-53    [004] ...1   546.767355: rtos_queue_peek_from_isr_failed: tstamp:17435977043 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   546.767360: rtcpu_vinotify_handle_msg: tstamp:17436664433 tag:CHANSEL_FAULT channel:0x00 frame:31 vi_tstamp:256794546 data:0x0da73002
     kworker/4:1-53    [004] ...1   546.767363: rtcpu_vinotify_handle_msg: tstamp:17436664618 tag:ATOMP_FE channel:0x00 frame:31 vi_tstamp:256794850 data:0x00000000
     kworker/4:1-53    [004] ...1   546.923349: rtos_queue_peek_from_isr_failed: tstamp:17440977555 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   547.079348: rtos_queue_peek_from_isr_failed: tstamp:17445978063 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   547.235357: rtos_queue_peek_from_isr_failed: tstamp:17450978569 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   547.391351: rtos_queue_peek_from_isr_failed: tstamp:17455979073 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   547.547347: rtos_queue_peek_from_isr_failed: tstamp:17460979582 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   547.703375: rtos_queue_peek_from_isr_failed: tstamp:17465980091 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   547.755358: rtcpu_vinotify_handle_msg: tstamp:17466858169 tag:ATOMP_FS channel:0x00 frame:61 vi_tstamp:286988111 data:0x00000000
     kworker/4:1-53    [004] ...1   547.755363: rtcpu_vinotify_handle_msg: tstamp:17466858353 tag:CHANSEL_FAULT channel:0x00 frame:61 vi_tstamp:286988300 data:0x00002000
     kworker/4:1-53    [004] ...1   547.755367: rtcpu_vinotify_handle_msg: tstamp:17466858531 tag:CHANSEL_FAULT channel:0x00 frame:61 vi_tstamp:286988556 data:0x00013008
     kworker/4:1-53    [004] ...1   547.755371: rtcpu_vinotify_handle_msg: tstamp:17466865455 tag:CHANSEL_FAULT channel:0x00 frame:61 vi_tstamp:286995822 data:0x00003001
     kworker/4:1-53    [004] ...1   547.755374: rtcpu_vinotify_handle_msg: tstamp:17467873678 tag:CHANSEL_FAULT channel:0x00 frame:61 vi_tstamp:288003791 data:0x0da73002
     kworker/4:1-53    [004] ...1   547.755378: rtcpu_vinotify_handle_msg: tstamp:17467873863 tag:ATOMP_FE channel:0x00 frame:61 vi_tstamp:288004094 data:0x00000000
     kworker/4:1-53    [004] ...1   547.859350: rtos_queue_peek_from_isr_failed: tstamp:17470980595 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   548.015348: rtos_queue_peek_from_isr_failed: tstamp:17475981102 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   548.171355: rtos_queue_peek_from_isr_failed: tstamp:17480981617 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   548.327364: rtos_queue_peek_from_isr_failed: tstamp:17485982116 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   548.483354: rtos_queue_peek_from_isr_failed: tstamp:17490982625 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   548.639356: rtos_queue_peek_from_isr_failed: tstamp:17495983126 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   548.743338: rtcpu_vinotify_handle_msg: tstamp:17498067413 tag:ATOMP_FS channel:0x00 frame:91 vi_tstamp:318197356 data:0x00000000
     kworker/4:1-53    [004] ...1   548.743344: rtcpu_vinotify_handle_msg: tstamp:17498067595 tag:CHANSEL_FAULT channel:0x00 frame:91 vi_tstamp:318197544 data:0x00002000
     kworker/4:1-53    [004] ...1   548.743346: rtcpu_vinotify_handle_msg: tstamp:17498067769 tag:CHANSEL_FAULT channel:0x00 frame:91 vi_tstamp:318197801 data:0x00013008
     kworker/4:1-53    [004] ...1   548.743348: rtcpu_vinotify_handle_msg: tstamp:17498074696 tag:CHANSEL_FAULT channel:0x00 frame:91 vi_tstamp:318205066 data:0x00003001
     kworker/4:1-53    [004] ...1   548.743349: rtcpu_vinotify_handle_msg: tstamp:17499082941 tag:CHANSEL_FAULT channel:0x00 frame:91 vi_tstamp:319213035 data:0x0da73002
     kworker/4:1-53    [004] ...1   548.743351: rtcpu_vinotify_handle_msg: tstamp:17499083139 tag:ATOMP_FE channel:0x00 frame:91 vi_tstamp:319213338 data:0x00000000
     kworker/4:1-53    [004] ...1   548.847321: rtos_queue_peek_from_isr_failed: tstamp:17500983586 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   549.003315: rtos_queue_peek_from_isr_failed: tstamp:17505984103 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   549.159366: rtos_queue_peek_from_isr_failed: tstamp:17510984638 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   549.315374: rtos_queue_peek_from_isr_failed: tstamp:17515985147 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   549.471356: rtos_queue_peek_from_isr_failed: tstamp:17520985658 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   549.627361: rtos_queue_peek_from_isr_failed: tstamp:17525986159 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   549.731373: rtcpu_vinotify_handle_msg: tstamp:17529276647 tag:ATOMP_FS channel:0x00 frame:121 vi_tstamp:349406600 data:0x00000000
     kworker/4:1-53    [004] ...1   549.731382: rtcpu_vinotify_handle_msg: tstamp:17529276827 tag:CHANSEL_FAULT channel:0x00 frame:121 vi_tstamp:349406789 data:0x00002000
     kworker/4:1-53    [004] ...1   549.731385: rtcpu_vinotify_handle_msg: tstamp:17529277005 tag:CHANSEL_FAULT channel:0x00 frame:121 vi_tstamp:349407045 data:0x00013008
     kworker/4:1-53    [004] ...1   549.731389: rtcpu_vinotify_handle_msg: tstamp:17529283941 tag:CHANSEL_FAULT channel:0x00 frame:121 vi_tstamp:349414310 data:0x00003001
     kworker/4:1-53    [004] ...1   549.783354: rtcpu_vinotify_handle_msg: tstamp:17530292174 tag:CHANSEL_FAULT channel:0x00 frame:121 vi_tstamp:350422279 data:0x0da73002
     kworker/4:1-53    [004] ...1   549.783359: rtcpu_vinotify_handle_msg: tstamp:17530292353 tag:ATOMP_FE channel:0x00 frame:121 vi_tstamp:350422584 data:0x00000000
     kworker/4:1-53    [004] ...1   549.783366: rtos_queue_peek_from_isr_failed: tstamp:17530986677 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   549.939354: rtos_queue_peek_from_isr_failed: tstamp:17535987173 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   550.095357: rtos_queue_peek_from_isr_failed: tstamp:17540987684 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   550.251352: rtos_queue_peek_from_isr_failed: tstamp:17545988186 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   550.407363: rtos_queue_peek_from_isr_failed: tstamp:17550988690 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   550.563357: rtos_queue_peek_from_isr_failed: tstamp:17555989212 queue:0x0b4a3c58
     kworker/4:1-53    [004] ...1   550.719381: rtos_queue_peek_from_isr_failed: tstamp:17560623119 queue:0x0b4a3c58

Any recommendations on what could cause this issue?

Thanks in advance!

JJ

Make sure the embedded data line is 2 with vendor. Any check if any embedded data at the frame end need to disable it.

Thanks,

I was able to fix the issue. It seems like the mode table on the sensor was not matching the DTB mode order; so even when the metadata height was right, the width did not match the actual frame. Having a proper correspondence order between the mode table and the modes defined on the DTB fixed the issue for me.

Regards,
JJ