TC358743 cannot get frame - frame start syncpt timeout!0

Hello,

I am trying to get an HDMI-CSI grabber based on the TC358743 chip on a jetson nano dev kit (B01) up and running for some time. Using forum topics that then referred me to repositories on github, I managed to get the driver working and the device is visible in v4l2 (as /dev/video0).

Unfortunately every time I try to get a frame I get an error in dmesg: frame start syncpt timeout!0

The steps I took to solve the problem:

  • Different resolutions: 640x480, 1280x720, 1920x1080.
  • Different video source: I’m mainly trying to capture the signal that my Ubuntu PC sends (I’ve been testing different resolutions via xrandr). I also tried to run it through Matrix HDMI, which sends 1080p 60hz.
  • I tried using different EDIDs. The only thing that changed was the resolutions that Ubuntu can sent to “monitor” ← grabber (xrandr -q)
  • I used different versions of the driver code and dtb files from github (I will post below).

Dmesg output

[    5.080264] tc358743 6-000f: after tc358743_initial_setup
[    5.080269] tc358743 6-000f: tc358743_set_csi_color_space: YCbCr 422 16-bit
[    5.110763] tc358743 6-000f: before tc358743_s_dv_timings
[    5.110767] tc358743 6-000f: tc358743_s_dv_timings
[    5.110771] tc358743 6-000f: before tc358743_init_interrupts, irq: 137
[    5.122974] tc358743 6-000f: tc358743_get_edid i2c_rd return 0
[    5.122978] tc358743 6-000f: tc358743_get_edid done
[    5.122980] tc358743 6-000f: -----Chip status-----
[    5.124841] tc358743 6-000f: Chip ID:0x00
[    5.125625] tc358743 6-000f: Chip revision:0x00
[    5.125629] tc358743 6-000f: Reset: IR: 1, CEC: 1, CSI TX: 0, HDMI: 0
[    5.125631] tc358743 6-000f: Sleep mode: off
[    5.125634] tc358743 6-000f: Cable detected (+5V power): yes
[    5.126378] tc358743 6-000f: DDC lines enabled: yes
[    5.128116] tc358743 6-000f: Hotplug enabled: no
[    5.128867] tc358743 6-000f: Hotplug ctl: no
[    5.130125] tc358743 6-000f: CEC enabled: no
[    5.130128] tc358743 6-000f: -----Signal status-----
[    5.130130] tc358743 6-000f: TMDS signal detected: no
[    5.130132] tc358743 6-000f: Stable sync signal: no
[    5.130135] tc358743 6-000f: PHY PLL locked: no
[    5.130137] tc358743 6-000f: PHY DE detected: no
[    5.132458] tc358743 6-000f: tc358743_get_detected_timings: no valid signal
[    5.132463] tc358743 6-000f: No video detected
[    5.132468] tc358743 6-000f: Configured format: 0x0p0.0 (0x0)
[    5.132471] tc358743 6-000f: horizontal: fp = 0, -sync = 0, bp = 0
[    5.132474] tc358743 6-000f: vertical: fp = 0, -sync = 0, bp = 0
[    5.132477] tc358743 6-000f: pixelclock: 0
[    5.132480] tc358743 6-000f: flags (0x0):
[    5.132482] tc358743 6-000f: standards (0x0):
[    5.132484] tc358743 6-000f: -----CSI-TX status-----
[    5.132487] tc358743 6-000f: Lanes needed: 0
[    5.133543] tc358743 6-000f: Lanes in use: 1
[    5.135377] tc358743 6-000f: Waiting for particular sync signal: no
[    5.148079] tc358743 6-000f: Transmit mode: no
[    5.149429] tc358743 6-000f: Receive mode: yes
[    5.150959] tc358743 6-000f: Stopped: yes
[    5.150963] tc358743 6-000f: Color space: YCbCr 422 16-bit
[    5.151826] tc358743 6-000f: -----DVI-D status-----
[    5.151830] tc358743 6-000f: HDCP encrypted content: no
[    5.151833] tc358743 6-000f: Input color space: RGB full range
[    5.250527] tc358743 6-000f: after tc358743_init_interrupts, irq: 137
[    5.250531] tc358743 6-000f: IQR request
[    5.253806] tc358743 6-000f: err, 0
[    5.286949] tc358743 6-000f: tc358743_enable_interrupts: cable connected = 1
[    5.320504] tc358743 6-000f: tc358743 found @0xf (Tegra I2C adapter)
[    5.320510] tc358743 6-000f: tc358743_s_edid, pad 0, start block 0, blocks 2
[    5.320513] tc358743 6-000f: tc358743_disable_edid:
[    5.367892] tc358743 6-000f: tc358743_enable_edid
[    5.367897] tc358743 6-000f: tc358743_enable_edid:
[    5.367902] tc358743 6-000f: tc358743_enable_interrupts: cable connected = 1
[    5.373570] tc358743 6-000f: tc358743_enable_edid completed successfully
[    5.373574] tc358743 6-000f: tc358743_s_edid completed successfully
[    5.373578] tc358743 6-000f: Calling tc358743_g_edid
[    5.380605] tc358743 6-000f: EDID_RAM has 256 byte from: 0x8c00 to 0x8d00
[    5.380610] tc358743 6-000f: tc358743_g_edid completed successfully
[    5.381944] Mass Storage Function, version: 2009/09/11
[    5.381950] LUN: removable file: (no medium)
[    5.390086] using random self ethernet address
[    5.390482] tc358743 6-000f: tc358743_get_edid i2c_rd return 0
[    5.390484] tc358743 6-000f: tc358743_get_edid done
[    5.390486] tc358743 6-000f: -----Chip status-----
[    5.396883] tc358743 6-000f: Chip ID:0x00
[    5.402281] using random host ethernet address
[    5.404417] tc358743 6-000f: Chip revision:0x00
[    5.404419] tc358743 6-000f: Reset: IR: 1, CEC: 1, CSI TX: 0, HDMI: 0
[    5.404421] tc358743 6-000f: Sleep mode: off
[    5.404423] tc358743 6-000f: Cable detected (+5V power): yes
[    5.405462] tc358743 6-000f: DDC lines enabled: yes
[    5.406364] tc358743 6-000f: Hotplug enabled: no
[    5.410377] tc358743 6-000f: Hotplug ctl: no
[    5.416641] tc358743 6-000f: CEC enabled: no
[    5.416645] tc358743 6-000f: -----Signal status-----
[    5.416648] tc358743 6-000f: TMDS signal detected: no
[    5.416650] tc358743 6-000f: Stable sync signal: no
[    5.416652] tc358743 6-000f: PHY PLL locked: no
[    5.416654] tc358743 6-000f: PHY DE detected: no
[    5.417910] tc358743 6-000f: tc358743_get_detected_timings: no valid signal
[    5.417914] tc358743 6-000f: No video detected
[    5.417919] tc358743 6-000f: Configured format: 0x0p0.0 (0x0)
[    5.417922] tc358743 6-000f: horizontal: fp = 0, -sync = 0, bp = 0
[    5.417925] tc358743 6-000f: vertical: fp = 0, -sync = 0, bp = 0
[    5.417928] tc358743 6-000f: pixelclock: 0
[    5.417931] tc358743 6-000f: flags (0x0):
[    5.417933] tc358743 6-000f: standards (0x0):
[    5.417935] tc358743 6-000f: -----CSI-TX status-----
[    5.417938] tc358743 6-000f: Lanes needed: 0
[    5.419154] tc358743 6-000f: Lanes in use: 1
[    5.420616] tc358743 6-000f: Waiting for particular sync signal: no
[    5.422122] tc358743 6-000f: Transmit mode: no
[    5.423293] tc358743 6-000f: Receive mode: yes
[    5.424151] tc358743 6-000f: Stopped: yes
[    5.424154] tc358743 6-000f: Color space: YCbCr 422 16-bit
[    5.427711] tc358743 6-000f: -----DVI-D status-----
[    5.427716] tc358743 6-000f: HDCP encrypted content: no
[    5.427718] tc358743 6-000f: Input color space: RGB full range
[    5.428522] tc358743 6-000f: Probe complete
[    5.470823] tc358743 6-000f: tc358743_delayed_work_enable_hotplug:
[    5.951082] rndis0: HOST MAC b2:9b:ae:e5:de:5c
[    5.951302] rndis0: MAC b2:9b:ae:e5:de:5d
[    5.954678] usb0: HOST MAC b2:9b:ae:e5:de:5e
[    5.954711] usb0: MAC b2:9b:ae:e5:de:5f
[    5.954732] tegra-xudc-new 700d0000.xudc: exiting ELPG
[    5.957283] tegra-xudc-new 700d0000.xudc: exiting ELPG done
[    5.957303] tegra-xudc-new 700d0000.xudc: ep 0 (type: 0, dir: out) enabled
[    5.957379] tegra-xudc-new 700d0000.xudc: entering ELPG
[    5.957723] tegra-xudc-new 700d0000.xudc: entering ELPG done
[    5.957752] tegra-xudc-new 700d0000.xudc: exiting ELPG
[    5.958428] tegra-xudc-new 700d0000.xudc: exiting ELPG done
[    5.958441] tegra-xudc-new 700d0000.xudc: entering ELPG
[    5.958678] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.958826] tegra-xudc-new 700d0000.xudc: entering ELPG done
[    5.963798] l4tbr0: port 1(rndis0) entered blocking state
[    5.963803] l4tbr0: port 1(rndis0) entered disabled state
[    5.964109] device rndis0 entered promiscuous mode
[    5.969313] eth0: 0xffffff800aabd000, 00:04:4b:ec:2f:9f, IRQ 407
[    6.027085] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    6.028430] IPv6: ADDRCONF(NETDEV_UP): rndis0: link is not ready
[    6.035433] l4tbr0: port 2(usb0) entered blocking state
[    6.035439] l4tbr0: port 2(usb0) entered disabled state
[    6.035617] device usb0 entered promiscuous mode
[    6.049204] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[    6.438902] zram: Added device: zram0
[    6.439338] zram: Added device: zram1
[    6.439740] zram: Added device: zram2
[    6.440163] zram: Added device: zram3
[    6.482285] zram0: detected capacity change from 0 to 519581696
[    6.523140] Adding 507400k swap on /dev/zram0.  Priority:5 extents:1 across:507400k SS
[    6.530943] zram1: detected capacity change from 0 to 519581696
[    6.542124] Adding 507400k swap on /dev/zram1.  Priority:5 extents:1 across:507400k SS
[    6.559249] zram2: detected capacity change from 0 to 519581696
[    6.586207] Adding 507400k swap on /dev/zram2.  Priority:5 extents:1 across:507400k SS
[    6.593144] zram3: detected capacity change from 0 to 519581696
[    6.613894] Adding 507400k swap on /dev/zram3.  Priority:5 extents:1 across:507400k SS
[    8.141241] Bridge firewalling registered
[    8.179383] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    8.491390] Netfilter messages via NETLINK v0.30.
[    8.495093] ctnetlink v0.93: registering with nfnetlink.
[    8.835870] IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
[    8.901715] tegradc tegradc.0: blank - powerdown
[    8.901725] tegradc tegradc.1: blank - powerdown
[    9.913446] fuse init (API version 7.26)
[   10.130819] r8168: eth0: link up
[   10.130849] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   12.250681] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   12.250691] Bluetooth: BNEP socket layer initialized
[   12.614640] tegra210-i2s tegra210-i2s.3: Failed at I2S4 DAP RX sw reset
[   12.622357] tegra210-i2s tegra210-i2s.3: ASoC: PRE_PMU: I2S4 DAP RX event failed: -22
[   12.992796] tegra210-i2s tegra210-i2s.3: Failed at I2S4 DAP RX sw reset
[   12.999432] tegra210-i2s tegra210-i2s.3: ASoC: PRE_PMU: I2S4 DAP RX event failed: -22
[   13.224645] tegra210-i2s tegra210-i2s.3: Failed at I2S4 DAP TX sw reset
[   13.231271] tegra210-i2s tegra210-i2s.3: ASoC: PRE_PMU: I2S4 DAP TX event failed: -22
[   13.473407] tegra210-i2s tegra210-i2s.3: Failed at I2S4 DAP RX sw reset
[   13.480044] tegra210-i2s tegra210-i2s.3: ASoC: PRE_PMU: I2S4 DAP RX event failed: -22
[   13.575303] tegra210-i2s tegra210-i2s.3: Failed at I2S4 DAP RX sw reset
[   13.581941] tegra210-i2s tegra210-i2s.3: ASoC: PRE_PMU: I2S4 DAP RX event failed: -22
[   13.679302] tegra210-i2s tegra210-i2s.3: Failed at I2S4 DAP TX sw reset
[   13.685941] tegra210-i2s tegra210-i2s.3: ASoC: PRE_PMU: I2S4 DAP TX event failed: -22
[   13.895888] tegra210-i2s tegra210-i2s.3: Failed at I2S4 DAP RX sw reset
[   13.902519] tegra210-i2s tegra210-i2s.3: ASoC: PRE_PMU: I2S4 DAP RX event failed: -22
[   13.998015] tegra210-i2s tegra210-i2s.3: Failed at I2S4 DAP RX sw reset
[   14.004674] tegra210-i2s tegra210-i2s.3: ASoC: PRE_PMU: I2S4 DAP RX event failed: -22
[   14.119939] tegra210-i2s tegra210-i2s.3: Failed at I2S4 DAP TX sw reset
[   14.126600] tegra210-i2s tegra210-i2s.3: ASoC: PRE_PMU: I2S4 DAP TX event failed: -22
[   14.355329] tegra210-i2s tegra210-i2s.3: Failed at I2S4 DAP RX sw reset
[   14.362021] tegra210-i2s tegra210-i2s.3: ASoC: PRE_PMU: I2S4 DAP RX event failed: -22
[   33.907110] vdd-fan: disabling
[   33.907116] vdd-usb-vbus: disabling
[   33.907119] vdd-usb-vbus2: disabling
[   33.907132] vddio-sdmmc3-ap: disabling
[   33.907269] avdd-io-edp-1v05: disabling
[   33.907274] vdd-usb-hub-en: disabling
[  340.483569] tc358743 6-000f: Calling tc358743_g_input_status
[  340.484103] tc358743 6-000f: tc358743_g_input_status: status =0x0
[  340.484106] tc358743 6-000f: Now getting and setting dv timings
[  340.484110] tc358743 6-000f: Calling tc358743_query_dv_timings
[  340.487517] tc358743 6-000f: 497:tc358743_get_detected_timings: width 1920 heigh 1080 interlaced 0
[  340.487523] tc358743 6-000f: tc358743_query_dv_timings: 1920x1080p60.0 (2200x1125)
[  340.487526] tc358743 6-000f: tc358743_s_dv_timings
[  340.488388] tc358743 6-000f: tc358743_enum_frame_size()
[  340.488393] tc358743 6-000f: fse->code 8207, index 0
[  340.488395] tc358743 6-000f: ----------------------------------------
[  340.488398] tc358743 6-000f: Trying to find frmfmt that matches fse->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207, MEDIA_BUS_FMT_RGB888_1X24: 4106)
[  340.488400] tc358743 6-000f: Code ok
[  340.488402] tc358743 6-000f: Index ok
[  340.488405] tc358743 6-000f: !!!!!!!!! tc358743_enum_frame_size() complete successfully, width: 1280, height: 720
[  340.488410] tc358743 6-000f: tc358743_enum_frame_interval()
[  340.488412] tc358743 6-000f: ----------------------------------------
[  340.488415] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  340.488417] tc358743 6-000f: Code ok
[  340.488422] tc358743 6-000f: Matched width 1280 and 1280, height 720 and 720
[  340.488424] tc358743 6-000f: w/h ok or end (i=0, num=2)
[  340.488426] tc358743 6-000f: i ok
[  340.488428] tc358743 6-000f: index ok
[  340.488431] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/30
[  340.488440] tc358743 6-000f: tc358743_enum_frame_interval()
[  340.488442] tc358743 6-000f: ----------------------------------------
[  340.488445] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  340.488447] tc358743 6-000f: Code ok
[  340.488450] tc358743 6-000f: Matched width 1280 and 1280, height 720 and 720
[  340.488452] tc358743 6-000f: w/h ok or end (i=0, num=2)
[  340.488454] tc358743 6-000f: i ok
[  340.488456] tc358743 6-000f: index ok
[  340.488458] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/50
[  340.488464] tc358743 6-000f: tc358743_enum_frame_interval()
[  340.488466] tc358743 6-000f: ----------------------------------------
[  340.488469] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  340.488471] tc358743 6-000f: Code ok
[  340.488474] tc358743 6-000f: Matched width 1280 and 1280, height 720 and 720
[  340.488476] tc358743 6-000f: w/h ok or end (i=0, num=2)
[  340.488478] tc358743 6-000f: i ok
[  340.488479] tc358743 6-000f: index ok
[  340.488482] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/60
[  340.488487] tc358743 6-000f: tc358743_enum_frame_interval()
[  340.488489] tc358743 6-000f: ----------------------------------------
[  340.488492] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  340.488494] tc358743 6-000f: Code ok
[  340.488497] tc358743 6-000f: Matched width 1280 and 1280, height 720 and 720
[  340.488499] tc358743 6-000f: w/h ok or end (i=0, num=2)
[  340.488501] tc358743 6-000f: i ok
[  340.488503] tc358743 6-000f: Error in tc358743_enum_frame_interval num framerates (3 outside 3)
[  340.497289] tc358743 6-000f: tc358743_enum_frame_size()
[  340.497294] tc358743 6-000f: fse->code 8207, index 1
[  340.497297] tc358743 6-000f: ----------------------------------------
[  340.497302] tc358743 6-000f: Trying to find frmfmt that matches fse->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207, MEDIA_BUS_FMT_RGB888_1X24: 4106)
[  340.497305] tc358743 6-000f: Code ok
[  340.497309] tc358743 6-000f: Index ok
[  340.497313] tc358743 6-000f: !!!!!!!!! tc358743_enum_frame_size() complete successfully, width: 1920, height: 1080
[  340.497318] tc358743 6-000f: tc358743_enum_frame_interval()
[  340.497322] tc358743 6-000f: ----------------------------------------
[  340.497326] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  340.497329] tc358743 6-000f: Code ok
[  340.497334] tc358743 6-000f: Matched width 1920 and 1920, height 1080 and 1080
[  340.497337] tc358743 6-000f: w/h ok or end (i=1, num=2)
[  340.497341] tc358743 6-000f: i ok
[  340.497344] tc358743 6-000f: index ok
[  340.497348] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/30
[  340.497354] tc358743 6-000f: tc358743_enum_frame_interval()
[  340.497358] tc358743 6-000f: ----------------------------------------
[  340.497362] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  340.497365] tc358743 6-000f: Code ok
[  340.497369] tc358743 6-000f: Matched width 1920 and 1920, height 1080 and 1080
[  340.497373] tc358743 6-000f: w/h ok or end (i=1, num=2)
[  340.497376] tc358743 6-000f: i ok
[  340.497379] tc358743 6-000f: index ok
[  340.497383] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/50
[  340.497388] tc358743 6-000f: tc358743_enum_frame_interval()
[  340.497391] tc358743 6-000f: ----------------------------------------
[  340.497395] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  340.497399] tc358743 6-000f: Code ok
[  340.497401] tc358743 6-000f: Matched width 1920 and 1920, height 1080 and 1080
[  340.497402] tc358743 6-000f: w/h ok or end (i=1, num=2)
[  340.497404] tc358743 6-000f: i ok
[  340.497405] tc358743 6-000f: index ok
[  340.497407] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/60
[  340.497412] tc358743 6-000f: tc358743_enum_frame_interval()
[  340.497414] tc358743 6-000f: ----------------------------------------
[  340.497416] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  340.497417] tc358743 6-000f: Code ok
[  340.497420] tc358743 6-000f: Matched width 1920 and 1920, height 1080 and 1080
[  340.497421] tc358743 6-000f: w/h ok or end (i=1, num=2)
[  340.497423] tc358743 6-000f: i ok
[  340.497425] tc358743 6-000f: Error in tc358743_enum_frame_interval num framerates (3 outside 3)
[  340.506318] tc358743 6-000f: tc358743_enum_frame_size()
[  340.506321] tc358743 6-000f: fse->code 8207, index 2
[  340.506323] tc358743 6-000f: ----------------------------------------
[  340.506326] tc358743 6-000f: Trying to find frmfmt that matches fse->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207, MEDIA_BUS_FMT_RGB888_1X24: 4106)
[  340.506327] tc358743 6-000f: Code ok
[  340.506330] tc358743 6-000f: Error in tc358743_enum_frame_size, 2 outside of num_frmfmt (2)
[  340.514771] tc358743 6-000f: tc358743_enum_frame_size()
[  340.514773] tc358743 6-000f: fse->code 4106, index 0
[  340.514775] tc358743 6-000f: ----------------------------------------
[  340.514777] tc358743 6-000f: Trying to find frmfmt that matches fse->code, code: 4106 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207, MEDIA_BUS_FMT_RGB888_1X24: 4106)
[  340.514779] tc358743 6-000f: Code ok
[  340.514781] tc358743 6-000f: Index ok
[  340.514783] tc358743 6-000f: !!!!!!!!! tc358743_enum_frame_size() complete successfully, width: 1280, height: 720
[  340.514787] tc358743 6-000f: tc358743_enum_frame_interval()
[  340.514789] tc358743 6-000f: ----------------------------------------
[  340.514791] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 4106 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  340.514793] tc358743 6-000f: Unexpected code (4106), UYUV: 1498831189, ABGR32: 875708738
[  340.525561] tc358743 6-000f: tc358743_enum_frame_size()
[  340.525564] tc358743 6-000f: fse->code 4106, index 1
[  340.525565] tc358743 6-000f: ----------------------------------------
[  340.525569] tc358743 6-000f: Trying to find frmfmt that matches fse->code, code: 4106 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207, MEDIA_BUS_FMT_RGB888_1X24: 4106)
[  340.525570] tc358743 6-000f: Code ok
[  340.525572] tc358743 6-000f: Index ok
[  340.525575] tc358743 6-000f: !!!!!!!!! tc358743_enum_frame_size() complete successfully, width: 1920, height: 1080
[  340.525579] tc358743 6-000f: tc358743_enum_frame_interval()
[  340.525581] tc358743 6-000f: ----------------------------------------
[  340.525583] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 4106 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  340.525586] tc358743 6-000f: Unexpected code (4106), UYUV: 1498831189, ABGR32: 875708738
[  340.533693] tc358743 6-000f: tc358743_enum_frame_size()
[  340.533697] tc358743 6-000f: fse->code 4106, index 2
[  340.533700] tc358743 6-000f: ----------------------------------------
[  340.533703] tc358743 6-000f: Trying to find frmfmt that matches fse->code, code: 4106 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207, MEDIA_BUS_FMT_RGB888_1X24: 4106)
[  340.533704] tc358743 6-000f: Code ok
[  340.533707] tc358743 6-000f: Error in tc358743_enum_frame_size, 2 outside of num_frmfmt (2)
[  340.544366] tc358743 6-000f: tc358743_enum_frame_size()
[  340.544369] tc358743 6-000f: fse->code 8207, index 0
[  340.544370] tc358743 6-000f: ----------------------------------------
[  340.544374] tc358743 6-000f: Trying to find frmfmt that matches fse->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207, MEDIA_BUS_FMT_RGB888_1X24: 4106)
[  340.544375] tc358743 6-000f: Code ok
[  340.544377] tc358743 6-000f: Index ok
[  340.544380] tc358743 6-000f: !!!!!!!!! tc358743_enum_frame_size() complete successfully, width: 1280, height: 720
[  340.544384] tc358743 6-000f: tc358743_enum_frame_interval()
[  340.544386] tc358743 6-000f: ----------------------------------------
[  340.544388] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  340.544390] tc358743 6-000f: Code ok
[  340.544393] tc358743 6-000f: Matched width 1280 and 1280, height 720 and 720
[  340.544395] tc358743 6-000f: w/h ok or end (i=0, num=2)
[  340.544397] tc358743 6-000f: i ok
[  340.544398] tc358743 6-000f: index ok
[  340.544401] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/30
[  340.544408] tc358743 6-000f: tc358743_enum_frame_interval()
[  340.544409] tc358743 6-000f: ----------------------------------------
[  340.544412] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  340.544414] tc358743 6-000f: Code ok
[  340.544417] tc358743 6-000f: Matched width 1280 and 1280, height 720 and 720
[  340.544419] tc358743 6-000f: w/h ok or end (i=0, num=2)
[  340.544420] tc358743 6-000f: i ok
[  340.544422] tc358743 6-000f: index ok
[  340.544424] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/50
[  340.544429] tc358743 6-000f: tc358743_enum_frame_interval()
[  340.544431] tc358743 6-000f: ----------------------------------------
[  340.544434] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  340.544435] tc358743 6-000f: Code ok
[  340.544438] tc358743 6-000f: Matched width 1280 and 1280, height 720 and 720
[  340.544439] tc358743 6-000f: w/h ok or end (i=0, num=2)
[  340.544441] tc358743 6-000f: i ok
[  340.544443] tc358743 6-000f: index ok
[  340.544445] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/60
[  340.544450] tc358743 6-000f: tc358743_enum_frame_interval()
[  340.544452] tc358743 6-000f: ----------------------------------------
[  340.544454] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  340.544456] tc358743 6-000f: Code ok
[  340.544458] tc358743 6-000f: Matched width 1280 and 1280, height 720 and 720
[  340.544460] tc358743 6-000f: w/h ok or end (i=0, num=2)
[  340.544462] tc358743 6-000f: i ok
[  340.544465] tc358743 6-000f: Error in tc358743_enum_frame_interval num framerates (3 outside 3)
[  340.553380] tc358743 6-000f: tc358743_enum_frame_size()
[  340.553383] tc358743 6-000f: fse->code 8207, index 1
[  340.553385] tc358743 6-000f: ----------------------------------------
[  340.553388] tc358743 6-000f: Trying to find frmfmt that matches fse->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207, MEDIA_BUS_FMT_RGB888_1X24: 4106)
[  340.553389] tc358743 6-000f: Code ok
[  340.553391] tc358743 6-000f: Index ok
[  340.553393] tc358743 6-000f: !!!!!!!!! tc358743_enum_frame_size() complete successfully, width: 1920, height: 1080
[  340.553397] tc358743 6-000f: tc358743_enum_frame_interval()
[  340.553399] tc358743 6-000f: ----------------------------------------
[  340.553402] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  340.553403] tc358743 6-000f: Code ok
[  340.553406] tc358743 6-000f: Matched width 1920 and 1920, height 1080 and 1080
[  340.553408] tc358743 6-000f: w/h ok or end (i=1, num=2)
[  340.553409] tc358743 6-000f: i ok
[  340.553411] tc358743 6-000f: index ok
[  340.553413] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/30
[  340.553420] tc358743 6-000f: tc358743_enum_frame_interval()
[  340.553422] tc358743 6-000f: ----------------------------------------
[  340.553424] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  340.553425] tc358743 6-000f: Code ok
[  340.553428] tc358743 6-000f: Matched width 1920 and 1920, height 1080 and 1080
[  340.553430] tc358743 6-000f: w/h ok or end (i=1, num=2)
[  340.553431] tc358743 6-000f: i ok
[  340.553433] tc358743 6-000f: index ok
[  340.553435] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/50
[  340.553439] tc358743 6-000f: tc358743_enum_frame_interval()
[  340.553441] tc358743 6-000f: ----------------------------------------
[  340.553444] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  340.553445] tc358743 6-000f: Code ok
[  340.553447] tc358743 6-000f: Matched width 1920 and 1920, height 1080 and 1080
[  340.553449] tc358743 6-000f: w/h ok or end (i=1, num=2)
[  340.553451] tc358743 6-000f: i ok
[  340.553452] tc358743 6-000f: index ok
[  340.553454] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/60
[  340.553458] tc358743 6-000f: tc358743_enum_frame_interval()
[  340.553460] tc358743 6-000f: ----------------------------------------
[  340.553462] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  340.553464] tc358743 6-000f: Code ok
[  340.553468] tc358743 6-000f: Matched width 1920 and 1920, height 1080 and 1080
[  340.553472] tc358743 6-000f: w/h ok or end (i=1, num=2)
[  340.553475] tc358743 6-000f: i ok
[  340.553479] tc358743 6-000f: Error in tc358743_enum_frame_interval num framerates (3 outside 3)
[  340.562194] tc358743 6-000f: tc358743_enum_frame_size()
[  340.562197] tc358743 6-000f: fse->code 8207, index 2
[  340.562199] tc358743 6-000f: ----------------------------------------
[  340.562202] tc358743 6-000f: Trying to find frmfmt that matches fse->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207, MEDIA_BUS_FMT_RGB888_1X24: 4106)
[  340.562204] tc358743 6-000f: Code ok
[  340.562207] tc358743 6-000f: Error in tc358743_enum_frame_size, 2 outside of num_frmfmt (2)
[  340.574187] tc358743 6-000f: Calling tc358743_get_fmt
[  340.574192] tc358743 6-000f: Here 6b, colorspace: 1
[  340.574194] tc358743 6-000f: get fmt complete
[  340.574196] tc358743 6-000f: format width 1920
[  340.574199] tc358743 6-000f: format height 1080
[  340.574201] tc358743 6-000f: fmt_code: 8207
[  340.574202] tc358743 6-000f: RGB888 code: 4106
[  340.574204] tc358743 6-000f: UYVY8 code: 8207
[  340.574451] tc358743 6-000f: Calling tc358743_get_fmt
[  340.574454] tc358743 6-000f: Here 6b, colorspace: 1
[  340.574457] tc358743 6-000f: get fmt complete
[  340.574459] tc358743 6-000f: format width 1920
[  340.574461] tc358743 6-000f: format height 1080
[  340.574464] tc358743 6-000f: fmt_code: 8207
[  340.574466] tc358743 6-000f: RGB888 code: 4106
[  340.574468] tc358743 6-000f: UYVY8 code: 8207
[  340.574471] tc358743 6-000f: enable_stream: disable
[  340.575133] tc358743 6-000f: 798:enable_stream: end
[  340.575662] tc358743 6-000f: tc358743_set_pll:
[  340.575665] tc358743 6-000f: tc358743_set_pll: updating PLL clock
[  340.577961] tc358743 6-000f: tc358743_set_csi:
[  340.583716] tc358743 6-000f: tc358743_set_csi_color_space: YCbCr 422 16-bit
[  340.585062] tc358743 6-000f: Called tc358743_set_fmt, completed successfully
[  340.598667] tc358743 6-000f: Calling tc358743_s_stream
[  340.598671] tc358743 6-000f: Calling tc358743_s_stream
[  340.603839] tc358743 6-000f: enable_stream: enable
[  340.605094] tc358743 6-000f: 798:enable_stream: end
[  340.612168] tc358743 6-000f: tc358743_get_edid i2c_rd return 0
[  340.612172] tc358743 6-000f: tc358743_get_edid done
[  340.612175] tc358743 6-000f: -----Chip status-----
[  340.612716] tc358743 6-000f: Chip ID:0x00
[  340.613082] tc358743 6-000f: Chip revision:0x00
[  340.613085] tc358743 6-000f: Reset: IR: 1, CEC: 1, CSI TX: 0, HDMI: 0
[  340.613087] tc358743 6-000f: Sleep mode: off
[  340.613089] tc358743 6-000f: Cable detected (+5V power): yes
[  340.613424] tc358743 6-000f: DDC lines enabled: yes
[  340.613825] tc358743 6-000f: Hotplug enabled: yes
[  340.614066] tc358743 6-000f: Hotplug ctl: no
[  340.614325] tc358743 6-000f: CEC enabled: no
[  340.614327] tc358743 6-000f: -----Signal status-----
[  340.614330] tc358743 6-000f: TMDS signal detected: yes
[  340.614332] tc358743 6-000f: Stable sync signal: no
[  340.614334] tc358743 6-000f: PHY PLL locked: yes
[  340.614336] tc358743 6-000f: PHY DE detected: yes
[  340.614800] tc358743 6-000f: tc358743_get_detected_timings: no sync on signal
[  340.614803] tc358743 6-000f: No video detected
[  340.614807] tc358743 6-000f: Configured format: 1920x1080p60.0 (2200x1125)
[  340.614810] tc358743 6-000f: horizontal: fp = 0, -sync = 280, bp = 0
[  340.614813] tc358743 6-000f: vertical: fp = 0, -sync = 45, bp = 0
[  340.614816] tc358743 6-000f: pixelclock: 148500000
[  340.614818] tc358743 6-000f: flags (0x0):
[  340.614821] tc358743 6-000f: standards (0x0):
[  340.614823] tc358743 6-000f: -----CSI-TX status-----
[  340.614825] tc358743 6-000f: Lanes needed: 2
[  340.615130] tc358743 6-000f: Lanes in use: 2
[  340.615386] tc358743 6-000f: Waiting for particular sync signal: no
[  340.615643] tc358743 6-000f: Transmit mode: yes
[  340.615899] tc358743 6-000f: Receive mode: no
[  340.616160] tc358743 6-000f: Stopped: no
[  340.616163] tc358743 6-000f: Color space: YCbCr 422 16-bit
[  340.616487] tc358743 6-000f: -----HDMI status-----
[  340.616489] tc358743 6-000f: HDCP encrypted content: no
[  340.616491] tc358743 6-000f: Input color space: RGB full range
[  340.616735] tc358743 6-000f: AV Mute: off
[  340.616977] tc358743 6-000f: Deep color mode: 8-bits per channel
[  340.617841] tc358743 6-000f: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
[  340.617845] tc358743 6-000f:     colorspace: RGB
[  340.617848] tc358743 6-000f:     scan mode: No Data
[  340.617851] tc358743 6-000f:     colorimetry: No Data
[  340.617854] tc358743 6-000f:     picture aspect: No Data
[  340.617858] tc358743 6-000f:     active aspect: Same as Picture
[  340.617860] tc358743 6-000f:     itc: IT Content
[  340.617863] tc358743 6-000f:     extended colorimetry: xvYCC 601
[  340.617866] tc358743 6-000f:     quantization range: Full
[  340.617869] tc358743 6-000f:     nups: Unknown Non-uniform Scaling
[  340.617872] tc358743 6-000f:     video code: 0
[  340.617874] tc358743 6-000f:     ycc quantization range: Limited
[  340.617877] tc358743 6-000f:     hdmi content type: Graphics
[  340.617879] tc358743 6-000f:     pixel repeat: 0
[  340.617882] tc358743 6-000f:     bar top 0, bottom 0, left 0, right 0
[  340.820582] video4linux video0: frame start syncpt timeout!0
[  341.028327] video4linux video0: frame start syncpt timeout!0
[  341.237012] video4linux video0: frame start syncpt timeout!0
[  341.444885] video4linux video0: frame start syncpt timeout!0
[  341.653219] video4linux video0: frame start syncpt timeout!0
[  341.860976] video4linux video0: frame start syncpt timeout!0
[  342.068900] video4linux video0: frame start syncpt timeout!0
[  342.277240] video4linux video0: frame start syncpt timeout!0
[  342.284359] tc358743 6-000f: Calling tc358743_s_stream
[  342.284376] tc358743 6-000f: Calling tc358743_s_stream
[  342.289891] tc358743 6-000f: enable_stream: enable
[  342.293068] tc358743 6-000f: 798:enable_stream: end
[  342.302141] tc358743 6-000f: tc358743_get_edid i2c_rd return 0
[  342.302155] tc358743 6-000f: tc358743_get_edid done
[  342.302167] tc358743 6-000f: -----Chip status-----
[  342.302822] tc358743 6-000f: Chip ID:0x00
[  342.303588] tc358743 6-000f: Chip revision:0x00
[  342.303611] tc358743 6-000f: Reset: IR: 1, CEC: 1, CSI TX: 0, HDMI: 0
[  342.303627] tc358743 6-000f: Sleep mode: off
[  342.303643] tc358743 6-000f: Cable detected (+5V power): yes
[  342.304168] tc358743 6-000f: DDC lines enabled: yes
[  342.304813] tc358743 6-000f: Hotplug enabled: yes
[  342.305627] tc358743 6-000f: Hotplug ctl: no
[  342.306283] tc358743 6-000f: CEC enabled: no
[  342.306300] tc358743 6-000f: -----Signal status-----
[  342.306314] tc358743 6-000f: TMDS signal detected: yes
[  342.306327] tc358743 6-000f: Stable sync signal: yes
[  342.306342] tc358743 6-000f: PHY PLL locked: yes
[  342.306355] tc358743 6-000f: PHY DE detected: yes
[  342.312137] tc358743 6-000f: 497:tc358743_get_detected_timings: width 1920 heigh 1080 interlaced 0
[  342.312158] tc358743 6-000f: Detected format: 1920x1080p60.0 (2200x1125)
[  342.312173] tc358743 6-000f: horizontal: fp = 0, -sync = 280, bp = 0
[  342.312300] tc358743 6-000f: vertical: fp = 0, -sync = 45, bp = 0
[  342.312312] tc358743 6-000f: pixelclock: 148500000
[  342.312326] tc358743 6-000f: flags (0x0):
[  342.312338] tc358743 6-000f: standards (0x0):
[  342.312354] tc358743 6-000f: Configured format: 1920x1080p60.0 (2200x1125)
[  342.312368] tc358743 6-000f: horizontal: fp = 0, -sync = 280, bp = 0
[  342.312380] tc358743 6-000f: vertical: fp = 0, -sync = 45, bp = 0
[  342.312391] tc358743 6-000f: pixelclock: 148500000
[  342.312403] tc358743 6-000f: flags (0x0):
[  342.312414] tc358743 6-000f: standards (0x0):
[  342.312423] tc358743 6-000f: -----CSI-TX status-----
[  342.312435] tc358743 6-000f: Lanes needed: 2
[  342.313700] tc358743 6-000f: Lanes in use: 2
[  342.314082] tc358743 6-000f: Waiting for particular sync signal: no
[  342.314429] tc358743 6-000f: Transmit mode: no
[  342.314766] tc358743 6-000f: Receive mode: no
[  342.315104] tc358743 6-000f: Stopped: no
[  342.315111] tc358743 6-000f: Color space: YCbCr 422 16-bit
[  342.315423] tc358743 6-000f: -----HDMI status-----
[  342.315429] tc358743 6-000f: HDCP encrypted content: no
[  342.315436] tc358743 6-000f: Input color space: RGB full range
[  342.315747] tc358743 6-000f: AV Mute: off
[  342.316059] tc358743 6-000f: Deep color mode: 8-bits per channel
[  342.317311] tc358743 6-000f: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
[  342.317319] tc358743 6-000f:     colorspace: RGB
[  342.317324] tc358743 6-000f:     scan mode: No Data
[  342.317330] tc358743 6-000f:     colorimetry: No Data
[  342.317336] tc358743 6-000f:     picture aspect: No Data
[  342.317342] tc358743 6-000f:     active aspect: Same as Picture
[  342.317347] tc358743 6-000f:     itc: IT Content
[  342.317353] tc358743 6-000f:     extended colorimetry: xvYCC 601
[  342.317358] tc358743 6-000f:     quantization range: Full
[  342.317364] tc358743 6-000f:     nups: Unknown Non-uniform Scaling
[  342.317369] tc358743 6-000f:     video code: 0
[  342.317375] tc358743 6-000f:     ycc quantization range: Limited
[  342.317380] tc358743 6-000f:     hdmi content type: Graphics
[  342.317386] tc358743 6-000f:     pixel repeat: 0
[  342.317392] tc358743 6-000f:     bar top 0, bottom 0, left 0, right 0

v4l2-ctl --all

Driver Info (not using libv4l2):
        Driver name   : tegra-video
        Card type     : vi-output, tc358743 6-000f
        Bus info      : platform:54080000.vi:0
        Driver version: 4.9.253
        Capabilities  : 0x84200001
                Video Capture
                Streaming
                Extended Pix Format
                Device Capabilities
        Device Caps   : 0x04200001
                Video Capture
                Streaming
                Extended Pix Format
Priority: 2
Video input : 0 (HDMI 0: ok)
DV timings:
        Active width: 1920
        Active height: 1080
        Total width: 2200
        Total height: 1125
        Frame format: progressive
        Polarities: -vsync -hsync
        Pixelclock: 148500000 Hz (60.00 frames per second)
        Horizontal frontporch: 0
        Horizontal sync: 280
        Horizontal backporch: 0
        Vertical frontporch: 0
        Vertical sync: 45
        Vertical backporch: 0
        Standards:
        Flags:
DV timings capabilities:
        Minimum Width: 1
        Maximum Width: 10000
        Minimum Height: 1
        Maximum Height: 10000
        Minimum PClock: 0
        Maximum PClock: 165000000
        Standards: CTA-861, DMT, CVT, GTF
        Capabilities: Progressive, Reduced Blanking, Custom Formats
