v4l2-ctl -d /dev/video2 --set-fmt-video=width=960,height=960,pixelformat=BG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=100
iking@iking:~$ [ 183.923549] bwmgr API not supported
[ 186.565372] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 186.574527] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 186.584128] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 186.591863] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=3, csi_port=3
[ 186.602531] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 186.610573] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 189.125384] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 189.134535] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 189.144126] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 189.151856] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=3, csi_port=3
[ 189.162524] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 190.181494] tegra194-vi5 13e40000.host1x:vi1@14c00000: capture control message timed out
[ 190.189828] tegra194-vi5 13e40000.host1x:vi1@14c00000: vi_capture_control_send_message: failed to send IVC control message
[ 191.205481] tegra194-vi5 13e40000.host1x:vi1@14c00000: capture control message timed out
[ 191.213870] tegra-camrtc-capture-vi tegra-capture-vi: vi capture setup failed
[ 191.221231] tegra-camrtc-capture-vi tegra-capture-vi: fatal: error recovery failed
[ 192.949520] ------------[ cut here ]------------
[ 192.954325] WARNING: CPU: 3 PID: 2375 at lib/refcount.c:25 refcount_warn_saturate+0x98/0x140
[ 192.963364] ---[ end trace 9bd269c5eebbfb3a ]---
[ 192.968144] ------------[ cut here ]------------
[ 192.972921] WARNING: CPU: 3 PID: 2375 at lib/refcount.c:28 refcount_warn_saturate+0xec/0x140
[ 192.981894] ---[ end trace 9bd269c5eebbfb3b ]---
[ 192.987305] sc432ai 33-0036: stop stream success
[ 193.030840] bwmgr API not supported
[ 193.041117] sc432ai 33-0036: sc432ai_power_off
[ 194.085654] tegra194-vi5 13e40000.host1x:vi1@14c00000: capture control message timed out
[ 194.094005] tegra194-vi5 13e40000.host1x:vi1@14c00000: csi_stream_release: failed to disable nvcsi tpg on stream 3 virtual chan0
root@iking:/home/iking/tuning# v4l2-ctl -d /dev/video2 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'BG10' (10-bit Bayer BGBG/GRGR)
Size: Discrete 960x960
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 800x800
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1728x1728
Interval: Discrete 0.028s (36.000 fps)
root@iking:/home/iking/tuning# v4l2-compliance -d /dev/video2
v4l2-compliance SHA: not available, 64 bits
Compliance test for tegra-video device /dev/video2:
Driver Info:
Driver name : tegra-video
Card type : vi-output, sc432ai 33-0036
Bus info : platform:tegra-capture-vi:3
Driver version : 5.10.216
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Media Driver Info:
Driver name : tegra-camrtc-ca
Model : NVIDIA Tegra Video Input Device
Serial :
Bus info :
Media version : 5.10.216
Hardware revision: 0x00000003 (3)
Driver version : 5.10.216
Interface Info:
ID : 0x0300003b
Type : V4L Video
Entity Info:
ID : 0x00000039 (57)
Name : vi-output, sc432ai 33-0036
Function : V4L2 I/O
Pad 0x0100003a : 0: Sink
Link 0x0200003f: from remote pad 0x100000c of entity ‘13e40000.host1x:nvcsi@15a00000-’: Data, Enabled
Required ioctls:
test MC information (see ‘Media Driver Info’ above): OK
test VIDIOC_QUERYCAP: OK
Allow for multiple opens:
test second /dev/video2 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)
Control ioctls (Input 0):
warn: v4l2-test-controls.cpp(92): Gain: (max - min) % step != 0
warn: v4l2-test-controls.cpp(92): Exposure: (max - min) % step != 0
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK
test VIDIOC_QUERYCTRL: OK
test VIDIOC_G/S_CTRL: OK
test VIDIOC_G/S/TRY_EXT_CTRLS: OK
test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK
test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
Standard Controls: 1 Private Controls: 20
Format ioctls (Input 0):
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
fail: v4l2-test-formats.cpp(1280): 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 (Input 0):
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 (Input 0):
fail: v4l2-test-buffers.cpp(715): q.create_bufs(node, 1, &fmt) != EINVAL
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: FAIL
test VIDIOC_EXPBUF: OK
test Requests: OK (Not Supported)
Total for tegra-video device /dev/video2: 45, Succeeded: 43, Failed: 2, Warnings: 2
root@iking:/home/iking/tuning# media-ctl -p -d /dev/media0
Media controller API version 5.10.216
Media device information
driver tegra-camrtc-ca
model NVIDIA Tegra Video Input Device
serial
bus info
hw revision 0x3
driver version 5.10.216
Device topology
-
entity 1: 13e40000.host1x:nvcsi@15a00000- (2 pads, 0 link)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
pad0: Sink
pad1: Source -
entity 4: 13e40000.host1x:nvcsi@15a00000- (2 pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev1
pad0: Sink
← “sc432ai 31-0036”:0 [ENABLED]
pad1: Source
→ “vi-output, sc432ai 31-0036”:0 [ENABLED] -
entity 7: 13e40000.host1x:nvcsi@15a00000- (2 pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev2
pad0: Sink
← “sc432ai 32-0036”:0 [ENABLED]
pad1: Source
→ “vi-output, sc432ai 32-0036”:0 [ENABLED] -
entity 10: 13e40000.host1x:nvcsi@15a00000- (2 pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev3
pad0: Sink
← “sc432ai 33-0036”:0 [ENABLED]
pad1: Source
→ “vi-output, sc432ai 33-0036”:0 [ENABLED] -
entity 13: 13e40000.host1x:nvcsi@15a00000- (2 pads, 0 link)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev4
pad0: Sink
pad1: Source -
entity 16: 13e40000.host1x:nvcsi@15a00000- (2 pads, 0 link)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev5
pad0: Sink
pad1: Source -
entity 19: sc432ai 31-0036 (1 pad, 1 link)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev6
pad0: Source
[fmt:SBGGR10_1X10/960x960 field:none colorspace:srgb]
→ “13e40000.host1x:nvcsi@15a00000-”:0 [ENABLED] -
entity 21: vi-output, sc432ai 31-0036 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
← “13e40000.host1x:nvcsi@15a00000-”:1 [ENABLED] -
entity 43: sc432ai 32-0036 (1 pad, 1 link)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev7
pad0: Source
[fmt:SBGGR10_1X10/960x960 field:none colorspace:srgb]
→ “13e40000.host1x:nvcsi@15a00000-”:0 [ENABLED] -
entity 45: vi-output, sc432ai 32-0036 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video1
pad0: Sink
← “13e40000.host1x:nvcsi@15a00000-”:1 [ENABLED] -
entity 55: sc432ai 33-0036 (1 pad, 1 link)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev8
pad0: Source
[fmt:SBGGR10_1X10/960x960 field:none colorspace:srgb]
→ “13e40000.host1x:nvcsi@15a00000-”:0 [ENABLED] -
entity 57: vi-output, sc432ai 33-0036 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video2
pad0: Sink
← “13e40000.host1x:nvcsi@15a00000-”:1 [ENABLED]
The above is some debugging information . Can you help me troubleshoot the problem?
Can you help solve it as soon as possible !