EIS cam-server crash
-
Hi! @Alex-Kushleyev
When I run
voxl-camera-serverv2.2.17 following all the instructions for the EIS tech docs, I'm seeing the server crash. All the camera pipes are initialized, and the camera server starts with no problems, but when I either try to open the stream or attemptvoxl-inspect-cam-ascii hires_misp_greythe camera server aborts. I'm using an imx412 sensor. Here are the error messages I see when I run the server in debug mode and then attempt to open the stream in voxl-portal:VERBOSE: setting hal3 exposure for hires 5259763 800 VERBOSE: setting hal3 exposure for hires 5259763 800 VERBOSE: setting hal3 exposure for hires 5259763 800 VERBOSE: setting hal3 exposure for hires 5259763 800 VERBOSE: setting hal3 exposure for hires 5259763 800 VERBOSE: setting hal3 exposure for hires 5259763 800 VERBOSE: setting hal3 exposure for hires 5259763 800 VERBOSE: setting hal3 exposure for hires 5259763 800 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: setting hal3 exposure for hires 5259763 800 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: setting hal3 exposure for hires 5259763 800 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: setting hal3 exposure for hires 5259763 800 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: setting hal3 exposure for hires 5259763 800 VERBOSE: added request for small video stream VERBOSE: Sending request for frame 4 for camera hires for 1 streams VERBOSE: finished sending request for frame 4 for camera hires VERBOSE: returning from SendOneCaptureRequest for frame 5 for camera hires VERBOSE: setting hal3 exposure for hires 5259763 800 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 1 VERBOSE: Received 0 buffers from camera hires, partial result:1 VERBOSE: Received result from HAl3 for frame number 2 VERBOSE: Received 0 buffers from camera hires, partial result:1 DEBUG: Value of pitmode_active is: 1 DEBUG: Value of pitmode_active is: 1 DEBUG: Value of pitmode_active is: 1 DEBUG: Value of pitmode_active is: 1 DEBUG: Value of pitmode_active is: 1 VERBOSE: finished sending request for frame 5 for camera hires VERBOSE: returning from SendOneCaptureRequest for frame 6 for camera hires VERBOSE: setting hal3 exposure for hires 5259763 800 ERROR: Received "Result" error from camera: hires, frame number 0 ERROR: Received "Buffer" error from camera: hires, frame number 0 VERBOSE: added request for small video stream VERBOSE: Sending request for frame 6 for camera hires for 1 streams WARNING: Pushed buffers back to pools for frame: 0 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: Buffer arrive before meta frame 0 ERROR: Received "Result" error from camera: hires, frame number 1 ERROR: Received "Buffer" error from camera: hires, frame number 1 WARNING: Pushed buffers back to pools for frame: 1 VERBOSE: Received result from HAl3 for frame number 1 VERBOSE: Received 1 buffers from camera hires, partial result:0 VERBOSE: Received output buffer 1 from camera hires VERBOSE: Buffer arrive before meta frame 1 ERROR: Received "Result" error from camera: hires, frame number 2 ERROR: Received "Buffer" error from camera: hires, frame number 2 WARNING: Pushed buffers back to pools for frame: 2 VERBOSE: Received result from HAl3 for frame number 2 VERBOSE: Received 1 buffers from camera hires, partial result:0 VERBOSE: Received output buffer 2 from camera hires VERBOSE: Buffer arrive before meta frame 2 ERROR: Received "Request" error from camera: hires, frame number 3 WARNING: Pushed buffers back to pools for frame: 3 VERBOSE: Received result from HAl3 for frame number 3 VERBOSE: Received 1 buffers from camera hires, partial result:0 VERBOSE: Received output buffer 3 from camera hires VERBOSE: Buffer arrive before meta frame 3 ERROR: Received "Request" error from camera: hires, frame number 4 WARNING: Pushed buffers back to pools for frame: 4 VERBOSE: Received result from HAl3 for frame number 4 VERBOSE: Received 1 buffers from camera hires, partial result:0 VERBOSE: Received output buffer 4 from camera hires VERBOSE: Buffer arrive before meta frame 4 ERROR: Received "Request" error from camera: hires, frame number 5 WARNING: Pushed buffers back to pools for frame: 5 VERBOSE: Received result from HAl3 for frame number 5 VERBOSE: Received 1 buffers from camera hires, partial result:0 VERBOSE: Received output buffer 5 from camera hires VERBOSE: Buffer arrive before meta frame 5 DEBUG: Value of pitmode_active is: 1 DEBUG: Value of pitmode_active is: 1 DEBUG: Value of pitmode_active is: 1 DEBUG: Value of pitmode_active is: 1 DEBUG: Value of pitmode_active is: 1 DEBUG: Value of pitmode_active is: 1 DEBUG: Value of pitmode_active is: 1Let me know if you have any advice on how to resolve this, thanks!
-
@SKA , I am not sure. please disable all streams except preview and try again. specifically disable:
- small_video
- large_video
- snapshot
Double check to make sure:
en_raw_preview: true
en_preview: true
en_misp : trueIt seems you have at least small_video enabled.
What camera resolution are you requesting? (preview_width, preview_height)
Alex