We upgraded and revised our camera driver to L4t R32.2.1 from R31.1 on AGx and got preview failed.
The thing is our camera works well with R31.1.
Here is the error message we got.
[ 3434.417768] ov5693 2-0048: camera_common_try_fmt: size 1280 x 720
[ 3434.417939] ov5693 2-0048: camera_common_try_fmt: size 1280 x 720
[ 3434.454691] [RCE] vi5_hwinit: firmware CL2018101701 protocol version 2.2
[ 3437.142517] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 3437.142670] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 3437.142818] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 3437.145828] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[ 3439.958367] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 3439.958518] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 3439.958687] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 3439.961670] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[ 3442.774292] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 3442.774443] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
Here is the command.
gst-launch-1.0 -v v4l2src device=“/dev/video0” ! “video/x-raw, width=1280,height=720, format=(string)UYVY” ! nvvidconv ! “video/x-raw(memory:NVMM), width=640, height=360, format=(string)I420” ! nvvidconv ! xvimagesink
nva@agx:~$ v4l2-compliance -d /dev/video0
v4l2-compliance SHA : not available
Driver Info:
Driver name : tegra-video
Card type : vi-output, ov5693 2-0048
Bus info : platform:15c10000.vi:0
Driver version: 4.9.140
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)
test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
test VIDIOC_G/S_EDID: OK (Not Supported)
Test input 0:
Control ioctls:
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK
test VIDIOC_QUERYCTRL: OK
test VIDIOC_G/S_CTRL: OK
Stopped here.
Thank you for any advice.