# voxl-camera-server & voxl-dfs-server problem

Source: https://forum.modalai.com/topic/2824/voxl-camera-server-voxl-dfs-server-problem
Category: VOXL 2 and VOXL 2 Mini (https://forum.modalai.com/category/26/voxl-2-and-voxl-2-mini)
Tags: voxl-2
Posted: 2023-11-06 09:38:22 UTC by cch
Replies: 0 · Views: 462

## cch · 2023-11-06 09:38:22 UTC

Hi,

This is an extension topic from the unsolved problem [link text](https://forum.modalai.com/topic/2800/voxl-2-dfs-server-failed). I have checked the voxl-camera-server and  find some problems:

Terminal output 1:

```
system-image: 1.5.5-M0054-14.1a-perf
kernel:       #1 SMP PREEMPT Fri Mar 24 00:48:55 UTC 2023 4.19.125
--------------------------------------------------------------------------------
hw version:   M0054
--------------------------------------------------------------------------------
voxl-suite:   0.9.5
--------------------------------------------------------------------------------

voxl2:/$ voxl-inspect-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  |   Running   |     0.0
 voxl-cpu-monitor     | Disabled  | Not Running |  
 voxl-dfs-server      |  Enabled  |   Running   |     0.0
 voxl-imu-server      |  Enabled  |   Running   |     0.0
 voxl-mavlink-server  | Disabled  | Not Running |  
 voxl-modem           | Disabled  | Not Running |  
 voxl-portal          |  Enabled  |   Running   |     0.0
 voxl-px4-imu-server  | Disabled  | Not Running |  
 voxl-px4             |  Enabled  |   Running   |     0.0
 voxl-qvio-server     | Disabled  | Not Running |  
 voxl-remote-id       | Disabled  | Not Running |  
 voxl-softap          | Disabled  | Not Running |  
 voxl-static-ip       | Disabled  | Not Running |  
 voxl-streamer        | Disabled  | Not Running |  
 voxl-tag-detector    | Disabled  | Not Running |  
 voxl-tflite-server   | Disabled  | Not Running |  
 voxl-time-sync       | Disabled  | Not Running |  
 voxl-vision-px4      | Disabled  | Not Running |  
 voxl-wait-for-fs     |  Enabled  |  Completed  |  
voxl2:/$ systemctl status voxl-camera-server 
● voxl-camera-server.service - voxl-camera-server
   Loaded: loaded (/usr/bin/voxl-camera-server; enabled; vendor preset: enabled)
   Active: failed (Result: signal) since Mon 2023-11-06 08:52:53 UTC; 45s ago
  Process: 1403 ExecStart=/bin/bash -c /usr/bin/voxl-camera-server (code=killed,
 Main PID: 1403 (code=killed, signal=ABRT)

Nov 06 08:52:17 m0054 systemd[1]: Started voxl-camera-server.
Nov 06 08:52:20 m0054 bash[1403]: ------ voxl-camera-server: Camera server is no
Nov 06 08:52:20 m0054 bash[1403]: WARNING: Camera stereo recieved much newer mas
Nov 06 08:52:53 m0054 systemd[1]: voxl-camera-server.service: Main process exite
Nov 06 08:52:53 m0054 systemd[1]: voxl-camera-server.service: Failed with result

voxl2:/$ voxl-inspect-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     | Disabled  | Not Running |  
 voxl-dfs-server      |  Enabled  |   Running   |     0.0
 voxl-imu-server      |  Enabled  |   Running   |     0.0
 voxl-mavlink-server  | Disabled  | Not Running |  
 voxl-modem           | Disabled  | Not Running |  
 voxl-portal          |  Enabled  |   Running   |     0.0
 voxl-px4-imu-server  | Disabled  | Not Running |  
 voxl-px4             |  Enabled  |   Running   |     0.0
 voxl-qvio-server     | Disabled  | Not Running |  
 voxl-remote-id       | Disabled  | Not Running |  
 voxl-softap          | Disabled  | Not Running |  
 voxl-static-ip       | Disabled  | Not Running |  
 voxl-streamer        | Disabled  | Not Running |  
 voxl-tag-detector    | Disabled  | Not Running |  
 voxl-tflite-server   | Disabled  | Not Running |  
 voxl-time-sync       | Disabled  | Not Running |  
 voxl-vision-px4      | Disabled  | Not Running |  
 voxl-wait-for-fs     |  Enabled  |  Completed  |  
voxl2:/$ voxl-camera-server 

------ voxl-camera-server: Camera server is now running
WARNING: Camera stereo recieved much newer master than child (33), discarding child and trying again
^C
received SIGINT Ctrl-C

------ voxl-camera-server INFO: Camera server is now stopping

------ voxl-camera-server INFO: Camera server exited gracefully

voxl2:/$ systemctl start voxl-camera-server 
voxl2:/$ systemctl status voxl-camera-server 
● voxl-camera-server.service - voxl-camera-server
   Loaded: loaded (/usr/bin/voxl-camera-server; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2023-11-06 08:56:29 UTC; 6s ago
 Main PID: 2529 (voxl-camera-ser)
    Tasks: 21 (limit: 4915)
   CGroup: /system.slice/voxl-camera-server.service
           └─2529 /usr/bin/voxl-camera-server

Nov 06 08:56:29 m0054 systemd[1]: Started voxl-camera-server.
Nov 06 08:56:33 m0054 bash[2529]: ------ voxl-camera-server: Camera server is no
Nov 06 08:56:33 m0054 bash[2529]: WARNING: Camera stereo recieved much newer mas
lines 1-11/11 (END)
voxl2:/$ systemctl status voxl-dfs-server    
● voxl-dfs-server.service - voxl-dfs-server
   Loaded: loaded (/usr/bin/voxl-dfs-server; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2023-11-06 08:52:17 UTC; 4min 29s ago
 Main PID: 1405 (voxl-dfs-server)
    Tasks: 14 (limit: 4915)
   CGroup: /system.slice/voxl-dfs-server.service
           └─1405 /usr/bin/voxl-dfs-server

Nov 06 08:52:17 m0054 systemd[1]: Started voxl-dfs-server.

```

After this, I immediately checked the MPA output through 'voxl-inspect-cam -a' and get:

Terminal output 2:
```
|                     Pipe Name |size(bytes)| height | width  |exposure(ms)| gat
|                        stereo |   614400  |    480 |    640 |       4.69 |   8
|        stereo_front_disparity |
| stereo_front_disparity_scaled |

```
which means the dfs-server still doesn't work. I wonder if the problem happens in voxl-camera-server because from the Terminal output 1 :
```
voxl2:/$ voxl-camera-server 

------ voxl-camera-server: Camera server is now running
WARNING: Camera stereo recieved much newer master than child (33), discarding child and trying again
```
Is the biggest problem from 'WARNING: Camera stereo recieved much newer master than child (33), discarding child and trying again' or somewhere else?
