Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Use Pico Neo 3 Pro. Failed to Start OPenXR #201

Open
Blixtdraken opened this issue Aug 27, 2024 · 4 comments
Open

Can't Use Pico Neo 3 Pro. Failed to Start OPenXR #201

Blixtdraken opened this issue Aug 27, 2024 · 4 comments

Comments

@Blixtdraken
Copy link

Blixtdraken commented Aug 27, 2024

image

I get this error upon building and godot can't find XR Interface using this code

extends Node3D


var xr_interface: XRInterface

func _ready():
	
	xr_interface = XRServer.find_interface("OpenXR")
	
	if xr_interface and xr_interface.is_initialized():
		print("OpenXR initialized successfully")

		# Turn off v-sync!
		DisplayServer.window_set_vsync_mode(DisplayServer.VSYNC_DISABLED)

		# Change our main viewport to output to the HMD
		get_viewport().use_xr = true
	else:
		print("OpenXR not initialized, please check if your headset is connected")


I have selected pico as vendor in export settings.

I am sure the code gets executed on the account that I get the output "OpenXR not initialized, please check if your headset is connected" .

@Meister1593
Copy link

Could it be because you have older pico pui version and godot now uses khronos openxr loader instead of pico's one?

@ArnaudG-Eyesoft
Copy link

Hi, I have the exact same issue on my Pico Neo 3 Pro (PUI version 5.9.9.0):

2024-10-15 14:26:03.318  6635-7541  OpenXR-Loader           com.example.demovr                   E  Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - failed to load a runtime
2024-10-15 14:26:03.318  6635-7541  OpenXR-Loader           com.example.demovr                   E  Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed to find default runtime with RuntimeInterface::LoadRuntime()
2024-10-15 14:26:03.318  6635-7541  OpenXR-Loader           com.example.demovr                   E  Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed querying extension properties
2024-10-15 14:26:03.318  6635-7541  godot                   com.example.demovr                   E  USER ERROR: OpenXR: Failed to enumerate number of extension properties
2024-10-15 14:26:03.318  6635-7541  godot                   com.example.demovr                   E     at: load_supported_extensions (modules/openxr/openxr_api.cpp:357)
2024-10-15 14:26:03.318  6635-7541  godot                   com.example.demovr                   E  USER WARNING: OpenXR was requested but failed to start.
                                                                                                    Please check if your HMD is connected.
                                                                                                    Godot will start in normal mode.
2024-10-15 14:26:03.318  6635-7541  godot                   com.example.demovr                   E     at: initialize_openxr_module (modules/openxr/register_types.cpp:151)

I tried using both the PICO loader and the Khronos loader, resulting in the same error message.

I cannot find any info about the "libruntime.pxr.so", am I missing something? Thanks!

@dsnopek
Copy link
Collaborator

dsnopek commented Oct 29, 2024

Can the folks having this problem try with the 2.0.4 version of godot_openxr_vendors? If that works, then it could be as suggested above, and these older Pico headsets still need the older Pico loader. That could be a reason to add it back?

EDIT: For reference, it was PR #180 that removed the old Pico loader

@RubyKiss
Copy link

RubyKiss commented Nov 6, 2024

Can the folks having this problem try with the 2.0.4 version of godot_openxr_vendors? If that works, then it could be as suggested above, and these older Pico headsets still need the older Pico loader. That could be a reason to add it back?

EDIT: For reference, it was PR #180 that removed the old Pico loader

2.x runs on pico neo3 and launches successfully, it works fine with godot 4.3, 3.x runs on pico neo3 and fails to enter the programme. Of course I'm not sure if PICO4 is already using the khronos loader.

pico system is 5.11.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants