ov5693 can't get image

Hi, I use ov5693 on agx xavier, when I ran ‘v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat=RG10 --stream-mmap --stream-count=1 -d /dev/video0 --stream-to=ov5693.raw’,
the kernel printed:
[ 1896.731430] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 1896.731650] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 1896.731825] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 1896.733967] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[ 1899.291134] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 1899.291362] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 1899.291522] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 1899.291667] tegra194-vi5 15c10000.vi: unexpected response from camera processor
[ 1899.291853] video4linux video0: vi capture release failed
[ 1899.291963] tegra194-vi5 15c10000.vi: fatal: error recovery failed

Maybe I used wrong channel or port, but I don’t know how to set channel or port.
The dts files I use are, tegra194-p2822-0000-camera-e3326-a00.dtsi and tegra194-camera-e3326-a00.dtsi.
Anyone kowns why?
Thank you!

hello wjv321,

you might also note that, tegra194-p2822-0000-camera-e3326-a00.dtsi were using 2-lane configuration at CSI-C.
please check with your sensor vendor to confirm the board design, you may need to update the port-index property accordingly.
suggest you refer to Port Index session to understand the port binding.

if the failure remains, please arrange resources to probe the sensor hardware MIPI signaling.
thanks

Hi, JerryChang, thanks for your reply. My camera board is 2-lane, and I modified port-index to 0, it works now. The command,
v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat=RG10 --stream-mmap --stream-count=1 -d /dev/video0 --stream-to=ov5693.raw,
is right now. But, I used the command,
gst-launch-1.0 nvarguscamerasrc ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, format=(string)NV12, framerate=(fraction)30/1’ ! nvoverlaysink -e,
it didn’t work.The kernel still printed:

[ 118.461864] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 118.461911] tegra194-vi5 15c10000.vi: vi capture get status failed
[ 119.997840] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 119.998101] tegra194-vi5 15c10000.vi: vi capture get status failed

Thanks.

hello wjv321,

your gstreamer commands looks correct, we’ll still need more details to dig it further.
may I know which JetPack release you’re working with.
please also enable argus service manually in another terminal to gather user-space logs.
for example,

$ sudo /usr/sbin/nvargus-daemon

Hi, JerryChang, the release is Release 0.95 (07/25/2016). I used the command 'cat /proc/kmsg‘, there was more log listed below:

