ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    voxl-camera-server stalls/crash

    Ask your questions right here!
    2
    3
    240
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Steve TurnerS
      Steve Turner
      last edited by

      What hardware are you using?
      VOXL2 Mini. Single IMX678 to isolate issues with ModalAI flex cables without extensions. Same configuration as: https://docs.modalai.com/voxl2-camera-configs/#c-08-hires-only but with IMX678 on a VOXL2 Mini.

      What version of software are you using?

      	libmodal-cv                 0.4.0-202309221302
      	libmodal-exposure           0.1.0-202310231718
      	libmodal-journal            0.2.2-202211021731
      	libmodal-json               0.4.3-202209281920
      	libmodal-pipe               2.10.0-202311162306
      	libqrb5165-io               0.4.3-202312061353
      	libvoxl-cci-direct          0.2.1-202309211746
      	libvoxl-cutils              0.1.1-202210072352
      	mv-voxl                     0.1-r0
      	qrb5165-bind                0.1-r0
      	qrb5165-dfs-server          0.2.0-202309221318
      	qrb5165-imu-server          1.0.1-202312010251
      	qrb5165-rangefinder-server  0.1.1
      	qrb5165-slpi-test-sig       01-r0
      	qrb5165-system-tweaks       0.2.3-202310251528
      	qrb5165-tflite              2.8.0-2-202210071637
      	voxl-bind-spektrum          0.1.0-202306141409
      	voxl-camera-calibration     0.5.3-202311291536
      	voxl-camera-server          1.8.9
      	voxl-capture                0.0.1-202206110121
      	voxl-configurator           0.4.8
      	voxl-cpu-monitor            0.4.7-202311071555
      	voxl-docker-support         1.3.0-202309201525
      	voxl-elrs                   0.1.3-202311081047
      	voxl-esc                    1.3.7
      	voxl-feature-tracker        0.3.3-202312051209
      	voxl-flow-server            0.3.4-202312051140
      	voxl-gphoto2-server         0.0.10-202210072352
      	voxl-jpeg-turbo             2.1.3-5-202311071550
      	voxl-lepton-server          1.2.0-202309051721
      	voxl-libgphoto2             0.0.4-202204111958
      	voxl-libuvc                 1.0.7-202210072357
      	voxl-logger                 0.3.5-202309051053
      	voxl-mavcam-manager         0.5.3-202309221714
      	voxl-mavlink                0.1.1-202305011701
      	voxl-mavlink-server         1.2.1
      	voxl-modem                  1.0.8-202310121252
      	voxl-mongoose               7.7.0-1-202210072105
      	voxl-mpa-to-ros             0.3.7-202310131817
      	voxl-mpa-tools              1.1.3-202311151155
      	voxl-neopixel-manager       0.0.3-202312061522
      	voxl-opencv                 4.5.5-2-202311071601
      	voxl-portal                 0.6.3
      	voxl-px4                    1.14.0-2.0.62-202312061556
      	voxl-px4-imu-server         0.1.2-202205131833
      	voxl-px4-params             0.3.3
      	voxl-qvio-server            1.0.0-202311221427
      	voxl-remote-id              0.0.9-202309191605
      	voxl-rtp                    0.0.1-202206101543
      	voxl-stitcher               0.0.2-202206161634
      	voxl-streamer               0.7.4-202309221610
      	voxl-suite                  1.1.2-202312062200
      	voxl-tag-detector           0.0.4-202206302112
      	voxl-tflite-server          0.3.2
      	voxl-utils                  1.3.3-202309221659
      	voxl-uvc-server             0.1.6-202311050848
      	voxl-vision-hub             1.7.3
      	voxl-wifi-broadcast         0.0.10-202206122258
      	voxl2-system-image          1.7.1-r0
      	voxl2-wlan                  1.0-r0
      

      How have you configured the software? What is the output of voxl-inspect-services
      Do you have any logs?

      voxl-camera-server -d 0 output:

      existing instance of voxl-camera-server found, attempting to stop it
      =================================================================
      configuration for 1 cameras:
      
      cam #0
          name:                hires
          sensor type:         imx678
          isEnabled:           1
          camId:               0
          camId2:              -1
          fps:                 30
          en_rotate:           0
          en_rotate2:          0
      
          en_preview:          0
          pre_width:           640
          pre_height:          480
          en_raw_preview:      0
      
          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:          3840
          snap_height:         2160
      
          ae_mode:             isp
          standby_enabled:     0
          decimator:           1
          independent_exposure:0
      
      =================================================================
      DEBUG:   Attempting to open the hal module
      DEBUG:   SUCCESS: Camera module opened on attempt 0
      DEBUG:   ----------- Number of cameras: 1
      
      DEBUG:   Cam idx: 0, Cam slot: 0, Slave Address: 0x0034, Sensor Id: 0xA602
      GPS server Connected 
      DEBUG:   Connected to cpu-monitor
      DEBUG:   ------ voxl-camera-server: Starting 1 cameras
      Starting Camera: hires (id #0)
      DEBUG:   Checking Gain limits for Camera: hires
      Using gain limits min: 54 max: 8000
      DEBUG:   cam ID 0 checking for fmt:   35  w: 1024 h:  768 o:   0
      
      DEBUG:   i:364 fmt: 36 w:3840 h:2160 o:0
      VERBOSE: Successfully found configuration match for camera 0: 1024x768
      DEBUG:   cam ID 0 checking for fmt:   35  w: 2048 h: 1536 o:   0
      
      VERBOSE: Successfully found configuration match for camera 0: 2048x1536
      DEBUG:   cam ID 0 checking for fmt:   33  w: 3840 h: 2160 o:   0
      
      VERBOSE: Successfully found configuration match for camera 0: 3840x2160
      VERBOSE: Adding small video stream for camera: 0
      VERBOSE: Adding large video stream for camera: 0
      VERBOSE: Adding snapshot stream for camera: 0
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      VERBOSE: Opened GBM fd
      VERBOSE: Created GBM device
      DEBUG:   Allocated BO with width=1024 height=768 stride=1024 aligned_w=1024 aligned_h=1024 size=1572864 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=1024 height=768 stride=1024 aligned_w=1024 aligned_h=1024 size=1572864 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=1024 height=768 stride=1024 aligned_w=1024 aligned_h=1024 size=1572864 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=1024 height=768 stride=1024 aligned_w=1024 aligned_h=1024 size=1572864 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=1024 height=768 stride=1024 aligned_w=1024 aligned_h=1024 size=1572864 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=1024 height=768 stride=1024 aligned_w=1024 aligned_h=1024 size=1572864 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=1024 height=768 stride=1024 aligned_w=1024 aligned_h=1024 size=1572864 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=1024 height=768 stride=1024 aligned_w=1024 aligned_h=1024 size=1572864 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=1024 height=768 stride=1024 aligned_w=1024 aligned_h=1024 size=1572864 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=1024 height=768 stride=1024 aligned_w=1024 aligned_h=1024 size=1572864 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=1024 height=768 stride=1024 aligned_w=1024 aligned_h=1024 size=1572864 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=1024 height=768 stride=1024 aligned_w=1024 aligned_h=1024 size=1572864 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=1024 height=768 stride=1024 aligned_w=1024 aligned_h=1024 size=1572864 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=1024 height=768 stride=1024 aligned_w=1024 aligned_h=1024 size=1572864 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=1024 height=768 stride=1024 aligned_w=1024 aligned_h=1024 size=1572864 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=1024 height=768 stride=1024 aligned_w=1024 aligned_h=1024 size=1572864 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Available color formats for OMX:
      DEBUG:   	Unknown (0x7fa30c06)
      DEBUG:   	Unknown (0x7fa30c06)
      DEBUG:   	OMX_QCOM_COLOR_FormatYUV420PackedSemiPlanar32m (0x7fa30c04)
      DEBUG:   	OMX_QCOM_COLOR_FormatYVU420SemiPlanar (0x7fa30c00)
      DEBUG:   	Unknown (0x7fa30c09)
      DEBUG:   	Unknown (0x7fa30c0a)
      DEBUG:   	Unknown (0x7fa30c08)
      DEBUG:   	Unknown (0x7fa30c07)
      DEBUG:   	OMX_COLOR_FormatAndroidOpaque (0x7f000789)
      DEBUG:   	OMX_COLOR_FormatYUV420SemiPlanar (0x15)
      DEBUG:   Buffer Count Expected: 16
      DEBUG:   Buffer Count Actual: 16
      DEBUG:   Buffer Count Expected: 16
      DEBUG:   Buffer Count Actual: 16
      DEBUG:   OMX_EventCmdComplete
      DEBUG:   OMX_EventCmdComplete
      DEBUG:   OMX_EventCmdComplete
      DEBUG:   OMX_EventCmdComplete
      DEBUG:   Successfully set up pipeline for stream: STREAM_SMALL_VID
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=2048 height=1536 stride=2048 aligned_w=2048 aligned_h=1536 size=4718592 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=2048 height=1536 stride=2048 aligned_w=2048 aligned_h=1536 size=4718592 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=2048 height=1536 stride=2048 aligned_w=2048 aligned_h=1536 size=4718592 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=2048 height=1536 stride=2048 aligned_w=2048 aligned_h=1536 size=4718592 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=2048 height=1536 stride=2048 aligned_w=2048 aligned_h=1536 size=4718592 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=2048 height=1536 stride=2048 aligned_w=2048 aligned_h=1536 size=4718592 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=2048 height=1536 stride=2048 aligned_w=2048 aligned_h=1536 size=4718592 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=2048 height=1536 stride=2048 aligned_w=2048 aligned_h=1536 size=4718592 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=2048 height=1536 stride=2048 aligned_w=2048 aligned_h=1536 size=4718592 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=2048 height=1536 stride=2048 aligned_w=2048 aligned_h=1536 size=4718592 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=2048 height=1536 stride=2048 aligned_w=2048 aligned_h=1536 size=4718592 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=2048 height=1536 stride=2048 aligned_w=2048 aligned_h=1536 size=4718592 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=2048 height=1536 stride=2048 aligned_w=2048 aligned_h=1536 size=4718592 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=2048 height=1536 stride=2048 aligned_w=2048 aligned_h=1536 size=4718592 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=2048 height=1536 stride=2048 aligned_w=2048 aligned_h=1536 size=4718592 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Found video encoder usage, removing camera read/write usage
      DEBUG:   Converted gralloc flags 0x30022 to GBM flags 0x860000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_WRITE_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_VIDEO_ENCODER_QTI	
      DEBUG:   Allocated BO with width=2048 height=1536 stride=2048 aligned_w=2048 aligned_h=1536 size=4718592 flags=0x30022 format=GBM_FORMAT_YCbCr_420_888
      DEBUG:   Available color formats for OMX:
      DEBUG:   	Unknown (0x7fa30c06)
      DEBUG:   	Unknown (0x7fa30c06)
      DEBUG:   	OMX_QCOM_COLOR_FormatYUV420PackedSemiPlanar32m (0x7fa30c04)
      DEBUG:   	OMX_QCOM_COLOR_FormatYVU420SemiPlanar (0x7fa30c00)
      DEBUG:   	Unknown (0x7fa30c09)
      DEBUG:   	Unknown (0x7fa30c0a)
      DEBUG:   	Unknown (0x7fa30c08)
      DEBUG:   	Unknown (0x7fa30c07)
      DEBUG:   	OMX_COLOR_FormatAndroidOpaque (0x7f000789)
      DEBUG:   	OMX_COLOR_FormatYUV420SemiPlanar (0x15)
      DEBUG:   Buffer Count Expected: 16
      DEBUG:   Buffer Count Actual: 16
      DEBUG:   Buffer Count Expected: 16
      DEBUG:   Buffer Count Actual: 16
      DEBUG:   OMX_EventCmdComplete
      DEBUG:   OMX_EventCmdComplete
      DEBUG:   OMX_EventCmdComplete
      DEBUG:   OMX_EventCmdComplete
      DEBUG:   Successfully set up pipeline for stream: STREAM_LARGE_VID
      DEBUG:   Converted gralloc flags 0x20003 to GBM flags 0x420000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   Allocated BO with width=24883208 height=1 stride=24883208 aligned_w=24883208 aligned_h=1 size=24883208 flags=0x20003 format=GBM_FORMAT_BLOB
      DEBUG:   Converted gralloc flags 0x20003 to GBM flags 0x420000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   Allocated BO with width=24883208 height=1 stride=24883208 aligned_w=24883208 aligned_h=1 size=24883208 flags=0x20003 format=GBM_FORMAT_BLOB
      DEBUG:   Converted gralloc flags 0x20003 to GBM flags 0x420000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   Allocated BO with width=24883208 height=1 stride=24883208 aligned_w=24883208 aligned_h=1 size=24883208 flags=0x20003 format=GBM_FORMAT_BLOB
      DEBUG:   Converted gralloc flags 0x20003 to GBM flags 0x420000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   Allocated BO with width=24883208 height=1 stride=24883208 aligned_w=24883208 aligned_h=1 size=24883208 flags=0x20003 format=GBM_FORMAT_BLOB
      DEBUG:   Converted gralloc flags 0x20003 to GBM flags 0x420000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   Allocated BO with width=24883208 height=1 stride=24883208 aligned_w=24883208 aligned_h=1 size=24883208 flags=0x20003 format=GBM_FORMAT_BLOB
      DEBUG:   Converted gralloc flags 0x20003 to GBM flags 0x420000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   Allocated BO with width=24883208 height=1 stride=24883208 aligned_w=24883208 aligned_h=1 size=24883208 flags=0x20003 format=GBM_FORMAT_BLOB
      DEBUG:   Converted gralloc flags 0x20003 to GBM flags 0x420000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   Allocated BO with width=24883208 height=1 stride=24883208 aligned_w=24883208 aligned_h=1 size=24883208 flags=0x20003 format=GBM_FORMAT_BLOB
      DEBUG:   Converted gralloc flags 0x20003 to GBM flags 0x420000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   Allocated BO with width=24883208 height=1 stride=24883208 aligned_w=24883208 aligned_h=1 size=24883208 flags=0x20003 format=GBM_FORMAT_BLOB
      DEBUG:   Converted gralloc flags 0x20003 to GBM flags 0x420000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   Allocated BO with width=24883208 height=1 stride=24883208 aligned_w=24883208 aligned_h=1 size=24883208 flags=0x20003 format=GBM_FORMAT_BLOB
      DEBUG:   Converted gralloc flags 0x20003 to GBM flags 0x420000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   Allocated BO with width=24883208 height=1 stride=24883208 aligned_w=24883208 aligned_h=1 size=24883208 flags=0x20003 format=GBM_FORMAT_BLOB
      DEBUG:   Converted gralloc flags 0x20003 to GBM flags 0x420000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   Allocated BO with width=24883208 height=1 stride=24883208 aligned_w=24883208 aligned_h=1 size=24883208 flags=0x20003 format=GBM_FORMAT_BLOB
      DEBUG:   Converted gralloc flags 0x20003 to GBM flags 0x420000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   Allocated BO with width=24883208 height=1 stride=24883208 aligned_w=24883208 aligned_h=1 size=24883208 flags=0x20003 format=GBM_FORMAT_BLOB
      DEBUG:   Converted gralloc flags 0x20003 to GBM flags 0x420000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   Allocated BO with width=24883208 height=1 stride=24883208 aligned_w=24883208 aligned_h=1 size=24883208 flags=0x20003 format=GBM_FORMAT_BLOB
      DEBUG:   Converted gralloc flags 0x20003 to GBM flags 0x420000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   Allocated BO with width=24883208 height=1 stride=24883208 aligned_w=24883208 aligned_h=1 size=24883208 flags=0x20003 format=GBM_FORMAT_BLOB
      DEBUG:   Converted gralloc flags 0x20003 to GBM flags 0x420000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   Allocated BO with width=24883208 height=1 stride=24883208 aligned_w=24883208 aligned_h=1 size=24883208 flags=0x20003 format=GBM_FORMAT_BLOB
      DEBUG:   Converted gralloc flags 0x20003 to GBM flags 0x420000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CPU_READ_QTI		
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   Allocated BO with width=24883208 height=1 stride=24883208 aligned_w=24883208 aligned_h=1 size=24883208 flags=0x20003 format=GBM_FORMAT_BLOB
      DEBUG:   Successfully set up pipeline for stream: SNAPSHOT
      DEBUG:   Started Camera: hires
      
      ------ voxl-camera-server: Started 1 of 1 cameras
      
      ------ voxl-camera-server: Camera server is now running
      VERBOSE: Entered thread: cam0-request(tid: 399559)
      VERBOSE: Entered thread: cam0-result(tid: 399560)
      VERBOSE: added request for small video stream
      VERBOSE: Sending request for frame 0 for camera hires for 1 streams
      VERBOSE: Received result from HAl3 for frame number 0
      VERBOSE: Received 0 buffers from camera hires, partial result:1
      VERBOSE: finished sending request for frame 0 for camera hires
      VERBOSE: returning from SendOneCaptureRequest for frame 1 for camera hires
      VERBOSE: added request for small video stream
      VERBOSE: Sending request for frame 1 for camera hires for 1 streams
      VERBOSE: finished sending request for frame 1 for camera hires
      VERBOSE: returning from SendOneCaptureRequest for frame 2 for camera hires
      VERBOSE: added request for small video stream
      VERBOSE: Sending request for frame 2 for camera hires for 1 streams
      VERBOSE: finished sending request for frame 2 for camera hires
      VERBOSE: returning from SendOneCaptureRequest for frame 3 for camera hires
      VERBOSE: added request for small video stream
      VERBOSE: Sending request for frame 3 for camera hires for 1 streams
      VERBOSE: finished sending request for frame 3 for camera hires
      VERBOSE: returning from SendOneCaptureRequest for frame 4 for camera hires
      VERBOSE: added request for small video stream
      VERBOSE: Sending request for frame 4 for camera hires for 1 streams
      VERBOSE: Received result from HAl3 for frame number 1
      VERBOSE: Received 0 buffers from camera hires, partial result:1
      VERBOSE: finished sending request for frame 4 for camera hires
      VERBOSE: returning from SendOneCaptureRequest for frame 5 for camera hires
      VERBOSE: added request for small video stream
      VERBOSE: Sending request for frame 5 for camera hires for 1 streams
      VERBOSE: Received result from HAl3 for frame number 2
      VERBOSE: Received 0 buffers from camera hires, partial result:1
      VERBOSE: Received result from HAl3 for frame number 0
      VERBOSE: Received 0 buffers from camera hires, partial result:2
      VERBOSE: Received metadata for frame 0 from camera hires
      VERBOSE: 	Timestamp: 2202213421442
      VERBOSE: 	Gain: 54
      VERBOSE: 	Exposure: 270328
      VERBOSE: Received result from HAl3 for frame number 3
      VERBOSE: Received 0 buffers from camera hires, partial result:1
      VERBOSE: Received result from HAl3 for frame number 0
      VERBOSE: Received 1 buffers from camera hires, partial result:0
      VERBOSE: Received output buffer 0 from camera hires
      VERBOSE: finished sending request for frame 5 for camera hires
      VERBOSE: returning from SendOneCaptureRequest for frame 6 for camera hires
      VERBOSE: hires procesing new buffer
      VERBOSE: added request for small video stream
      VERBOSE: Sending request for frame 6 for camera hires for 1 streams
      VERBOSE: Camera: hires processing small vid frame
      VERBOSE: Received result from HAl3 for frame number 4
      VERBOSE: Received 0 buffers from camera hires, partial result:1
      ---- SKIP FOR LENGTH -----
      
      VERBOSE: hires procesing new buffer
      VERBOSE: Camera: hires processing small vid frame
      VERBOSE: returning from SendOneCaptureRequest for frame 26 for camera hires
      VERBOSE: added request for small video stream
      VERBOSE: Sending request for frame 26 for camera hires for 1 streams
      
      ------ voxl-camera-server: Camera server is now stopping
      DEBUG:   	Stopping Camera: hires
      

      Have you looked at the source code? If so, can you point to any potential issues?

      Have not dug into the camera server source yet. On some vehicles this works fine for hours at a time. On others, this issue pops up consistently. We have swapped cameras, cables, etc.
      We thought perhaps it was ripple or other issues to supply. It does seem to happen more frequently when extensions are used, as expected.

      Perhaps EMI and need for more custom/shorter cables?

      ModeratorM 1 Reply Last reply Reply Quote 0
      • ModeratorM
        Moderator ModalAI Team @Steve Turner
        last edited by

        @Steve-Turner Hi Steve, have you tried swapping cables and sensor modules? It seems most likely something is worn or loose.

        Steve TurnerS 1 Reply Last reply Reply Quote 0
        • Steve TurnerS
          Steve Turner @Moderator
          last edited by

          @Moderator we have tried swapping modules, cameras, and VOXL2(minis)

          Generally, it is exacerbated by the extension cables.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB | Contributors