Problem with voxl-camera-server crashing
-
I have VOXL2 running SDK 1.0 and voxl-camera-server 1.7.1. I am using camera configuration ID # 11 with a IMX412 camera. After doing
voxl-configure-camera 11 --imx412
and then power cycling the VOXL2voxl-camera-server
does not run. It crashes instantly. I have included the results from runningvoxl-inspect-services
andvoxl-camera-server -d 0
below. I would include a picture of the camera config however it is in a custom build platform and not easily visible.Scanning services... Service Name | Enabled | Running | CPU Usage ---------------------------------------------------------------- docker-autorun | Disabled | Not Running | docker-daemon | Disabled | Not Running | modallink-relink | Disabled | Not Running | voxl-camera-server | Enabled | Not Running | voxl-cpu-monitor | Enabled | Running | 0.0% voxl-dfs-server | Disabled | Not Running | voxl-feature-tracker | Disabled | Not Running | voxl-flow-server | Disabled | Not Running | voxl-imu-server | Enabled | Running | 0.0% voxl-lepton-server | Disabled | Not Running | voxl-mavcam-manager | Disabled | Not Running | voxl-mavlink-server | Enabled | Running | 2.7% voxl-modem | Enabled | Running | 0.2% voxl-portal | Enabled | Running | 0.1% voxl-px4-imu-server | Enabled | Running | 1.1% voxl-px4 | Enabled | Running | 37.2% voxl-qvio-server | Enabled | Not Running | voxl-remote-id | Disabled | Not Running | voxl-softap | Disabled | Not Running | voxl-static-ip | Disabled | Not Running | voxl-streamer | Enabled | Running | 0.0% voxl-tag-detector | Disabled | Not Running | voxl-tflite-server | Disabled | Not Running | voxl-time-sync | Disabled | Not Running | voxl-uvc-server | Disabled | Not Running | voxl-vision-hub | Enabled | Running | 1.3% voxl-wait-for-fs | Enabled | Completed |
voxl-camera-server -d 0
outputGPS server Connected DEBUG: stereo camera "stereo_front"with cam ids 0 & 1 DEBUG: Secondary id found for camera: stereo_front, assuming stereo DEBUG: stereo camera "stereo_rear"with cam ids 5 & 4 DEBUG: Secondary id found for camera: stereo_rear, assuming stereo ================================================================= configuration for 4 cameras: cam #0 name: tracking sensor type: ov7251 isEnabled: 1 camId: 2 camId2: -1 fps: 30 en_preview: 1 pre_width: 640 pre_height: 480 pre_format: raw8 en_small_video: 0 small_video_width: -1 small_video_height: -1 en_large_video: 0 large_video_width: -1 large_video_height: -1 en_snapshot: 0 snap_width: -1 snap_height: -1 ae_mode: lme_msv standby_enabled: 0 decimator: 1 independent_exposure:0 cam #1 name: hires sensor type: imx412 isEnabled: 1 camId: 3 camId2: -1 fps: 30 en_preview: 0 pre_width: 640 pre_height: 480 pre_format: nv21 en_small_video: 1 small_video_width: 1024 small_video_height: 768 en_large_video: 1 large_video_width: 2048 large_video_height: 1536 en_snapshot: 1 snap_width: 4056 snap_height: 3040 ae_mode: isp standby_enabled: 0 decimator: 1 independent_exposure:0 cam #2 name: stereo_front sensor type: ov7251 isEnabled: 1 camId: 0 camId2: 1 fps: 30 en_preview: 1 pre_width: 640 pre_height: 480 pre_format: raw8 en_small_video: 0 small_video_width: -1 small_video_height: -1 en_large_video: 0 large_video_width: -1 large_video_height: -1 en_snapshot: 0 snap_width: -1 snap_height: -1 ae_mode: lme_msv standby_enabled: 0 decimator: 1 independent_exposure:0 cam #3 name: stereo_rear sensor type: ov7251 isEnabled: 1 camId: 5 camId2: 4 fps: 30 en_preview: 1 pre_width: 640 pre_height: 480 pre_format: raw8 en_small_video: 0 small_video_width: -1 small_video_height: -1 en_large_video: 0 large_video_width: -1 large_video_height: -1 en_snapshot: 0 snap_width: -1 snap_height: -1 ae_mode: lme_msv standby_enabled: 0 decimator: 1 independent_exposure:0 ================================================================= DEBUG: ------ voxl-camera-server: Starting 4 cameras Starting Camera: tracking DEBUG: Attempting to open the hal module DEBUG: SUCCESS: Camera module opened on attempt 0 DEBUG: ----------- Number of cameras: 4 DEBUG: Cam idx: 0, Cam slot: 0, Slave Address: 0x00E2, Sensor Id: 0x7750 DEBUG: Cam idx: 1, Cam slot: 1, Slave Address: 0x00E4, Sensor Id: 0x7750 DEBUG: Cam idx: 2, Cam slot: 4, Slave Address: 0x00E2, Sensor Id: 0x7750 DEBUG: Cam idx: 3, Cam slot: 5, Slave Address: 0x00E4, Sensor Id: 0x7750 VERBOSE: Successfully found configuration match for camera 2: 640x480 VERBOSE: Adding preview stream for camera: 2 DEBUG: Converted gralloc flags 0x20900 to GBM flags 0x1400000 VERBOSE: Dumping GBM flags DEBUG: Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI DEBUG: Found flag GBM_BO_USAGE_HW_COMPOSER_QTI VERBOSE: Opened GBM fd gbm_create_device(156): Info: backend name is: msm_drm VERBOSE: Created GBM device DEBUG: Allocated BO with width=640 height=480 stride=640 aligned_w=800 aligned_h=480 size=385024 flags=0x20900 format=GBM_FORMAT_RAW10 DEBUG: Converted gralloc flags 0x20900 to GBM flags 0x1400000 VERBOSE: Dumping GBM flags DEBUG: Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI DEBUG: Found flag GBM_BO_USAGE_HW_COMPOSER_QTI DEBUG: Allocated BO with width=640 height=480 stride=640 aligned_w=800 aligned_h=480 size=385024 flags=0x20900 format=GBM_FORMAT_RAW10 DEBUG: Converted gralloc flags 0x20900 to GBM flags 0x1400000 VERBOSE: Dumping GBM flags DEBUG: Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI DEBUG: Found flag GBM_BO_USAGE_HW_COMPOSER_QTI DEBUG: Allocated BO with width=640 height=480 stride=640 aligned_w=800 aligned_h=480 size=385024 flags=0x20900 format=GBM_FORMAT_RAW10 DEBUG: Converted gralloc flags 0x20900 to GBM flags 0x1400000 VERBOSE: Dumping GBM flags DEBUG: Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI DEBUG: Found flag GBM_BO_USAGE_HW_COMPOSER_QTI DEBUG: Allocated BO with width=640 height=480 stride=640 aligned_w=800 aligned_h=480 size=385024 flags=0x20900 format=GBM_FORMAT_RAW10 DEBUG: Converted gralloc flags 0x20900 to GBM flags 0x1400000 VERBOSE: Dumping GBM flags DEBUG: Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI DEBUG: Found flag GBM_BO_USAGE_HW_COMPOSER_QTI DEBUG: Allocated BO with width=640 height=480 stride=640 aligned_w=800 aligned_h=480 size=385024 flags=0x20900 format=GBM_FORMAT_RAW10 DEBUG: Converted gralloc flags 0x20900 to GBM flags 0x1400000 VERBOSE: Dumping GBM flags DEBUG: Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI DEBUG: Found flag GBM_BO_USAGE_HW_COMPOSER_QTI DEBUG: Allocated BO with width=640 height=480 stride=640 aligned_w=800 aligned_h=480 size=385024 flags=0x20900 format=GBM_FORMAT_RAW10 DEBUG: Converted gralloc flags 0x20900 to GBM flags 0x1400000 VERBOSE: Dumping GBM flags DEBUG: Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI DEBUG: Found flag GBM_BO_USAGE_HW_COMPOSER_QTI DEBUG: Allocated BO with width=640 height=480 stride=640 aligned_w=800 aligned_h=480 size=385024 flags=0x20900 format=GBM_FORMAT_RAW10 DEBUG: Converted gralloc flags 0x20900 to GBM flags 0x1400000 VERBOSE: Dumping GBM flags DEBUG: Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI DEBUG: Found flag GBM_BO_USAGE_HW_COMPOSER_QTI DEBUG: Allocated BO with width=640 height=480 stride=640 aligned_w=800 aligned_h=480 size=385024 flags=0x20900 format=GBM_FORMAT_RAW10 DEBUG: Converted gralloc flags 0x20900 to GBM flags 0x1400000 VERBOSE: Dumping GBM flags DEBUG: Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI DEBUG: Found flag GBM_BO_USAGE_HW_COMPOSER_QTI DEBUG: Allocated BO with width=640 height=480 stride=640 aligned_w=800 aligned_h=480 size=385024 flags=0x20900 format=GBM_FORMAT_RAW10 DEBUG: Converted gralloc flags 0x20900 to GBM flags 0x1400000 VERBOSE: Dumping GBM flags DEBUG: Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI DEBUG: Found flag GBM_BO_USAGE_HW_COMPOSER_QTI DEBUG: Allocated BO with width=640 height=480 stride=640 aligned_w=800 aligned_h=480 size=385024 flags=0x20900 format=GBM_FORMAT_RAW10 DEBUG: Converted gralloc flags 0x20900 to GBM flags 0x1400000 VERBOSE: Dumping GBM flags DEBUG: Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI DEBUG: Found flag GBM_BO_USAGE_HW_COMPOSER_QTI DEBUG: Allocated BO with width=640 height=480 stride=640 aligned_w=800 aligned_h=480 size=385024 flags=0x20900 format=GBM_FORMAT_RAW10 DEBUG: Converted gralloc flags 0x20900 to GBM flags 0x1400000 VERBOSE: Dumping GBM flags DEBUG: Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI DEBUG: Found flag GBM_BO_USAGE_HW_COMPOSER_QTI DEBUG: Allocated BO with width=640 height=480 stride=640 aligned_w=800 aligned_h=480 size=385024 flags=0x20900 format=GBM_FORMAT_RAW10 DEBUG: Converted gralloc flags 0x20900 to GBM flags 0x1400000 VERBOSE: Dumping GBM flags DEBUG: Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI DEBUG: Found flag GBM_BO_USAGE_HW_COMPOSER_QTI DEBUG: Allocated BO with width=640 height=480 stride=640 aligned_w=800 aligned_h=480 size=385024 flags=0x20900 format=GBM_FORMAT_RAW10 DEBUG: Converted gralloc flags 0x20900 to GBM flags 0x1400000 VERBOSE: Dumping GBM flags DEBUG: Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI DEBUG: Found flag GBM_BO_USAGE_HW_COMPOSER_QTI DEBUG: Allocated BO with width=640 height=480 stride=640 aligned_w=800 aligned_h=480 size=385024 flags=0x20900 format=GBM_FORMAT_RAW10 DEBUG: Converted gralloc flags 0x20900 to GBM flags 0x1400000 VERBOSE: Dumping GBM flags DEBUG: Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI DEBUG: Found flag GBM_BO_USAGE_HW_COMPOSER_QTI DEBUG: Allocated BO with width=640 height=480 stride=640 aligned_w=800 aligned_h=480 size=385024 flags=0x20900 format=GBM_FORMAT_RAW10 DEBUG: Converted gralloc flags 0x20900 to GBM flags 0x1400000 VERBOSE: Dumping GBM flags DEBUG: Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI DEBUG: Found flag GBM_BO_USAGE_HW_COMPOSER_QTI DEBUG: Allocated BO with width=640 height=480 stride=640 aligned_w=800 aligned_h=480 size=385024 flags=0x20900 format=GBM_FORMAT_RAW10 DEBUG: Successfully set up pipeline for stream: PREVIEW VERBOSE: Entered thread: cam2-request(tid: 4720) VERBOSE: Entered thread: cam2-result(tid: 4721) DEBUG: Started Camera: tracking Starting Camera: hires VERBOSE: added request for preview stream VERBOSE: Sending request for frame 0 for camera tracking for 1 streams ERROR: Camera 3 failed to find supported stream config: 1024x768 ERROR: Failed to start camera: hires, exiting DEBUG: Stopping Camera: tracking VERBOSE: Received result from HAl3 for frame number 0 VERBOSE: Received 0 buffers from camera tracking, partial result:1 VERBOSE: finished sending request for frame 0 for camera tracking VERBOSE: returning from SendOneCaptureRequest for frame 1 for camera tracking DEBUG: ------ Last request frame for tracking: 1 VERBOSE: Leaving tracking request thread DEBUG: ------ Last tracking result frame: 0 VERBOSE: Leaving tracking result thread DEBUG: Deleting buffers for tracking preview stream WARNING: Deleting buffers: 1 of 16 still in use DEBUG: Deleting buffers for tracking small video stream DEBUG: Deleting buffers for tracking large video stream DEBUG: Deleting buffers for tracking snapshot stream VERBOSE: Received result from HAl3 for frame number 0 VERBOSE: Received 1 buffers from camera tracking, partial result:0 VERBOSE: Received output buffer 0 from camera tracking VERBOSE: Buffer arrive before meta frame 0 DEBUG: Done closing device for camera tracking DEBUG: Done calling stop for camera tracking DEBUG: Deleting Camera: tracking DEBUG: Stopped Camera: tracking DEBUG: Erasing all managers
-
@Chase-Riley this is most likely a hardware / cabling issue. Often cables are plugged in backwards or not fully seated