RosettaDrone / rosettadrone

MAVlink and H.264 Video for DJI drones
BSD 3-Clause "New" or "Revised" License
308 stars 117 forks source link

Phantom 4 Pro problem with video and MAVLINK commands #217

Closed angel-ayala closed 3 months ago

angel-ayala commented 3 months ago

Describe the bug

Hi, I'm trying to use the APK with a new drone, first I was having compilation problems but now is ok. At the beginning the APK crashes when I tap the Drone button, but after change two lines of code I was able to use it, but I still facing some problems.

I'm able to arm the drone and receive video feed on my smartphone, nevertheless, I'm unable to interact through MAVLINK or get video feed over the network. I already set the apk and QGC settings. With QGC I can read some sensor data, but again no luck with video.

On the apk log I get the Do not transcode video!!! message. On the logcat from android studio, after open the apk I get some some error log, then when I tap the Drone button I get other error messages.

When I start the DroneKit's python script to read the vehicle state, I can see the captured state until the armed info, after that, the script keeps waiting set the home location command, which never happens.

There are some LDM related error, but on the DJI sites appears that is not mandatory, maybe because is a chinese smartphone? I don't know, can you help me?

Steps To Reproduce

  1. I installed following the installation instruction and
  2. I added case PHANTOM_4_PRO: in the MainActivity.java file at line 949, and updated the line 296 of DroneModel.java with useMissionManager = m_model == Model.PHANTOM_4_PRO.
  3. Connect the RC by USB to the smartphone with the drone connected.
  4. Start the apk from AndroidStudio.
  5. Tap Drone button.
  6. Start DroneKit vehicle_state.py example script.

Screenshots

No response

Drone Model

DJI Phantom 4 Pro

Smartphone Model

- Model: Xiaomi Redmi Note 10S (M2101K7BL)
- Android version: 13 TP1A.220624.014

Additional context

On start log output:

