nix-community / nixpkgs-xr

Automated packages for XR/AR/VR tools and apps for NixOS [maintainer=@Scrumplex]
29 stars 2 forks source link

cannot run monado-service using valve index #138

Closed meir closed 3 weeks ago

meir commented 4 weeks ago

Im trying to get monado to work using STEAMVR_LH_ENABLE=true monado-service This results in the following crash

nixos% STEAMVR_LH_ENABLE=true monado-service
 INFO [ipc_server_main] Monado(XRT) by Collabora et al 'GIT-NOTFOUND' starting up...
ERROR [p_dev_get_usb_dev] USB device with same address but different vendor and product found!
        vendor:  046d 046d
        product: c53f 4074
 INFO [steamvr_lh_create_devices] Found SteamVR install: /home/human/.local/share/Steam/steamapps/common/SteamVR
 INFO [steamvr_lh_create_devices] Lighthouse initialization complete, giving time to setup connected devices...
 INFO [steamvr_lh_create_devices] Device search time complete.
ERROR [steamvr_lh_create_devices] Unable to find HMD
 INFO [p_create_system] Creating system:
        Builders:
                qwerty: Qwerty devices builder
                remote: Remote simulation devices builder
                simulated: Simulated devices builder
                rift_s: Oculus Rift S
                rgb_tracking: RGB tracking based devices (PSVR, PSMV, ...)
                simula: SimulaVR headset
                steamvr: SteamVR proprietary wrapper (Vive, Index, Tundra trackers, etc.) devices builder
                lighthouse: Lighthouse-tracked FLOSS (Vive, Index, Tundra trackers, etc.) devices builder
                north_star: North Star headset
                wmr: Windows Mixed Reality
                xreal_air: Xreal Air
                legacy: Legacy probing system
        No builder selected in config (or wasn't compiled in)
        Selected steamvr because it was certain it could create a head
        Using builder steamvr: SteamVR proprietary wrapper (Vive, Index, Tundra trackers, etc.) devices builder
        Result: XRT_ERROR_DEVICE_CREATION_FAILED
ERROR [init_all] Could not create system!
 INFO [print_linux_end_user_failed_information] 
################################################################################
#                                                                              #
#                  The Monado service has failed to start.                     #
#                                                                              #
# If you want to report please upload the logs of the service as a text file.  #
# You can also capture the output the monado-cli info command to provide more  #
# information about your system, that will help diagnosing your problem. The   #
# below commands is how you best capture the information from the commands.    #
#                                                                              #
#     monado-cli info 2>&1 | tee info.txt                                      #
#     monado-service 2>&1 | tee logs.txt                                       #
#                                                                              #
################################################################################
meir commented 3 weeks ago

fixed by replugging the index headset