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.

[参考译文] AM67A:CSI0 在第一个打开的 VC_id 通道上有闪烁

Guru**** 2847400 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1635447/am67a-csi0-has-flicker-on-first-open-vc_id-channel

器件型号: AM67A

您好、

我正在尝试找出仅来自 csi0 第一个虚拟通道的闪烁的根本原因。

我一次可以打开 4 个信道、其中 3 个信道没有闪烁。 如果我只打开 2 个通道、例如 VC_id 2/3、则 VC_id 2 将发生闪烁。 有人以前见过这种情况吗?

这与我在上面提到的相关问题相反。 基本上、帧会提前结束、而不是延迟开始。
我在一个红色框中突出显示了差异。 这种情况大约每 30 秒发生一次、但有时更频繁。
我们正在使用 SDK 11 以及最新的 cdns_csi2rx 补丁。
am67a_csi0_shift.png
e2e.ti.com/.../am67a_5F00_csi0_5F00_flicker.mp4

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Evan:

    您是否愿意分享“media-ctl"输出“输出?

    谢谢你。

    建中

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的建中:

    请在下面找到输出:
    无论我使用什么分辨率、闪烁都会发生、我只能打开一个流、但它仍然存在问题。

    media-ctl -p
    Media controller API version 6.12.43
    
    Media device information
    ------------------------
    driver          j721e-csi2rx
    model           TI-CSI2RX
    serial
    bus info        platform:30102000.ticsi2rx
    hw revision     0x1
    driver version  6.12.43
    
    Device topology
    - entity 1: 30102000.ticsi2rx (6 pads, 6 links, 4 routes)
                type V4L2 subdev subtype Unknown flags 0
                device node name /dev/v4l-subdev0
            routes:
                    0/0 -> 1/0 [ACTIVE]
                    0/1 -> 2/0 [ACTIVE]
                    0/2 -> 3/0 [ACTIVE]
                    0/3 -> 4/0 [ACTIVE]
            pad0: SINK
                    [stream:0 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb ycbcr:601 quantization:full-range]
                    [stream:1 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb ycbcr:601 quantization:full-range]
                    [stream:2 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb ycbcr:601 quantization:full-range]
                    [stream:3 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb ycbcr:601 quantization:full-range]
                    <- "cdns_csi2rx.30101000.csi-bridge":1 [ENABLED,IMMUTABLE]
            pad1: SOURCE
                    [stream:0 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb ycbcr:601 quantization:full-range]
                    -> "30102000.ticsi2rx context 1":0 [ENABLED,IMMUTABLE]
            pad2: SOURCE
                    [stream:0 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb ycbcr:601 quantization:full-range]
                    -> "30102000.ticsi2rx context 2":0 [ENABLED,IMMUTABLE]
            pad3: SOURCE
                    [stream:0 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb ycbcr:601 quantization:full-range]
                    -> "30102000.ticsi2rx context 3":0 [ENABLED,IMMUTABLE]
            pad4: SOURCE
                    [stream:0 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb ycbcr:601 quantization:full-range]
                    -> "30102000.ticsi2rx context 4":0 [ENABLED,IMMUTABLE]
            pad5: SOURCE
                    -> "30102000.ticsi2rx context 5":0 [ENABLED,IMMUTABLE]
    
    - entity 8: cdns_csi2rx.30101000.csi-bridge (5 pads, 2 links, 4 routes)
                type V4L2 subdev subtype Unknown flags 0
                device node name /dev/v4l-subdev1
            routes:
                    0/0 -> 1/0 [ACTIVE]
                    0/1 -> 1/1 [ACTIVE]
                    0/2 -> 1/2 [ACTIVE]
                    0/3 -> 1/3 [ACTIVE]
            pad0: SINK
                    [stream:0 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb ycbcr:601 quantization:full-range]
                    [stream:1 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb ycbcr:601 quantization:full-range]
                    [stream:2 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb ycbcr:601 quantization:full-range]
                    [stream:3 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb ycbcr:601 quantization:full-range]
                    <- "max96724 4-002e":0 [ENABLED,IMMUTABLE]
            pad1: SOURCE
                    [stream:0 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb ycbcr:601 quantization:full-range]
                    [stream:1 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb ycbcr:601 quantization:full-range]
                    [stream:2 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb ycbcr:601 quantization:full-range]
                    [stream:3 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb ycbcr:601 quantization:full-range]
                    -> "30102000.ticsi2rx":0 [ENABLED,IMMUTABLE]
            pad2: SOURCE
            pad3: SOURCE
            pad4: SOURCE
    
    - entity 14: max96724 4-002e (5 pads, 5 links, 4 routes)
                 type V4L2 subdev subtype Unknown flags 0
                 device node name /dev/v4l-subdev2
            routes:
                    1/0 -> 0/0 [ACTIVE]
                    2/0 -> 0/1 [ACTIVE]
                    3/0 -> 0/2 [ACTIVE]
                    4/0 -> 0/3 [ACTIVE]
            pad0: SOURCE
                    [stream:0 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
                    [stream:1 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
                    [stream:2 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
                    [stream:3 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
                    -> "cdns_csi2rx.30101000.csi-bridge":0 [ENABLED,IMMUTABLE]
            pad1: SINK
                    [stream:0 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
                    <- "tevs 13-0039":0 [ENABLED,IMMUTABLE]
            pad2: SINK
                    [stream:0 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
                    <- "tevs 14-003a":0 [ENABLED,IMMUTABLE]
            pad3: SINK
                    [stream:0 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
                    <- "tevs 15-003b":0 [ENABLED,IMMUTABLE]
            pad4: SINK
                    [stream:0 fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
                    <- "tevs 16-003c":0 [ENABLED,IMMUTABLE]
    
    - entity 22: tevs 13-0039 (1 pad, 1 link, 0 routes)
                 type V4L2 subdev subtype Sensor flags 0
                 device node name /dev/v4l-subdev3
            pad0: SOURCE
                    [stream:0 fmt:UYVY8_1X16/1920x1080@1/60 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range
                     crop.bounds:(0,0)/1920x1080
                     crop:(0,0)/1920x1080]
                    -> "max96724 4-002e":1 [ENABLED,IMMUTABLE]
    
    - entity 26: tevs 14-003a (1 pad, 1 link, 0 routes)
                 type V4L2 subdev subtype Sensor flags 0
                 device node name /dev/v4l-subdev4
            pad0: SOURCE
                    [stream:0 fmt:UYVY8_1X16/1920x1080@1/60 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range
                     crop.bounds:(0,0)/1920x1080
                     crop:(0,0)/1920x1080]
                    -> "max96724 4-002e":2 [ENABLED,IMMUTABLE]
    
    - entity 30: tevs 15-003b (1 pad, 1 link, 0 routes)
                 type V4L2 subdev subtype Sensor flags 0
                 device node name /dev/v4l-subdev5
            pad0: SOURCE
                    [stream:0 fmt:UYVY8_1X16/1920x1080@1/60 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range
                     crop.bounds:(0,0)/1920x1080
                     crop:(0,0)/1920x1080]
                    -> "max96724 4-002e":3 [ENABLED,IMMUTABLE]
    
    - entity 34: tevs 16-003c (1 pad, 1 link, 0 routes)
                 type V4L2 subdev subtype Sensor flags 0
                 device node name /dev/v4l-subdev6
            pad0: SOURCE
                    [stream:0 fmt:UYVY8_1X16/1920x1080@1/60 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range
                     crop.bounds:(0,0)/1920x1080
                     crop:(0,0)/1920x1080]
                    -> "max96724 4-002e":4 [ENABLED,IMMUTABLE]
    
    - entity 40: 30102000.ticsi2rx context 1 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video2
            pad0: SINK
                    <- "30102000.ticsi2rx":1 [ENABLED,IMMUTABLE]
    
    - entity 46: 30102000.ticsi2rx context 2 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video3
            pad0: SINK
                    <- "30102000.ticsi2rx":2 [ENABLED,IMMUTABLE]
    
    - entity 52: 30102000.ticsi2rx context 3 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video4
            pad0: SINK
                    <- "30102000.ticsi2rx":3 [ENABLED,IMMUTABLE]
    
    - entity 58: 30102000.ticsi2rx context 4 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video5
            pad0: SINK
                    <- "30102000.ticsi2rx":4 [ENABLED,IMMUTABLE]
    
    - entity 64: 30102000.ticsi2rx context 5 (1 pad, 1 link)
                 type Node subtype V4L flags 0
                 device node name /dev/video6
            pad0: SINK
                    <- "30102000.ticsi2rx":5 [ENABLED,IMMUTABLE]
    


    似乎如果我将通道配置保持为仅 2 个通道、那么它可以防止问题发生。 我或许能够调整链路速率、使其适用于我们的应用... 不过、这并不理想。

    我设法使用 2 个数据通道找到了一个链路速率组合、这足以满足我们的应用需求。