protonscr

[BUG] VRCompositor Error 105 VRInitError_Init_InterfaceNotFound

steamvropen bug
ValveSoftware/SteamVR-for-Linux#297 · opened 2020-01-30 by Darkheron · updated 2020-01-30 · 0 comments · github
DDarkheron 2020-01-30 github

Describe the bug
When attempting to start the compositor, it fails with VRInitError_Init_InterfaceNotFound.

To Reproduce
Here is the code I am using.

if (!initialized)// && vr::VR_IsHmdPresent())
{
	if (vr::VR_IsRuntimeInstalled())
	{
		ARVRServer *arvr_server = ARVRServer::get_singleton();
		ERR_FAIL_NULL_V(arvr_server, false);

		vr::EVRInitError error = vr::VRInitError_None;
		vr::VR_Init(&error, vr::VRApplication_Scene);
		if (error == vr::VRInitError_None)
		{
			if (vr::VRCompositor()) // <- This FAILS
			{
				initialized = true;
				result = true;
				arvr_server->set_primary_interface(this);
				OPENVR_PRINT("Interface has been initialized.");
			}
			else OPENVR_ERROR("Compositor initialization failed. See log file for details.");
		}
		else OPENVR_ERROR("Unable to init VR runtime: " +
				String(vr::VR_GetVRInitErrorAsEnglishDescription(error)));
	}
	else OPENVR_ERROR("SteamVR has not been installed!");
};

Expected behavior
The compositor should start.

System Information (please complete the following information):
https://gist.github.com/Darkheron/783c4b665fc385c604df7fea10b4191f

Additional context
I have code that I am writing to allow use of my Index with Godot. It had been working fine but I had to put the project down for a couple of weeks. Now I have time to pick the project up again, but it seems things have drastically changed with the way bindings are assigned. This is the core of the problem, and has put me in a bind.

I get this error when running the linux_temp 1.8.21 beta, and when the application first runs, a usable binding screen appears that allows me to at least assign Index defaults, but then the VRCompositor fails to start.

When I use the regular SteamVR beta, the compositor starts just fine, but I cannot find any way to actually do the controller bindings provided by the Action Manifest.

I used to be able to use Firefox and just go to http://127.0.0.1:8998/dashboard/controllerbinding.html and do bindings there, and that worked great, but that seems to no longer exist.

So without a way to bind my controllers to the actions in the Action Manifest I am kinda stuck, as no input is available... Unless there is a workaround? Or have I just done something wrong?

Nothing extracted yet.