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!
18 Replies
Nova
Nova9mo ago
ok cool so you're using the stardust nix flakes right?
noisersup
noisersupOP9mo ago
yep
Nova
Nova9mo 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
noisersupOP9mo ago
with xrgears I have the same behaviour:/ The black window pops up, no changes on glasses no errors, no failure
Nova
Nova9mo 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
noisersupOP9mo 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
Nova9mo ago
oh :p
noisersup
noisersupOP9mo ago
sooo, I can see xrgears cat (kinda cute one btw) and stuff in window
Nova
Nova9mo ago
in a window? it's not drawing to your glasses display?
noisersup
noisersupOP9mo ago
Unfortunatley not, the glasses are visible as secondary display currently
Nova
Nova9mo ago
hmm
noisersup
noisersupOP9mo ago
on which I can move my window, but that's not kinda the same:p
Nova
Nova9mo 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
noisersupOP9mo ago
dont want to bother you all too much:) especially it seems to be monado issue, gonna ask there
Nova
Nova9mo ago
you're not bothering me i just don't know the answer :p
matthewcroughan
matthewcroughan9mo ago
Maybe I do, but I can't spend the time on it right now, I need to wake up at 8am
Nova
Nova9mo ago
oh no problem also btw i fixed the rust issue idk how i did but i did :p
Pandapip1
Pandapip19mo 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
Want results from more Discord servers?
Add your server