Open ROBYER1 opened 2 years ago
Hi @ROBYER1, can you confirm if the black screen still happens when you activate all the devices without Space Calibrator installed?
@pushrax I can confirm that the black screen happens with or without. I wouldn't want to waste your time looking into this if it's not a bug but I wanted to make you aware of this issue!
Does it happen for you also? Feel free to close this issue also if it's not related 👍
I haven't had a chance to try to reproduce yet.
It sounds like the issue is outside of Space Calibrator's control given the information available so far. Unfortunately multiple driver setups are often overlooked by VR platform developers and there's a high chance there's a bug in the OpenXR runtime or its integration with SteamVR/Unity.
Would be keen to get your thoughts on what is going on at least if you do give it a try, I'm currently chasing it up with Unity support and Steam's OpenXR developer forum.
I have contacts at Unity so I got it sent onto Valve employees they work with but not holding out hope yet.
I am not sure if this issue is with your tool or SteamVR/Unity but I only get this black screen when using a calibrated space in SteamVR through OpenXR Runtime as soon as I switch on a Vive tracker while using an Oculus Quest 2 or Vive Cosmos (without SteamVR faceplate)
Full detail: When using OpenXR with SteamVR as the default system OpenXR runtime and using multiple SteamVR supported devices together e.g. Vive Cosmos and Vive Trackers/Oculus Quest and Vive Trackers, the play mode/headset view will be black with SteamVR reporting
' CEF Local Resource Load Error: http://localhost:27062/app/image?app_key=system.generated.unity.exe&version=1.21.6 -> 404 (Not Found)'
See a video of this happening here, it is blocking me from working on a tool for using Vive trackers in OpenXR. I stress that this worked fine for me before I moved to using OpenXR, using OpenVR for this works totally fine but I want to support OpenXR for Vive trackers in Unity for my tool! https://www.youtube.com/watch?v=3hVtffm324s
How can we reproduce it:
Download this repro project: https://drive.google.com/file/d/1Qv0bpq4ZdZoCQU5A7edSoBQeCrl3CYe_/view?usp=sharing
Now to set up multiple drivers with SteamVR, this is a supported feature of SteamVR Below steps you can follow this video if it helps, it is a popular setup for steamVR games that use Unity like VRChat where people use multiple steamvr supported devices in the same play space as kit is interchangeable https://www.youtube.com/watch?v=JnX8NK-lsPY
Install OpenVR space calibration - https://github.com/pushrax/OpenVR-SpaceCalibrator/releases
Go to your steam installation e.g. C:\Program Files\Steam\steamapps\common\SteamVR\resources\settings
Open default.vrsettings with notepad or VS Code to edit
Change 'requireHmd' value from true to false
Change activateMultipleDrivers from false to true
Save the file
Open SteamVR with your tracker and headset of choice switched on + the steamVR base station
Goto SteamVR settings - Startup/Shutdown - Choose startup overlay apps - enable Space Calibrator
Goto SteamVR settings - Advanced settings - show
Goto SteamVR settings - set steamvr as Current OpenXR runtime if it isn't already.
Open OpenVR Space Calibrator through the steamVR overlays menu (SteamVR menu - third dot on the bottom right from the right, looks like a compass)
Select reference space - your headset controller you are holding and choose the vive tracker in the target space.
Choose calibration speed - slow and click start calibration to calibrate the play spaces then hold the tracker and controller together while drawing an infinity symbol with your hand in your play space to help calibration.
Verify the tracker and controllers line up in the same play space, if not try calibration again or refer to this clip of the video: https://youtu.be/JnX8NK-lsPY?t=308
(We are nearly there!) You can watch my repro video of this here https://www.youtube.com/watch?v=3hVtffm324s