godot_openvr icon indicating copy to clipboard operation
godot_openvr copied to clipboard

Black Screen (in HMD) when using GLES2 with OpenVR

Open gururise opened this issue 3 years ago • 2 comments

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 avatar May 18 '21 18:05 gururise

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.

gururise avatar May 26 '21 15:05 gururise

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

InfGame avatar Sep 18 '23 02:09 InfGame