This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62A-LP: OV5647 Sensor bring up.

Part Number: SK-AM62A-LP
Other Parts Discussed in Thread: AM62A7, AM62A3, AM62A3-Q1,

Hello,

I am connecting OV5647 Camera sensor to the board. I have followed the instructions in the below link.
sk-am62a-lp-bring-up-ov5647

I can get the sensor and enumerate it.

root@am62axx-evm:/opt/edgeai-gst-apps# gst-inspect-1.0 tiovxisp

.....
sensor-name : TIOVX camera sensor string ID. Below are the supported sensors
               SENSOR_SONY_IMX390_UB953_D3
               SENSOR_ONSEMI_AR0820_UB953_LI
               SENSOR_ONSEMI_AR0233_UB953_MARS
               SENSOR_SONY_IMX219_RPI
               SENSOR_OV5647_RPI
               SENSOR_OV2312_UB953_LI
.....

root@am62axx-evm:/opt/edgeai-gst-apps# dmesg | grep ov5647
[    8.248578] ov5647 4-0036: Consider updating driver ov5647 to match on endpoints

However, when I try to stream or capture image, I am getting following v4l2 message in dmesg.

[ 1124.396666] v4l2_get_link_freq: Link frequency estimated using pixel rate: result might be inaccurate.
[ 1124.410238] v4l2_get_link_freq: Consider implementing support for V4L2_CID_LINK_FREQ in the transmitter driver.

gst-launch-1.0 -v v4l2src device=/dev/video3 io-mode=dmabuf-import ! \
video/x-bayer, width=1920, height=1080, framerate=30/1, format=bggr10 ! \
tiovxisp sink_0::device=/dev/v4l-subdev2 sensor-name="SENSOR_OV5647_RPI" \
dcc-isp-file=/opt/imaging/ov5647/linear/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/ov5647/linear/dcc_2a.bin format-msb=9 ! \
video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! kmssink driver-name=tidss

