I have a sparkfun jetbot kit and am having trouble opening the camera.
Camera is a Leopard LI-IMX219-MIPI-FF-NANO-H145
I have a simple ipynb that calls the following:
from jetbot import Camera
camera = Camera.instance()
…and the notebook hangs until I press the “stop” button.
when I run:
journalctl -u nvargus-daemon
The following is printed. Any idea what could be going on here?
-- Logs begin at Sun 2018-01-28 08:58:17 MST, end at Mon 2020-04-20 15:53:18 MDT. --
Apr 20 15:43:52 jetbot systemd[1]: Started Argus daemon.
Apr 20 15:52:42 jetbot nvargus-daemon[5017]: === NVIDIA Libargus Camera Service (0.97.3)=== Listening for connections...=== python3[7381]: Connection established (7F99FE71D0)OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module0
Apr 20 15:52:42 jetbot nvargus-daemon[5017]: OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module1
Apr 20 15:52:43 jetbot nvargus-daemon[5017]: OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
Apr 20 15:52:43 jetbot nvargus-daemon[5017]: ---- imager: No override file found. ----
Apr 20 15:52:43 jetbot nvargus-daemon[5017]: LSC: LSC surface is not based on full res!
Apr 20 15:52:43 jetbot nvargus-daemon[5017]: ---- imager: No override file found. ----
Apr 20 15:52:43 jetbot nvargus-daemon[5017]: (NvCamV4l2) Error ModuleNotPresent: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function findDevice(), line 256)
Apr 20 15:52:43 jetbot nvargus-daemon[5017]: (NvCamV4l2) Error ModuleNotPresent: (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 60)
Apr 20 15:52:43 jetbot nvargus-daemon[5017]: (NvOdmDevice) Error ModuleNotPresent: (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 106)
Apr 20 15:52:43 jetbot nvargus-daemon[5017]: NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
Apr 20 15:52:43 jetbot nvargus-daemon[5017]: NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
Apr 20 15:52:43 jetbot nvargus-daemon[5017]: NvPclStartPlatformDrivers: Failed to start module drivers
Apr 20 15:52:43 jetbot nvargus-daemon[5017]: NvPclStateControllerOpen: Failed ImagerGUID 0. (error 0xA000E)
Apr 20 15:52:43 jetbot nvargus-daemon[5017]: NvPclOpen: PCL Open Failed. Error: 0xf
Apr 20 15:52:43 jetbot nvargus-daemon[5017]: SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 582)
Apr 20 15:52:43 jetbot nvargus-daemon[5017]: SCF: Error BadParameter: (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 437)
Apr 20 15:52:43 jetbot nvargus-daemon[5017]: SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 295)
Apr 20 15:52:43 jetbot nvargus-daemon[5017]: SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function getSource(), line 458)
Apr 20 15:52:43 jetbot nvargus-daemon[5017]: Acquiring SCF Camera device source via index 1 has failed. === python3[7381]: CameraProvider initialized (0x7f948437e0)LSC: LSC surface is not based on full res!
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: SCF: Error Timeout: ISP Stats timed out! (in src/services/capture/NvIspHw.cpp, function waitIspStatsFinished(), line 561)
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: SCF: Error Timeout: ISP port 0 timed out! (in src/services/capture/NvIspHw.cpp, function waitIspFrameEnd(), line 478)
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: SCF: Error Timeout: (propagating from src/services/capture/NvIspHw.cpp, function waitIspFrameEnd(), line 519)
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: SCF: Error Timeout: (propagating from src/common/Utils.cpp, function workerThread(), line 116)
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: SCF: Error Timeout: Worker thread IspHw frameComplete failed (in src/common/Utils.cpp, function workerThread(), line 133)
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: Error: waitCsiFrameStart timeout guid 1
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: ************VI/CSI Debug Registers**********
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: VI_CFG_INTERRUPT_MASK_0 = 0x00000000
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: VI_CFG_INTERRUPT_STATUS_0 = 0x00000000
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: VI_CSI_0_ERROR_STATUS_0 = 0x00000000
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: VI_CSI_0_ERROR_INT_MASK_0 = 0x0000001f
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: VI_CSI_1_ERROR_STATUS_0 = 0x00000000
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: VI_CSI_1_ERROR_INT_MASK_0 = 0x00000000
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: CSI_CSI_PIXEL_PARSER_A_INTERRUPT_MASK_0 = 0x00000000
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: CSI_CSI_PIXEL_PARSER_A_STATUS_0 = 0x00000000
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: CSI_CSI_PIXEL_PARSER_B_INTERRUPT_MASK_0 = 0x00000000
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: CSI_CSI_PIXEL_PARSER_B_STATUS_0 = 0x00000000
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: CSI_CSI_CIL_A_INTERRUPT_MASK_0 = 0x00000000
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: CSI_CSI_CIL_A_STATUS_0 = 0x00000010
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: CSI_CSI_CILA_STATUS_0 = 0x00040041
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: CSI_CSI_CIL_B_INTERRUPT_MASK_0 = 0x00000000
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: CSI_CSI_CIL_B_STATUS_0 = 0x00000000
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: CSI_CSI_CILB_STATUS_0 = 0x00000000
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: CSI_CSI_READONLY_STATUS_0 = 0x00000000
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: CSI_DEBUG_CONTROL_0 = 0x7e090a00
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: CSI_DEBUG_COUNTER_0_0 = 0x00000000
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: CSI_DEBUG_COUNTER_1_0 = 0x00000000
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: CSI_DEBUG_COUNTER_2_0 = 0x00000000
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: *****************************************
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: Error: waitCsiFrameStart Something went wrong with waiting on frame start
Apr 20 15:52:45 jetbot nvargus-daemon[5017]: PowerServiceCore:handleRequests: timePassed = 1503
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: SCF: Error Timeout: ISP Stats timed out! (in src/services/capture/NvIspHw.cpp, function waitIspStatsFinished(), line 561)
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: Error: waitCsiFrameStart timeout guid 1
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: ************VI/CSI Debug Registers**********
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: VI_CFG_INTERRUPT_MASK_0 = 0x00000000
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: VI_CFG_INTERRUPT_STATUS_0 = 0x00000000
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: VI_CSI_0_ERROR_STATUS_0 = 0x00000000
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: VI_CSI_0_ERROR_INT_MASK_0 = 0x0000001f
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: VI_CSI_1_ERROR_STATUS_0 = 0x00000000
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: VI_CSI_1_ERROR_INT_MASK_0 = 0x00000000
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: CSI_CSI_PIXEL_PARSER_A_INTERRUPT_MASK_0 = 0x00000000
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: CSI_CSI_PIXEL_PARSER_A_STATUS_0 = 0x00000000
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: CSI_CSI_PIXEL_PARSER_B_INTERRUPT_MASK_0 = 0x00000000
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: CSI_CSI_PIXEL_PARSER_B_STATUS_0 = 0x00000000
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: CSI_CSI_CIL_A_INTERRUPT_MASK_0 = 0x00000000
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: CSI_CSI_CIL_A_STATUS_0 = 0x00000010
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: CSI_CSI_CILA_STATUS_0 = 0x00040041
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: CSI_CSI_CIL_B_INTERRUPT_MASK_0 = 0x00000000
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: CSI_CSI_CIL_B_STATUS_0 = 0x00000000
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: CSI_CSI_CILB_STATUS_0 = 0x00000000
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: CSI_CSI_READONLY_STATUS_0 = 0x00000000
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: CSI_DEBUG_CONTROL_0 = 0x7e090a00
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: CSI_DEBUG_COUNTER_0_0 = 0x00000000
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: CSI_DEBUG_COUNTER_1_0 = 0x00000000
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: CSI_DEBUG_COUNTER_2_0 = 0x00000000
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: SCF: Error Timeout: Sending critical error event (in src/api/Session.cpp, function sendErrorEvent(), line 990)
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: (Argus) Error InvalidState: (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: (Argus) Error InvalidState: (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: (Argus) Error InvalidState: (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)
Apr 20 15:52:47 jetbot nvargus-daemon[5017]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)
(…repeats forever)