When I use argus to capture images for the first time after the board is started, dmesg outputs the following information.
......
[ 90.819254] imx307 reg 0x344f val 0x00
[ 90.819439] imx307 reg 0x3450 val 0x47
[ 90.819631] imx307 reg 0x3451 val 0x00
[ 90.819848] imx307 reg 0x3452 val 0x0f
[ 90.820048] imx307 reg 0x3453 val 0x00
[ 90.820237] imx307 reg 0x3454 val 0x0f
[ 90.820423] imx307 reg 0x3455 val 0x00
[ 90.820439] imx307 2-001a: imx307_start_streaming: start stream
[ 90.862416] imx307 reg 0x3000 val 0x00
[ 90.862652] imx307 reg 0x3002 val 0x00
[ 90.862870] imx307 reg 0x304b val 0x0a
[ 91.108792] imx307 2-001a: imx307_stop_streaming: stop stream
[ 91.130121] imx307 reg 0x3000 val 0x01
[ 91.130307] imx307 reg 0x3002 val 0x01
[ 91.130490] imx307 reg 0x304b val 0x00
[ 91.251507] imx307 2-001a: imx307_power_off: power off
The output of argus is as follows
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module0
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module1
NvPclHwGetModuleList: No module data found
NvPclHwGetModuleList: No module data found
OFParserGetVirtualDevice: virtual device driver node not found in proc device-tree: /proc/device-tree/tegra-virtual-camera-platform/modules/module0/drivernode1
OFParserGetVirtualDevice: virtual device driver node not found in proc device-tree: /proc/device-tree/tegra-virtual-camera-platform/modules/module1/drivernode0
---- imager: No override file found. ----
---- imager: No override file found. ----
(NvCamV4l2) Error ModuleNotPresent: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function findDevice(), line 256)
(NvCamV4l2) Error ModuleNotPresent: (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 60)
(NvOdmDevice) Error ModuleNotPresent: (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 106)
NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
NvPclStartPlatformDrivers: Failed to start module drivers
NvPclStateControllerOpen: Failed ImagerGUID 1. (error 0xA000E)
NvPclOpen: PCL Open Failed. Error: 0xf
SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 582)
SCF: Error BadParameter: (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 437)
SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 295)
SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function getSource(), line 458)
Acquiring SCF Camera device source via index 1 has failed.
Argus Version: 0.97.3 (single-process)
Camera count: 1
NvCaptureStatusErrorDecode Stream 0.0 failed: sof_ts 107915321920 eof_ts 3453291378688 frame 2 error 14 data 0x00000100
NvCaptureStatusErrorDecode Capture-Error: FALCON_ERROR (0x0000000e)
SCF: Error InvalidState: Capture error with status 14 (channel 0) (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 880)
NvCaptureStatusErrorDecode Stream 0.0 failed: sof_ts 107948653664 eof_ts 3454357994496 frame 3 error 14 data 0x00000100
NvCaptureStatusErrorDecode Capture-Error: FALCON_ERROR (0x0000000e)
SCF: Error InvalidState: Capture error with status 14 (channel 0) (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 880)
NvCaptureStatusErrorDecode Stream 0.0 failed: sof_ts 107981985312 eof_ts 3455424606208 frame 4 error 14 data 0x00000100
NvCaptureStatusErrorDecode Capture-Error: FALCON_ERROR (0x0000000e)
SCF: Error InvalidState: Capture error with status 14 (channel 0) (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 880)
NvCaptureStatusErrorDecode Stream 0.0 failed: sof_ts 108015317056 eof_ts 3456491297792 frame 5 error 14 data 0x00000100
NvCaptureStatusErrorDecode Capture-Error: FALCON_ERROR (0x0000000e)
SCF: Error InvalidState: Capture error with status 14 (channel 0) (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 880)
NvCaptureStatusErrorDecode Stream 0.0 failed: sof_ts 108048648704 eof_ts 3457557836800 frame 6 error 14 data 0x00000100
NvCaptureStatusErrorDecode Capture-Error: FALCON_ERROR (0x0000000e)
SCF: Error InvalidState: Capture error with status 14 (channel 0) (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 880)
DONE!
NvCaptureStatusErrorDecode Stream 0.0 failed: sof_ts 108081980448 eof_ts 3458624453632 frame 7 error 14 data 0x00000100
NvCaptureStatusErrorDecode Capture-Error: FALCON_ERROR (0x0000000e)
SCF: Error InvalidState: Capture error with status 14 (channel 0) (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 880)
NvCaptureStatusErrorDecode Stream 0.0 failed: sof_ts 108115312128 eof_ts 3459691087872 frame 8 error 14 data 0x00000100
NvCaptureStatusErrorDecode Capture-Error: FALCON_ERROR (0x0000000e)
SCF: Error InvalidState: Capture error with status 14 (channel 0) (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 880)
NvCaptureStatusErrorDecode Stream 0.0 failed: sof_ts 108148643840 eof_ts 3460757681152 frame 9 error 14 data 0x00000100
NvCaptureStatusErrorDecode Capture-Error: FALCON_ERROR (0x0000000e)
SCF: Error InvalidState: Capture error with status 14 (channel 0) (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 880)
(Argus) Objects still active during exit: [CameraProvider (0x5599a58b80): refs: 1, cref: 0]
And I get an incomplete image
When I capture the image with argus for the second time, the output of argus is as follows
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module0
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module1
NvPclHwGetModuleList: No module data found
NvPclHwGetModuleList: No module data found
OFParserGetVirtualDevice: virtual device driver node not found in proc device-tree: /proc/device-tree/tegra-virtual-camera-platform/modules/module0/drivernode1
OFParserGetVirtualDevice: virtual device driver node not found in proc device-tree: /proc/device-tree/tegra-virtual-camera-platform/modules/module1/drivernode0
---- imager: No override file found. ----
---- imager: No override file found. ----
(NvCamV4l2) Error ModuleNotPresent: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function findDevice(), line 256)
(NvCamV4l2) Error ModuleNotPresent: (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 60)
(NvOdmDevice) Error ModuleNotPresent: (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 106)
NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
NvPclStartPlatformDrivers: Failed to start module drivers
NvPclStateControllerOpen: Failed ImagerGUID 1. (error 0xA000E)
NvPclOpen: PCL Open Failed. Error: 0xf
SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 582)
SCF: Error BadParameter: (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 437)
SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 295)
SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function getSource(), line 458)
Acquiring SCF Camera device source via index 1 has failed.
Argus Version: 0.97.3 (single-process)
Camera count: 1
(NvCapture) Error Timeout: capture waiting for status timeout (in /dvs/git/dirty/git-master_linux/camera/capture/nvcapture/capture_hw_linux.c, function NvCaptureLinuxGetCaptureStatus(), line 362)
(NvCapture) Error Timeout: (propagating from /dvs/git/dirty/git-master_linux/camera/capture/nvcapture/capture.c, function NvCaptureDequeue(), line 1055)
SCF: Error Timeout: (propagating from src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 851)
SCF: Error InvalidState: Timeout waiting on frame end sensor guid 0, capture sequence ID = 1, channel = 1/1 (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 858)
SCF: Error InvalidState: Something went wrong with waiting on frame end (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 939)
SCF: Error InvalidState: Something went wrong with waiting on frame end (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 939)
SCF: Error InvalidState: Timeout waiting on frame start sensor guid 0, capture sequence ID = 1 (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 966)
PowerServiceCore:handleRequests: timePassed = 1492
(NvCapture) Error Timeout: capture waiting for status timeout (in /dvs/git/dirty/git-master_linux/camera/capture/nvcapture/capture_hw_linux.c, function NvCaptureLinuxGetCaptureStatus(), line 362)
(NvCapture) Error Timeout: (propagating from /dvs/git/dirty/git-master_linux/camera/capture/nvcapture/capture.c, function NvCaptureDequeue(), line 1055)
SCF: Error Timeout: (propagating from src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 851)
SCF: Error InvalidState: Timeout waiting on frame end sensor guid 0, capture sequence ID = 4, channel = 1/1 (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 858)
SCF: Error InvalidState: Timeout waiting on frame start sensor guid 0, capture sequence ID = 4 (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 966)
SCF: Error Timeout: (propagating from src/services/capture/CaptureServiceDeviceViCsi.cpp, function waitCompletion(), line 335)
SCF: Error Timeout: (propagating from src/services/capture/CaptureServiceDevice.cpp, function pause(), line 938)
SCF: Error Timeout: During capture abort, syncpoint wait timeout waiting for current frame to finish (in src/services/capture/CaptureServiceDevice.cpp, function handleCancelSourceRequests(), line 1032)
SCF: Error InvalidState: Something went wrong with waiting on frame end (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 939)
SCF: Error InvalidState: Something went wrong with waiting on frame start (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 1021)
SCF: Error InvalidState: Something went wrong with waiting on frame start (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 1021)
SCF: Error InvalidState: Something went wrong with waiting on frame start (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 1021)
Failed to get IFrame interface #0
SCF: Error Timeout: (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc
SCF: Error InvalidState: Not initialized (in src/components/CaptureDispatcher.cpp, function flush(), line 147)
SCF: Error Timeout: (propagating from src/services/capture/CaptureServiceDeviceViCsi.cpp, function waitCompletion(), line 335)
SCF: Error Timeout: (propagating from src/services/capture/CaptureServiceDevice.cpp, function pause(), line 938)
SCF: Error Timeout: During capture abort, syncpoint wait timeout waiting for current frame to finish (in src/services/capture/CaptureServiceDevice.cpp, function handleCancelSourceRequests(), line 1032)
PowerServiceCore:handleRequests: timePassed = 12101
(Argus) Objects still active during exit: [CameraProvider (0x55702a8b80): refs: 1, cref: 0]
The information of demsg becomes like this
[ 1514.242339] imx307 reg 0x3453 val 0x00
[ 1514.242550] imx307 reg 0x3454 val 0x0f
[ 1514.242754] imx307 reg 0x3455 val 0x00
[ 1514.242784] imx307 2-001a: imx307_start_streaming: start stream
[ 1514.284712] imx307 reg 0x3000 val 0x00
[ 1514.284985] imx307 reg 0x3002 val 0x00
[ 1514.286049] imx307 reg 0x304b val 0x0a
[ 1515.797785] fence timeout on [0000000000000000] after 1500ms
[ 1515.797840] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 1515.797949] tegra194-vi5 15c10000.vi: vi capture get status failed
[ 1515.798712] name=[nvhost_sync:34], current value=0 waiting value=1
[ 1515.799063] ---- mlocks ----
[ 1515.799513] ---- syncpts ----
[ 1515.799751] id 16 (gv11b_511) min 234 max 234 refs 1 (previous client : )
[ 1515.799818] id 17 (gv11b_510) min 9 max 9 refs 1 (previous client : )
[ 1515.799887] id 18 (gv11b_509) min 17 max 17 refs 1 (previous client : gv11b_509)
[ 1515.799997] id 23 (gv11b_508_user) min 393216 max 393216 refs 1 (previous client : gv11b_508_user)
[ 1515.800080] id 25 (gv11b_507_user) min 393331 max 393302 refs 1 (previous client : gv11b_507_user)
[ 1515.800183] id 29 (gv11b_506_user) min 393216 max 393216 refs 1 (previous client : gv11b_506_user)
[ 1515.800279] id 31 (gv11b_505_user) min 393216 max 393216 refs 1 (previous client : gv11b_505_user)
[ 1515.800656] id 33 (gv11b_504_user) min 393216 max 393216 refs 1 (previous client : gv11b_504_user)
[ 1515.800764] id 38 (gv11b_500) min 65536 max 65536 refs 1 (previous client : gv11b_498)
[ 1515.800838] id 39 (gv11b_500_user) min 131072 max 131072 refs 1 (previous client : gv11b_498_user)
[ 1515.800914] id 40 (gv11b_495) min 65536 max 65536 refs 1 (previous client : gv11b_502)
[ 1515.800986] id 41 (gv11b_495_user) min 131072 max 131072 refs 1 (previous client : gv11b_502_user)
[ 1515.801055] id 42 (gv11b_494) min 65536 max 65536 refs 1 (previous client : gv11b_503)
[ 1515.801525] id 43 (gv11b_494_user) min 131072 max 131072 refs 1 (previous client : gv11b_503_user)
[ 1515.801576] id 44 (gv11b_496) min 65536 max 65536 refs 1 (previous client : gv11b_501)
[ 1515.801674] id 45 (gv11b_496_user) min 131072 max 131072 refs 1 (previous client : gv11b_501_user)
[ 1515.801882] id 47 (gv11b_499_user) min 196608 max 196608 refs 1 (previous client : gv11b_499_user)
[ 1515.801923] id 48 (gv11b_501) min 25 max 25 refs 1 (previous client : gv11b_497)
[ 1515.801964] id 49 (gv11b_503) min 21 max 21 refs 1 (previous client : gv11b_496)
[ 1515.802003] id 50 (gv11b_502) min 21 max 21 refs 1 (previous client : gv11b_495)
[ 1515.802041] id 51 (gv11b_498) min 21 max 21 refs 1 (previous client : gv11b_494)
[ 1515.802079] id 52 (gv11b_497) min 21 max 21 refs 1 (previous client : gv11b_500)
[ 1515.805945] ---- channels ----
[ 1515.806176]
channel 2 - 15820000.se
[ 1515.806197] NvHost basic channel registers:
[ 1515.806229] CMDFIFO_STAT_0: 00002040
[ 1515.806256] CMDFIFO_RDATA_0: 00101201
[ 1515.806286] CMDP_OFFSET_0: 00000000
[ 1515.806312] CMDP_CLASS_0: 00000000
[ 1515.806338] CHANNELSTAT_0: 00000000
[ 1515.806361] The CDMA sync queue is empty.
[ 1515.806409]
channel 3 - 15830000.se
[ 1515.806429] NvHost basic channel registers:
[ 1515.806455] CMDFIFO_STAT_0: 00002040
[ 1515.806481] CMDFIFO_RDATA_0: e1200880
[ 1515.806511] CMDP_OFFSET_0: 00000000
[ 1515.806533] CMDP_CLASS_0: 00000000
[ 1515.806555] CHANNELSTAT_0: 00000000
[ 1515.806575] The CDMA sync queue is empty.
[ 1515.806622]
channel 4 - 15840000.se
[ 1515.806641] NvHost basic channel registers:
[ 1515.806664] CMDFIFO_STAT_0: 00002040
[ 1515.806687] CMDFIFO_RDATA_0: 008ac000
[ 1515.806712] CMDP_OFFSET_0: 00000000
[ 1515.806734] CMDP_CLASS_0: 00000000
[ 1515.806756] CHANNELSTAT_0: 00000000
[ 1515.806776] The CDMA sync queue is empty.
[ 1515.806833]
---- host general irq ----
[ 1515.806857] sync_intc0mask = 0x00000001
[ 1515.806882] sync_intmask = 0x50000003
[ 1515.806901]
---- host syncpt irq mask ----
[ 1515.806920]
---- host syncpt irq status ----
[ 1515.806949] syncpt_thresh_cpu0_int_status(0) = 0x00000000
[ 1515.806993] syncpt_thresh_cpu0_int_status(1) = 0x00000000
[ 1515.807020] syncpt_thresh_cpu0_int_status(2) = 0x00000000
[ 1515.807047] syncpt_thresh_cpu0_int_status(3) = 0x00000000
[ 1515.807073] syncpt_thresh_cpu0_int_status(4) = 0x00000000
[ 1515.807100] syncpt_thresh_cpu0_int_status(5) = 0x00000000
[ 1515.807127] syncpt_thresh_cpu0_int_status(6) = 0x00000000
[ 1515.807154] syncpt_thresh_cpu0_int_status(7) = 0x00000000
[ 1515.807178] syncpt_thresh_cpu0_int_status(8) = 0x00000000
[ 1515.807202] syncpt_thresh_cpu0_int_status(9) = 0x00000000
[ 1515.807226] syncpt_thresh_cpu0_int_status(10) = 0x00000000
[ 1515.807250] syncpt_thresh_cpu0_int_status(11) = 0x00000000
[ 1515.807275] syncpt_thresh_cpu0_int_status(12) = 0x00000000
[ 1515.807299] syncpt_thresh_cpu0_int_status(13) = 0x00000000
[ 1515.807323] syncpt_thresh_cpu0_int_status(14) = 0x00000000
[ 1515.807346] syncpt_thresh_cpu0_int_status(15) = 0x00000000
[ 1515.807370] syncpt_thresh_cpu0_int_status(16) = 0x00000000
[ 1515.807394] syncpt_thresh_cpu0_int_status(17) = 0x00000000
[ 1515.807418] syncpt_thresh_cpu0_int_status(18) = 0x00000000
[ 1515.807441] syncpt_thresh_cpu0_int_status(19) = 0x00000000
[ 1515.807465] syncpt_thresh_cpu0_int_status(20) = 0x00000000
[ 1515.807489] syncpt_thresh_cpu0_int_status(21) = 0x00000000
[ 1517.333740] fence timeout on [0000000000000000] after 1500ms
[ 1517.333845] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 1517.333896] name=[nvhost_sync:34], current value=0 waiting value=15
[ 1517.334010] ---- mlocks ----
[ 1517.334346] ---- syncpts ----
[ 1517.334621] id 16 (gv11b_511) min 234 max 234 refs 1 (previous client : )
[ 1517.334689] tegra194-vi5 15c10000.vi: vi capture get status failed
[ 1517.335028] id 17 (gv11b_510) min 9 max 9 refs 1 (previous client : )
[ 1517.335130] id 18 (gv11b_509) min 17 max 17 refs 1 (previous client : gv11b_509)
[ 1517.335253] id 23 (gv11b_508_user) min 393216 max 393216 refs 1 (previous client : gv11b_508_user)
[ 1517.335343] id 25 (gv11b_507_user) min 393331 max 393302 refs 1 (previous client : gv11b_507_user)
[ 1517.335443] id 29 (gv11b_506_user) min 393216 max 393216 refs 1 (previous client : gv11b_506_user)
[ 1517.335525] id 31 (gv11b_505_user) min 393216 max 393216 refs 1 (previous client : gv11b_505_user)
[ 1517.335609] id 33 (gv11b_504_user) min 393216 max 393216 refs 1 (previous client : gv11b_504_user)
[ 1517.335717] id 38 (gv11b_500) min 65536 max 65536 refs 1 (previous client : gv11b_498)
[ 1517.335808] id 39 (gv11b_500_user) min 131072 max 131072 refs 1 (previous client : gv11b_498_user)
[ 1517.335910] id 40 (gv11b_495) min 65536 max 65536 refs 1 (previous client : gv11b_502)
[ 1517.335984] id 41 (gv11b_495_user) min 131072 max 131072 refs 1 (previous client : gv11b_502_user)
[ 1517.336098] id 42 (gv11b_494) min 65536 max 65536 refs 1 (previous client : gv11b_503)
[ 1517.336171] id 43 (gv11b_494_user) min 131072 max 131072 refs 1 (previous client : gv11b_503_user)
[ 1517.336242] id 44 (gv11b_496) min 65536 max 65536 refs 1 (previous client : gv11b_501)
[ 1517.336316] id 45 (gv11b_496_user) min 131072 max 131072 refs 1 (previous client : gv11b_501_user)
[ 1517.336398] id 47 (gv11b_499_user) min 196608 max 196608 refs 1 (previous client : gv11b_499_user)
[ 1517.336466] id 48 (gv11b_501) min 25 max 25 refs 1 (previous client : gv11b_497)
[ 1517.336531] id 49 (gv11b_503) min 21 max 21 refs 1 (previous client : gv11b_496)
[ 1517.336596] id 50 (gv11b_502) min 21 max 21 refs 1 (previous client : gv11b_495)
[ 1517.336661] id 51 (gv11b_498) min 21 max 21 refs 1 (previous client : gv11b_494)
[ 1517.336726] id 52 (gv11b_497) min 21 max 21 refs 1 (previous client : gv11b_500)
[ 1517.336783] fence timeout on [0000000000000000] after 1500ms
[ 1517.336845] name=[nvhost_sync:34], current value=0 waiting value=10
[ 1517.336932] ---- mlocks ----
[ 1517.337780] ---- syncpts ----
[ 1517.344691] id 16 (gv11b_511) min 234 max 234 refs 1 (previous client : )
[ 1517.344732] id 17 (gv11b_510) min 9 max 9 refs 1 (previous client : )
[ 1517.344765] id 18 (gv11b_509) min 17 max 17 refs 1 (previous client : gv11b_509)
[ 1517.344815] id 23 (gv11b_508_user) min 393216 max 393216 refs 1 (previous client : gv11b_508_user)
[ 1517.344853] id 25 (gv11b_507_user) min 393331 max 393302 refs 1 (previous client : gv11b_507_user)
[ 1517.344896] id 29 (gv11b_506_user) min 393216 max 393216 refs 1 (previous client : gv11b_506_user)
[ 1517.344932] id 31 (gv11b_505_user) min 393216 max 393216 refs 1 (previous client : gv11b_505_user)
[ 1517.344968] id 33 (gv11b_504_user) min 393216 max 393216 refs 1 (previous client : gv11b_504_user)
[ 1517.345015] id 38 (gv11b_500) min 65536 max 65536 refs 1 (previous client : gv11b_498)
[ 1517.345048] id 39 (gv11b_500_user) min 131072 max 131072 refs 1 (previous client : gv11b_498_user)
[ 1517.345079] id 40 (gv11b_495) min 65536 max 65536 refs 1 (previous client : gv11b_502)
[ 1517.345110] id 41 (gv11b_495_user) min 131072 max 131072 refs 1 (previous client : gv11b_502_user)
[ 1517.345141] id 42 (gv11b_494) min 65536 max 65536 refs 1 (previous client : gv11b_503)
[ 1517.345172] id 43 (gv11b_494_user) min 131072 max 131072 refs 1 (previous client : gv11b_503_user)
[ 1517.345202] id 44 (gv11b_496) min 65536 max 65536 refs 1 (previous client : gv11b_501)
[ 1517.345839] ---- channels ----
[ 1517.345949]
channel 2 - 15820000.se
[ 1517.345968] NvHost basic channel registers:
[ 1517.345995] CMDFIFO_STAT_0: 00002040
[ 1517.346017] CMDFIFO_RDATA_0: 00101201
[ 1517.346041] CMDP_OFFSET_0: 00000000
[ 1517.346062] CMDP_CLASS_0: 00000000
[ 1517.346084] CHANNELSTAT_0: 00000000
[ 1517.346101] The CDMA sync queue is empty.
[ 1517.346138]
channel 3 - 15830000.se
[ 1517.346154] NvHost basic channel registers:
[ 1517.346174] CMDFIFO_STAT_0: 00002040
[ 1517.346195] CMDFIFO_RDATA_0: e1200880
[ 1517.346218] CMDP_OFFSET_0: 00000000
[ 1517.346235] CMDP_CLASS_0: 00000000
[ 1517.346253] CHANNELSTAT_0: 00000000
[ 1517.346268] The CDMA sync queue is empty.
[ 1517.346406]
channel 4 - 15840000.se
[ 1517.346422] NvHost basic channel registers:
[ 1517.346442] CMDFIFO_STAT_0: 00002040
[ 1517.346460] CMDFIFO_RDATA_0: 008ac000
[ 1517.346480] CMDP_OFFSET_0: 00000000
[ 1517.346498] CMDP_CLASS_0: 00000000
[ 1517.346516] CHANNELSTAT_0: 00000000
[ 1517.346531] The CDMA sync queue is empty.
[ 1517.346576]
---- host general irq ----
[ 1517.346595] sync_intc0mask = 0x00000001
[ 1517.346614] sync_intmask = 0x50000003
[ 1517.346629]
---- host syncpt irq mask ----
[ 1517.346653]
---- host syncpt irq status ----
[ 1517.346690] syncpt_thresh_cpu0_int_status(0) = 0x00000000
[ 1517.346713] syncpt_thresh_cpu0_int_status(1) = 0x00000000
[ 1517.346734] syncpt_thresh_cpu0_int_status(2) = 0x00000000
[ 1517.346755] syncpt_thresh_cpu0_int_status(3) = 0x00000000
[ 1517.346777] syncpt_thresh_cpu0_int_status(4) = 0x00000000
[ 1517.346798] syncpt_thresh_cpu0_int_status(5) = 0x00000000
[ 1517.346820] syncpt_thresh_cpu0_int_status(6) = 0x00000000
[ 1517.346839] syncpt_thresh_cpu0_int_status(7) = 0x00000000
[ 1517.346858] syncpt_thresh_cpu0_int_status(8) = 0x00000000
[ 1517.346885] syncpt_thresh_cpu0_int_status(9) = 0x00000000
[ 1517.346905] syncpt_thresh_cpu0_int_status(10) = 0x00000000
[ 1517.346924] syncpt_thresh_cpu0_int_status(11) = 0x00000000
[ 1517.346943] syncpt_thresh_cpu0_int_status(12) = 0x00000000
[ 1517.346962] syncpt_thresh_cpu0_int_status(13) = 0x00000000
[ 1517.347024] syncpt_thresh_cpu0_int_status(14) = 0x00000000
[ 1517.347072] syncpt_thresh_cpu0_int_status(15) = 0x00000000
[ 1517.347114] syncpt_thresh_cpu0_int_status(16) = 0x00000000
[ 1517.347201] syncpt_thresh_cpu0_int_status(17) = 0x00000000
[ 1517.347244] syncpt_thresh_cpu0_int_status(18) = 0x00000000
[ 1517.347301] syncpt_thresh_cpu0_int_status(19) = 0x00000000
[ 1517.347347] syncpt_thresh_cpu0_int_status(20) = 0x00000000
[ 1517.347402] syncpt_thresh_cpu0_int_status(21) = 0x00000000
[ 1517.349914] id 45 (gv11b_496_user) min 131072 max 131072 refs 1 (previous client : gv11b_501_user)
[ 1517.349946] id 47 (gv11b_499_user) min 196608 max 196608 refs 1 (previous client : gv11b_499_user)
[ 1517.349964] id 48 (gv11b_501) min 25 max 25 refs 1 (previous client : gv11b_497)
[ 1517.349979] id 49 (gv11b_503) min 21 max 21 refs 1 (previous client : gv11b_496)
[ 1517.349995] id 50 (gv11b_502) min 21 max 21 refs 1 (previous client : gv11b_495)
[ 1517.350010] id 51 (gv11b_498) min 21 max 21 refs 1 (previous client : gv11b_494)
[ 1517.350025] id 52 (gv11b_497) min 21 max 21 refs 1 (previous client : gv11b_500)
[ 1517.351623] ---- channels ----
[ 1517.351805]
channel 2 - 15820000.se
[ 1517.351823] NvHost basic channel registers:
[ 1517.351842] CMDFIFO_STAT_0: 00002040
[ 1517.351856] CMDFIFO_RDATA_0: 00101201
[ 1517.351871] CMDP_OFFSET_0: 00000000
[ 1517.351884] CMDP_CLASS_0: 00000000
[ 1517.351896] CHANNELSTAT_0: 00000000
[ 1517.351907] The CDMA sync queue is empty.
[ 1517.351934]
channel 3 - 15830000.se
[ 1517.351945] NvHost basic channel registers:
[ 1517.351961] CMDFIFO_STAT_0: 00002040
[ 1517.351974] CMDFIFO_RDATA_0: e1200880
[ 1517.351988] CMDP_OFFSET_0: 00000000
[ 1517.352000] CMDP_CLASS_0: 00000000
[ 1517.352013] CHANNELSTAT_0: 00000000
[ 1517.352038] The CDMA sync queue is empty.
[ 1517.352065]
channel 4 - 15840000.se
[ 1517.352076] NvHost basic channel registers:
[ 1517.352090] CMDFIFO_STAT_0: 00002040
[ 1517.352103] CMDFIFO_RDATA_0: 008ac000
[ 1517.352116] CMDP_OFFSET_0: 00000000
[ 1517.352129] CMDP_CLASS_0: 00000000
[ 1517.352142] CHANNELSTAT_0: 00000000
[ 1517.352152] The CDMA sync queue is empty.
[ 1517.352183]
---- host general irq ----
[ 1517.352308] sync_intc0mask = 0x00000001
[ 1517.352323] sync_intmask = 0x50000003
[ 1517.352334]
---- host syncpt irq mask ----
[ 1517.352344]
---- host syncpt irq status ----
[ 1517.352361] syncpt_thresh_cpu0_int_status(0) = 0x00000000
[ 1517.352375] syncpt_thresh_cpu0_int_status(1) = 0x00000000
[ 1517.352389] syncpt_thresh_cpu0_int_status(2) = 0x00000000
[ 1517.352402] syncpt_thresh_cpu0_int_status(3) = 0x00000000
[ 1517.352415] syncpt_thresh_cpu0_int_status(4) = 0x00000000
[ 1517.352429] syncpt_thresh_cpu0_int_status(5) = 0x00000000
[ 1517.352452] syncpt_thresh_cpu0_int_status(6) = 0x00000000
[ 1517.352465] syncpt_thresh_cpu0_int_status(7) = 0x00000000
[ 1517.352479] syncpt_thresh_cpu0_int_status(8) = 0x00000000
[ 1517.352492] syncpt_thresh_cpu0_int_status(9) = 0x00000000
[ 1517.352505] syncpt_thresh_cpu0_int_status(10) = 0x00000000
[ 1517.352519] syncpt_thresh_cpu0_int_status(11) = 0x00000000
[ 1517.352532] syncpt_thresh_cpu0_int_status(12) = 0x00000000
[ 1517.352545] syncpt_thresh_cpu0_int_status(13) = 0x00000000
[ 1517.352558] syncpt_thresh_cpu0_int_status(14) = 0x00000000
[ 1517.352572] syncpt_thresh_cpu0_int_status(15) = 0x00000000
[ 1517.352588] syncpt_thresh_cpu0_int_status(16) = 0x00000000
[ 1517.352610] syncpt_thresh_cpu0_int_status(17) = 0x00000000
[ 1517.352625] syncpt_thresh_cpu0_int_status(18) = 0x00000000
[ 1517.352638] syncpt_thresh_cpu0_int_status(19) = 0x00000000
[ 1517.352651] syncpt_thresh_cpu0_int_status(20) = 0x00000000
[ 1517.352664] syncpt_thresh_cpu0_int_status(21) = 0x00000000
[ 1527.893778] fence timeout on [0000000000000000] after 1500ms
[ 1527.893885] name=[nvhost_sync:34], current value=0 waiting value=15
[ 1527.893965] ---- mlocks ----
[ 1527.894326] ---- syncpts ----
[ 1527.894618] id 16 (gv11b_511) min 234 max 234 refs 1 (previous client : )
[ 1527.894945] id 17 (gv11b_510) min 9 max 9 refs 1 (previous client : )
[ 1527.895018] id 18 (gv11b_509) min 17 max 17 refs 1 (previous client : gv11b_509)
[ 1527.895136] id 23 (gv11b_508_user) min 393216 max 393216 refs 1 (previous client : gv11b_508_user)
[ 1527.895222] id 25 (gv11b_507_user) min 393331 max 393302 refs 1 (previous client : gv11b_507_user)
[ 1527.895320] id 29 (gv11b_506_user) min 393216 max 393216 refs 1 (previous client : gv11b_506_user)
[ 1527.895404] id 31 (gv11b_505_user) min 393216 max 393216 refs 1 (previous client : gv11b_505_user)
[ 1527.895486] id 33 (gv11b_504_user) min 393216 max 393216 refs 1 (previous client : gv11b_504_user)
[ 1527.895638] id 38 (gv11b_500) min 65536 max 65536 refs 1 (previous client : gv11b_498)
[ 1527.895928] id 39 (gv11b_500_user) min 131072 max 131072 refs 1 (previous client : gv11b_498_user)
[ 1527.896000] id 40 (gv11b_495) min 65536 max 65536 refs 1 (previous client : gv11b_502)
[ 1527.896075] id 41 (gv11b_495_user) min 131072 max 131072 refs 1 (previous client : gv11b_502_user)
[ 1527.896149] id 42 (gv11b_494) min 65536 max 65536 refs 1 (previous client : gv11b_503)
[ 1527.896221] id 43 (gv11b_494_user) min 131072 max 131072 refs 1 (previous client : gv11b_503_user)
[ 1527.896295] id 44 (gv11b_496) min 65536 max 65536 refs 1 (previous client : gv11b_501)
[ 1527.896367] id 45 (gv11b_496_user) min 131072 max 131072 refs 1 (previous client : gv11b_501_user)
[ 1527.896448] id 47 (gv11b_499_user) min 196608 max 196608 refs 1 (previous client : gv11b_499_user)
[ 1527.896518] id 48 (gv11b_501) min 25 max 25 refs 1 (previous client : gv11b_497)
[ 1527.896583] id 49 (gv11b_503) min 21 max 21 refs 1 (previous client : gv11b_496)
[ 1527.896681] id 50 (gv11b_502) min 21 max 21 refs 1 (previous client : gv11b_495)
[ 1527.896746] id 51 (gv11b_498) min 21 max 21 refs 1 (previous client : gv11b_494)
[ 1527.896810] id 52 (gv11b_497) min 21 max 21 refs 1 (previous client : gv11b_500)
[ 1527.901503] ---- channels ----
[ 1527.901700]
channel 2 - 15820000.se
[ 1527.901718] NvHost basic channel registers:
[ 1527.901744] CMDFIFO_STAT_0: 00002040
[ 1527.901763] CMDFIFO_RDATA_0: 00101201
[ 1527.901785] CMDP_OFFSET_0: 00000000
[ 1527.901803] CMDP_CLASS_0: 00000000
[ 1527.901820] CHANNELSTAT_0: 00000000
[ 1527.901837] The CDMA sync queue is empty.
[ 1527.901970]
channel 3 - 15830000.se
[ 1527.901986] NvHost basic channel registers:
[ 1527.902021] CMDFIFO_STAT_0: 00002040
[ 1527.902039] CMDFIFO_RDATA_0: e1200880
[ 1527.902059] CMDP_OFFSET_0: 00000000
[ 1527.902078] CMDP_CLASS_0: 00000000
[ 1527.902096] CHANNELSTAT_0: 00000000
[ 1527.902125] The CDMA sync queue is empty.
[ 1527.902165]
channel 4 - 15840000.se
[ 1527.902180] NvHost basic channel registers:
[ 1527.902199] CMDFIFO_STAT_0: 00002040
[ 1527.902217] CMDFIFO_RDATA_0: 008ac000
[ 1527.902236] CMDP_OFFSET_0: 00000000
[ 1527.902254] CMDP_CLASS_0: 00000000
[ 1527.902271] CHANNELSTAT_0: 00000000
[ 1527.902286] The CDMA sync queue is empty.
[ 1527.902403]
---- host general irq ----
[ 1527.902424] sync_intc0mask = 0x00000001
[ 1527.902451] sync_intmask = 0x50000003
[ 1527.902467]
---- host syncpt irq mask ----
[ 1527.902482]
---- host syncpt irq status ----
[ 1527.902506] syncpt_thresh_cpu0_int_status(0) = 0x00000000
[ 1527.902525] syncpt_thresh_cpu0_int_status(1) = 0x00000000
[ 1527.902544] syncpt_thresh_cpu0_int_status(2) = 0x00000000
[ 1527.902562] syncpt_thresh_cpu0_int_status(3) = 0x00000000
[ 1527.902581] syncpt_thresh_cpu0_int_status(4) = 0x00000000
[ 1527.902600] syncpt_thresh_cpu0_int_status(5) = 0x00000000
[ 1527.902618] syncpt_thresh_cpu0_int_status(6) = 0x00000000
[ 1527.902637] syncpt_thresh_cpu0_int_status(7) = 0x00000000
[ 1527.902656] syncpt_thresh_cpu0_int_status(8) = 0x00000000
[ 1527.902675] syncpt_thresh_cpu0_int_status(9) = 0x00000000
[ 1527.902694] syncpt_thresh_cpu0_int_status(10) = 0x00000000
[ 1527.902713] syncpt_thresh_cpu0_int_status(11) = 0x00000000
[ 1527.902735] syncpt_thresh_cpu0_int_status(12) = 0x00000000
[ 1527.902754] syncpt_thresh_cpu0_int_status(13) = 0x00000000
[ 1527.902772] syncpt_thresh_cpu0_int_status(14) = 0x00000000
[ 1527.902791] syncpt_thresh_cpu0_int_status(15) = 0x00000000
[ 1527.902810] syncpt_thresh_cpu0_int_status(16) = 0x00000000
[ 1527.902828] syncpt_thresh_cpu0_int_status(17) = 0x00000000
[ 1527.902847] syncpt_thresh_cpu0_int_status(18) = 0x00000000
[ 1527.902866] syncpt_thresh_cpu0_int_status(19) = 0x00000000
[ 1527.902885] syncpt_thresh_cpu0_int_status(20) = 0x00000000
[ 1527.902904] syncpt_thresh_cpu0_int_status(21) = 0x00000000
[ 1527.987801] imx307 2-001a: imx307_stop_streaming: stop stream
[ 1528.009095] imx307 reg 0x3000 val 0x01
[ 1528.009454] imx307 reg 0x3002 val 0x01
[ 1528.009715] imx307 reg 0x304b val 0x00
[ 1528.067691] imx307 2-001a: imx307_power_off: power off
I can no longer capture images, whether using argus or v4l2. The log of v4l2 at this time is as follows
[ 2900.542938] imx307 reg 0x3452 val 0x0f
[ 2900.543153] imx307 reg 0x3453 val 0x00
[ 2900.543369] imx307 reg 0x3454 val 0x0f
[ 2900.543638] imx307 reg 0x3455 val 0x00
[ 2900.543673] imx307 2-001a: imx307_start_streaming: start stream
[ 2900.586830] imx307 reg 0x3000 val 0x00
[ 2900.587255] imx307 reg 0x3002 val 0x00
[ 2900.587658] imx307 reg 0x304b val 0x0a (will get stuck here until i ctrl c)
[ 2922.402227] imx307 2-001a: imx307_stop_streaming: stop stream
[ 2922.424345] imx307 reg 0x3000 val 0x01
[ 2922.425738] imx307 reg 0x3002 val 0x01
[ 2922.426449] imx307 reg 0x304b val 0x00
[ 2922.487975] ------------[ cut here ]------------
[ 2922.488606] WARNING: CPU: 0 PID: 8158 at drivers/media/v4l2-core/videobuf2-core.c:1667 __vb2_queue_cancel+0x11c/0x188
[ 2922.489184] Modules linked in: nvgpu datawr(O)
[ 2922.489692] CPU: 0 PID: 8158 Comm: v4l2-ctl Tainted: G W O 4.9.140+ #3
[ 2922.489742] Hardware name: Jetson-AGX (DT)
[ 2922.489809] task: ffffffc7da0c1c00 task.stack: ffffffc7cc0f0000
[ 2922.489882] PC is at __vb2_queue_cancel+0x11c/0x188
[ 2922.489942] LR is at __vb2_queue_cancel+0x34/0x188
[ 2922.490128] pc : [<ffffff8008b34894>] lr : [<ffffff8008b347ac>] pstate: 20400045
[ 2922.490222] sp : ffffffc7cc0f3ae0
[ 2922.490376] x29: ffffffc7cc0f3ae0 x28: 0000000000000008
[ 2922.490731] x27: ffffff8008f72000 x26: ffffffc7cc0f3de8
[ 2922.491043] x25: ffffffc7bd674668 x24: ffffffc7d614a518
[ 2922.491352] x23: 0000000000000001 x22: ffffffc7d7a63018
[ 2922.491662] x21: ffffffc7d6799000 x20: ffffffc7d7a635d0
[ 2922.492007] x19: ffffffc7d7a635d0 x18: 0000000000000000
[ 2922.492314] x17: 0000007fa3fb1ff8 x16: ffffff800814f5e8
[ 2922.492717] x15: 0000000000000000 x14: 000000000002fc1d
[ 2922.492957] x13: 0000000000000235 x12: 071c71c71c71c71c
[ 2922.493098] x11: 000000000000000b x10: 0000000000000a10
[ 2922.493235] x9 : ffffffc7cc0f31e0 x8 : ffffffc7da0c2670
[ 2922.493367] x7 : fefefeff646c606d x6 : 000000001fc18839
[ 2922.493500] x5 : 0000000000000000 x4 : 0000000000000000
[ 2922.493631] x3 : ffffff80094df828 x2 : 0000000000000000
[ 2922.493761] x1 : ffffffc7d834c090 x0 : 0000000000000004
[ 2922.494073] ---[ end trace dd8831f728fd0a80 ]---
[ 2922.494537] Call trace:
[ 2922.494645] [<ffffff8008b34894>] __vb2_queue_cancel+0x11c/0x188
[ 2922.494730] [<ffffff8008b35cd4>] vb2_core_queue_release+0x2c/0x58
[ 2922.494812] [<ffffff8008b38354>] _vb2_fop_release+0x84/0xa0
[ 2922.494906] [<ffffff8008b3de14>] tegra_channel_close+0x64/0x140
[ 2922.495035] [<ffffff8008b11908>] v4l2_release+0x48/0xa0
[ 2922.495136] [<ffffff800825ebd0>] __fput+0x90/0x1d0
[ 2922.495232] [<ffffff800825ed88>] ____fput+0x20/0x30
[ 2922.495331] [<ffffff80080d9b74>] task_work_run+0xbc/0xd8
[ 2922.495426] [<ffffff80080b95f4>] do_exit+0x2c4/0xa08
[ 2922.495507] [<ffffff80080b9dc8>] do_group_exit+0x40/0xa8
[ 2922.495593] [<ffffff80080c76c4>] get_signal+0x26c/0x578
[ 2922.495683] [<ffffff800808b150>] do_signal+0x130/0x500
[ 2922.495765] [<ffffff800808b698>] do_notify_resume+0x90/0xb0
[ 2922.495843] [<ffffff800808379c>] work_pending+0x8/0x10
[ 2922.505636] imx307 2-001a: imx307_power_off: power off
If I persist in using v4l2 to get images after booting, there will be no problem. However, after v4l2 collects, argus will encounter the above error and get no image after collecting again. I have been troubled for a long time, can you provide me with some solutions, such as device tree problem or driver problem, thanks a lot.