GodotVR / godot_openvr

GDNative based Open VR module
MIT License
227 stars 34 forks source link

Black Screen (in HMD) when using GLES2 with OpenVR #120

Open gururise opened 3 years ago

gururise commented 3 years ago

Using the official VR Starter Tutorial with Godot 3.3 + Oculus Quest 1 (Oculus Link) everything works fine with GLES3.

However, using GLES2 results in a black screen in the headset.. everything still works (tracking, etc) and I can see the tracking working on the desktop output; however, the screen in the headset is black.

Note: Using Oculus Link (SteamVR) and OpenVR.

gururise commented 3 years ago

Installed latest openVR on Godot 3.3 (Mono Build) on Windows 10 from asset lib.

Open (Edit) the Godot VR demo project. Downloaded OpenVR plugin from the AssetLib Plug Oculus Quest 1 via Link Cable and connect via Oculus Link Switch to GLES 2 & restart Run the Demo

What happens next is steamvr starts up and OpenVR plugin is detected. The headset tracking is working and I can see the tracking working properly on the display on my PC monitor; however, nothing shows up on the headset itself (ie. its black).

Running in GLES 3 mode everything works as expected.

InfGame commented 9 months ago

I have the same issue running a valve index. tracking works fine (as i can see on the monitor) but no image in the headset.

also noticed my secondary monitor messing up its colors when I run the code

I am getting this error if it helps: OpenXR: No viewport was marked with use_xr, there is no rendered output!

Edit: version 4.1.1.stable.mono