Format Video Capture:
        Width/Height      : 1920/1080
        Pixel Format      : 'UYVY'
        Field             : None
        Bytes per Line    : 3840
        Size Image        : 4147200
        Colorspace        : SMPTE 170M
        Transfer Function : Rec. 709
        YCbCr/HSV Encoding: ITU-R 601
        Quantization      : Limited Range
        Flags             :

User Controls

            audio_sampling_rate 0x00981980 (int)    : min=0 max=768000 step=1 default=44100 value=0 flags=read-only
                  audio_present 0x00981981 (bool)   : default=1 value=0 flags=read-only

Camera Controls

                    bypass_mode 0x009a2064 (intmenu): min=0 max=1 default=0 value=0
                override_enable 0x009a2065 (intmenu): min=0 max=1 default=0 value=0
                   height_align 0x009a2066 (int)    : min=1 max=16 step=1 default=1 value=1
                     size_align 0x009a2067 (intmenu): min=0 max=2 default=0 value=0
               write_isp_format 0x009a2068 (bool)   : default=0 value=0
       sensor_signal_properties 0x009a2069 (u32)    : min=0 max=0 step=0 default=0 flags=read-only, has-payload
        sensor_image_properties 0x009a206a (u32)    : min=0 max=0 step=0 default=0 flags=read-only, has-payload
      sensor_control_properties 0x009a206b (u32)    : min=0 max=0 step=0 default=0 flags=read-only, has-payload
              sensor_dv_timings 0x009a206c (u32)    : min=0 max=0 step=0 default=0 flags=read-only, has-payload
               low_latency_mode 0x009a206d (bool)   : default=0 value=0
               preferred_stride 0x009a206e (int)    : min=0 max=65535 step=1 default=0 value=0
                   sensor_modes 0x009a2082 (int)    : min=0 max=30 step=1 default=30 value=30 flags=read-only

Digital Video Controls

                  power_present 0x00a00964 (bitmask): max=0x00000001 default=0x00000000 value=0x00000001 flags=read-only

v4l2-ctl --log-status

Status Log:

   [ 1953.085877] vi 54080000.vi: =================  START STATUS  =================
   [ 1953.093412] tc358743 6-000f: tc358743_get_edid i2c_rd return 0
   [ 1953.093416] tc358743 6-000f: tc358743_get_edid done
   [ 1953.093420] tc358743 6-000f: -----Chip status-----
   [ 1953.093889] tc358743 6-000f: Chip ID:0x00
   [ 1953.094244] tc358743 6-000f: Chip revision:0x00
   [ 1953.094253] tc358743 6-000f: Reset: IR: 1, CEC: 1, CSI TX: 0, HDMI: 0
   [ 1953.094258] tc358743 6-000f: Sleep mode: off
   [ 1953.094264] tc358743 6-000f: Cable detected (+5V power): yes
   [ 1953.094594] tc358743 6-000f: DDC lines enabled: yes
   [ 1953.095492] tc358743 6-000f: Hotplug enabled: yes
   [ 1953.095951] tc358743 6-000f: Hotplug ctl: no
   [ 1953.096629] tc358743 6-000f: CEC enabled: no
   [ 1953.096641] tc358743 6-000f: -----Signal status-----
   [ 1953.096652] tc358743 6-000f: TMDS signal detected: yes
   [ 1953.096662] tc358743 6-000f: Stable sync signal: yes
   [ 1953.096672] tc358743 6-000f: PHY PLL locked: yes
   [ 1953.096828] tc358743 6-000f: PHY DE detected: yes
   [ 1953.102766] tc358743 6-000f: 497:tc358743_get_detected_timings: width 1920 heigh 1080 interlaced 0
   [ 1953.102776] tc358743 6-000f: Detected format: 1920x1080p60.0 (2200x1125)
   [ 1953.102782] tc358743 6-000f: horizontal: fp = 0, -sync = 280, bp = 0
   [ 1953.102789] tc358743 6-000f: vertical: fp = 0, -sync = 45, bp = 0
   [ 1953.102794] tc358743 6-000f: pixelclock: 148500000
   [ 1953.102800] tc358743 6-000f: flags (0x0):
   [ 1953.102805] tc358743 6-000f: standards (0x0):
   [ 1953.102812] tc358743 6-000f: Configured format: 1920x1080p60.0 (2200x1125)
   [ 1953.102818] tc358743 6-000f: horizontal: fp = 0, -sync = 280, bp = 0
   [ 1953.102823] tc358743 6-000f: vertical: fp = 0, -sync = 45, bp = 0
   [ 1953.102827] tc358743 6-000f: pixelclock: 148500000
   [ 1953.102833] tc358743 6-000f: flags (0x0):
   [ 1953.102837] tc358743 6-000f: standards (0x0):
   [ 1953.102841] tc358743 6-000f: -----CSI-TX status-----
   [ 1953.102845] tc358743 6-000f: Lanes needed: 2
   [ 1953.103217] tc358743 6-000f: Lanes in use: 2
   [ 1953.103541] tc358743 6-000f: Waiting for particular sync signal: no
   [ 1953.103862] tc358743 6-000f: Transmit mode: no
   [ 1953.104183] tc358743 6-000f: Receive mode: no
   [ 1953.104504] tc358743 6-000f: Stopped: no
   [ 1953.104509] tc358743 6-000f: Color space: YCbCr 422 16-bit
   [ 1953.104879] tc358743 6-000f: -----HDMI status-----
   [ 1953.104890] tc358743 6-000f: HDCP encrypted content: no
   [ 1953.104900] tc358743 6-000f: Input color space: RGB full range
   [ 1953.105383] tc358743 6-000f: AV Mute: off
   [ 1953.105752] tc358743 6-000f: Deep color mode: 8-bits per channel
   [ 1953.106844] tc358743 6-000f: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
   [ 1953.106857] tc358743 6-000f:     colorspace: RGB
   [ 1953.106868] tc358743 6-000f:     scan mode: No Data
   [ 1953.106879] tc358743 6-000f:     colorimetry: No Data
   [ 1953.106889] tc358743 6-000f:     picture aspect: No Data
   [ 1953.106900] tc358743 6-000f:     active aspect: Same as Picture
   [ 1953.106911] tc358743 6-000f:     itc: IT Content
   [ 1953.106922] tc358743 6-000f:     extended colorimetry: xvYCC 601
   [ 1953.106932] tc358743 6-000f:     quantization range: Full
   [ 1953.106942] tc358743 6-000f:     nups: Unknown Non-uniform Scaling
   [ 1953.106958] tc358743 6-000f:     video code: 0
   [ 1953.106968] tc358743 6-000f:     ycc quantization range: Limited
   [ 1953.106978] tc358743 6-000f:     hdmi content type: Graphics
   [ 1953.106987] tc358743 6-000f:     pixel repeat: 0
   [ 1953.106999] tc358743 6-000f:     bar top 0, bottom 0, left 0, right 0
   [ 1953.107009] vi 54080000.vi: ==================  END STATUS  ==================