[ 127.286647] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 127.286827] tegra194-vi5 15c10000.vi: vi capture get status failed
<3>[ 127.286647] tegra194-vi5 15c10000.vi: no reply from camera processor
<3>[ 127.286827] tegra194-vi5 15c10000.vi: vi capture get status failed
<6>[ 127.287451] fence timeout on [ffffffc33ac7c300] after 1500ms
<6>[ 127.287463] name=[nvhost_sync:42], current value=0 waiting value=1
<6>[ 127.287474] ---- mlocks ----
<6>[ 127.287528]
<6>[ 127.287534] ---- syncpts ----
<6>[ 127.287550] id 2 (disp_a) min 448 max 448 refs 1 (previous client : )
<6>[ 127.287558] id 3 (disp_b) min 3 max 3 refs 1 (previous client : )
<6>[ 127.287586] id 8 (vblank0) min 5072 max -6 refs 1 (previous client : )
<6>[ 127.287609] id 20 (gv11b_511) min 370 max 370 refs 1 (previous client : )
<6>[ 127.287616] id 21 (gv11b_510) min 16 max 16 refs 1 (previous client : )
<6>[ 127.287626] id 22 (gv11b_509) min 317 max 317 refs 1 (previous client : gv11b_509)
<6>[ 127.287633] id 23 (gv11b_508) min 3 max 3 refs 1 (previous client : )
<6>[ 127.287641] id 24 (gv11b_507) min 8061 max 8061 refs 1 (previous client : )
<6>[ 127.287649] id 25 (gv11b_506) min 9 max 9 refs 1 (previous client : )
<6>[ 127.287660] id 28 (gv11b_505) min 941 max 941 refs 1 (previous client : gv11b_505)
<6>[ 127.287675] id 35 (gv11b_503_user) min 2 max 0 refs 1 (previous client : )
<6>[ 127.287693] id 45 (gv11b_499) min 3 max 3 refs 1 (previous client : )
<6>[ 127.287701] id 46 (gv11b_498) min 4 max 4 refs 1 (previous client : )
<6>[ 127.287748] id 47 (gv11b_497) min 3 max 3 refs 1 (previous client : )
<6>[ 127.287758] id 48 (gv11b_496) min 3 max 3 refs 1 (previous client : )
<6>[ 127.287765] id 49 (gv11b_495) min 3 max 3 refs 1 (previous client : )
<6>[ 127.287772] id 50 (gv11b_494) min 3 max 3 refs 1 (previous client : )
<6>[ 127.288348]
<6>[ 127.288356] ---- channels ----
<6>[ 127.288436]
<6>[ 127.288436] channel 2 - 15820000.se
<6>[ 127.288436]
<6>[ 127.288441] NvHost basic channel registers:
<6>[ 127.288449] CMDFIFO_STAT_0: 00002040
<6>[ 127.288455] CMDFIFO_RDATA_0: 00404085
<6>[ 127.288464] CMDP_OFFSET_0: 00000000
<6>[ 127.288469] CMDP_CLASS_0: 00000000
<6>[ 127.288475] CHANNELSTAT_0: 00000000
<6>[ 127.288481] The CDMA sync queue is empty.
<6>[ 127.288485]
<6>[ 127.288493]
<6>[ 127.288493] channel 3 - 15830000.se
<6>[ 127.288493]
<6>[ 127.288498] NvHost basic channel registers:
<6>[ 127.288504] CMDFIFO_STAT_0: 00002040
<6>[ 127.288509] CMDFIFO_RDATA_0: 04144002
<6>[ 127.288516] CMDP_OFFSET_0: 00000000
<6>[ 127.288521] CMDP_CLASS_0: 00000000
<6>[ 127.288531] CHANNELSTAT_0: 00000000
<6>[ 127.288536] The CDMA sync queue is empty.
<6>[ 127.288540]
<6>[ 127.288547]
<6>[ 127.288547] channel 4 - 15840000.se
<6>[ 127.288547]
<6>[ 127.288551] NvHost basic channel registers:
<6>[ 127.288557] CMDFIFO_STAT_0: 00002040
<6>[ 127.288562] CMDFIFO_RDATA_0: 04200009
<6>[ 127.288569] CMDP_OFFSET_0: 00000000
<6>[ 127.288574] CMDP_CLASS_0: 00000000
<6>[ 127.288580] CHANNELSTAT_0: 00000000
<6>[ 127.288585] The CDMA sync queue is empty.
<6>[ 127.288589]
<6>[ 127.288622]
<6>[ 127.288622] ---- host general irq ----
<6>[ 127.288622]
<6>[ 127.288628] sync_intc0mask = 0x00000001
<6>[ 127.288635] sync_intmask = 0x50000003
<6>[ 127.288639]
<6>[ 127.288639] ---- host syncpt irq mask ----
<6>[ 127.288639]
<6>[ 127.288644]
<6>[ 127.288644] ---- host syncpt irq status ----
<6>[ 127.288644]
<6>[ 127.288650] syncpt_thresh_cpu0_int_status(0) = 0x00000000
<6>[ 127.288656] syncpt_thresh_cpu0_int_status(1) = 0x00000000
<6>[ 127.288662] syncpt_thresh_cpu0_int_status(2) = 0x00000000
<6>[ 127.288668] syncpt_thresh_cpu0_int_status(3) = 0x00000000
<6>[ 127.288673] syncpt_thresh_cpu0_int_status(4) = 0x00000000
<6>[ 127.288679] syncpt_thresh_cpu0_int_status(5) = 0x00000000
<6>[ 127.288685] syncpt_thresh_cpu0_int_status(6) = 0x00000000
<6>[ 127.288691] syncpt_thresh_cpu0_int_status(7) = 0x00000000
<6>[ 127.288697] syncpt_thresh_cpu0_int_status(8) = 0x00000000
<6>[ 127.288702] syncpt_thresh_cpu0_int_status(9) = 0x00000000
<6>[ 127.288708] syncpt_thresh_cpu0_int_status(10) = 0x00000000
<6>[ 127.288714] syncpt_thresh_cpu0_int_status(11) = 0x00000000
<6>[ 127.288720] syncpt_thresh_cpu0_int_status(12) = 0x00000000
<6>[ 127.288726] syncpt_thresh_cpu0_int_status(13) = 0x00000000
<6>[ 127.288754] syncpt_thresh_cpu0_int_status(14) = 0x00000000
<6>[ 127.288763] syncpt_thresh_cpu0_int_status(15) = 0x00000000
<6>[ 127.288771] syncpt_thresh_cpu0_int_status(16) = 0x00000000
<6>[ 127.288777] syncpt_thresh_cpu0_int_status(17) = 0x00000000
<6>[ 127.288783] syncpt_thresh_cpu0_int_status(18) = 0x00000000
<6>[ 127.288790] syncpt_thresh_cpu0_int_status(19) = 0x00000000
<6>[ 127.288796] syncpt_thresh_cpu0_int_status(20) = 0x00000000
<6>[ 127.288804] syncpt_thresh_cpu0_int_status(21) = 0x00000000
[ 128.822655] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 128.822814] tegra194-vi5 15c10000.vi: vi capture get status failed
<3>[ 128.822655] tegra194-vi5 15c10000.vi: no reply from camera processor
<6>[ 128.822737] fence timeout on [ffffffc33ac7c480] after 1500ms
<6>[ 128.822748] name=[nvhost_sync:42], current value=0 waiting value=10
<6>[ 128.822758] ---- mlocks ----
<6>[ 128.822805]
<3>[ 128.822814] tegra194-vi5 15c10000.vi: vi capture get status failed
<6>[ 128.822817] ---- syncpts ----
<6>[ 128.822857] id 3 (disp_b) min 3 max 3 refs 1 (previous client : )
<6>[ 128.822912] id 8 (vblank0) min 5164 max -6 refs 1 (previous client : )
<6>[ 128.822938] id 21 (gv11b_510) min 16 max 16 refs 1 (previous client : )
<6>[ 128.822951] id 23 (gv11b_508) min 3 max 3 refs 1 (previous client : )
<6>[ 128.822968] id 25 (gv11b_506) min 9 max 9 refs 1 (previous client : )
<6>[ 128.822994] id 35 (gv11b_503_user) min 2 max 0 refs 1 (previous client : )
<6>[ 128.823013] id 46 (gv11b_498) min 4 max 4 refs 1 (previous client : )
<6>[ 128.823027] id 48 (gv11b_496) min 3 max 3 refs 1 (previous client : )
<6>[ 128.823041] id 50 (gv11b_494) min 3 max 3 refs 1 (previous client : )
<6>[ 128.823446] ---- channels ----
<6>[ 128.823492] NvHost basic channel registers:
<6>[ 128.823509] CMDFIFO_RDATA_0: 00404085
<6>[ 128.823540] CMDP_CLASS_0: 00000000
<6>[ 128.823553] The CDMA sync queue is empty.
<6>[ 128.823565]
<6>[ 128.823565] channel 3 - 15830000.se
<6>[ 128.823565]
<6>[ 128.823579] CMDFIFO_STAT_0: 00002040
<6>[ 128.823594] CMDP_OFFSET_0: 00000000
<6>[ 128.823606] CHANNELSTAT_0: 00000000
<6>[ 128.823616]
<6>[ 128.823629] NvHost basic channel registers:
<6>[ 128.823642] CMDFIFO_RDATA_0: 04200009
<6>[ 128.823655] CMDP_CLASS_0: 00000000
<6>[ 128.823716] sync_intc0mask = 0x00000001
<6>[ 128.823729]
<6>[ 128.823729] ---- host syncpt irq mask ----
<6>[ 128.823729]
<6>[ 128.823743] syncpt_thresh_cpu0_int_status(0) = 0x00000000
<6>[ 128.823757] syncpt_thresh_cpu0_int_status(2) = 0x00000000
<6>[ 128.823771] syncpt_thresh_cpu0_int_status(4) = 0x00000000
<6>[ 128.823785] syncpt_thresh_cpu0_int_status(6) = 0x00000000
<6>[ 128.823799] syncpt_thresh_cpu0_int_status(8) = 0x00000000
<6>[ 128.823813] syncpt_thresh_cpu0_int_status(10) = 0x00000000
<6>[ 128.823827] syncpt_thresh_cpu0_int_status(12) = 0x00000000
<6>[ 128.823841] syncpt_thresh_cpu0_int_status(14) = 0x00000000
<6>[ 128.823854] syncpt_thresh_cpu0_int_status(16) = 0x00000000
<6>[ 128.823868] syncpt_thresh_cpu0_int_status(18) = 0x00000000
<6>[ 128.823882] syncpt_thresh_cpu0_int_status(20) = 0x00000000

JetPack release I am working with is R32.2.1.

hello wjv321,

you may check the syslog for user-space logs, for example,

$ cat /var/log/syslog

may I know did you arrange resources to probe the sensor hardware MIPI signaling already?
thanks