Hello
I’m developping a board using Jetson Xavier NX and I’m investigating on capturing from a camera source CSI. The chain is SENSOR → FPDLINK3 → JETSON, so the Csi data is coming out from a deserializer CSI (not directly from a sensor).
As for my analisys, seems that Deserializer do his work. I’m not facing errors on register and all the data I can get from registers stats are right. I’m working in RAW12bit mode.
The connection to Jetson is done using CSI0 and only 2 lanes and data rate at 800Mbps.
What I see is that
- acquiring with gstreamer doen’t work (seems to not receive buffers).
- acquiring with v4l2 seems to work only if I “boost” the clocks, but image seems to be blurred or similar
- boosting the logs (as by Jetson/l4t/Camera BringUp - eLinux.org) I see
- without boost cloks
kworker/0:3-1731 [000] .... 1324.095018: rtcpu_vinotify_error: tstamp:42012375142 tag:CHANSEL_NOMATCH channel:0x01 frame:3 vi_tstamp:42012374014 data:0x00000589
kworker/0:3-1731 [000] .... 1324.095020: rtcpu_vinotify_event: tstamp:42012375499 tag:CHANSEL_NOMATCH channel:0x01 frame:3 vi_tstamp:42012374014 data:0x00000589
kworker/0:3-1731 [000] .... 1324.095021: rtcpu_vinotify_event: tstamp:42012375628 tag:FE channel:0x00 frame:3 vi_tstamp:42012374287 data:0x00000020
kworker/0:3-1731 [000] .... 1324.151016: rtcpu_vinotify_event: tstamp:42013422293 tag:FS channel:0x00 frame:4 vi_tstamp:42013393995 data:0x00000010
kworker/0:3-1731 [000] .... 1324.207012: rtcpu_vinotify_error: tstamp:42015136698 tag:CHANSEL_NOMATCH channel:0x01 frame:4 vi_tstamp:42015135869 data:0x00000589
kworker/0:3-1731 [000] .... 1324.207015: rtcpu_vinotify_event: tstamp:42015456725 tag:CHANSEL_NOMATCH channel:0x01 frame:4 vi_tstamp:42015135869 data:0x00000589
kworker/0:3-1731 [000] .... 1324.207016: rtcpu_vinotify_event: tstamp:42015456873 tag:FE channel:0x00 frame:4 vi_tstamp:42015136141 data:0x00000020
kworker/0:3-1731 [000] .... 1324.263013: rtcpu_vinotify_event: tstamp:42016473982 tag:FS channel:0x00 frame:1 vi_tstamp:42016155849 data:0x00000010
kworker/0:3-1731 [000] .... 1324.263017: rtos_queue_peek_from_isr_failed: tstamp:42016805247 queue:0x0bcbb8b8
kworker/0:3-1731 [000] .... 1324.319007: rtcpu_vinotify_error: tstamp:42017898622 tag:CHANSEL_NOMATCH channel:0x01 frame:1 vi_tstamp:42017897729 data:0x00000589
kworker/0:3-1731 [000] .... 1324.319009: rtcpu_vinotify_event: tstamp:42018169474 tag:CHANSEL_NOMATCH channel:0x01 frame:1 vi_tstamp:42017897729 data:0x00000589
kworker/0:3-1731 [000] .... 1324.319010: rtcpu_vinotify_event: tstamp:42018169607 tag:FE channel:0x00 frame:1 vi_tstamp:42017898002 data:0x00000020
kworker/0:3-1731 [000] .... 1324.319011: rtcpu_vinotify_event: tstamp:42019186725 tag:FS channel:0x00 frame:2 vi_tstamp:42018917709 data:0x00000010
kworker/0:3-1731 [000] .... 1324.375004: rtcpu_vinotify_error: tstamp:42020660420 tag:CHANSEL_NOMATCH channel:0x01 frame:2 vi_tstamp:42020659583 data:0x00000589
kworker/0:3-1731 [000] .... 1324.375006: rtcpu_vinotify_event: tstamp:42020882214 tag:CHANSEL_NOMATCH channel:0x01 frame:2 vi_tstamp:42020659583 data:0x00000589
kworker/0:3-1731 [000] .... 1324.375007: rtcpu_vinotify_event: tstamp:42020882362 tag:FE channel:0x00 frame:2 vi_tstamp:42020659856 data:0x00000020
- when I boost clocks
vi-output, mt9p-9071 [002] .... 170.913896: tegra_channel_capture_frame: sof:191.169990208
vi-output, mt9p-9071 [002] .... 170.913902: tegra_channel_capture_frame: eof:191.202655776
kworker/0:3-1696 [000] .... 170.953505: rtcpu_vinotify_event: tstamp:5975084479 tag:CHANSEL_PXL_EOF channel:0x23 frame:4 vi_tstamp:5975082928 data:0x02cf0002
kworker/0:3-1696 [000] .... 170.953512: rtcpu_vinotify_event: tstamp:5975084612 tag:ATOMP_FRAME_DONE channel:0x23 frame:4 vi_tstamp:5975082945 data:0x00000000
kworker/0:3-1696 [000] .... 170.953513: rtcpu_vinotify_event: tstamp:5975084764 tag:RESERVED_19 channel:0x23 frame:4 vi_tstamp:6519061952 data:0x02020211
kworker/0:3-1696 [000] .... 170.953514: rtcpu_vinotify_event: tstamp:5975084894 tag:FE channel:0x00 frame:4 vi_tstamp:5975082992 data:0x00000020
kworker/0:3-1696 [000] .... 170.953516: rtcpu_vinotify_event: tstamp:5975085044 tag:ATOMP_FE channel:0x00 frame:4 vi_tstamp:5975082993 data:0x00000000
kworker/0:3-1696 [000] .... 170.953517: rtcpu_vinotify_event: tstamp:5975085171 tag:RESERVED_19 channel:0x23 frame:4 vi_tstamp:6519068256 data:0x00020211
kworker/0:3-1696 [000] .... 170.953525: rtcpu_vinotify_event: tstamp:5975411400 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:6519075392 data:0x07020212
kworker/0:3-1696 [000] .... 170.953527: rtos_queue_send_from_isr_failed: tstamp:5975482531 queue:0x0bcb2b38
kworker/0:3-1696 [000] .... 170.953529: rtos_queue_send_from_isr_failed: tstamp:5975482676 queue:0x0bcb73a0
kworker/0:3-1696 [000] .... 170.953530: rtos_queue_send_from_isr_failed: tstamp:5975482821 queue:0x0bcb8f20
kworker/0:3-1696 [000] .... 170.953531: rtos_queue_send_from_isr_failed: tstamp:5975482962 queue:0x0bcb9ce0
kworker/0:3-1696 [000] .... 170.953532: rtos_queue_send_from_isr_failed: tstamp:5975483100 queue:0x0bcbaaa0
vi-output, mt9p-9071 [002] .... 171.002225: tegra_channel_capture_frame: sof:191.258369728
vi-output, mt9p-9071 [002] .... 171.002232: tegra_channel_capture_frame: eof:191.291035456
kworker/0:3-1696 [000] .... 171.013441: rtcpu_vinotify_event: tstamp:5977106854 tag:FS channel:0x00 frame:1 vi_tstamp:5976822762 data:0x00000010
kworker/0:3-1696 [000] .... 171.013446: rtcpu_vinotify_event: tstamp:5977107010 tag:ATOMP_FS channel:0x00 frame:1 vi_tstamp:5976822762 data:0x00000000
kworker/0:3-1696 [000] .... 171.013447: rtcpu_vinotify_event: tstamp:5977107142 tag:CHANSEL_PXL_SOF channel:0x23 frame:1 vi_tstamp:5976824054 data:0x00000001
kworker/0:3-1696 [000] .... 171.013448: rtcpu_vinotify_event: tstamp:5977107295 tag:RESERVED_19 channel:0x23 frame:1 vi_tstamp:6574777088 data:0x08020212
kworker/0:3-1696 [000] .... 171.013450: rtcpu_vinotify_event: tstamp:5977107422 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:6574854688 data:0x10000000
kworker/0:3-1696 [000] .... 171.013451: rtcpu_vinotify_event: tstamp:5977107570 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:6574863040 data:0x31000213
kworker/0:3-1696 [000] .... 171.013455: rtos_queue_peek_from_isr_failed: tstamp:5977353511 queue:0x0bcbb8b8
kworker/0:3-1696 [000] .... 171.013457: rtcpu_vinotify_event: tstamp:5978124061 tag:CHANSEL_PXL_EOF channel:0x23 frame:1 vi_tstamp:5977844794 data:0x02cf0002
kworker/0:3-1696 [000] .... 171.013458: rtcpu_vinotify_event: tstamp:5978124214 tag:ATOMP_FRAME_DONE channel:0x23 frame:1 vi_tstamp:5977844810 data:0x00000000
kworker/0:3-1696 [000] .... 171.013459: rtcpu_vinotify_event: tstamp:5978124345 tag:RESERVED_19 channel:0x23 frame:1 vi_tstamp:6607441632 data:0x02020212
kworker/0:3-1696 [000] .... 171.013460: rtcpu_vinotify_event: tstamp:5978124492 tag:FE channel:0x00 frame:1 vi_tstamp:5977844857 data:0x00000020
kworker/0:3-1696 [000] .... 171.013461: rtcpu_vinotify_event: tstamp:5978124628 tag:ATOMP_FE channel:0x00 frame:1 vi_tstamp:5977844858 data:0x00000000
kworker/0:3-1696 [000] .... 171.013462: rtcpu_vinotify_event: tstamp:5978124774 tag:RESERVED_19 channel:0x23 frame:1 vi_tstamp:6607447936 data:0x00020212
kworker/0:3-1696 [000] .... 171.013463: rtcpu_vinotify_event: tstamp:5978124917 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:6607453440 data:0x07020213
kworker/0:3-1696 [000] .... 171.013464: rtos_queue_send_from_isr_failed: tstamp:5978182037 queue:0x0bcb2b38
kworker/0:3-1696 [000] .... 171.013466: rtos_queue_send_from_isr_failed: tstamp:5978182182 queue:0x0bcb73a0
kworker/0:3-1696 [000] .... 171.013466: rtos_queue_send_from_isr_failed: tstamp:5978182326 queue:0x0bcb8f20
kworker/0:3-1696 [000] .... 171.013467: rtos_queue_send_from_isr_failed: tstamp:5978182466 queue:0x0bcb9ce0
kworker/0:3-1696 [000] .... 171.013468: rtos_queue_send_from_isr_failed: tstamp:5978182605 queue:0x0bcbaaa0
- From V4l2 I see
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'RG12'
Name : 12-bit Bayer RGRG/GBGB
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Could someone help me?
Thanks