2024-07-21 19:17:54.086 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:17:54.095 17549-17588 QT                      sq.rogue.rosettadrone                E  [QT]file does not exist
2024-07-21 19:17:54.441 17549-17549 DJISDKManager           sq.rogue.rosettadrone                E  Failed to load LDM Plus license file /storage/emulated/0/Android/data/sq.rogue.rosettadrone/files/DJI/sq.rogue.rosettadrone.dlf: open failed: ENOENT (No such file or directory)
2024-07-21 19:17:54.622 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:17:54.623 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:17:54.625 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:17:54.701 17549-17549 FBI                     sq.rogue.rosettadrone                E  Can't load library: dlopen failed: library "libmagtsync.so" not found
2024-07-21 19:17:54.717 17549-17586 libMiGL                 sq.rogue.rosettadrone                E  libmigl:This GPU version is note support Variable Shading Rate
2024-07-21 19:17:54.738 17549-17618 ion                     sq.rogue.rosettadrone                E  ioctl c0044901 failed with code -1: Invalid argument
2024-07-21 19:17:54.785 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:17:56.133 17549-17596 DJIUsbAccessoryReceiver sq.rogue.rosettadrone                E  start accessory receiver
2024-07-21 19:17:56.148 17549-17592 DJIUsbAccessoryReceiver sq.rogue.rosettadrone                E  receive action: android.hardware.usb.action.USB_STATE
2024-07-21 19:17:56.149 17549-17592 DJIUsbAccessoryReceiver sq.rogue.rosettadrone                E  android.hardware.usb.action.USB_STATE: is connected
2024-07-21 19:17:56.164 17549-17648 FileUtils               sq.rogue.rosettadrone                E  err open mi_exception_log errno=2
2024-07-21 19:17:56.164 17549-17648 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:17:56.196 17549-17677 Lightbridge             sq.rogue.rosettadrone                E  Failed to obtain JNIEnv
2024-07-21 19:17:56.196 17549-17674 Lightbridge             sq.rogue.rosettadrone                E  Failed to obtain JNIEnv
2024-07-21 19:17:56.196 17549-17678 Lightbridge             sq.rogue.rosettadrone                E  Failed to obtain JNIEnv
2024-07-21 19:17:56.196 17549-17676 Lightbridge             sq.rogue.rosettadrone                E  Failed to obtain JNIEnv
2024-07-21 19:17:56.196 17549-17675 Lightbridge             sq.rogue.rosettadrone                E  Failed to obtain JNIEnv
2024-07-21 19:17:56.197 17549-17673 Lightbridge             sq.rogue.rosettadrone                E  Failed to obtain JNIEnv
2024-07-21 19:17:56.231 17549-17596 DJIComponentManager     sq.rogue.rosettadrone                E  Service Not Connected
2024-07-21 19:17:56.232 17549-17596 DJIComponentManager     sq.rogue.rosettadrone                E  Service Not Connected
2024-07-21 19:17:56.232 17549-17596 DJIComponentManager     sq.rogue.rosettadrone                E  Service Not Connected
2024-07-21 19:17:57.226 17549-17592 DJIComponentManager     sq.rogue.rosettadrone                E  Service Not Connected
2024-07-21 19:17:57.226 17549-17592 DJIComponentManager     sq.rogue.rosettadrone                E  Service Not Connected
2024-07-21 19:17:57.227 17549-17592 DJIComponentManager     sq.rogue.rosettadrone                E  Service Not Connected
2024-07-21 19:17:57.520 17549-17596 FR_JNI                  sq.rogue.rosettadrone                E  JNI_OnLoad
2024-07-21 19:17:57.611 17549-17596 fdd                     sq.rogue.rosettadrone                E  isWifiLink:false isWifiConnected:true isMobileDataEnabled:true
2024-07-21 19:17:57.664 17549-17596 fdd                     sq.rogue.rosettadrone                E  start checkForDisable
2024-07-21 19:17:57.665 17549-17596 fdd                     sq.rogue.rosettadrone                E  disabled, return
2024-07-21 19:17:57.671 17549-17549 fdd                     sq.rogue.rosettadrone                E  start checkForDisable
2024-07-21 19:17:57.671 17549-17549 fdd                     sq.rogue.rosettadrone                E  disabled, return
2024-07-21 19:17:57.683 17549-17549 DJIUsbAccessoryReceiver sq.rogue.rosettadrone                E  getModel: T600
2024-07-21 19:17:57.684 17549-17549 DJIUsbAccessoryReceiver sq.rogue.rosettadrone                E  currentModel saved: NORMAL
2024-07-21 19:17:57.684 17549-17549 DJIUsbAccessoryReceiver sq.rogue.rosettadrone                E  getManufacturer: DJI
2024-07-21 19:17:57.686 17549-17549 DJIUsbAccessoryReceiver sq.rogue.rosettadrone                E  hasPermission 
2024-07-21 19:17:57.687 17549-17549 DJIUsbAccessoryReceiver sq.rogue.rosettadrone                E  openAccessory: UsbAccessory[mManufacturer=DJI, mModel=T600, mDescription=DJI Inspire 1, mVersion=v1.2.3.4, mUri=www.dji.com, mSerialNumberReader=android.hardware.usb.IUsbSerialReader$Stub$Proxy@1bed3ae]
2024-07-21 19:17:57.690 17549-17549 DJIUsbAccessoryReceiver sq.rogue.rosettadrone                E  mFileDescriptor: mInputStream=java.io.FileInputStream@25999e5
2024-07-21 19:17:57.691 17549-17549 DJIUsbAccessoryReceiver sq.rogue.rosettadrone                E  mFileDescriptor: FileDescriptor=true
2024-07-21 19:17:57.693 17549-17549 linkDeamon              sq.rogue.rosettadrone                E  stopDaemon AOA
2024-07-21 19:17:57.694 17549-17597 TAG                     sq.rogue.rosettadrone                E  API Key successfully registered(255)
2024-07-21 19:17:57.695 17549-17549 gfd                     sq.rogue.rosettadrone                E  djisocket destroy
2024-07-21 19:17:57.696 17549-17549 daemon                  sq.rogue.rosettadrone                E  destroy wifi 1
2024-07-21 19:17:57.696 17549-17549 fdd                     sq.rogue.rosettadrone                E  djisocket destroy
2024-07-21 19:17:57.697 17549-17549 daemon                  sq.rogue.rosettadrone                E  destroy wifi 2
2024-07-21 19:17:57.698 17549-17549 nhf                     sq.rogue.rosettadrone                E  udt destroy 1 9000
2024-07-21 19:17:57.699 17549-17549 nhf                     sq.rogue.rosettadrone                E  udt destroy 2 9000
2024-07-21 19:17:57.699 17549-17549 daemon                  sq.rogue.rosettadrone                E  destroy wifi 3
2024-07-21 19:17:57.700 17549-17549 P3CCameraService        sq.rogue.rosettadrone                E  udt destroy 1 9001
2024-07-21 19:17:57.701 17549-17549 P3CCameraService        sq.rogue.rosettadrone                E  udt destroy 2 9001
2024-07-21 19:17:57.701 17549-17549 daemon                  sq.rogue.rosettadrone                E  destroy wifi 4
2024-07-21 19:17:57.702 17549-17549 SwUdpService            sq.rogue.rosettadrone                E  sw udt destroy 1 N/A
2024-07-21 19:17:57.703 17549-17549 UDT-JNI                 sq.rogue.rosettadrone                E  cannot close udp
2024-07-21 19:17:57.704 17549-17549 SwUdpService            sq.rogue.rosettadrone                E  sw udt destroy 2 N/A
2024-07-21 19:17:57.705 17549-17549 daemon                  sq.rogue.rosettadrone                E  destroy wifi 5
2024-07-21 19:17:57.705 17549-17549 nhf                     sq.rogue.rosettadrone                E  djisocket destroy
2024-07-21 19:17:57.706 17549-17549 daemon                  sq.rogue.rosettadrone                E  destroy wifi 6
2024-07-21 19:17:57.706 17549-17549 fdd                     sq.rogue.rosettadrone                E  djisocket destroy
2024-07-21 19:17:57.706 17549-17549 daemon                  sq.rogue.rosettadrone                E  destroy wifi 7
2024-07-21 19:17:57.728 17549-17652 DJIPackManager          sq.rogue.rosettadrone                E  pack senderType=14 cmdSet=6
2024-07-21 19:17:57.732 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:17:57.755 17549-17758 fdd                     sq.rogue.rosettadrone                E  event:ConnectOK
2024-07-21 19:17:57.765 17549-17592 fdd                     sq.rogue.rosettadrone                E  receive msg MSG_RETRY_DETECT_ENABLE
2024-07-21 19:17:57.773 17549-17592 fdd                     sq.rogue.rosettadrone                E  isWifiLink:false isWifiConnected:true isMobileDataEnabled:true
2024-07-21 19:17:57.776 17549-17758 fdd                     sq.rogue.rosettadrone                E  send MSG_RETRY_DETECT_ENABLE
2024-07-21 19:17:57.857 17549-17592 DJIUSBWifiSwitchManager sq.rogue.rosettadrone                E  ****resetSwitchFromWifiFlag
2024-07-21 19:17:57.860 17549-17652 DJIPackManager          sq.rogue.rosettadrone                E  post DataCameraEvent.ConnectOK RC
2024-07-21 19:17:58.162 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:18:00.331 17549-17592 DJISDKCacheKeys         sq.rogue.rosettadrone                E  repeat include key, please check your code : class dji.sdksharedlib.hardware.abstractions.hjn.koy.ddf, key : @dji.sdksharedlib.keycatalog.ghj.koy(accessType=8, autoGetInterval=1000, excludedAbstractions=[class dji.sdksharedlib.hardware.abstractions.hjn.uio.dgh, class dji.sdksharedlib.hardware.abstractions.hjn.koy.ghu], expirationDuration=100, includedAbstractions=[class dji.sdksharedlib.hardware.abstractions.camera.zenmuse.hjn, class dji.sdksharedlib.hardware.abstractions.camera.zenmuse.nbb, class dji.sdksharedlib.hardware.abstractions.camera.zenmuse.hgf, class dji.sdksharedlib.hardware.abstractions.camera.zenmuse.jhg, class dji.sdksharedlib.hardware.abstractions.camera.zenmuse.bcx, class dji.sdksharedlib.hardware.abstractions.camera.zenmuse.oyf, class dji.sdksharedlib.hardware.abstractions.hjn.uio.fdd, class dji.sdksharedlib.hardware.abstractions.camera.zenmuse.fdd, class dji.sdksharedlib.hardware.abstractions.hjn.koy.ddf, class dji.sdksharedlib.hardware.abstractions.hjn.xss.dgh, class dji.sdksharedlib.hardware.abstractions.hjn.xss.uio, class dji.sdksharedlib.hardware.abstractions.hjn.jnh.nhf, class dji.sdksharedlib.hardware.abstractions.hjn.koy.ddf], protectDuration=500, type=class java.lang.Object, types=[class dji.common.camera.SettingsDefinitions$ZoomDirection, class dji.common.camera.SettingsDefinitions$ZoomSpeed], updateType=USER_DRIVEN)
2024-07-21 19:18:00.616 17549-17592 fdd                     sq.rogue.rosettadrone                E  runMethod: null
2024-07-21 19:18:00.623 17549-17592 FileUtils               sq.rogue.rosettadrone                E  err open mi_exception_log errno=2
2024-07-21 19:18:00.623 17549-17592 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:18:00.624 17549-17592 fdd                     sq.rogue.rosettadrone                E  receive msg MSG_RETRY_DETECT_ENABLE
2024-07-21 19:18:00.625 17549-17592 fdd                     sq.rogue.rosettadrone                E  isWifiLink:false isWifiConnected:true isMobileDataEnabled:true
2024-07-21 19:18:01.235 17549-17592 FileUtils               sq.rogue.rosettadrone                E  err open mi_exception_log errno=2
2024-07-21 19:18:01.235 17549-17592 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:18:01.362 17549-17724 FileUtils               sq.rogue.rosettadrone                E  err open mi_exception_log errno=2
2024-07-21 19:18:01.362 17549-17724 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:18:01.933 17549-17549 FileSource              sq.rogue.rosettadrone                E  Failed to open file 'content://settings/system/notification_sound'. (No such file or directory)
2024-07-21 19:18:01.934 17549-17549 AudioManager            sq.rogue.rosettadrone                E  hasHapticChannels failure:java.io.IOException: Failed to instantiate extractor.
2024-07-21 19:18:01.972 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:18:02.627 17549-17592 fdd                     sq.rogue.rosettadrone                E  receive msg MSG_RETRY_DETECT_ENABLE
2024-07-21 19:18:02.633 17549-17592 fdd                     sq.rogue.rosettadrone                E  isWifiLink:false isWifiConnected:true isMobileDataEnabled:true
2024-07-21 19:18:04.635 17549-17592 fdd                     sq.rogue.rosettadrone                E  receive msg MSG_RETRY_DETECT_ENABLE
2024-07-21 19:18:04.641 17549-17592 fdd                     sq.rogue.rosettadrone                E  isWifiLink:false isWifiConnected:true isMobileDataEnabled:true
2024-07-21 19:18:06.643 17549-17592 fdd                     sq.rogue.rosettadrone                E  receive msg MSG_RETRY_DETECT_ENABLE
2024-07-21 19:18:06.649 17549-17592 fdd                     sq.rogue.rosettadrone                E  isWifiLink:false isWifiConnected:true isMobileDataEnabled:true
2024-07-21 19:18:07.767 17549-17592 fdd                     sq.rogue.rosettadrone                E  receive msg MSG_RETRY_DETECT_ENABLE_TIMEOUT
2024-07-21 19:18:58.843 17549-17549 BinderMonitor           sq.rogue.rosettadrone                E  err open binder_delay errno=2
2024-07-21 19:18:58.853 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:19:03.453 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:19:06.630 17549-17592 FileUtils               sq.rogue.rosettadrone                E  err open mi_exception_log errno=2
2024-07-21 19:19:06.631 17549-17595 FileUtils               sq.rogue.rosettadrone                E  err open mi_exception_log errno=2
2024-07-21 19:19:06.631 17549-17595 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:19:06.631 17549-17592 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:19:06.632 17549-17648 FileUtils               sq.rogue.rosettadrone                E  err open mi_exception_log errno=2
2024-07-21 19:19:06.632 17549-17648 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log

