mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-24 23:36:04 +00:00
fix(glasses): correct One Pro+ tracking and enable verified controls (#2680)
* fix(glasses): correct One Pro+ tracking and enable verified controls * fix(i18n): translate current XREAL family guidance
This commit is contained in:
1 parent
2a51b044c5
commit
ee6cf20ae4
42 files changed
+325
-68
No files matched your search
@@ -240,3 +240,65 @@ extended gameplay stability need hardware validation. One successful view/motion
|
||||
check does not establish long-session stability. Users must select Follow mode and disable the glasses' own
|
||||
stabilization. Factory calibration and XREAL Eye/6DoF are not implemented.
|
||||
One Pro is not enabled or claimed as tested.
|
||||
|
||||
## Native 1 Pro+ implementation and hardware validation — 2026-11-13
|
||||
|
||||
The attached device identifies as USB `3318:0444`, product `XREAL 1 Pro+`. This exact
|
||||
identity enables the experimental 1 Pro+ profile alongside the existing 1S profile.
|
||||
The [official specifications](https://tutorials.xreal.com/docs/glasses/pro-plus/specifications/)
|
||||
give 1920×1080 per eye and a 57° diagonal field of view. The direct Kotlin driver
|
||||
uses the USB-Ethernet control and IMU services; it requires no XREAL SDK or
|
||||
ControlGlasses installation and includes no vendor SDK binaries or headers.
|
||||
|
||||
Verified on the connected phone and glasses:
|
||||
|
||||
| Observation | Result |
|
||||
| --- | --- |
|
||||
| Control and IMU transport | Individually bound Android Ethernet sockets reach `169.254.2.1:52999` and `:52998` without replacing the default Internet network. |
|
||||
| Native display | `GET_DISPLAY` (`0x275e`) returns **9**, with Android reporting **1920×1080 at 60 Hz**. This profile preserves mode 9 for native 60 Hz instead of the 1S's mode 29. |
|
||||
| Legacy 60 Hz command | Setting mode **2** is rejected with status **10001**. A rejected command does not count as a successful display switch. |
|
||||
| Higher refresh commands | Setting modes **3** and **4** through DroidDeck selects physical **1920×1080 at 90/120 Hz**, confirmed through Android's active display mode. |
|
||||
| Full SBS | `SET_INPUT` (`0x2822`) with value **1** settles at display mode **5** and Android **3840×1080 at 60 Hz**. Value **0** restores native mode **9**; DroidDeck then restores the saved 90 Hz preference. Tracking resumed after both switches. |
|
||||
| IMU | Type **11** raw sensor reports arrive at approximately **1,000 Hz**, using the existing 128-byte body layout. |
|
||||
|
||||
Mode 9 is an observed native display configuration, not a general mapping from
|
||||
EDID number to the physical refresh rate selected by every host. The older
|
||||
[xr-tools enum](https://github.com/0xcaff/xr-tools/blob/main/packages/xreal_one_driver/src/proto/net/dp_get_current_edid_dsp.rs)
|
||||
contains only modes 2–5. The independent
|
||||
[one-xr investigation](https://github.com/Skarian/one-xr/blob/main/docs/UNRESOLVED.md)
|
||||
also records mode 9 and mode-2 rejection status 10001 on other firmware. This
|
||||
supports keeping display mappings per model and confirming output through Android.
|
||||
|
||||
The Pro+ profile applies a nominal **+35° rotation around X** to both gyro and
|
||||
acceleration before fusion, inverting the factory display-to-IMU mounting
|
||||
direction. Directed wearer captures separately establish the sign: horizontal
|
||||
turns primarily rotate around corrected Y, and shoulder tilts around corrected Z.
|
||||
The initial opposite-sign correction mixed these axes; a stationary capture alone
|
||||
could not distinguish sensor mounting from the physical angle of the glasses.
|
||||
This is a model mounting correction, not individually calibrated tracking. Device
|
||||
calibration data and serial numbers are not stored in the repository. After the
|
||||
corrected build was installed, the wearer confirmed all three rotation directions
|
||||
and the horizon were correct. The existing 1S mapping stays unchanged.
|
||||
|
||||
The initial APK build and 621 targeted glasses/UI tests completed with zero failures
|
||||
and one skipped test. After correcting the mounting direction, all 73 focused
|
||||
XREAL/routing tests passed, including a regression using the measured movement
|
||||
axes. Native dependency checks passed and the APK contains no vendor
|
||||
SDK libraries. On this phone, background network restrictions interrupted the
|
||||
glasses sockets while DroidDeck was away from the foreground; foreground operation
|
||||
recovered. Sustained background use needs separate validation.
|
||||
|
||||
Brightness remains limited to the known protocol values **0–9**. XREAL's
|
||||
[display guide](https://tutorials.xreal.com/docs/glasses/pro-plus/display-sound/)
|
||||
documents 14 physical levels in Follow mode with Stabilizer off and 10 in Anchor
|
||||
or Spatial Anchor. Those counts do not establish a 0–13 direct-protocol range.
|
||||
The wearer confirmed that DroidDeck's brightness and dimming controls work on the
|
||||
Pro+. The wider brightness API mapping remains unverified.
|
||||
|
||||
Use **Follow** with **Stabilizer off** in the glasses' own menu before using
|
||||
DroidDeck tracking, following the official
|
||||
[display-mode](https://tutorials.xreal.com/docs/glasses/pro-plus/spatial-screen/display-modes/)
|
||||
and [Stabilizer](https://tutorials.xreal.com/docs/glasses/pro-plus/spatial-screen/stabilizer-transparency/)
|
||||
descriptions. The built-in tracking must not be layered over host tracking.
|
||||
XREAL Eye, camera capture, and 6DoF are not implemented. Long-session stability
|
||||
remains an outstanding hardware check.
|
||||
@@ -22,7 +22,7 @@ This describes the integrations implemented in DroidDeck as of 2026-10-24. A rec
|
||||
| **VITURE Luma Ultra** | SDK-dependent Carina transport | Yes | **Experimental, opt-in** | **Experimental, opt-in** |
|
||||
| Recognized RayNeo / TCL Air-series devices | Integrated RayNeo USB transport | Yes, with orientation calibration controls | No | No |
|
||||
| RayNeo GT-series devices matching the supported USB identity, including GT Max identification | Integrated GT USB/IMU path | Yes, with orientation calibration controls | No | No |
|
||||
| **XREAL 1S, One, One Pro, One Pro+, Aura** | **Experimental**; exact USB identity plus the device's USB-Ethernet control/IMU connection. Head tracking and 2D/3D switching are tested on the Aura | Yes, when that connection is ready | No | No |
|
||||
| **XREAL 1S, One, One Pro, One Pro+, Aura** | **Experimental**; exact USB identity plus the device's USB-Ethernet control/IMU connection. Head tracking and 2D/3D switching are tested on the Aura and One Pro+ | Yes, when that connection is ready | No | No |
|
||||
| Rokid Max / Max 2; Rokid Air under the Max USB identity | Integrated Rokid USB transport (vendor control requests and HID IMU reports) | Yes | No | No |
|
||||
| Other XREAL models (Air family and others); unrecognized glasses; display adapters and docks | Display-only where Android exposes a usable display; automatic glasses routing also requires display recognition | No supported app tracking connection | No | No |
|
||||
|
||||
@@ -43,7 +43,8 @@ All display modes depend on the phone's video output, the cable/adapter, and And
|
||||
| VITURE Pro 2 | 1080p per eye; 2D and SBS | Brightness and volume; no electrochromic-film control |
|
||||
| RayNeo Air/GT | 2D/SBS switching; resolution and refresh follow available Android modes | Orientation calibration; no app brightness, volume, or dimming commands |
|
||||
| XREAL 1S | Supported 1S display-mode commands, including native 1200p/60 Hz and SBS | Brightness and dimming toggle; no app volume command |
|
||||
| XREAL One, One Pro, One Pro+, Aura | 2D and SBS only, switched with the glasses' 3D input command; the display-mode set command is never sent (an unexpected index reboots the Aura) | No app brightness, dimming or volume commands |
|
||||
| XREAL One Pro+ | Verified 1920×1080 at 60/90/120 Hz; 3840×1080 SBS at 60 Hz. Native 60 Hz uses mode 9; 1S-only modes 2/29 are rejected | Brightness 0–9 and dimming toggle verified; no app volume command |
|
||||
| XREAL One, One Pro, Aura | 2D and SBS only, switched with the glasses' 3D input command; the display-mode set command is never sent (an unexpected index reboots the Aura) | No app brightness, dimming or volume commands |
|
||||
| Rokid Max / Max 2 | 1080p at 60 or 120 Hz in 2D; SBS at 1080p/60, 1200p/60, or 1200p/90 | Brightness; volume follows Android's USB audio volume; no dimming film |
|
||||
| Rokid Air | 1080p/60 in 2D and SBS | Brightness; volume follows Android's USB audio volume |
|
||||
|
||||
@@ -55,6 +56,8 @@ With **game on glasses** the compositor draws the guest pointer into its own sce
|
||||
|
||||
The pointer is left out of the picture when it cannot be drawn where the game is: while a game holds the pointer lock (it draws its own), and for a game the compositor cannot import — an AHardwareBuffer-only surface, or HDR frames it has no texture for. Those games stay on their own display layer, because composing the scene would drop the game itself. An importable HDR game that would otherwise stay on its own layer is composed through the screen swapchain, so there the pointer does fit.
|
||||
|
||||
The One Pro+ uses a verified sensor mounting correction for both gyro and acceleration. The wearer confirmed all three tracking axes, a level horizon, brightness and dimming on a Fold7. Use Follow mode with Stabilizer off. These checks do not establish long-session stability; see the [hardware validation](development/xreal-investigation.md#native-1-pro-implementation-and-hardware-validation--2026-11-13).
|
||||
|
||||
## Setup and app-wide behavior
|
||||
|
||||
1. Connect the glasses through a compatible video/data connection. Accept USB access when requested. For XREAL 1S, One, One Pro, One Pro+ and Aura, Android must also expose the glasses' USB-Ethernet network; the app leaves Steam's Internet connection on its normal network.
|
||||
|
||||
Reference in new issue
Block a user