v4l2-compliance

v4l2-compliance SHA   : not available

Driver Info:
        Driver name   : tegra-video
        Card type     : vi-output, tc358743 6-000f
        Bus info      : platform:54080000.vi:0
        Driver version: 4.9.253
        Capabilities  : 0x84200001
                Video Capture
                Streaming
                Extended Pix Format
                Device Capabilities
        Device Caps   : 0x04200001
                Video Capture
                Streaming
                Extended Pix Format

Compliance test for device /dev/video0 (not using libv4l2):

Required ioctls:
        test VIDIOC_QUERYCAP: OK

Allow for multiple opens:
        test second video open: OK
        test VIDIOC_QUERYCAP: OK
        test VIDIOC_G/S_PRIORITY: OK
        test for unlimited opens: OK

Debug ioctls:
        test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
        test VIDIOC_LOG_STATUS: OK

Input ioctls:
        test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
        test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
        test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
        test VIDIOC_ENUMAUDIO: OK (Not Supported)
        test VIDIOC_G/S/ENUMINPUT: OK
        test VIDIOC_G/S_AUDIO: OK (Not Supported)
        Inputs: 1 Audio Inputs: 0 Tuners: 0

Output ioctls:
        test VIDIOC_G/S_MODULATOR: OK (Not Supported)
        test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
        test VIDIOC_ENUMAUDOUT: OK (Not Supported)
        test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
        test VIDIOC_G/S_AUDOUT: OK (Not Supported)
        Outputs: 0 Audio Outputs: 0 Modulators: 0

Input/Output configuration ioctls:
        test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
                fail: v4l2-test-io-config.cpp(199): doioctl(node, VIDIOC_S_DV_TIMINGS, &enumtimings.timings)
                fail: v4l2-test-io-config.cpp(253): Timings check failed for input 0.
        test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: FAIL
        test VIDIOC_DV_TIMINGS_CAP: OK
                fail: v4l2-test-io-config.cpp(361): !ret && check_0(edid.reserved, sizeof(edid.reserved))
                fail: v4l2-test-io-config.cpp(431): EDID check failed for input 0.
        test VIDIOC_G/S_EDID: FAIL

Test input 0:

        Control ioctls:
                test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK
                test VIDIOC_QUERYCTRL: OK
                test VIDIOC_G/S_CTRL: OK
                fail: v4l2-test-controls.cpp(633): did not check against size
                test VIDIOC_G/S/TRY_EXT_CTRLS: FAIL
                test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK
                test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
                Standard Controls: 4 Private Controls: 14

        Format ioctls:
                warn: v4l2-test-formats.cpp(73): found framesize 1280x720, but no frame intervals
                warn: v4l2-test-formats.cpp(73): found framesize 1920x1080, but no frame intervals
                test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
                fail: v4l2-test-formats.cpp(1184): ret && node->has_frmintervals
                test VIDIOC_G/S_PARM: FAIL
                test VIDIOC_G_FBUF: OK (Not Supported)
                test VIDIOC_G_FMT: OK
                test VIDIOC_TRY_FMT: OK
                test VIDIOC_S_FMT: OK
                test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
                test Cropping: OK (Not Supported)
                test Composing: OK (Not Supported)
                test Scaling: OK (Not Supported)

        Codec ioctls:
                test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
                test VIDIOC_G_ENC_INDEX: OK (Not Supported)
                test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)

        Buffer ioctls:
                test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK
                test VIDIOC_EXPBUF: OK