log after tap Drone

2024-07-21 19:21:24.890 17549-17652 DJIPackManager          sq.rogue.rosettadrone                E  pack senderType=17 cmdSet=10
2024-07-21 19:21:49.712 17549-17549 MainActivity            sq.rogue.rosettadrone                E  onCreate()
2024-07-21 19:21:49.867 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:21:51.712 17549-17549 MainActivity            sq.rogue.rosettadrone                E  initVideoService
2024-07-21 19:21:51.712 17549-17549 MainActivity            sq.rogue.rosettadrone                E  IP Address: 192.168.1.220
2024-07-21 19:21:52.216 17549-17549 MainActivity            sq.rogue.rosettadrone                E  doBindService
2024-07-21 19:21:52.231 17549-17549 DJISDKManager           sq.rogue.rosettadrone                E  Failed to load LDM Plus license file /storage/emulated/0/Android/data/sq.rogue.rosettadrone/files/DJI/sq.rogue.rosettadrone.dlf: open failed: ENOENT (No such file or directory)
2024-07-21 19:21:52.277 17549-17549 MainActivity            sq.rogue.rosettadrone                E  onResume()
2024-07-21 19:21:52.298 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:21:52.299 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:21:52.347 17549-17597 MainActivity            sq.rogue.rosettadrone                E  API Key successfully registered(255)
2024-07-21 19:21:52.381 17549-18153 MAVLinkConnection       sq.rogue.rosettadrone                E  Connecting to 192.168.1.220:14550
2024-07-21 19:21:52.514 17549-17597 WP_JNI                  sq.rogue.rosettadrone                E  JNI_OnLoad
2024-07-21 19:21:52.618 17549-17597 FileUtils               sq.rogue.rosettadrone                E  err open mi_exception_log errno=2
2024-07-21 19:21:52.618 17549-17597 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:21:52.633 17549-17765 NativeHelper            sq.rogue.rosettadrone                E  NativeHelper
2024-07-21 19:21:52.634 17549-17765 DJI                     sq.rogue.rosettadrone                E  m_pCodecPaser == NULL
2024-07-21 19:21:54.228 17549-17549 libEGL                  sq.rogue.rosettadrone                E  call to OpenGL ES API with no current context (logged once per thread)
2024-07-21 19:21:54.243 17549-17549 Affinity                sq.rogue.rosettadrone                E  Not RM500 !
2024-07-21 19:21:54.264 17549-17765 libEGL                  sq.rogue.rosettadrone                E  call to OpenGL ES API with no current context (logged once per thread)
2024-07-21 19:21:54.341 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:21:54.342 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:21:54.350 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:21:54.368 17549-17549 VideoService            sq.rogue.rosettadrone                E  oncreate Video 
2024-07-21 19:21:54.445 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:21:54.526 17549-18166 FileUtils               sq.rogue.rosettadrone                E  err open mi_exception_log errno=2
2024-07-21 19:21:54.526 17549-18166 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:21:54.533 17549-18084 FileUtils               sq.rogue.rosettadrone                E  err open mi_exception_log errno=2
2024-07-21 19:21:54.533 17549-18084 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:21:54.593 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:21:54.594 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:21:54.709 17549-17549 koy$fdd                 sq.rogue.rosettadrone                E  send to server success: Response{protocol=http/1.1, code=200, message=, url=https://statistical-report.djiservice.org/api/report/web}
2024-07-21 19:21:54.755 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:21:55.373 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:21:55.373 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:21:55.376 17549-17549 MainActivity            sq.rogue.rosettadrone                E  onServiceConnected  192.168.1.220
2024-07-21 19:21:55.376 17549-17549 VideoService            sq.rogue.rosettadrone                E  setParameters
2024-07-21 19:21:55.626 17549-18182 ion                     sq.rogue.rosettadrone                E  ioctl c0044901 failed with code -1: Invalid argument
2024-07-21 19:21:55.636 17549-18168 FileUtils               sq.rogue.rosettadrone                E  err open mi_exception_log errno=2
2024-07-21 19:21:55.636 17549-18168 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:21:55.750 17549-17549 FileUtils               sq.rogue.rosettadrone                E  err write to mi_exception_log
2024-07-21 19:21:55.871 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 3002 (EGL_BAD_ACCESS)
2024-07-21 19:21:55.872 17549-18166 libEGL                  sq.rogue.rosettadrone                E  call to OpenGL ES API with no current context (logged once per thread)
2024-07-21 19:21:55.872 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglSwapBuffersWithDamageKHRImpl:1372 error 300d (EGL_BAD_SURFACE)
2024-07-21 19:21:55.879 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 300d (EGL_BAD_SURFACE)
2024-07-21 19:21:55.879 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglSwapBuffersWithDamageKHRImpl:1372 error 300d (EGL_BAD_SURFACE)
2024-07-21 19:21:55.905 17549-17765 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 3002 (EGL_BAD_ACCESS)
2024-07-21 19:21:55.912 17549-17765 Surface                 sq.rogue.rosettadrone                E  freeAllBuffers: 1 buffers were freed while being dequeued!
2024-07-21 19:21:55.914 17549-18166 Surface                 sq.rogue.rosettadrone                E  getSlotFromBufferLocked: unknown buffer: 0xb400007c0c73e100
2024-07-21 19:21:55.923 17549-17765 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 3002 (EGL_BAD_ACCESS)
2024-07-21 19:21:55.928 17549-17765 Surface                 sq.rogue.rosettadrone                E  freeAllBuffers: 1 buffers were freed while being dequeued!
2024-07-21 19:21:55.929 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglSwapBuffersWithDamageKHRImpl:1372 error 300d (EGL_BAD_SURFACE)
2024-07-21 19:21:55.932 17549-18166 Surface                 sq.rogue.rosettadrone                E  getSlotFromBufferLocked: unknown buffer: 0xb400007c0c73e100
2024-07-21 19:21:55.967 17549-17765 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 3002 (EGL_BAD_ACCESS)
2024-07-21 19:21:55.974 17549-17765 Surface                 sq.rogue.rosettadrone                E  freeAllBuffers: 1 buffers were freed while being dequeued!
2024-07-21 19:21:55.975 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglSwapBuffersWithDamageKHRImpl:1372 error 300d (EGL_BAD_SURFACE)
2024-07-21 19:21:55.977 17549-18166 Surface                 sq.rogue.rosettadrone                E  getSlotFromBufferLocked: unknown buffer: 0xb400007c0c73e100
2024-07-21 19:21:55.983 17549-17765 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 3002 (EGL_BAD_ACCESS)
2024-07-21 19:21:55.985 17549-17765 Surface                 sq.rogue.rosettadrone                E  freeAllBuffers: 1 buffers were freed while being dequeued!
2024-07-21 19:21:55.985 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglSwapBuffersWithDamageKHRImpl:1372 error 300d (EGL_BAD_SURFACE)
2024-07-21 19:21:55.987 17549-18166 Surface                 sq.rogue.rosettadrone                E  getSlotFromBufferLocked: unknown buffer: 0xb400007c0c73e100
2024-07-21 19:21:56.001 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 3002 (EGL_BAD_ACCESS)
2024-07-21 19:21:56.002 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglSwapBuffersWithDamageKHRImpl:1372 error 300d (EGL_BAD_SURFACE)
2024-07-21 19:21:56.056 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 300d (EGL_BAD_SURFACE)
2024-07-21 19:21:56.128 17549-17765 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 3002 (EGL_BAD_ACCESS)
2024-07-21 19:21:56.133 17549-17765 Surface                 sq.rogue.rosettadrone                E  freeAllBuffers: 1 buffers were freed while being dequeued!
2024-07-21 19:21:56.133 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglSwapBuffersWithDamageKHRImpl:1372 error 300d (EGL_BAD_SURFACE)
2024-07-21 19:21:56.135 17549-18166 Surface                 sq.rogue.rosettadrone                E  getSlotFromBufferLocked: unknown buffer: 0xb400007c0c73ea00
2024-07-21 19:21:56.228 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 3002 (EGL_BAD_ACCESS)
2024-07-21 19:21:56.228 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglSwapBuffersWithDamageKHRImpl:1372 error 300d (EGL_BAD_SURFACE)
2024-07-21 19:21:56.294 17549-17765 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 3002 (EGL_BAD_ACCESS)
2024-07-21 19:21:56.298 17549-17765 Surface                 sq.rogue.rosettadrone                E  freeAllBuffers: 1 buffers were freed while being dequeued!
2024-07-21 19:21:56.298 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglSwapBuffersWithDamageKHRImpl:1372 error 300d (EGL_BAD_SURFACE)
2024-07-21 19:21:56.300 17549-18166 Surface                 sq.rogue.rosettadrone                E  getSlotFromBufferLocked: unknown buffer: 0xb400007c0c89e600
2024-07-21 19:21:56.322 17549-17765 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 3002 (EGL_BAD_ACCESS)
2024-07-21 19:21:56.327 17549-17765 Surface                 sq.rogue.rosettadrone                E  freeAllBuffers: 1 buffers were freed while being dequeued!
2024-07-21 19:21:56.329 17549-18166 Surface                 sq.rogue.rosettadrone                E  getSlotFromBufferLocked: unknown buffer: 0xb400007c0c89e600
2024-07-21 19:21:56.392 17549-17765 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 3002 (EGL_BAD_ACCESS)
2024-07-21 19:21:56.396 17549-17765 Surface                 sq.rogue.rosettadrone                E  freeAllBuffers: 1 buffers were freed while being dequeued!
2024-07-21 19:21:56.398 17549-18166 Surface                 sq.rogue.rosettadrone                E  getSlotFromBufferLocked: unknown buffer: 0xb400007c0c89ea80
2024-07-21 19:21:56.461 17549-17765 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 3002 (EGL_BAD_ACCESS)
2024-07-21 19:21:56.462 17549-17765 Surface                 sq.rogue.rosettadrone                E  freeAllBuffers: 1 buffers were freed while being dequeued!
2024-07-21 19:21:56.464 17549-18166 Surface                 sq.rogue.rosettadrone                E  getSlotFromBufferLocked: unknown buffer: 0xb400007c0c73e100
2024-07-21 19:21:56.488 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 3002 (EGL_BAD_ACCESS)
2024-07-21 19:21:56.488 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglSwapBuffersWithDamageKHRImpl:1372 error 300d (EGL_BAD_SURFACE)
2024-07-21 19:21:56.531 17549-17765 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 3002 (EGL_BAD_ACCESS)
2024-07-21 19:21:56.534 17549-17765 Surface                 sq.rogue.rosettadrone                E  freeAllBuffers: 1 buffers were freed while being dequeued!
2024-07-21 19:21:56.534 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglSwapBuffersWithDamageKHRImpl:1372 error 300d (EGL_BAD_SURFACE)
2024-07-21 19:21:56.538 17549-18166 Surface                 sq.rogue.rosettadrone                E  getSlotFromBufferLocked: unknown buffer: 0xb400007c0c73e100
2024-07-21 19:21:56.564 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 300d (EGL_BAD_SURFACE)
2024-07-21 19:21:56.630 17549-17765 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 3002 (EGL_BAD_ACCESS)
2024-07-21 19:21:56.634 17549-17765 Surface                 sq.rogue.rosettadrone                E  freeAllBuffers: 1 buffers were freed while being dequeued!
2024-07-21 19:21:56.635 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglSwapBuffersWithDamageKHRImpl:1372 error 300d (EGL_BAD_SURFACE)
2024-07-21 19:21:56.637 17549-18166 Surface                 sq.rogue.rosettadrone                E  getSlotFromBufferLocked: unknown buffer: 0xb400007c0c73e700
2024-07-21 19:21:56.663 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 300d (EGL_BAD_SURFACE)
2024-07-21 19:21:56.729 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 3002 (EGL_BAD_ACCESS)
2024-07-21 19:21:56.760 17549-17765 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 3002 (EGL_BAD_ACCESS)
2024-07-21 19:21:56.765 17549-17765 Surface                 sq.rogue.rosettadrone                E  freeAllBuffers: 1 buffers were freed while being dequeued!
2024-07-21 19:21:56.765 17549-18166 libEGL                  sq.rogue.rosettadrone                E  eglSwapBuffersWithDamageKHRImpl:1372 error 300d (EGL_BAD_SURFACE)
2024-07-21 19:21:56.767 17549-18166 Surface                 sq.rogue.rosettadrone                E  getSlotFromBufferLocked: unknown buffer: 0xb400007c0c89ec00
2024-07-21 19:21:56.825 17549-17765 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 3002 (EGL_BAD_ACCESS)
2024-07-21 19:21:56.829 17549-17765 Surface                 sq.rogue.rosettadrone                E  freeAllBuffers: 1 buffers were freed while being dequeued!
2024-07-21 19:21:56.831 17549-18166 Surface                 sq.rogue.rosettadrone                E  getSlotFromBufferLocked: unknown buffer: 0xb400007c0c89ed80
2024-07-21 19:21:56.895 17549-17765 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 3002 (EGL_BAD_ACCESS)
2024-07-21 19:21:56.898 17549-17765 Surface                 sq.rogue.rosettadrone                E  freeAllBuffers: 1 buffers were freed while being dequeued!
2024-07-21 19:21:56.901 17549-18166 Surface                 sq.rogue.rosettadrone                E  getSlotFromBufferLocked: unknown buffer: 0xb400007c2a7ecc80
2024-07-21 19:21:56.929 17549-17765 libEGL                  sq.rogue.rosettadrone                E  eglMakeCurrentImpl:1082 error 3002 (EGL_BAD_ACCESS)
kripper commented 3 months ago

The video streeaming from RD to QGC has nothing to do with 1) the MAVLINK commands, 2) the video display inside RD. See: https://github.com/RosettaDrone/rosettadrone/issues/175.

Please post atomic issues (only one issue per "issue").