# CANT ACCESS CAMERA

Source: https://forum.modalai.com/topic/4935/cant-access-camera
Category: Development Drones (https://forum.modalai.com/category/44/development-drones)
Tags: fpv
Posted: 2025-12-17 18:06:34 UTC by taiwohazeez
Replies: 7 · Views: 3966

## taiwohazeez · 2025-12-17 18:06:34 UTC

HI, I am trying to calibrate my starling 2 drone cameras, but I realized I cant access my cameras from the voxl-portal.  On voxl portal, I can see the list of camera pipes, but if I select any one if them, I dont get a footage. I have attached screenshots to make you understand what I mean better. I dont know mcuh about this, could you please point me in the right direction? How can I get it working 

![Screenshot from 2025-12-17 13-06-13.png](https://forum.modalai.com/assets/uploads/files/1765994784927-screenshot-from-2025-12-17-13-06-13.png) 
![alt text](![Screenshot from 2025-12-17 11-24-06.png](https://forum.modalai.com/assets/uploads/files/1765994599483-screenshot-from-2025-12-17-11-24-06.png) ![Screenshot from 2025-12-17 12-15-11.png](https://forum.modalai.com/assets/uploads/files/1765994599602-screenshot-from-2025-12-17-12-15-11.png) ![Screenshot from 2025-12-17 12-16-14.png](https://forum.modalai.com/assets/uploads/files/1765994599702-screenshot-from-2025-12-17-12-16-14.png) ![Screenshot from 2025-12-17 12-32-28.png](https://forum.modalai.com/assets/uploads/files/1765994599738-screenshot-from-2025-12-17-12-32-28.png) )

## Reply by taiwohazeez · 2025-12-19 15:37:17 UTC

Hello Support, 

Can anyone kindly look into this please? 

I tried it accessing the cameras today from the voxl portal, it showed live footage at first, then it crashed. Can you kindly assist. 

Thanks

## Reply by Alex Kushleyev (ModalAI staff) · 2025-12-20 04:20:20 UTC (in reply to taiwohazeez)

@taiwohazeez ,

Please try the following after a fresh reboot:

`voxl-inspect-cam tracking_down tracking_front tracking_rear tof_ir hires_small_color`

Running `voxl-inspect-cam -a` can break the camera server because there are too many output streams to process. This used to be a good option in the past for a quick test, but with 5 cameras and ~25 streams this is becoming too heavy. In normal use cases, only one stream is used from each camera.

If you are just getting started, I would suggest updating your drone to at least SDK 1.5 or even 1.6, however you should still be able to get camera streams displayed in voxl-portal or using the limited `voxl-inspect-cam` command.

If you still cannot get this to work, please do the following to stop the background service for `voxl-camera-server` and run in in the foreground and past the output:

```
#stop the background service (it will restart after reboot)
systemctl stop voxl-camera-server

#run camera server in foreground
voxl-camera-server
```

Alex

## Reply by taiwohazeez · 2026-01-04 13:43:43 UTC (in reply to Alex Kushleyev)

@Alex-Kushleyev Thank you for the response. After fresh reboot the camera pipes functions for a little while and stops immediately (I can see it in voxl-portal, then they keep disappearing until i am left with tag_overlay and multi-view

## Reply by Alex Kushleyev (ModalAI staff) · 2026-01-05 23:25:59 UTC (in reply to taiwohazeez)

@taiwohazeez ,

Can you please confirm that you only inspected several pipes using the command:

```
voxl-inspect-cam tracking_down tracking_front tracking_rear tof_ir hires_small_color
```

Also please use `voxl-inspect-cpu` to check if the cpu is overheating during your testing.

Additionally, are you able to provide output of `voxl-camera-server` (running in the foreground) when the pipes start disappearing?

If you are able to update to the latest SDK (1.6.x) , it may be easier for us to support, as 1.4.5 is 7 months old.

Alex

## Reply by taiwohazeez · 2026-01-06 16:02:39 UTC (in reply to Alex Kushleyev)

@Alex-Kushleyev I updated to SDK 1.62 already, and yes I only inspected using voxl-inspect-cam tracking_down tracking_front tracking_rear tof_ir hires_small_color. 
After running that, I got this (empty response), and when you Ctrl C, you get waiting for server 
![Screenshot from 2026-01-06 10-53-04.png](https://forum.modalai.com/assets/uploads/files/1767714801278-screenshot-from-2026-01-06-10-53-04.png) 

![Screenshot from 2026-01-06 10-55-58.png](https://forum.modalai.com/assets/uploads/files/1767714969631-screenshot-from-2026-01-06-10-55-58.png) 

This is the output after I ran voxl-inspect-cpu

![Screenshot from 2026-01-06 10-49-55.png](https://forum.modalai.com/assets/uploads/files/1767714632358-screenshot-from-2026-01-06-10-49-55.png) 

After running voxl-camera-server, i got this: 

voxl2:/$ voxl-camera-server
Setting MISP AWB to Auto
MISP channels enabled in defaults : 0
MISP channels enabled in config file: 0
detected system image 1.8.6
using new imx412 defaults
Setting MISP AWB to Auto
MISP channels enabled in defaults : 0
MISP channels enabled in config file: 0
Setting MISP AWB to Auto
MISP channels enabled in defaults : 0
MISP channels enabled in config file: 0
=================================================================
configuration for 5 cameras:

cam #0
    name:                tracking_front
    type:                ar0144
    bayer_type:          0
    enabled:             1
    camera_id:           0
    camera_id_second:    -1
    fps:                 30
    en_rotate:           1
    en_rotate2:          0

    en_preview:          1
    en_raw_preview:      1
    preview_width:       1280
    preview_height:      800

    en_misp:             0
    misp_width:          1280
    misp_height:         800

    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
    exif_focal_length:   0.000000
    exif_focal_len_35mm_format:0
    exif_fnumber:        0.000000

    ae_mode:             lme_msv
    msv_exposure_min_us: 20
    msv_exposure_max_us: 12000
    gain_min           : 54
    gain_max           : 8000
    standby_enabled:     0
    decimator:           1
    independent_exposure:0

cam #1
    name:                hires
    type:                imx412
    bayer_type:          2
    enabled:             1
    camera_id:           1
    camera_id_second:    -1
    fps:                 30
    en_rotate:           0
    en_rotate2:          0

    en_preview:          0
    en_raw_preview:      0
    preview_width:       640
    preview_height:      480

    en_misp:             0
    misp_width:          -1
    misp_height:         -1

    en_small_video:      1
    small_video_width:   1024
    small_video_height:  768

    en_large_video:      1
    large_video_width:   4056
    large_video_height:  3040

    en_snapshot:         1
    snap_width:          4056
    snap_height:         3040
    exif_focal_length:   3.100000
    exif_focal_len_35mm_format:17
    exif_fnumber:        1.240000

    ae_mode:             isp
    msv_exposure_min_us: 20
    msv_exposure_max_us: 33000
    gain_min           : 54
    gain_max           : 8000
    standby_enabled:     0
    decimator:           1
    independent_exposure:0

cam #2
    name:                tracking_rear
    type:                ar0144
    bayer_type:          0
    enabled:             1
    camera_id:           2
    camera_id_second:    -1
    fps:                 30
    en_rotate:           1
    en_rotate2:          0

    en_preview:          1
    en_raw_preview:      1
    preview_width:       1280
    preview_height:      800

    en_misp:             1
    misp_width:          1280
    misp_height:         800

    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
    exif_focal_length:   0.000000
    exif_focal_len_35mm_format:0
    exif_fnumber:        0.000000

    ae_mode:             lme_msv
    msv_exposure_min_us: 20
    msv_exposure_max_us: 12000
    gain_min           : 54
    gain_max           : 8000
    standby_enabled:     0
    decimator:           1
    independent_exposure:0

cam #3
    name:                tof
    type:                pmd-tof-liow2
    bayer_type:          0
    enabled:             1
    camera_id:           3
    camera_id_second:    -1
    fps:                 10
    en_rotate:           1
    en_rotate2:          0

    en_preview:          1
    en_raw_preview:      1
    preview_width:       240
    preview_height:      1629

    en_misp:             0
    misp_width:          -1
    misp_height:         -1

    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
    exif_focal_length:   0.000000
    exif_focal_len_35mm_format:0
    exif_fnumber:        0.000000

    ae_mode:             off
    msv_exposure_min_us: 0
    msv_exposure_max_us: 6000
    gain_min           : 0
    gain_max           : 0
    standby_enabled:     0
    decimator:           5
    independent_exposure:0

cam #4
    name:                tracking_down
    type:                ar0144
    bayer_type:          0
    enabled:             1
    camera_id:           4
    camera_id_second:    -1
    fps:                 30
    en_rotate:           0
    en_rotate2:          0

    en_preview:          1
    en_raw_preview:      1
    preview_width:       1280
    preview_height:      800

    en_misp:             1
    misp_width:          1280
    misp_height:         800

    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
    exif_focal_length:   0.000000
    exif_focal_len_35mm_format:0
    exif_fnumber:        0.000000

    ae_mode:             lme_msv
    msv_exposure_min_us: 20
    msv_exposure_max_us: 12000
    gain_min           : 54
    gain_max           : 8000
    standby_enabled:     0
    decimator:           1
    independent_exposure:0

fsync_en:            1
fsync_gpio:          109
=================================================================
thread is locked to cores: 4 5 6 7
connected to mavlink pipe
Connected to cpu-monitor
Starting Camera: tracking_front (id #0)
gbm_create_device(156): Info: backend name is: msm_drm
Starting Camera: hires (id #1)
Estimated imu dt = 0.000977s
Starting Camera: tracking_rear (id #2)
ERROR:   Received Fatal error from camera: tracking_front
ERROR:   Sending request 10, ErrorCode: -ENODEV
ERROR:   Received "Result" error from camera: tracking_front, frame number 4
WARNING: Thread: tracking_front request thread Received ESTOP
WARNING: Thread: tracking_front result thread Received ESTOP
WARNING: Thread: hires result thread Received ESTOP
WARNING: Thread: hires request thread Received ESTOP
MISP Initializing for camera tracking_rear
 Detected 1 platform(s)
 Detected 1 GPU device(s)
WARNING: OMX SetTargetBitrate: H265 CBR requires bps >= 3.0Mbit (1200000 bps provided). Using FPS hack. scale = 2.500000
Starting Camera: tof (id #3)
Starting Camera: tracking_down (id #4)
MISP Initializing for camera tracking_down
WARNING: OMX SetTargetBitrate: H265 CBR requires bps >= 3.0Mbit (1200000 bps provided). Using FPS hack. scale = 2.500000

------ voxl-camera-server: Started 5 of 5 cameras

------ voxl-camera-server: Camera server is now running

------ voxl-camera-server: Camera server is now stopping
------------------------------
Stats For Camera tracking_front:
	 Received Frame Count: 10
	 Request  Error Count: 0
	 Buffer   Error Count: 0
	 Result   Error Count: 1
ERROR:   Received "Result" error from camera: tracking_down, frame number 0
ERROR:   Received "Buffer" error from camera: tracking_down, frame number 0
ERROR:   Received Fatal error from camera: tracking_down
ERROR:   Sending request 6, ErrorCode: -ENODEV
WARNING: Pushed buffers back to pools for frame: 0
WARNING: Thread: tracking_down request thread Received ESTOP
WARNING: Thread: tof result thread Received ESTOP
WARNING: Thread: tracking_rear result thread Received ESTOP
WARNING: Thread: tracking_down result thread Received ESTOP
WARNING: Thread: tracking_rear request thread Received ESTOP
------------------------------
Stats For Camera hires:
	 Received Frame Count: 6
	 Request  Error Count: 0
	 Buffer   Error Count: 0
	 Result   Error Count: 0
------------------------------
Stats For Camera tracking_rear:
	 Received Frame Count: 0
	 Request  Error Count: 0
	 Buffer   Error Count: 0
	 Result   Error Count: 0
WARNING: Thread: tof request thread Received ESTOP
------------------------------
Stats For Camera tof:
	 Received Frame Count: 0
	 Request  Error Count: 0
	 Buffer   Error Count: 0
	 Result   Error Count: 0
------------------------------
Stats For Camera tracking_down:
	 Received Frame Count: 6
	 Request  Error Count: 0
	 Buffer   Error Count: 1
	 Result   Error Count: 1

------ voxl-camera-server: Camera server exited gracefully, returning 0

IMU Manager closing and exiting
voxl2:/$

## Reply by taiwohazeez · 2026-01-06 16:04:32 UTC (in reply to Alex Kushleyev)

@Alex-Kushleyev Also, when you run voxl-inspect-services, voxl-camera-server will be enables but not running, Immediately i start it, it runs and stops almost immediately

## Reply by Alex Kushleyev (ModalAI staff) · 2026-01-08 14:53:01 UTC (in reply to taiwohazeez)

@taiwohazeez , 

Once thing i noticed is that you don't have `en_misp` set to 1 for the `tracking_front` camera. I don't think this is the reason for  the failure, but it should be set to 1.

Meanwhile, please try to identify which camera is causing the issue by disabling cameras and testing camera server ( you can set `enabled` flag to 0, so that this camera is not started.

Also, when you installed SDK 1.6.2, did you run `voxl-configure-cameras` and which option did you select for the camera configuration?

Alex
