Hello @JerryChang
Thanks for your answer.
Here are some more details on the failure:
The full log is available here:
logs_xavier_imx219_auvidea_jnx30.tgz (89.3 KB)
Below some interesting parts I tried to extract from those logs:
1/ Device detection via v4l2-ctl:
The camera seems to be correctly detected according to v4l2-ctl --list-devices:
v4l2-ctl --list-devices
vi-output, imx219 10-0010 (platform:15c10000.vi:2):
/dev/video0
2/ Acquisition via gst:
When I run the acquisition via gstreamer, no video frames are shown there (but an empty window is opened). I need to to stop via Ctrl-C.
Full log:
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM),width=320, height=240, framerate=30/1, format=NV12' ! nvvidconv ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3264 x 2464 FR = 21,000000 fps Duration = 47619048 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 3264 x 1848 FR = 28,000001 fps Duration = 35714284 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1920 x 1080 FR = 29,999999 fps Duration = 33333334 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1640 x 1232 FR = 29,999999 fps Duration = 33333334 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1280 x 720 FR = 59,999999 fps Duration = 16666667 ; Analog Gain range min 1,000000, max 10,625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 4
Output Stream W = 1280 H = 720
seconds to Run = 0
Frame Rate = 59,999999
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
// No video frames are produced / shown there:
// an empty window is opened, that is all
// I need to to stop via Ctrl-C
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:06.748892482
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
^C
3/ dmesg:
Here are the relevant output of dmesg before I run gst-launch
[ 1.920346] i2c /dev entries driver
[ 1.922742] i2c i2c-2: Added multiplexed i2c bus 9
[ 1.923342] i2c i2c-2: Added multiplexed i2c bus 10
[ 1.923352] i2c-mux-gpio cam_i2cmux: 2 port mux on 3180000.i2c adapter
[ 1.923948] imx219 9-0010: tegracam sensor driver:imx219_v2.0.6
[ 1.947459] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
[ 1.947519] imx219 9-0010: imx219_board_setup: error during i2c read probe (-121)
[ 1.947566] imx219 9-0010: board setup failed
[ 1.947667] imx219: probe of 9-0010 failed with error -121
[ 1.948120] imx219 10-0010: tegracam sensor driver:imx219_v2.0.6
[ 1.973636] max77620-power max20024-power: Event recorder REG_NVERC : 0x0
[ 1.980369] tegra-thermal-throttle bthrot_cdev: clk:cpu max:1907200000, min:115200000 steps:24
[ 1.984515] tegra-thermal-throttle bthrot_cdev: clk:gpu max:1109250000, min:114750000 steps:10
After I run gst-launch, some lines are added:
[ 117.735378] [RCE] WARNING: t194/isp5.c:901 [config_channel] "All error notifications not enabled: correctable=0x00 uncorrectable=0x00"
[ 118.307326] [RCE] vi5_hwinit: firmware CL2018101701 protocol version 2.2
[ 120.251375] fence timeout on [ffffffc174da1b40] after 1500ms
[ 120.251390] name=[nvhost_sync:37], current value=0 waiting value=1
[ 120.251426] ---- mlocks ----
[ 120.251448] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 120.251475] ---- syncpts ----
[ 120.251488] id 2 (disp_a) min 700 max 700 refs 1 (previous client : )
[ 120.251493] id 3 (disp_b) min 2 max 2 refs 1 (previous client : )
4/ Syslog:
Relevant extracts from /var/log/syslog:
Jan 13 16:53:58 xaviernx kernel: [ 1.960320] tegra_rtc c2a0000.rtc: Tegra internal Real Time Clock
Jan 13 16:53:58 xaviernx kernel: [ 1.960431] i2c /dev entries driver
Jan 13 16:53:58 xaviernx kernel: [ 1.962542] i2c i2c-2: Added multiplexed i2c bus 9
Jan 13 16:53:58 xaviernx kernel: [ 1.962904] i2c i2c-2: Added multiplexed i2c bus 10
Jan 13 16:53:58 xaviernx kernel: [ 1.962913] i2c-mux-gpio cam_i2cmux: 2 port mux on 3180000.i2c adapter
Jan 13 16:53:58 xaviernx kernel: [ 1.963497] imx219 9-0010: tegracam sensor driver:imx219_v2.0.6
Jan 13 16:53:58 xaviernx kernel: [ 1.986961] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
Jan 13 16:53:58 xaviernx kernel: [ 1.987024] imx219 9-0010: imx219_board_setup: error during i2c read probe (-121)
Jan 13 16:53:58 xaviernx kernel: [ 1.987319] imx219 9-0010: board setup failed
Jan 13 16:53:58 xaviernx kernel: [ 1.987570] imx219: probe of 9-0010 failed with error -121
Jan 13 16:53:58 xaviernx kernel: [ 1.988033] imx219 10-0010: tegracam sensor driver:imx219_v2.0.6
Jan 13 16:53:58 xaviernx kernel: [ 2.013309] max77620-power max20024-power: Event recorder REG_NVERC : 0x0
..... Later...
Jan 13 16:53:58 xaviernx kernel: [ 3.302549] tegra194-isp5 14800000.isp: initialized
Jan 13 16:53:58 xaviernx kernel: [ 3.309444] tegra194-vi5 15c10000.vi: using default number of vi channels, 36
Jan 13 16:53:58 xaviernx kernel: [ 3.312744] tegra194-vi5 15c10000.vi: initialized
Jan 13 16:53:58 xaviernx kernel: [ 3.317259] tegra194-vi5 15c10000.vi: subdev 15a00000.nvcsi--2 bound
Jan 13 16:53:58 xaviernx kernel: [ 3.317337] tegra194-vi5 15c10000.vi: subdev imx219 10-0010 bound
Jan 13 16:53:58 xaviernx kernel: [ 3.317344] tegra194-vi5 15c10000.vi: subdev 15a00000.nvcsi--1 bound
Jan 13 16:53:58 xaviernx kernel: [ 3.319115] tegra186-cam-rtcpu bc00000.rtcpu: Trace buffer configured at IOVA=0xbff00000
Jan 13 16:53:58 xaviernx kernel: [ 3.402735] tegra-ivc ivc-bc00000.rtcpu: region 0: iova=0xbfee0000-0xbfefffff size=131072