Struggles with running on XReal Air

I'm trying to run stardust-xr-server on my XReal Air glasses, but I get the black window open. Glasses are treated as display the same way as before. I had quiet a lot of issues and I'm describing the current state... The stardust-xr-server logs:
before init
LOG in xrCreateInstance: Instance created
createInfo->applicationInfo.applicationName: Stardust XR
createInfo->applicationInfo.applicationVersion: 1
createInfo->applicationInfo.engineName: StereoKit
createInfo->applicationInfo.engineVersion: 12295
appinfo.detected.engine.name: (null)
appinfo.detected.engine.version: 0.0.0
quirks.disable_vulkan_format_depth_stencil: false
quirks.no_validation_error_in_create_ref_space: true
LOG in xrCreateInstance: Selected devices
Head: 'Nreal Air Glasses'
Eyes: '<none>'
Left: '<none>'
Right: '<none>'
Gamepad: '<none>'
Hand-Tracking Left: '<none>'
Hand-Tracking Right: '<none>'
after init
before init
LOG in xrCreateInstance: Instance created
createInfo->applicationInfo.applicationName: Stardust XR
createInfo->applicationInfo.applicationVersion: 1
createInfo->applicationInfo.engineName: StereoKit
createInfo->applicationInfo.engineVersion: 12295
appinfo.detected.engine.name: (null)
appinfo.detected.engine.version: 0.0.0
quirks.disable_vulkan_format_depth_stencil: false
quirks.no_validation_error_in_create_ref_space: true
LOG in xrCreateInstance: Selected devices
Head: 'Nreal Air Glasses'
Eyes: '<none>'
Left: '<none>'
Right: '<none>'
Gamepad: '<none>'
Hand-Tracking Left: '<none>'
Hand-Tracking Right: '<none>'
after init
monado logs in file I'm running Hyprland on NixOS. Please let me know what information I can provide if any, thanks!
23 Replies
Nova
Nova10mo ago
ok cool so you're using the stardust nix flakes right?
noisersup
noisersupOP10mo ago
yep
Nova
Nova10mo ago
you need to run the server then flatland after the server then you'll see wayland windows inside stardust but before that make sure your glasses work with XR apps so, test with monado running and then run xrgears to make sure they work xrgears is a nixpkg btw
noisersup
noisersupOP10mo ago
with xrgears I have the same behaviour:/ The black window pops up, no changes on glasses no errors, no failure
Nova
Nova10mo ago
okay, so you'll want to talk to the monado people then and/or the linux vr adventures people https://discord.gg/YUnqxcV5 when you get xrgears working with monado i can help you with the stardust parts
noisersup
noisersupOP10mo ago
sure, makes sense. Thank you for your help! I wanted to collect logs for monado team, and then it suddenly worked... I realized that the glasses were just directed into wrong direction...
Nova
Nova10mo ago
oh :p
noisersup
noisersupOP10mo ago
sooo, I can see xrgears cat (kinda cute one btw) and stuff in window
Nova
Nova10mo ago
in a window? it's not drawing to your glasses display?
noisersup
noisersupOP10mo ago
Unfortunatley not, the glasses are visible as secondary display currently
Nova
Nova10mo ago
hmm
noisersup
noisersupOP10mo ago
on which I can move my window, but that's not kinda the same:p
Nova
Nova10mo ago
yeah i get it ok yea ask the monado people hang on actually @matthewcroughan has xreal air glasses too he might know how to fix this (noisersup is also running on nixos)
noisersup
noisersupOP10mo ago
dont want to bother you all too much:) especially it seems to be monado issue, gonna ask there
Nova
Nova10mo ago
you're not bothering me i just don't know the answer :p
matthewcroughan
matthewcroughan10mo ago
Maybe I do, but I can't spend the time on it right now, I need to wake up at 8am
Nova
Nova10mo ago
oh no problem also btw i fixed the rust issue idk how i did but i did :p
Pandapip1
Pandapip110mo ago
IIUC monado support for the airs is limited to 3DoF tracking; SBS mode (i.e. stereoscopic displays) isn't supported yet You might be able to manually enable SBS mode though
noisersup
noisersupOP2mo ago
sorry for necroposting (I can create a new thread if you'd prefer). I've came back to the glasses topic and I wonder if you still remember how did you manage to make your xreal airs work in direct mode. One thing I've tried back in the March is to patch a kernel with glasses edid to make them recognizable as non-desktop, although couldn't find the place where the edid table is stored
matthewcroughan
matthewcroughan2mo ago
GitLab
XREAL/NREAL Air / Air 2 Pro AR glasses not recognized as non-deskto...
Both of these devices do not contain a DisplayID 2.0 block in their respective EDIDs. I have obtained the following EDIDs from different units: XREAL...
matthewcroughan
matthewcroughan2mo ago
@noisersup
noisersup
noisersupOP2mo ago
thanks a lot! Will try this out holy shit it works

Did you find this page helpful?