Test input 0:


Total: 43, Succeeded: 39, Failed: 4, Warnings: 2

My current setup is based on this repository: TC358743 Jetson Nano driver and device tree · GitHub

I followed the steps described there, i.e. installing a clean L4T on Jetson, swapping the .dtb file, compiling and uploading the .ko file.

Thank you in advance for your help, I think I described all the important details. If anything else is needed I will add in the posts below.

hello ddziadon,

this error is due to camera stack cannot receive start-of-frame correctly.
can you confirm this device is actually sending signal to CSI brick? you may arrange hardware resources to probe the MIPI signaling?

BTW,
is it possible to enable TPG? (i.e. test-pattern-generator), this usually helps to narrow down the issue.

Yes, I can confirm. I tested my boards (I have 4 of them - Auvidea B101 and 3 chinese others…) on RaspberryPI and I can get video source without any issue!

If you’re talking about Oscilloscope for example it’s not possible in my case…

I don’t think I fully understand. Could you elaborate on this idea?

hello ddziadon,

may I know your test pipeline to fetch the stream? are you running with v4l2-ctl, or gst-launch?

the VI driver by default has 200ms for waiting frames.
you may also have a try to revise the kernel sources to increase the timeout value for testing,
for example, $public_sources/kernel_src/kernel/nvidia/drivers/media/platform/tegra/camera/vi/vi2_fops.c
chan->timeout = msecs_to_jiffies(200);