Here is the pipeline.

  • Hi Sathiya,

    Were you able to stream, even with those messages? Did the gstreamer pipeline run successfully?

    Regards,

    jianzhong

  • Sorry sathiya is not available today

    We are unable to stream;
    whenever we provide a GStreamer pipeline, we encounter the error mentioned above, specifically 'V4L2_CID_LINK_FREQ'."

  • Ok. Can you provide more information:

    1. which version of the SDK are you using?

    2. what did you do to bring up the camera?

    3. which camera module are you using?

    4. what's the output of "media-ctl -p"?

    Thanks,

    Jianzhong

  • 1. which version of the SDK are you using?

    SDK 9.1

    2. what did you do to bring up the camera?

    I have followed this thread for bring up the camera 

    e2e.ti.com/.../sk-am62a-lp-bring-up-ov5647

    which camera module are you using?


    OV5647 RPI

    what's the output of "media-ctl -p"?

     media-ctl -p

    - entity 9: cdns_csi2rx.30101000.csi-bridge (5 pads, 2 links, 1 route)
    type V4L2 subdev subtype Unknown flags 0
    device node name /dev/v4l-subdev1
    routes:
    0/0 -> 1/0 [ACTIVE]
    pad0: Sink
    [stream:0 fmt:SBGGR10_1X10/1920x1080 field:none colorspace:srgb]
    <- "ov5647 4-0036":0 [ENABLED,IMMUTABLE]
    pad1: Source
    [stream:0 fmt:SBGGR10_1X10/1920x1080 field:none colorspace:srgb]
    -> "30102000.ticsi2rx":0 [ENABLED,IMMUTABLE]
    pad2: Source
    pad3: Source
    pad4: Source

    - entity 15: ov5647 4-0036 (1 pad, 1 link, 0 route)
    type V4L2 subdev subtype Sensor flags 0
    device node name /dev/v4l-subdev2
    pad0: Source
    [stream:0 fmt:SBGGR10_1X10/1920x1080 field:none colorspace:srgb
    crop.bounds:(16,16)/2592x1944
    crop:(364,450)/1928x1080]
    -> "cdns_csi2rx.30101000.csi-bridge":0 [ENABLED,IMMUTABLE]


    Regards,

    Udhayamoorthi Ramasamy

  • Hello Udhayamoorthi,

    Thanks for providing these information. Please add your code snippet or log using the Insert->code feature, as shown below:

    Regarding your question from the other thread: "I am not sure after these how to add imaging/tools/default_DCC_profile_gen/configs files ", please follow the ISP tuning guide, 6.2 Enable Camera Streaming with Initial VPAC Configuration.  

    Can you also try to capture raw images using one of the following method:

    1. using yavta, as shown in AM62A processor sdk documentation on CSI2 Rx driver.

    2. using gstreamer, as shown in the above provided ISP tuning guide, 6.1 Verify Functional Operation of Camera Capturing.

    This will help us understand whether your problem is caused by the CSI2-Rx portion or the ISP portion?

    Regards,

    Jianzhong

  • Hello Jianzhong Xu,

    I set the format using media-ctl -V '"ov5647 4-0036":0 [fmt:SBGGR10_1X10/1920x1080]'

    1. USING YAVTA

    yavta -c -Fcapture -s 1920x1080 -f SBGGR10 /dev/video3

    2. USING GSTREAMER

    gst-launch-1.0 -v v4l2src num-buffers=5 device=/dev/video3 io-mode=dmabuf ! \
    video/x-bayer, width=1920, height=1080, framerate=30/1, format=rggb10 ! \
    multifilesink location="ov5647-image-%d.raw"

    In both the cases, I can be able to capture raw image for the first time.
    But when I try capture for the next time within few seconds (say 10), I am unable to capture (Pipeline is struck).
    Then after a minute or two, I can be able to capture again.


    ## LOGS DURING SUCCESSFULL CAPTURE

    root@am62axx-evm:/opt/edgeai-gst-apps# gst-launch-1.0 -v v4l2src num-buffers=5 device=/dev/video3 io-mode=dmabuf ! video/x-bayer, width=1920, height=1080, framerate=30/1, format=rggb10 ! multifilesink location="ov5647-image-%d.raw"
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-bayer, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)rggb10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-bayer, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)rggb10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    /GstPipeline:pipeline0/GstMultiFileSink:multifilesink0.GstPad:sink: caps = video/x-bayer, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)rggb10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-bayer, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)rggb10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    Redistribute latency...
    Got EOS from element "pipeline0".
    Execution ended after 0:00:00.549183246
    Setting pipeline to NULL ...
    Freeing pipeline ...
    root@am62axx-evm:/opt/edgeai-gst-apps#
    
    ....
    
    root@am62axx-evm:/opt/edgeai-gst-apps# yavta -c -Fcapture -s 1920x1080 -f SBGGR10 /dev/video3
    Device /dev/video3 opened.
    Device `j721e-csi2rx' on `platform:30102000.ticsi2rx' (driver 'j721e-csi2rx') supports video, capture, without mplanes.
    Video format set: SBGGR10 (30314742) 1920x1080 (stride 3840) field none buffer size 4147200
    Video format: SBGGR10 (30314742) 1920x1080 (stride 3840) field none buffer size 4147200
    8 buffers requested.
    length: 4147200 offset: 0 timestamp type/source: mono/EoF
    Buffer 0/0 mapped at address 0xffffb6b5b000.
    length: 4147200 offset: 4149248 timestamp type/source: mono/EoF
    Buffer 1/0 mapped at address 0xffffb6766000.
    length: 4147200 offset: 8298496 timestamp type/source: mono/EoF
    Buffer 2/0 mapped at address 0xffffb6371000.
    length: 4147200 offset: 12447744 timestamp type/source: mono/EoF
    Buffer 3/0 mapped at address 0xffffb5f7c000.
    length: 4147200 offset: 16596992 timestamp type/source: mono/EoF
    Buffer 4/0 mapped at address 0xffffb5b87000.
    length: 4147200 offset: 20746240 timestamp type/source: mono/EoF
    Buffer 5/0 mapped at address 0xffffb5792000.
    length: 4147200 offset: 24895488 timestamp type/source: mono/EoF
    Buffer 6/0 mapped at address 0xffffb539d000.
    length: 4147200 offset: 29044736 timestamp type/source: mono/EoF
    Buffer 7/0 mapped at address 0xffffb4fa8000.
    0 (0) [-] any 0 4147200 B 767.482176 767.482210 32.111 fps ts mono/EoF
    1 (1) [-] any 1 4147200 B 767.540397 767.584525 17.176 fps ts mono/EoF
    2 (2) [-] any 2 4147200 B 767.573054 767.676789 30.621 fps ts mono/EoF
    3 (3) [-] any 3 4147200 B 767.605718 767.768933 30.615 fps ts mono/EoF
    4 (4) [-] any 4 4147200 B 767.638377 767.861199 30.619 fps ts mono/EoF
    5 (5) [-] any 5 4147200 B 767.671036 767.952898 30.619 fps ts mono/EoF
    6 (6) [-] any 6 4147200 B 767.703700 768.045019 30.615 fps ts mono/EoF
    7 (7) [-] any 7 4147200 B 767.736358 768.136857 30.620 fps ts mono/EoF
    8 (0) [-] any 8 4147200 B 767.769017 768.228990 30.619 fps ts mono/EoF
    9 (1) [-] any 9 4147200 B 767.801682 768.320718 30.614 fps ts mono/EoF
    10 (2) [-] any 10 4147200 B 767.834337 768.412762 30.623 fps ts mono/EoF
    11 (3) [-] any 11 4147200 B 767.899668 768.504976 15.307 fps ts mono/EoF
    12 (4) [-] any 12 4147200 B 767.997647 768.597035 10.206 fps ts mono/EoF
    13 (5) [-] any 13 4147200 B 768.095629 768.688850 10.206 fps ts mono/EoF
    14 (6) [-] any 14 4147200 B 768.193611 768.781068 10.206 fps ts mono/EoF
    15 (7) [-] any 15 4147200 B 768.291591 768.873055 10.206 fps ts mono/EoF
    16 (0) [-] any 16 4147200 B 768.356911 768.965080 15.309 fps ts mono/EoF
    17 (1) [-] any 17 4147200 B 768.454894 769.056767 10.206 fps ts mono/EoF
    18 (2) [-] any 18 4147200 B 768.552875 769.149134 10.206 fps ts mono/EoF
    19 (3) [-] any 19 4147200 B 768.650856 769.241031 10.206 fps ts mono/EoF
    20 (4) [-] any 20 4147200 B 768.748846 769.333061 10.205 fps ts mono/EoF
    21 (5) [-] any 21 4147200 B 768.814159 769.424772 15.311 fps ts mono/EoF
    22 (6) [-] any 22 4147200 B 768.912144 769.516848 10.206 fps ts mono/EoF
    23 (7) [-] any 23 4147200 B 769.010124 769.608733 10.206 fps ts mono/EoF
    24 (0) [-] any 24 4147200 B 769.108106 769.700838 10.206 fps ts mono/EoF
    25 (1) [-] any 25 4147200 B 769.206089 769.792504 10.206 fps ts mono/EoF
    26 (2) [-] any 26 4147200 B 769.304069 769.884622 10.206 fps ts mono/EoF
    27 (3) [-] any 27 4147200 B 769.369389 769.976406 15.309 fps ts mono/EoF
    28 (4) [-] any 28 4147200 B 769.467376 770.068400 10.205 fps ts mono/EoF
    29 (5) [-] any 29 4147200 B 769.565355 770.160069 10.206 fps ts mono/EoF
    30 (6) [-] any 30 4147200 B 769.663337 770.252223 10.206 fps ts mono/EoF
    31 (7) [-] any 31 4147200 B 769.761319 770.343923 10.206 fps ts mono/EoF
    32 (0) [-] any 32 4147200 B 769.826641 770.435946 15.309 fps ts mono/EoF
    33 (1) [-] any 33 4147200 B 769.924625 770.527655 10.206 fps ts mono/EoF
    34 (2) [-] any 34 4147200 B 770.022605 770.619626 10.206 fps ts mono/EoF
    35 (3) [-] any 35 4147200 B 770.120585 770.711470 10.206 fps ts mono/EoF
    36 (4) [-] any 36 4147200 B 770.218568 770.803483 10.206 fps ts mono/EoF
    37 (5) [-] any 37 4147200 B 770.252214 770.895186 29.721 fps ts mono/EoF
    38 (6) [-] any 38 4147200 B 770.381871 770.987333 7.713 fps ts mono/EoF
    39 (7) [-] any 39 4147200 B 770.479851 771.079098 10.206 fps ts mono/EoF
    40 (0) [-] any 40 4147200 B 770.577833 771.171194 10.206 fps ts mono/EoF
    41 (1) [-] any 41 4147200 B 770.675815 771.262918 10.206 fps ts mono/EoF
    42 (2) [-] any 42 4147200 B 770.773799 771.355052 10.206 fps ts mono/EoF
    43 (3) [-] any 43 4147200 B 770.839117 771.447261 15.310 fps ts mono/EoF
    44 (4) [-] any 44 4147200 B 770.937102 771.539331 10.206 fps ts mono/EoF
    45 (5) [-] any 45 4147200 B 771.035083 771.631000 10.206 fps ts mono/EoF
    46 (6) [-] any 46 4147200 B 771.133064 771.722994 10.206 fps ts mono/EoF
    47 (7) [-] any 47 4147200 B 771.231047 771.815064 10.206 fps ts mono/EoF
    48 (0) [-] any 48 4147200 B 771.296366 771.907048 15.309 fps ts mono/EoF
    49 (1) [-] any 49 4147200 B 771.394350 771.998731 10.206 fps ts mono/EoF
    50 (2) [-] any 50 4147200 B 771.492330 772.091012 10.206 fps ts mono/EoF
    51 (3) [-] any 51 4147200 B 771.590313 772.182852 10.206 fps ts mono/EoF
    52 (4) [-] any 52 4147200 B 771.688294 772.274866 10.206 fps ts mono/EoF
    53 (5) [-] any 53 4147200 B 771.786282 772.366492 10.205 fps ts mono/EoF
    54 (6) [-] any 54 4147200 B 771.851601 772.458616 15.309 fps ts mono/EoF
    55 (7) [-] any 55 4147200 B 771.949586 772.551883 10.206 fps ts mono/EoF
    56 (0) [-] any 56 4147200 B 772.047564 772.643952 10.206 fps ts mono/EoF
    57 (1) [-] any 57 4147200 B 772.145543 772.735563 10.206 fps ts mono/EoF
    58 (2) [-] any 58 4147200 B 772.243528 772.827618 10.206 fps ts mono/EoF
    59 (3) [-] any 59 4147200 B 772.308849 772.919407 15.309 fps ts mono/EoF
    60 (4) [-] any 60 4147200 B 772.406829 773.011482 10.206 fps ts mono/EoF
    61 (5) [-] any 61 4147200 B 772.504812 773.103358 10.206 fps ts mono/EoF
    62 (6) [-] any 62 4147200 B 772.602793 773.195410 10.206 fps ts mono/EoF
    63 (7) [-] any 63 4147200 B 772.700774 773.287320 10.206 fps ts mono/EoF
    64 (0) [-] any 64 4147200 B 772.798754 773.379289 10.206 fps ts mono/EoF
    65 (1) [-] any 65 4147200 B 772.864077 773.470987 15.309 fps ts mono/EoF
    66 (2) [-] any 66 4147200 B 772.962060 773.563046 10.206 fps ts mono/EoF
    67 (3) [-] any 67 4147200 B 773.060043 773.654840 10.206 fps ts mono/EoF
    68 (4) [-] any 68 4147200 B 773.158021 773.746913 10.206 fps ts mono/EoF
    69 (5) [-] any 69 4147200 B 773.256001 773.838508 10.206 fps ts mono/EoF
    70 (6) [-] any 70 4147200 B 773.321324 773.930649 15.309 fps ts mono/EoF
    71 (7) [-] any 71 4147200 B 773.419308 774.022441 10.206 fps ts mono/EoF
    72 (0) [-] any 72 4147200 B 773.517285 774.114443 10.206 fps ts mono/EoF
    73 (1) [-] any 73 4147200 B 773.615267 774.206187 10.206 fps ts mono/EoF
    74 (2) [-] any 74 4147200 B 773.713248 774.298274 10.206 fps ts mono/EoF
    75 (3) [-] any 75 4147200 B 773.746906 774.390460 29.711 fps ts mono/EoF
    76 (4) [-] any 76 4147200 B 773.876554 774.482449 7.713 fps ts mono/EoF
    77 (5) [-] any 77 4147200 B 773.974536 774.574173 10.206 fps ts mono/EoF
    78 (6) [-] any 78 4147200 B 774.072520 774.666823 10.206 fps ts mono/EoF
    79 (7) [-] any 79 4147200 B 774.170499 774.759000 10.206 fps ts mono/EoF
    80 (0) [-] any 80 4147200 B 774.268481 774.851364 10.206 fps ts mono/EoF
    81 (1) [-] any 81 4147200 B 774.333803 774.943117 15.309 fps ts mono/EoF
    82 (2) [-] any 82 4147200 B 774.431783 775.036080 10.206 fps ts mono/EoF
    83 (3) [-] any 83 4147200 B 774.529767 775.128181 10.206 fps ts mono/EoF
    84 (4) [-] any 84 4147200 B 774.627748 775.220345 10.206 fps ts mono/EoF
    85 (5) [-] any 85 4147200 B 774.725729 775.312348 10.206 fps ts mono/EoF
    86 (6) [-] any 86 4147200 B 774.791052 775.405101 15.309 fps ts mono/EoF
    87 (7) [-] any 87 4147200 B 774.889032 775.497308 10.206 fps ts mono/EoF
    88 (0) [-] any 88 4147200 B 774.987014 775.589453 10.206 fps ts mono/EoF
    89 (1) [-] any 89 4147200 B 775.084999 775.681465 10.206 fps ts mono/EoF
    90 (2) [-] any 90 4147200 B 775.182977 775.911401 10.206 fps ts mono/EoF
    91 (3) [-] any 91 4147200 B 775.280973 776.003261 10.204 fps ts mono/EoF
    92 (4) [-] any 92 4147200 B 775.346289 776.095654 15.310 fps ts mono/EoF
    93 (5) [-] any 93 4147200 B 775.444262 776.187505 10.207 fps ts mono/EoF
    94 (6) [-] any 94 4147200 B 775.542246 776.280209 10.206 fps ts mono/EoF
    95 (7) [-] any 95 4147200 B 775.640225 776.372507 10.206 fps ts mono/EoF
    96 (0) [-] any 96 4147200 B 775.738212 776.464610 10.205 fps ts mono/EoF
    97 (1) [-] any 97 4147200 B 775.966834 776.556590 4.374 fps ts mono/EoF
    98 (2) [-] any 98 4147200 B 776.064815 776.649140 10.206 fps ts mono/EoF
    99 (3) [-] any 99 4147200 B 776.130134 776.741282 15.309 fps ts mono/EoF
    100 (4) [-] any 100 4147200 B 776.228117 776.833607 10.206 fps ts mono/EoF
    101 (5) [-] any 101 4147200 B 776.326102 776.925627 10.206 fps ts mono/EoF
    102 (6) [-] any 102 4147200 B 776.424079 777.018470 10.206 fps ts mono/EoF
    103 (7) [-] any 103 4147200 B 776.522061 777.110509 10.206 fps ts mono/EoF
    104 (0) [-] any 104 4147200 B 776.620049 777.202958 10.205 fps ts mono/EoF
    105 (1) [-] any 105 4147200 B 776.685366 777.294734 15.310 fps ts mono/EoF
    106 (2) [-] any 106 4147200 B 776.783348 777.387509 10.206 fps ts mono/EoF
    107 (3) [-] any 107 4147200 B 776.881329 777.479915 10.206 fps ts mono/EoF
    108 (4) [-] any 108 4147200 B 776.979315 777.980913 10.206 fps ts mono/EoF
    109 (5) [-] any 109 4147200 B 777.077295 778.075101 10.206 fps ts mono/EoF
    110 (6) [-] any 110 4147200 B 777.142620 778.170104 15.308 fps ts mono/EoF
    111 (7) [-] any 111 4147200 B 777.240596 778.262861 10.207 fps ts mono/EoF
    112 (0) [-] any 112 4147200 B 777.338580 778.355757 10.206 fps ts mono/EoF
    113 (1) [-] any 113 4147200 B 777.436561 778.448220 10.206 fps ts mono/EoF
    114 (2) [-] any 114 4147200 B 777.534548 778.541677 10.205 fps ts mono/EoF
    115 (3) [-] any 115 4147200 B 778.024456 778.634611 2.041 fps ts mono/EoF
    116 (4) [-] any 116 4147200 B 778.122443 778.727343 10.205 fps ts mono/EoF
    117 (5) [-] any 117 4147200 B 778.220422 778.820370 10.206 fps ts mono/EoF
    118 (6) [-] any 118 4147200 B 778.318404 778.913142 10.206 fps ts mono/EoF
    119 (7) [-] any 119 4147200 B 778.416385 779.006140 10.206 fps ts mono/EoF
    120 (0) [-] any 120 4147200 B 778.481704 779.098932 15.309 fps ts mono/EoF
    121 (1) [-] any 121 4147200 B 778.579688 779.191670 10.206 fps ts mono/EoF
    122 (2) [-] any 122 4147200 B 778.677672 779.284560 10.206 fps ts mono/EoF
    123 (3) [-] any 123 4147200 B 778.775654 779.377169 10.206 fps ts mono/EoF
    124 (4) [-] any 124 4147200 B 778.873634 779.470143 10.206 fps ts mono/EoF
    125 (5) [-] any 125 4147200 B 778.971617 779.562440 10.206 fps ts mono/EoF
    126 (6) [-] any 126 4147200 B 779.069599 779.655597 10.206 fps ts mono/EoF
    127 (7) [-] any 127 4147200 B 779.134919 779.748237 15.309 fps ts mono/EoF
    128 (0) [-] any 128 4147200 B 779.232903 779.841568 10.206 fps ts mono/EoF
    129 (1) [-] any 129 4147200 B 779.330886 779.933787 10.206 fps ts mono/EoF
    130 (2) [-] any 130 4147200 B 779.428867 780.026734 10.206 fps ts mono/EoF
    131 (3) [-] any 131 4147200 B 779.526849 780.119581 10.206 fps ts mono/EoF
    132 (4) [-] any 132 4147200 B 779.624829 780.213060 10.206 fps ts mono/EoF
    133 (5) [-] any 133 4147200 B 779.690149 780.305747 15.309 fps ts mono/EoF
    134 (6) [-] any 134 4147200 B 779.788132 780.398768 10.206 fps ts mono/EoF
    135 (7) [-] any 135 4147200 B 779.886114 780.491507 10.206 fps ts mono/EoF
    136 (0) [-] any 136 4147200 B 779.984098 780.584272 10.206 fps ts mono/EoF
    137 (1) [-] any 137 4147200 B 780.082080 780.677068 10.206 fps ts mono/EoF
    138 (2) [-] any 138 4147200 B 780.180080 780.770074 10.204 fps ts mono/EoF
    139 (3) [-] any 139 4147200 B 780.245383 780.864100 15.313 fps ts mono/EoF
    140 (4) [-] any 140 4147200 B 780.343362 780.956829 10.206 fps ts mono/EoF
    141 (5) [-] any 141 4147200 B 780.441347 781.049329 10.206 fps ts mono/EoF
    142 (6) [-] any 142 4147200 B 780.539326 781.923226 10.206 fps ts mono/EoF
    143 (7) [-] any 143 4147200 B 780.637308 782.015290 10.206 fps ts mono/EoF
    144 (0) [-] any 144 4147200 B 780.735290 782.107842 10.206 fps ts mono/EoF
    145 (1) [-] any 145 4147200 B 780.833274 782.199710 10.206 fps ts mono/EoF
    146 (2) [-] any 146 4147200 B 780.898594 782.292873 15.309 fps ts mono/EoF
    147 (3) [-] any 147 4147200 B 780.996575 782.384955 10.206 fps ts mono/EoF
    148 (4) [-] any 148 4147200 B 781.094558 782.477297 10.206 fps ts mono/EoF
    149 (5) [-] any 149 4147200 B 781.976392 782.573787 1.134 fps ts mono/EoF
    150 (6) [-] any 150 4147200 B 782.074376 784.330551 10.206 fps ts mono/EoF
    151 (7) [-] any 151 4147200 B 782.139697 784.766243 15.309 fps ts mono/EoF
    152 (0) [-] any 152 4147200 B 782.237676 784.860696 10.206 fps ts mono/EoF
    153 (1) [-] any 153 4147200 B 782.335660 784.952585 10.206 fps ts mono/EoF
    154 (2) [-] any 154 4147200 B 782.433643 785.044977 10.206 fps ts mono/EoF
    155 (3) [-] any 155 4147200 B 782.531626 785.137205 10.206 fps ts mono/EoF
    156 (4) [-] any 156 4147200 B 782.629608 785.229715 10.206 fps ts mono/EoF
    157 (5) [-] any 157 4147200 B 784.393281 785.321903 0.567 fps ts mono/EoF
    158 (6) [-] any 158 4147200 B 784.817868 785.414281 2.355 fps ts mono/EoF
    159 (7) [-] any 159 4147200 B 784.915849 785.506636 10.206 fps ts mono/EoF
    160 (0) [-] any 160 4147200 B 785.013831 785.599061 10.206 fps ts mono/EoF
    161 (1) [-] any 161 4147200 B 785.079151 785.691244 15.309 fps ts mono/EoF
    162 (2) [-] any 162 4147200 B 785.177136 785.783668 10.206 fps ts mono/EoF
    163 (3) [-] any 163 4147200 B 785.275114 785.875888 10.206 fps ts mono/EoF
    164 (4) [-] any 164 4147200 B 785.373097 785.968267 10.206 fps ts mono/EoF
    165 (5) [-] any 165 4147200 B 785.471080 786.060351 10.206 fps ts mono/EoF
    166 (6) [-] any 166 4147200 B 785.569061 786.152880 10.206 fps ts mono/EoF
    167 (7) [-] any 167 4147200 B 785.634382 786.245181 15.309 fps ts mono/EoF
    168 (0) [-] any 168 4147200 B 785.732362 786.337459 10.206 fps ts mono/EoF
    169 (1) [-] any 169 4147200 B 785.830347 786.429543 10.206 fps ts mono/EoF
    170 (2) [-] any 170 4147200 B 785.928327 786.521720 10.206 fps ts mono/EoF
    171 (3) [-] any 171 4147200 B 786.026310 786.614136 10.206 fps ts mono/EoF
    172 (4) [-] any 172 4147200 B 786.124292 786.706385 10.206 fps ts mono/EoF
    173 (5) [-] any 173 4147200 B 786.189613 786.798495 15.309 fps ts mono/EoF
    174 (6) [-] any 174 4147200 B 786.287594 786.891003 10.206 fps ts mono/EoF
    175 (7) [-] any 175 4147200 B 786.385572 786.983014 10.206 fps ts mono/EoF
    176 (0) [-] any 176 4147200 B 786.483553 787.075623 10.206 fps ts mono/EoF
    177 (1) [-] any 177 4147200 B 786.581536 787.167533 10.206 fps ts mono/EoF
    178 (2) [-] any 178 4147200 B 786.646862 787.260399 15.308 fps ts mono/EoF
    179 (3) [-] any 179 4147200 B 786.744841 787.352410 10.206 fps ts mono/EoF
    180 (4) [-] any 180 4147200 B 786.842829 787.444606 10.205 fps ts mono/EoF
    181 (5) [-] any 181 4147200 B 786.940808 787.913822 10.206 fps ts mono/EoF
    182 (6) [-] any 182 4147200 B 787.038795 788.005837 10.205 fps ts mono/EoF
    183 (7) [-] any 183 4147200 B 787.136775 788.097509 10.206 fps ts mono/EoF
    184 (0) [-] any 184 4147200 B 787.202095 788.189821 15.309 fps ts mono/EoF
    185 (1) [-] any 185 4147200 B 787.300077 788.281662 10.206 fps ts mono/EoF
    186 (2) [-] any 186 4147200 B 787.398056 788.373646 10.206 fps ts mono/EoF
    187 (3) [-] any 187 4147200 B 787.496040 788.465220 10.206 fps ts mono/EoF
    188 (4) [-] any 188 4147200 B 787.953292 788.557248 2.187 fps ts mono/EoF
    189 (5) [-] any 189 4147200 B 788.051270 788.648956 10.206 fps ts mono/EoF
    190 (6) [-] any 190 4147200 B 788.149252 788.741002 10.206 fps ts mono/EoF
    191 (7) [-] any 191 4147200 B 788.247233 788.832771 10.206 fps ts mono/EoF
    192 (0) [-] any 192 4147200 B 788.345215 788.924822 10.206 fps ts mono/EoF
    193 (1) [-] any 193 4147200 B 788.410540 789.016581 15.308 fps ts mono/EoF
    194 (2) [-] any 194 4147200 B 788.508519 789.108529 10.206 fps ts mono/EoF
    195 (3) [-] any 195 4147200 B 788.606502 789.200333 10.206 fps ts mono/EoF
    196 (4) [-] any 196 4147200 B 788.704487 789.292332 10.206 fps ts mono/EoF
    197 (5) [-] any 197 4147200 B 788.802469 789.384181 10.206 fps ts mono/EoF
    198 (6) [-] any 198 4147200 B 788.867786 789.476259 15.310 fps ts mono/EoF
    199 (7) [-] any 199 4147200 B 788.965765 789.567850 10.206 fps ts mono/EoF
    200 (0) [-] any 200 4147200 B 789.063748 789.659893 10.206 fps ts mono/EoF
    201 (1) [-] any 201 4147200 B 789.161731 789.751668 10.206 fps ts mono/EoF
    202 (2) [-] any 202 4147200 B 789.259716 789.843898 10.206 fps ts mono/EoF
    203 (3) [-] any 203 4147200 B 789.325033 789.935583 15.310 fps ts mono/EoF
    204 (4) [-] any 204 4147200 B 789.423018 790.027686 10.206 fps ts mono/EoF
    205 (5) [-] any 205 4147200 B 789.521000 790.610179 10.206 fps ts mono/EoF
    206 (6) [-] any 206 4147200 B 789.618985 790.708296 10.206 fps ts mono/EoF
    207 (7) [-] any 207 4147200 B 789.716963 790.801724 10.206 fps ts mono/EoF
    208 (0) [-] any 208 4147200 B 789.814946 790.895450 10.206 fps ts mono/EoF
    209 (1) [-] any 209 4147200 B 789.880267 790.989521 15.309 fps ts mono/EoF
    210 (2) [-] any 210 4147200 B 789.978247 791.083285 10.206 fps ts mono/EoF
    211 (3) [-] any 211 4147200 B 790.076232 791.176765 10.206 fps ts mono/EoF
    212 (4) [-] any 212 4147200 B 790.664126 791.270598 1.701 fps ts mono/EoF
    213 (5) [-] any 213 4147200 B 790.762108 791.364140 10.206 fps ts mono/EoF
    214 (6) [-] any 214 4147200 B 790.860088 791.457940 10.206 fps ts mono/EoF
    215 (7) [-] any 215 4147200 B 790.958072 791.550826 10.206 fps ts mono/EoF
    216 (0) [-] any 216 4147200 B 791.023392 791.644958 15.309 fps ts mono/EoF
    217 (1) [-] any 217 4147200 B 791.121374 791.737948 10.206 fps ts mono/EoF
    218 (2) [-] any 218 4147200 B 791.219356 791.831638 10.206 fps ts mono/EoF
    219 (3) [-] any 219 4147200 B 791.317339 791.924991 10.206 fps ts mono/EoF
    220 (4) [-] any 220 4147200 B 791.415320 792.018793 10.206 fps ts mono/EoF
    221 (5) [-] any 221 4147200 B 791.513303 792.112409 10.206 fps ts mono/EoF
    222 (6) [-] any 222 4147200 B 791.611290 792.206352 10.205 fps ts mono/EoF
    223 (7) [-] any 223 4147200 B 791.644928 792.299577 29.728 fps ts mono/EoF
    224 (0) [-] any 224 4147200 B 791.774591 792.393604 7.712 fps ts mono/EoF
    225 (1) [-] any 225 4147200 B 791.872569 794.256503 10.206 fps ts mono/EoF
    226 (2) [-] any 226 4147200 B 791.970549 794.748873 10.206 fps ts mono/EoF
    227 (3) [-] any 227 4147200 B 792.068536 794.841665 10.205 fps ts mono/EoF
    228 (4) [-] any 228 4147200 B 792.166516 794.934829 10.206 fps ts mono/EoF
    229 (5) [-] any 229 4147200 B 792.264497 795.027415 10.206 fps ts mono/EoF
    230 (6) [-] any 230 4147200 B 792.362479 795.120475 10.206 fps ts mono/EoF
    231 (7) [-] any 231 4147200 B 792.427799 795.212938 15.309 fps ts mono/EoF
    232 (0) [-] any 232 4147200 B 794.289458 795.305731 0.537 fps ts mono/EoF
    233 (1) [-] any 233 4147200 B 794.812042 795.398501 1.914 fps ts mono/EoF
    234 (2) [-] any 234 4147200 B 794.877347 795.491160 15.313 fps ts mono/EoF
    235 (3) [-] any 235 4147200 B 794.975331 795.584186 10.206 fps ts mono/EoF
    236 (4) [-] any 236 4147200 B 795.073313 795.676831 10.206 fps ts mono/EoF
    237 (5) [-] any 237 4147200 B 795.171293 795.769703 10.206 fps ts mono/EoF
    238 (6) [-] any 238 4147200 B 795.269278 795.862332 10.206 fps ts mono/EoF
    239 (7) [-] any 239 4147200 B 795.367260 795.954670 10.206 fps ts mono/EoF
    240 (0) [-] any 240 4147200 B 795.432578 796.047519 15.310 fps ts mono/EoF
    241 (1) [-] any 241 4147200 B 795.530562 796.140286 10.206 fps ts mono/EoF
    242 (2) [-] any 242 4147200 B 795.628544 796.233045 10.206 fps ts mono/EoF
    243 (3) [-] any 243 4147200 B 795.726527 796.325535 10.206 fps ts mono/EoF
    244 (4) [-] any 244 4147200 B 795.824507 796.418552 10.206 fps ts mono/EoF
    245 (5) [-] any 245 4147200 B 795.922488 796.510852 10.206 fps ts mono/EoF
    246 (6) [-] any 246 4147200 B 795.987811 797.401932 15.309 fps ts mono/EoF
    247 (7) [-] any 247 4147200 B 796.085792 799.278976 10.206 fps ts mono/EoF
    248 (0) [-] any 248 4147200 B 796.183776 799.377547 10.206 fps ts mono/EoF
    249 (1) [-] any 249 4147200 B 796.281756 799.469926 10.206 fps ts mono/EoF
    250 (2) [-] any 250 4147200 B 796.379740 799.562747 10.206 fps ts mono/EoF
    251 (3) [-] any 251 4147200 B 796.477722 799.655234 10.206 fps ts mono/EoF
    252 (4) [-] any 252 4147200 B 796.543043 799.748081 15.309 fps ts mono/EoF
    253 (5) [-] any 253 4147200 B 797.457540 799.840945 1.093 fps ts mono/EoF
    254 (6) [-] any 254 4147200 B 799.319200 799.933525 0.537 fps ts mono/EoF
    255 (7) [-] any 255 4147200 B 799.417179 800.025412 10.206 fps ts mono/EoF
    256 (0) [-] any 256 4147200 B 799.515160 800.117566 10.206 fps ts mono/EoF
    257 (1) [-] any 257 4147200 B 799.613142 800.209948 10.206 fps ts mono/EoF
    258 (2) [-] any 258 4147200 B 799.711125 800.302146 10.206 fps ts mono/EoF
    259 (3) [-] any 259 4147200 B 799.809105 800.394006 10.206 fps ts mono/EoF
    260 (4) [-] any 260 4147200 B 799.874427 800.486581 15.309 fps ts mono/EoF
    261 (5) [-] any 261 4147200 B 799.972410 800.578714 10.206 fps ts mono/EoF
    262 (6) [-] any 262 4147200 B 800.070392 800.671162 10.206 fps ts mono/EoF
    263 (7) [-] any 263 4147200 B 800.168374 800.763240 10.206 fps ts mono/EoF
    264 (0) [-] any 264 4147200 B 800.266356 800.855674 10.206 fps ts mono/EoF
    265 (1) [-] any 265 4147200 B 800.364339 800.947678 10.206 fps ts mono/EoF
    266 (2) [-] any 266 4147200 B 800.429658 801.039984 15.309 fps ts mono/EoF
    267 (3) [-] any 267 4147200 B 800.527641 801.131920 10.206 fps ts mono/EoF
    268 (4) [-] any 268 4147200 B 800.625624 801.224482 10.206 fps ts mono/EoF
    269 (5) [-] any 269 4147200 B 800.723605 801.316569 10.206 fps ts mono/EoF
    270 (6) [-] any 270 4147200 B 800.821587 801.408861 10.206 fps ts mono/EoF
    271 (7) [-] any 271 4147200 B 800.919569 801.500835 10.206 fps ts mono/EoF
    272 (0) [-] any 272 4147200 B 800.984889 801.593144 15.309 fps ts mono/EoF
    273 (1) [-] any 273 4147200 B 801.082873 801.685315 10.206 fps ts mono/EoF
    274 (2) [-] any 274 4147200 B 801.180854 801.777917 10.206 fps ts mono/EoF
    275 (3) [-] any 275 4147200 B 801.278835 801.869941 10.206 fps ts mono/EoF
    276 (4) [-] any 276 4147200 B 801.376818 801.962209 10.206 fps ts mono/EoF
    277 (5) [-] any 277 4147200 B 801.442140 802.054312 15.309 fps ts mono/EoF
    278 (6) [-] any 278 4147200 B 801.540121 802.146678 10.206 fps ts mono/EoF
    279 (7) [-] any 279 4147200 B 801.638103 802.238892 10.206 fps ts mono/EoF
    280 (0) [-] any 280 4147200 B 801.736086 802.331294 10.206 fps ts mono/EoF
    281 (1) [-] any 281 4147200 B 801.834066 802.423353 10.206 fps ts mono/EoF
    282 (2) [-] any 282 4147200 B 801.932049 802.517716 10.206 fps ts mono/EoF
    283 (3) [-] any 283 4147200 B 801.997370 802.609671 15.309 fps ts mono/EoF
    284 (4) [-] any 284 4147200 B 802.095353 802.702044 10.206 fps ts mono/EoF
    285 (5) [-] any 285 4147200 B 802.193340 802.794691 10.205 fps ts mono/EoF
    286 (6) [-] any 286 4147200 B 802.291317 802.887108 10.206 fps ts mono/EoF
    287 (7) [-] any 287 4147200 B 802.389300 802.979060 10.206 fps ts mono/EoF
    288 (0) [-] any 288 4147200 B 802.487278 803.071364 10.206 fps ts mono/EoF
    289 (1) [-] any 289 4147200 B 802.552601 803.163479 15.309 fps ts mono/EoF
    290 (2) [-] any 290 4147200 B 802.650584 803.255981 10.206 fps ts mono/EoF
    291 (3) [-] any 291 4147200 B 802.748566 803.347945 10.206 fps ts mono/EoF
    292 (4) [-] any 292 4147200 B 802.846547 803.440553 10.206 fps ts mono/EoF
    293 (5) [-] any 293 4147200 B 802.944528 803.532688 10.206 fps ts mono/EoF
    294 (6) [-] any 294 4147200 B 803.042511 803.624940 10.206 fps ts mono/EoF
    295 (7) [-] any 295 4147200 B 803.107832 803.716936 15.309 fps ts mono/EoF
    296 (0) [-] any 296 4147200 B 803.205814 803.809522 10.206 fps ts mono/EoF
    297 (1) [-] any 297 4147200 B 803.303797 803.901620 10.206 fps ts mono/EoF
    298 (2) [-] any 298 4147200 B 803.401781 803.993961 10.206 fps ts mono/EoF
    299 (3) [-] any 299 4147200 B 803.499761 804.086308 10.206 fps ts mono/EoF
    300 (4) [-] any 300 4147200 B 803.565081 804.666094 15.309 fps ts mono/EoF
    301 (5) [-] any 301 4147200 B 803.663063 804.759109 10.206 fps ts mono/EoF
    302 (6) [-] any 302 4147200 B 803.761046 804.852309 10.206 fps ts mono/EoF
    303 (7) [-] any 303 4147200 B 803.859027 804.944942 10.206 fps ts mono/EoF
    304 (0) [-] any 304 4147200 B 803.957009 805.037817 10.206 fps ts mono/EoF
    305 (1) [-] any 305 4147200 B 804.054990 805.130752 10.206 fps ts mono/EoF
    306 (2) [-] any 306 4147200 B 804.120311 805.223515 15.309 fps ts mono/EoF
    307 (3) [-] any 307 4147200 B 804.708205 805.316203 1.701 fps ts mono/EoF
    308 (4) [-] any 308 4147200 B 804.806186 805.409203 10.206 fps ts mono/EoF
    309 (5) [-] any 309 4147200 B 804.904166 805.501689 10.206 fps ts mono/EoF
    310 (6) [-] any 310 4147200 B 805.002149 805.594823 10.206 fps ts mono/EoF
    311 (7) [-] any 311 4147200 B 805.100131 805.687290 10.206 fps ts mono/EoF
    312 (0) [-] any 312 4147200 B 805.165451 805.780435 15.309 fps ts mono/EoF
    313 (1) [-] any 313 4147200 B 805.263434 805.873144 10.206 fps ts mono/EoF
    314 (2) [-] any 314 4147200 B 805.361419 805.966047 10.206 fps ts mono/EoF
    315 (3) [-] any 315 4147200 B 805.459400 806.058435 10.206 fps ts mono/EoF
    316 (4) [-] any 316 4147200 B 805.557385 806.151359 10.206 fps ts mono/EoF
    317 (5) [-] any 317 4147200 B 805.655364 806.244840 10.206 fps ts mono/EoF
    318 (6) [-] any 318 4147200 B 805.720682 806.337793 15.310 fps ts mono/EoF
    319 (7) [-] any 319 4147200 B 805.818667 806.430429 10.206 fps ts mono/EoF
    320 (0) [-] any 320 4147200 B 805.916646 806.523130 10.206 fps ts mono/EoF
    321 (1) [-] any 321 4147200 B 806.014630 806.615967 10.206 fps ts mono/EoF
    ^C
    

    ## UNSUCCESSFULL LOGS

    root@am62axx-evm:/opt/edgeai-gst-apps# gst-launch-1.0 -v v4l2src num-buffers=5 device=/dev/video3 io-mode=dmabuf ! video/x-bayer, width=1920, height=1080, framerate=30/1, format=rggb10 ! multifilesink location="ov5647-image-%d.raw"
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-bayer, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)rggb10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-bayer, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)rggb10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    /GstPipeline:pipeline0/GstMultiFileSink:multifilesink0.GstPad:sink: caps = video/x-bayer, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)rggb10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-bayer, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)rggb10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    ^Chandling interrupt.
    Interrupt: Stopping pipeline ...
    Execution ended after 0:00:45.689231108
    Setting pipeline to NULL ...
    Freeing pipeline ...
    root@am62axx-evm:/opt/edgeai-gst-apps#
    
    ...
    
    root@am62axx-evm:/opt/edgeai-gst-apps# yavta -c -Fcapture -s 1920x1080 -f SBGGR10 /dev/video3
    Device /dev/video3 opened.
    Device `j721e-csi2rx' on `platform:30102000.ticsi2rx' (driver 'j721e-csi2rx') supports video, capture, without mplanes.
    Video format set: SBGGR10 (30314742) 1920x1080 (stride 3840) field none buffer size 4147200
    Video format: SBGGR10 (30314742) 1920x1080 (stride 3840) field none buffer size 4147200
    8 buffers requested.
    length: 4147200 offset: 0 timestamp type/source: mono/EoF
    Buffer 0/0 mapped at address 0xffff915ab000.
    length: 4147200 offset: 4149248 timestamp type/source: mono/EoF
    Buffer 1/0 mapped at address 0xffff911b6000.
    length: 4147200 offset: 8298496 timestamp type/source: mono/EoF
    Buffer 2/0 mapped at address 0xffff90dc1000.
    length: 4147200 offset: 12447744 timestamp type/source: mono/EoF
    Buffer 3/0 mapped at address 0xffff909cc000.
    length: 4147200 offset: 16596992 timestamp type/source: mono/EoF
    Buffer 4/0 mapped at address 0xffff905d7000.
    length: 4147200 offset: 20746240 timestamp type/source: mono/EoF
    Buffer 5/0 mapped at address 0xffff901e2000.
    length: 4147200 offset: 24895488 timestamp type/source: mono/EoF
    Buffer 6/0 mapped at address 0xffff8fded000.
    length: 4147200 offset: 29044736 timestamp type/source: mono/EoF
    Buffer 7/0 mapped at address 0xffff8f9f8000.
    ^C
    root@am62axx-evm:/opt/edgeai-gst-apps#
    During unsuccessful times, I manually terminated the pipeline with Ctrl+C. It is not closing on its own.

    ## DMESG LOGS

    root@am62axx-evm:/opt/edgeai-gst-apps# dmesg | tail -10
    [   14.574682] audit: type=1334 audit(1706593495.264:14): prog-id=11 op=UNLOAD
    [   16.133702] systemd-journald[175]: Time jumped backwards, rotating.
    [  410.602749] v4l2_get_link_freq: Link frequency estimated using pixel rate: result might be inaccurate
    [  410.612008] v4l2_get_link_freq: Consider implementing support for V4L2_CID_LINK_FREQ in the transmitter driver
    [  421.918811] v4l2_get_link_freq: Link frequency estimated using pixel rate: result might be inaccurate
    [  421.928107] v4l2_get_link_freq: Consider implementing support for V4L2_CID_LINK_FREQ in the transmitter driver
    [  767.593219] v4l2_get_link_freq: Link frequency estimated using pixel rate: result might be inaccurate
    [  767.602477] v4l2_get_link_freq: Consider implementing support for V4L2_CID_LINK_FREQ in the transmitter driver
    [  840.188053] v4l2_get_link_freq: Link frequency estimated using pixel rate: result might be inaccurate
    [  840.197308] v4l2_get_link_freq: Consider implementing support for V4L2_CID_LINK_FREQ in the transmitter driver
    root@am62axx-evm:/opt/edgeai-gst-apps#
    
    
    #INFO
    [  410.602749] -> GStreamer Success
    [  421.918811] -> Gstreamer Fail
    [  767.593219] -> Yavta Success
    [  840.188053] -> Yavta Fail

    Regardless of success or fail, I am getting that v4l2 message.


    what's the output of "media-ctl -p"

    root@am62axx-evm:/opt/edgeai-gst-apps# media-ctl -p
    Media controller API version 6.1.46
    
    Media device information
    ------------------------
    driver          j721e-csi2rx
    model           TI-CSI2RX
    serial          
    bus info        platform:30102000.ticsi2rx
    hw revision     0x1
    driver version  6.1.46
    
    Device topology
    - entity 1: 30102000.ticsi2rx (7 pads, 7 links, 1 route)
                type V4L2 subdev subtype Unknown flags 0
                device node name /dev/v4l-subdev0
    	routes:
    		0/0 -> 1/0 [ACTIVE]
    	pad0: Sink
    		[stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range]
    		<- "cdns_csi2rx.30101000.csi-bridge":1 [ENABLED,IMMUTABLE]
    	pad1: Source
    		[stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range]
    		-> "30102000.ticsi2rx context 0":0 [ENABLED,IMMUTABLE]
    	pad2: Source
    		-> "30102000.ticsi2rx context 1":0 [ENABLED,IMMUTABLE]
    	pad3: Source
    		-> "30102000.ticsi2rx context 2":0 [ENABLED,IMMUTABLE]
    	pad4: Source
    		-> "30102000.ticsi2rx context 3":0 [ENABLED,IMMUTABLE]
    	pad5: Source
    		-> "30102000.ticsi2rx context 4":0 [ENABLED,IMMUTABLE]
    	pad6: Source
    		-> "30102000.ticsi2rx context 5":0 [ENABLED,IMMUTABLE]
    
    - entity 9: cdns_csi2rx.30101000.csi-bridge (5 pads, 2 links, 1 route)
                type V4L2 subdev subtype Unknown flags 0
                device node name /dev/v4l-subdev1
    	routes:
    		0/0 -> 1/0 [ACTIVE]
    	pad0: Sink
    		[stream:0 fmt:SBGGR10_1X10/1920x1080 field:none colorspace:srgb]
    		<- "ov5647 4-0036":0 [ENABLED,IMMUTABLE]
    	pad1: Source
    		[stream:0 fmt:SBGGR10_1X10/1920x1080 field:none colorspace:srgb]
    		-> "30102000.ticsi2rx":0 [ENABLED,IMMUTABLE]
    	pad2: Source
    	pad3: Source
    	pad4: Source
    
    - entity 15: ov5647 4-0036 (1 pad, 1 link, 0 route)
                 type V4L2 subdev subtype Sensor flags 0
                 device node name /dev/v4l-subdev2
    	pad0: Source
    		[stream:0 fmt:SBGGR10_1X10/1920x1080 field:none colorspace:srgb
    		 crop.bounds:(16,16)/2592x1944
    		 crop:(364,450)/1928x1080]
    		-> "cdns_csi2rx.30101000.csi-bridge":0 [ENABLED,IMMUTABLE]
    
    - entity 21: 30102000.ticsi2rx context 0 (1 pad, 1 link, 0 route)
                 type Node subtype V4L flags 0
                 device node name /dev/video3
    	pad0: Sink
    		<- "30102000.ticsi2rx":1 [ENABLED,IMMUTABLE]
    
    - entity 27: 30102000.ticsi2rx context 1 (1 pad, 1 link, 0 route)
                 type Node subtype V4L flags 0
                 device node name /dev/video4
    	pad0: Sink
    		<- "30102000.ticsi2rx":2 [ENABLED,IMMUTABLE]
    
    - entity 33: 30102000.ticsi2rx context 2 (1 pad, 1 link, 0 route)
                 type Node subtype V4L flags 0
                 device node name /dev/video5
    	pad0: Sink
    		<- "30102000.ticsi2rx":3 [ENABLED,IMMUTABLE]
    
    - entity 39: 30102000.ticsi2rx context 3 (1 pad, 1 link, 0 route)
                 type Node subtype V4L flags 0
                 device node name /dev/video6
    	pad0: Sink
    		<- "30102000.ticsi2rx":4 [ENABLED,IMMUTABLE]
    
    - entity 45: 30102000.ticsi2rx context 4 (1 pad, 1 link, 0 route)
                 type Node subtype V4L flags 0
                 device node name /dev/video7
    	pad0: Sink
    		<- "30102000.ticsi2rx":5 [ENABLED,IMMUTABLE]
    
    - entity 51: 30102000.ticsi2rx context 5 (1 pad, 1 link, 0 route)
                 type Node subtype V4L flags 0
                 device node name /dev/video8
    	pad0: Sink
    		<- "30102000.ticsi2rx":6 [ENABLED,IMMUTABLE]
    
    root@am62axx-evm:/opt/edgeai-gst-apps# v4l2-ctl --list-devices
    j721e-csi2rx (platform:30102000.ticsi2rx):
    	/dev/video3
    	/dev/video4
    	/dev/video5
    	/dev/video6
    	/dev/video7
    	/dev/video8
    	/dev/media0
    
    e5010 (platform:e5010):
    	/dev/video2
    
    wave5-dec (platform:wave5-dec):
    	/dev/video0
    
    wave5-enc (platform:wave5-enc):
    	/dev/video1
    
    root@am62axx-evm:/opt/edgeai-gst-apps# 
    
    

  • Sorry I mistakenly selected "resolved"

  • Hello Sathiya,

    Thanks for the detailed logs. 

    In both the cases, I can be able to capture raw image for the first time.

    This is good. It means the camera capture path is working fine.

    But when I try capture for the next time within few seconds (say 10), I am unable to capture (Pipeline is struck).

    This could be a separate problem. Let's hold on this one and first resolve the streaming issue with ISP.

    When you were streaming with ISP, you used the dcc_viss.bin and dcc_2a.bin binaries. How did you get those binaries? Which SDK version are you using? If the binaries were generated using a different version of imaging tool from the SDK version, that could cause the pipeline to be stuck.

    Regards,

    Jianzhong

  • Hi Jianzhong Xu,

    I am using SDK 9.1 through Yocto. Today I successfully able to stream to display in 1920x1080 as well as 2592x1944.

    For 1920x1080, I used the bin file found in yocto directory <BUILD_DIR>/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_1_k3r5/repo/imaging/sensor_drv/src/ov5647/dcc_bins/linear/

    root@am62axx-evm:/opt/edgeai-gst-apps# gst-launch-1.0 -v v4l2src device=/dev/video3 io-mode=dmabuf-import ! video/x-bayer, width=1920, height=1080, framerate=30/1, format=bggr10 ! tiovxisp sink_0::device=/dev/v4l-subdev2 sensor-name="SENSOR_OV5647_RPI" dcc-isp-file=/opt/imaging/cust_sathiya/yocto_main/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/cust_sathiya/yocto_main/dcc_2a.bin format-msb=9 ! queue ! tiovxmultiscaler ! video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! kmssink driver-name=tidss
    APP: Init ... !!!
    MEM: Init ... !!!
    MEM: Initialized DMA HEAP (fd=6) !!!
    MEM: Init ... Done !!!
    IPC: Init ... !!!
    IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
      5070.744207 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
      5070.744379 s:  VX_ZONE_INIT:Enabled
      5070.744395 s:  VX_ZONE_ERROR:Enabled
      5070.744406 s:  VX_ZONE_WARNING:Enabled
      5070.745823 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
      5070.746393 s:  VX_ZONE_INIT:[tivxHostInitLocal:101] Initialization Done for HOST !!!
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    /GstPipeline:pipeline0/GstKMSSink:kmssink0: display-width = 1920
    /GstPipeline:pipeline0/GstKMSSink:kmssink0: display-height = 1080
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-bayer, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)bggr10, int[ 5064.986264] v4l2_get_link_freq: Link frequency estimated using pixel rate: result might be inaccurate
    erlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    /G[ 5064.996746] v4l2_get_link_freq: Consider implementing support for V4L2_CID_LINK_FREQ in the transmitter driver
    stPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-bayer, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)bggr10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    /GstPipeline:pipeline0/GstTIOVXISP:tiovxisp0.GstTIOVXIspPad:sink_0: caps = video/x-bayer, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)bggr10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-bayer, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)bggr10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    /GstPipeline:pipeline0/GstTIOVXISP:tiovxisp0.GstTIOVXMisoPad:src: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstTIOVXMultiScaler:tiovxmultiscaler0.GstTIOVXMultiScalerPad:src_0: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstKMSSink:kmssink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstTIOVXMultiScaler:tiovxmultiscaler0.GstTIOVXMultiScalerPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, framerate=(fraction)30/1
    Redistribute latency...
    handling interrupt.:99.
    Interrupt: Stopping pipeline ...
    Execution ended after 0:00:18.461890510
    Setting pipeline to NULL ...
    Freeing pipeline ...
      5089.524907 s:  VX_ZONE_INIT:[tivxHostDeInitLocal:115] De-Initialization Done for HOST !!!
      5089.529861 s:  VX_ZONE_INIT:[tivxDeInitLocal:193] De-Initialization Done !!!
    APP: Deinit ... !!!
    REMOTE_SERVICE: Deinit ... !!!
    REMOTE_SERVICE: Deinit ... Done !!!
    IPC: Deinit ... !!!
    IPC: DeInit ... Done !!!
    MEM: Deinit ... !!!
    DDR_SHARED_MEM: Alloc's: 35 alloc's of 65790569 bytes 
    DDR_SHARED_MEM: Free's : 35 free's  of 65790569 bytes 
    DDR_SHARED_MEM: Open's : 0 allocs  of 0 bytes 
    MEM: Deinit ... Done !!!
    APP: Deinit ... Done !!!
    

    For 2592x1944, I used the bin file provided by you in the thread sk-am62a-lp-use-the-h-264-encoder-for-source-video-larger-than-1920x1080/4774380#4774380

    root@am62axx-evm:/opt/edgeai-gst-apps# gst-launch-1.0 -v v4l2src device=/dev/video3 io-mode=dmabuf-import ! video/x-bayer, width=2592, height=1944, framerate=30/1, format=bggr10 ! tiovxisp sink_0::device=/dev/v4l-subdev2 sensor-name="SENSOR_OV5647_RPI" dcc-isp-file=/opt/imaging/cust_sathiya/5MP/dcc_viss_2592x1944.bin sink_0::dcc-2a-file=/opt/imaging/cust_sathiya/5MP/dcc_2a_2592x1944.bin format-msb=9 ! video/x-raw, format=NV12, width=2592, height=1944, framerate=30/1 ! queue ! tiovxmultiscaler ! video/x-raw, format=NV12, width=1440, height=1080, framerate=30/1 ! kmssink driver-name=tidss
    APP: Init ... !!!
    MEM: Init ... !!!
    MEM: Initialized DMA HEAP (fd=6) !!!
    MEM: Init ... Done !!!
    IPC: Init ... !!!
    IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
      5229.303841 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
      5229.304003 s:  VX_ZONE_INIT:Enabled
      5229.304018 s:  VX_ZONE_ERROR:Enabled
      5229.304029 s:  VX_ZONE_WARNING:Enabled
      5229.305434 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
      5229.305660 s:  VX_ZONE_INIT:[tivxHostInitLocal:101] Initialization Done for HOST !!!
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    /GstPipeline:pipeline0/GstKMSSink:kmssink0: display-width = 1920
    /GstPipeline:pipeline0/GstKMSSink:kmssink0: display-height = 1080
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-bayer, width=(int)2592, height=(int)1944, framerate=(fraction)30/1, format=(string)bggr10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-bayer, width=(int)2592, height=(int)1944, framerate=(fraction)30/1, format=(string)bggr10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    /GstPipeline:pipeline0/GstTIOVXISP:tiovxisp0.GstTIOVXIspPad:sink_0: caps = video/x-bayer, width=(int)2592, height=(in[ 5223.570503] v4l2_get_link_freq: Link frequency estimated using pixel rate: result might be inaccurate
    t)1944, framerate=(fraction)30/1, format=(string)bggr10, interla[ 5223.584906] v4l2_get_link_freq: Consider implementing support for V4L2_CID_LINK_FREQ in the transmitter driver
    ce-mode=(string)progressive, colorimetry=(string)2:4:7:1
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-bayer, width=(int)2592, height=(int)1944, framerate=(fraction)30/1, format=(string)bggr10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    New clock: GstSystemClock
    /GstPipeline:pipeline0/GstTIOVXISP:tiovxisp0.GstTIOVXMisoPad:src: caps = video/x-raw, format=(string)NV12, width=(int)2592, height=(int)1944, framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)2592, height=(int)1944, framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)2592, height=(int)1944, framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)2592, height=(int)1944, framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)2592, height=(int)1944, framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstTIOVXMultiScaler:tiovxmultiscaler0.GstTIOVXMultiScalerPad:src_0: caps = video/x-raw, format=(string)NV12, width=(int)1440, height=(int)1080, framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter2.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)1440, height=(int)1080, framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstKMSSink:kmssink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1440, height=(int)1080, framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter2.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1440, height=(int)1080, framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstTIOVXMultiScaler:tiovxmultiscaler0.GstTIOVXMultiScalerPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)2592, height=(int)1944, framerate=(fraction)30/1
    Redistribute latency...
    ^Chandling interrupt.
    Interrupt: Stopping pipeline ...
    Execution ended after 0:00:13.783942780
    Setting pipeline to NULL ...
    Freeing pipeline ...
      5243.403710 s:  VX_ZONE_INIT:[tivxHostDeInitLocal:115] De-Initialization Done for HOST !!!
      5243.408942 s:  VX_ZONE_INIT:[tivxDeInitLocal:193] De-Initialization Done !!!
    APP: Deinit ... !!!
    REMOTE_SERVICE: Deinit ... !!!
    REMOTE_SERVICE: Deinit ... Done !!!
    IPC: Deinit ... !!!
    IPC: DeInit ... Done !!!
    MEM: Deinit ... !!!
    DDR_SHARED_MEM: Alloc's: 35 alloc's of 143494546 bytes 
    DDR_SHARED_MEM: Free's : 35 free's  of 143494546 bytes 
    DDR_SHARED_MEM: Open's : 0 allocs  of 0 bytes 
    MEM: Deinit ... Done !!!
    APP: Deinit ... Done !!!
    

    Now the issue is similar to raw image capture mentioned above,
    Every time I couldn't run the stream successfully. Once a successful streaming is ended, then it is taking a minute or two get a successful streaming again. Successful streaming means where I can see video on the display. Other times, the gstreamer pipeline is on, but gstreamer clock is not running and no video on the display.

    root@am62axx-evm:/opt/edgeai-gst-apps# gst-launch-1.0 -v v4l2src device=/dev/video3 io-mode=dmabuf-import ! video/x-bayer, width=2592, height=1944, framerate=30/1, format=bggr10 ! tiovxisp sink_0::device=/dev/v4l-subdev2 sensor-name="SENSOR_OV5647_RPI" dcc-isp-file=/opt/imaging/cust_sathiya/5MP/dcc_viss_2592x1944.bin sink_0::dcc-2a-file=/opt/imaging/cust_sathiya/5MP/dcc_2a_2592x1944.bin format-msb=9 ! video/x-raw, format=NV12, width=2592, height=1944, framerate=30/1 ! queue ! tiovxmultiscaler ! video/x-raw, format=NV12, width=1440, height=1080, framerate=30/1 ! kmssink driver-name=tidss
    APP: Init ... !!!
    MEM: Init ... !!!
    MEM: Initialized DMA HEAP (fd=6) !!!
    MEM: Init ... Done !!!
    IPC: Init ... !!!
    IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
      6254.605593 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
      6254.605752 s:  VX_ZONE_INIT:Enabled
      6254.605766 s:  VX_ZONE_ERROR:Enabled
      6254.605778 s:  VX_ZONE_WARNING:Enabled
      6254.607266 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
      6254.607840 s:  VX_ZONE_INIT:[tivxHostInitLocal:101] Initialization Done for HOST !!!
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    /GstPipeline:pipeline0/GstKMSSink:kmssink0: display-width = 1920
    /GstPipeline:pipeline0/GstKMSSink:kmssink0: display-height = 1080
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-bayer, width=(int)2592, height=(int)1944, framerate=(fraction)30/1, format=(string)bggr10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-bayer, width=(int)2592, height=(int)1944, framerate=(fraction)30/1, format=(string)bggr10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    /GstPipeline:pipeline0/GstTIOVXISP:tiovxisp0.GstTIOVXIspPad:sink_0: caps = video/x-bayer, width=(int)2592, height=(in[ 6248.878930] v4l2_get_link_freq: Link frequency estimated using pixel rate: result might be inaccurate
    t)1944, framerate=(fraction)30/1, format=(string)bggr10, interla[ 6248.892374] v4l2_get_link_freq: Consider implementing support for V4L2_CID_LINK_FREQ in the transmitter driver
    ce-mode=(string)progressive, colorimetry=(string)2:4:7:1
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-bayer, width=(int)2592, height=(int)1944, framerate=(fraction)30/1, format=(string)bggr10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    New clock: GstSystemClock
    
    

  • Today I successfully able to stream to display in 1920x1080 as well as 2592x1944.

    Wonderful!

    Now the issue is similar to raw image capture mentioned above,
    Every time I couldn't run the stream successfully. Once a successful streaming is ended, then it is taking a minute or two get a successful streaming again.

    I haven't seen this. Did you build the SDK from Yocto or use the release from ti.com https://www.ti.com/tool/PROCESSOR-SDK-AM62A?

    Can you try to use a fixed time of streaming, for example, by adding "num-buffers=100" after v4l2src in the gstreamer pipeline? This will allow the pipeline to stop normally. See if that makes any difference. This will give us some more clues.

    Regards,

    Jianzhong

  • Hi Jianzhong Xu,

    I built the SDK from yocto and made changes in the tiovx_sensor_module.c & gsttiovxisp.c while build is in the evm (there is a provision in yocto to change prior itself though).

    by adding "num-buffers=100"

    The same issue continues.

    root@am62axx-evm:/opt/edgeai-gst-apps# gst-launch-1.0 -v v4l2src device=/dev/video3 io-mode=dmabuf-import num-buffers=100 ! video/x-bayer, width=2592, height=1944, framerate=30/1, format=bggr10 ! tiovxisp sink_0::device=/dev/v4l-subdev2 sensor-name="SENSOR_OV5647_RPI" dcc-isp-file=/opt/imaging/cust_sathiya/5MP/dcc_viss_2592x1944.bin sink_0::dcc-2a-file=/opt/imaging/cust_sathiya/5MP/dcc_2a_2592x1944.bin format-msb=9 ! video/x-raw, format=NV12, width=2592, height=1944, framerate=30/1 ! queue ! tiovxmultiscaler ! video/x-raw, format=NV12, width=1440, height=1080, framerate=30/1 ! kmssink driver-name=tidss
    APP: Init ... !!!
    MEM: Init ... !!!
    MEM: Initialized DMA HEAP (fd=6) !!!
    MEM: Init ... Done !!!
    IPC: Init ... !!!
    IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
      1041.724261 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
      1041.726707 s:  VX_ZONE_INIT:Enabled
      1041.726758 s:  VX_ZONE_ERROR:Enabled
      1041.726770 s:  VX_ZONE_WARNING:Enabled
      1041.729264 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
      1041.731019 s:  VX_ZONE_INIT:[tivxHostInitLocal:101] Initialization Done for HOST !!!
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    /GstPipeline:pipeline0/GstKMSSink:kmssink0: display-width = 1920
    /GstPipeline:pipeline0/GstKMSSink:kmssink0: display-height = 1080
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-bayer, width=(int)2592, height=(int)1944, framerate=(fraction)30/1, format=(string)bggr10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-bayer, width=(int)2592, height=(int)1944, framerate=(fraction)30/1, format=(string)bggr10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    /GstPipeline:pipeline0/GstTIOVXISP:tiovxisp0.GstTIOVXIspPad:sink_0: caps = video/x-bayer, [   27.643126] v4l2_get_link_freq: Link frequency estimated using pixel rate: result might be inaccurate
    width=(int)2592, height=(int)1944, framerate=(fraction)30/1, for[   27.655083] v4l2_get_link_freq: Consider implementing support for V4L2_CID_LINK_FREQ in the transmitter driver
    mat=(string)bggr10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-bayer, width=(int)2592, height=(int)1944, framerate=(fraction)30/1, format=(string)bggr10, interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1
    

  • Hello 

    v4l2-ctl -d /dev/video3 --verbose --set-fmt-video=width=1920,height=1080  --stream-mmap --stream-count=1 –stream-to=raw10.raw



    Even if i capture using v4l2-ctl same issue, it is capturing at very random time

    Regards,

    Udhayamoorthi Ramasamy

  • I built the SDK from yocto and made changes in the tiovx_sensor_module.c & gsttiovxisp.c while build is in the evm

    Can you try the SDK 9.1 release from https://www.ti.com/tool/PROCESSOR-SDK-AM62A#downloads? Click "Download options" as below:

    Then download the WIC image:

    tisdk-edgeai-image-am62axx-evm.wic.xz  — 916980 K

    Flash an SD card using this image and then make same changes as you did with the Yocto build. See if this works without any issue. This can help us understand if the issues you're seeing only happen with your Yocto build.

    Regards,

    Jianzhong 

  • Hi Jianzhong Xu,

    I tried the direct downloaded build from the internet. Still the issue is same. Meanwhile I observed a thing,

    #OBSERVATION 01
    The file size of .ko files of all the camera in the yocto (cd tisdk/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/linux-ti-staging/6.1.46+gitAUTOINC+247b2535b2-r0b.arago5_tisdk_2_edgeai_0_edgeai_7/build/drivers/media/i2c/) is approx. 100KB. While the file size in the flashed build is ~25KB (Both downloaded and flashed yocto image)

    #OBSERCATION 02
    v4l-subdev control commands are not working during streaming. Is the ISP taking control of it? If so, it is OK. 

    root@am62axx-evm:/opt/edgeai-gst-apps# v4l2-ctl -d /dev/v4l-subdev2 -L                 
    
    User Controls
    
            white_balance_automatic 0x0098090c (bool)   : default=0 value=0
                           exposure 0x00980911 (int)    : min=4 max=1964 step=1 default=1000 value=1964
                     gain_automatic 0x00980912 (bool)   : default=0 value=0
    
    Camera Controls
    
                      auto_exposure 0x009a0901 (menu)   : min=0 max=1 default=1 value=0 (Auto Mode)
    				0: Auto Mode
    				1: Manual Mode
    
    Image Source Controls
    
                  vertical_blanking 0x009e0901 (int)    : min=4 max=30823 step=1 default=24 value=24
                horizontal_blanking 0x009e0902 (int)    : min=252 max=252 step=1 default=252 value=252 flags=read-only
                      analogue_gain 0x009e0903 (int)    : min=16 max=1023 step=1 default=32 value=1023
    
    Image Processing Controls
    
                         pixel_rate 0x009f0902 (int64)  : min=87500000 max=87500000 step=1 default=87500000 value=87500000 flags=read-only
    root@am62axx-evm:/opt/edgeai-gst-apps# v4l2-ctl -d /dev/v4l-subdev2 -c analogue_gain=32  
    root@am62axx-evm:/opt/edgeai-gst-apps# v4l2-ctl -d /dev/v4l-subdev2 -C analogue_gain
    analogue_gain: 1023
    root@am62axx-evm:/opt/edgeai-gst-apps# v4l2-ctl -d /dev/v4l-subdev2 -c analogue_gain=500
    root@am62axx-evm:/opt/edgeai-gst-apps# v4l2-ctl -d /dev/v4l-subdev2 -C analogue_gain
    analogue_gain: 1023
    root@am62axx-evm:/opt/edgeai-gst-apps# 
    

    ** Note: All the situation IMX219 is working totally fine.

  • All the situation IMX219 is working totally fine.

    Ok. That's good to know. Let me try if I can reproduce the OV5647 issue on my side. I'll get back to you early next week.

    Regards,

    Jianzhong

  • Hello,

    We observed that when streaming on the AM62A3 processor, this issue occurs, but when using the same build on the AM62A7 processor, we haven't encountered any problems.

    Regards,
    Udhayamoorthi Ramasamy

  • Hi Udhayamoorthi ,

    Thanks for the additional information. What is the exact part number of your AM62A3?

    Regards,

    Jianzhong

  • Yes sure.

    The exact part number of the board is AM62A3SMSIAMBQ1 

    Regards,

    Udhayamoorthi Ramasamy

  • I couldn't find that part number. All AM62A3-Q1 parts are listed here: https://www.ti.com/product/AM62A3-Q1.

    Can you double check the part number?

  • Sorry! i think i have sent you the different part number.

    This is the exact part num AM62A34ASMS1AMBRQI

  • Hello Jianzhong Xu,

    Any updates on this?

  • Hello Udhayamoorthi,

    I don't have any board with that specific part, and can't reproduce your problems. The main difference between that part and the part on the SK-AM62A-LP is the deep learning accelerator. 

    • On AM62A3x, the deep learning accelerator is 1TOPS
    • On AM62A7x, the deep learning accelerator is 2TOPS

    I don't think the less powerful deep learning accelerator would cause the problem you're seeing. Do you have two identical boards, one with AM62A3 and the other with AM62A7, or is it that your board is only based on AM62A3?

    Regards,

    Jianzhong