Glasses disconnect after several seconds to minutes

Hey , im getting an error after several seconds to minutes, after which the glasses disconnect. It happens with several of the sets i have (so far 3 out of 20), and it happens both in my own apps, and the Nebula Menu:
Is there anyone who knows what the issue can be? I attached the full log from one of my apps to show the error I get.
I expect a bad DP port on the phone, but am not sure. It would be great if someone can help me figure out what the reason is, and if it can be fixed.

[2023-12-06 21:27:35.369] [2573] [WARN] [NRSDK] Log Info: pid:1501, time:2023-12-06 21:27:35 (+0100)
[2023-12-06 21:27:35.370] [2573] [INFO] [NRSDK] NRSDK Version: 1.10.1.2023013012
[2023-12-06 21:27:35.370] [2573] [INFO] [NRSDK] NRSDK Create!
[2023-12-06 21:27:35.377] [2573] [INFO] [NRSDK] NRSDK Init!
[2023-12-06 21:27:35.418] [2573] [INFO] [NRSDK] NRSDK Init Switch!
[2023-12-06 21:27:35.425] [2573] [INFO] [NRSDK] Detected Server Info:ai.nreal.nebula.universal
[2023-12-06 21:27:35.431] [2680] [INFO] [NRSDK] Server Version: 1.100.23
[2023-12-06 21:27:35.442] [2517] [INFO] [NRSDK] HMD Device type :1
[2023-12-06 21:27:35.442] [2573] [INFO] [NRSDK] NRSDK Configure Mode=0!
[2023-12-06 21:27:35.443] [2573] [INFO] [NRSDK] NRGlassesControl START!
[2023-12-06 21:27:35.443] [2573] [INFO] [NRSDK] MCU initializing
[2023-12-06 21:27:35.443] [2573] [INFO] [NRSDK] MCU device type [1]
[2023-12-06 21:27:35.446] [2573] [INFO] [NRSDK] MCU got handle, work type = 0
[2023-12-06 21:27:35.448] [2573] [INFO] [NRSDK] Generic Control open with handle
[2023-12-06 21:27:35.448] [2573] [INFO] [NRSDK] MCU initialized
[2023-12-06 21:27:35.448] [2573] [INFO] [NRSDK] MCU starting
[2023-12-06 21:27:35.448] [2573] [INFO] [NRSDK] Generic Control callback true
[2023-12-06 21:27:35.448] [2573] [INFO] [NRSDK] MCU type = 1
[2023-12-06 21:27:35.471] [2573] [INFO] [NRSDK] MCU software version : 05.5.08.059_20230518
[2023-12-06 21:27:35.495] [2573] [INFO] [NRSDK] Glasses ID : B049F03573
[2023-12-06 21:27:35.517] [2573] [INFO] [NRSDK] GlassesFWInfo : 05.5.08.059_20201026_0039
[2023-12-06 21:27:35.519] [2573] [INFO] [NRSDK] MCU protocol build date(05.5.08.059_20230518) not exist, using default protocol, which may cause some functions to not work properly
[2023-12-06 21:27:35.523] [2573] [INFO] [NRSDK] Display info : 3840x1080x60
[2023-12-06 21:27:35.523] [2573] [INFO] [NRSDK] MCU started
[2023-12-06 21:27:35.526] [2573] [INFO] [NRSDK] Supported Devices 1575
[2023-12-06 21:27:35.528] [2719] [INFO] [NRSDK] Glasses heartbeat, response status true
[2023-12-06 21:27:35.530] [2573] [INFO] [NRSDK] Supported Displays 15
[2023-12-06 21:27:35.530] [2573] [INFO] [NRSDK] NRGlassesControl RUN!
[2023-12-06 21:27:35.532] [2573] [INFO] [NRSDK] NRHMD START!
[2023-12-06 21:27:35.536] [2573] [INFO] [NRSDK] NRHMD RUN!
[2023-12-06 21:27:35.649] [2573] [INFO] [NRSDK] NRDisplay START!
[2023-12-06 21:27:35.652] [2573] [INFO] [NRSDK] Find PRESENTATION Displays 1
[2023-12-06 21:27:35.652] [2573] [INFO] [NRSDK] Display Type 2
[2023-12-06 21:27:35.902] [2573] [INFO] [NRSDK] OnDisplayEvent: id:0 ev:3
[2023-12-06 21:27:35.903] [2573] [INFO] [NRSDK] NRDisplay RUN!
[2023-12-06 21:27:35.919] [2720] [INFO] [NRSDK] NRTracking START!
[2023-12-06 21:27:35.919] [2720] [INFO] [NRSDK] IMU initializing
[2023-12-06 21:27:35.919] [2720] [INFO] [NRSDK] IMU device type [1]
[2023-12-06 21:27:35.925] [2720] [INFO] [NRSDK] IMU got handle, work type = 0
[2023-12-06 21:27:35.931] [2720] [INFO] [NRSDK] Generic Control open with handle
[2023-12-06 21:27:35.931] [2720] [INFO] [NRSDK] IMU initialized
[2023-12-06 21:27:35.931] [2720] [INFO] [NRSDK] Gray Camera initializing
[2023-12-06 21:27:35.937] [2720] [INFO] [NRSDK] Gray Camera got handle, work type = 0
[2023-12-06 21:27:35.939] [2720] [INFO] [NRSDK] CameraUvc open with handle (usb_fd passed in)
[2023-12-06 21:27:35.939] [2720] [INFO] [NRSDK] CameraUvc opened
[2023-12-06 21:27:35.940] [2720] [INFO] [NRSDK] Gray Camera initialized
[2023-12-06 21:27:35.970] [2718] [WARN] [NRSDK] [Try control display status] : [Unsupported]
[2023-12-06 21:27:35.972] [2718] [WARN] [NRSDK] [Try control display status] : [Unsupported]
[2023-12-06 21:27:35.972] [1501] [INFO] [NRSDK] Turn Screen On 1
[2023-12-06 21:27:35.972] [1501] [INFO] [NRSDK] Display 1
[2023-12-06 21:27:36.084] [2720] [INFO] [NRSDK] IMU starting
[2023-12-06 21:27:36.084] [2720] [INFO] [NRSDK] Generic Control callback true
[2023-12-06 21:27:36.084] [2720] [INFO] [NRSDK] IMU started
[2023-12-06 21:27:36.084] [2720] [INFO] [NRSDK] Gray Camera starting
[2023-12-06 21:27:36.091] [2726] [INFO] [NRSDK] IMU Generic Protocol version : 20200323
[2023-12-06 21:27:36.355] [2720] [INFO] [NRSDK] CameraUvc streaming started
[2023-12-06 21:27:36.357] [2720] [INFO] [NRSDK] Gray Camera started
[2023-12-06 21:27:36.359] [2720] [INFO] [NRSDK] NRTracking RUN!
[2023-12-06 21:27:36.359] [2573] [INFO] [NRSDK] NRController START!
[2023-12-06 21:27:36.360] [2573] [INFO] [NRSDK] controller initialize finish.
[2023-12-06 21:27:36.383] [2573] [INFO] [NRSDK] load tracking finish.
[2023-12-06 21:27:36.387] [2739] [INFO] [NRSDK] Cam Generic Protocol version : 20200323
[2023-12-06 21:27:36.411] [2750] [INFO] [NRSDK] Receiving data 1: Same
[2023-12-06 21:27:36.435] [2750] [INFO] [NRSDK] Receiving data 2: OK
[2023-12-06 21:27:36.458] [2573] [INFO] [NRSDK] NRController RUN!
[2023-12-06 21:27:36.475] [2750] [INFO] [NRSDK] Receiving data 3: OK
[2023-12-06 21:27:36.627] [2672] [INFO] [NRSDK] NRRendering START!
[2023-12-06 21:27:36.628] [2672] [WARN] [NRSDK] left distortion data size mismatch:0.
[2023-12-06 21:27:36.628] [2672] [WARN] [NRSDK] right distortion data size mismatch:0.
[2023-12-06 21:27:36.629] [2672] [INFO] [NRSDK] hardware is:qcom
[2023-12-06 21:27:36.631] [2672] [INFO] [NRSDK] NRRendering RUN!
[2023-12-06 21:27:36.653] [2672] [INFO] [NRSDK] Start rendering
[2023-12-06 21:27:36.654] [2758] [INFO] [NRSDK] current is 0
[2023-12-06 21:27:36.673] [2758] [INFO] [NRSDK] Start to display on screen
[2023-12-06 21:27:36.726] [2718] [WARN] [NRSDK] Heartbeat recover from long sleep:2755282163531 0
[2023-12-06 21:27:45.411] [2750] [INFO] [NRSDK] Receiving data 1: OK
[2023-12-06 21:27:45.536] [2719] [INFO] [NRSDK] Glasses heartbeat, response status true
[2023-12-06 21:27:48.436] [2750] [INFO] [NRSDK] Receiving data 2: OK
[2023-12-06 21:27:51.487] [2750] [INFO] [NRSDK] Receiving data 3: OK
[2023-12-06 21:27:55.545] [2719] [INFO] [NRSDK] Glasses heartbeat, response status true
[2023-12-06 21:27:56.689] [2758] [INFO] [NRSDK] skip: 0.08319467
[2023-12-06 21:28:01.739] [2758] [INFO] [NRSDK] Start to display on screen
[2023-12-06 21:28:03.413] [2750] [INFO] [NRSDK] Receiving data 1: OK
[2023-12-06 21:28:05.552] [2719] [INFO] [NRSDK] Glasses heartbeat, response status true
[2023-12-06 21:28:09.437] [2750] [INFO] [NRSDK] Receiving data 2: OK
[2023-12-06 21:28:15.495] [2750] [INFO] [NRSDK] Receiving data 3: OK
[2023-12-06 21:28:15.561] [2719] [INFO] [NRSDK] Glasses heartbeat, response status true
[2023-12-06 21:28:16.706] [2758] [INFO] [NRSDK] skip: 0.16666667
[2023-12-06 21:28:21.965] [2718] [WARN] [NRSDK] Invalid sync offset from last:41845195 2740489965181 2740448119986
[2023-12-06 21:28:22.024] [2718] [WARN] [NRSDK] Glasses will goto sleep! on 0
[2023-12-06 21:28:22.028] [2747] [INFO] [NRSDK] NRRendering STOP!
[2023-12-06 21:28:22.028] [2747] [INFO] [NRSDK] Stop rendering...
[2023-12-06 21:28:22.028] [2514] [WARN] [NRSDK] QuitApp!
[2023-12-06 21:28:22.028] [2514] [WARN] [NRSDK] QuitApp reason=3!
[2023-12-06 21:28:22.029] [2514] [WARN] [NRSDK] QuitApp!
[2023-12-06 21:28:22.029] [2514] [WARN] [NRSDK] QuitApp reason=3!
[2023-12-06 21:28:22.032] [2517] [WARN] [NRSDK] QuitApp!
[2023-12-06 21:28:22.032] [2517] [WARN] [NRSDK] QuitApp reason=3!
[2023-12-06 21:28:22.032] [2680] [WARN] [NRSDK] QuitApp!
[2023-12-06 21:28:22.032] [2680] [WARN] [NRSDK] QuitApp reason=3!
[2023-12-06 21:28:22.033] [2758] [INFO] [NRSDK] Quit rendering.
[2023-12-06 21:28:22.035] [2747] [INFO] [NRSDK] Rendering stopped.
[2023-12-06 21:28:22.035] [2747] [INFO] [NRSDK] Release resources.
[2023-12-06 21:28:22.035] [2747] [INFO] [NRSDK] NRRendering RELEASE!
[2023-12-06 21:28:22.036] [2747] [INFO] [NRSDK] NRTracking STOP!
[2023-12-06 21:28:22.036] [2747] [INFO] [NRSDK] IMU stopping
[2023-12-06 21:28:22.036] [2747] [INFO] [NRSDK] Generic Control process stopped.
[2023-12-06 21:28:22.048] [2517] [WARN] [NRSDK] QuitApp!
[2023-12-06 21:28:22.048] [2517] [WARN] [NRSDK] QuitApp reason=2!
[2023-12-06 21:28:22.059] [2718] [WARN] [NRSDK] Glasses are disconnected!
[2023-12-06 21:28:22.063] [2719] [ERROR] [NRSDK] Generic Control write error len = -1, error(19), No such device
[2023-12-06 21:28:22.063] [2719] [ERROR] [NRSDK] Set Property 39 2800620995597 failed
[2023-12-06 21:28:22.091] [2747] [INFO] [NRSDK] IMU stopped
[2023-12-06 21:28:22.091] [2747] [INFO] [NRSDK] Gray Camera stopping
[2023-12-06 21:28:22.122] [2747] [INFO] [NRSDK] CameraUvc stopped streaming
[2023-12-06 21:28:22.163] [2719] [ERROR] [NRSDK] Set Property 39 2800721065441 failed
[2023-12-06 21:28:22.263] [2719] [ERROR] [NRSDK] Set Property 39 2800821138879 failed
[2023-12-06 21:28:22.364] [2719] [ERROR] [NRSDK] Set Property 39 2800921213670 failed
[2023-12-06 21:28:22.464] [2719] [ERROR] [NRSDK] Set Property 39 2801021281379 failed
[2023-12-06 21:28:22.564] [2719] [ERROR] [NRSDK] Set Property 39 2801121358722 failed

Hi, can I know what phone model you used for testing? And the built-in Android system version. Thanks in advance. From the log you provided, it seems like the USB signal is stopped in a sudden.

Hi, we are using Oppo find X3 pro, with android version 13.1 and the latest nebula update.
The issue appears with some, but not all our devices.

Extra info, the phone does not seem to disconnect from other devices, like a computer, only from the xreal light glasses we are using.

Please go to the Settings menu of the Oppo phone. In the Settings menu, select the ā€˜Apps and Notificationsā€™ option. Within the ā€˜Apps and Notificationsā€™ option, find and select the Nebula app, and turn off the ā€˜associated lanuchesā€™.
After that, restart the Nebula app and launch your developed app.

We found a quick workaround. If we tape off the proximity sensor then the devices continue to operate (even the ones with consistent issues before).
Well try the other option later as well, but for now it seems to be a proximity sensor /sleep / hibernation issue

1 Like