TPG is one of feature on bridge device, it could generate color bars when given power-supply.

I tried both v4l2 and gst-launch. In both cases, the effect was the same. I will try to increase the waiting time for frame.

I just wonder what flow is correct in the context of installing L4T on jetson along with the driver - I have met with several ways, and I know that in some cases the effect will be similar.

  1. installation of L4T from SDK Manager + copy .ko file and modprobe.
  2. compile kernel, flash + copy .ko file and modprobe.
  3. kernel compilation with import of driver source code in .dtsi file + flash.
  4. compile kernel with enable TC358743 in make menuconfig (replacing native code with the modified one from github?) + flash.

I’m not sure which method is correct and which step is the most relevant.

I mostly use this repo: TC358743 Jetson Nano driver and device tree · GitHub
But - for example - there is no make menuconfig step here.

hello ddziadon,

the quickest way is based-on native Jetpack release, and apply the kernel module to enable your driver.
you may see-also developer guide, Loadable Kernel Module (LKM).

the VI driver by default has 200ms for waiting frames.
you may also have a try to revise the kernel sources to increase the timeout value for testing,
for example, $public_sources/kernel_src/kernel/nvidia/drivers/media/platform/tegra/camera/vi/vi2_fops.c
chan->timeout = msecs_to_jiffies(200);

Unfortunately, nothing has changed…

hello ddziadon,

had you try issue a software reset on bridge driver while user-space sending capture request?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.