GodotVR / godot_openvr_fps

Repository for the OpenVR starter tutorial
MIT License
42 stars 10 forks source link

Running with SteamVR and Valve Index returns no VR interface found error on Linux #8

Open oxr463 opened 3 years ago

oxr463 commented 3 years ago
--- Debugging process started ---
Godot Engine v3.3.4.stable.official.faf3f883d - https://godotengine.org
OpenGL ES 3.0 Renderer: GeForce RTX 3070/PCIe/SSE2
OpenGL ES Batching: ON

Movement_Vignette: no VR interface found!
oxr463 commented 3 years ago
E 0:00:00.478   open_dynamic_library: Can't open dynamic library: /home/lramage/src/godot_openvr_fps/addons/godot-openvr/bin/x11/libgodot_openvr.so. Error: /mnt/data/steam/steamapps/common/Godot Engine/../lib/libgodot_openvr.so: cannot open shared object file: No such file or directory
  <C++ Error>   Condition "!p_library_handle" is true. Returned: ERR_CANT_OPEN
  <C++ Source>  drivers/unix/os_unix.cpp:415 @ open_dynamic_library()

E 0:00:00.821   find_interface: Condition "idx == -1" is true. Returned: __null
  <C++ Source>  servers/arvr_server.cpp:208 @ find_interface()
  <Stack Trace> Game.gd:13 @ _ready()
oxr463 commented 3 years ago

See also: https://github.com/GodotVR/godot_openvr#linux-notes

oxr463 commented 3 years ago

I tried manually copying the required shared library:

# Download the latest release of gotdot_openvr
curl -LO https://github.com/GodotVR/godot_openvr/releases/download/1.1.0/godot-openvr.zip
# Extract files...
unzip godot-openvr.zip
# Copy required files back into godot_openvr_fps
cd godot_openvr_1.1.0/addons/godot-openvr/bin/
cp -R x11/ ~/src/godot_openvr_fps/addons/godot-openvr/bin/

But this still fails:

--- Debugging process started ---
Godot Engine v3.3.4.stable.official.faf3f883d - https://godotengine.org
OpenGL ES 3.0 Renderer: GeForce RTX 3070/PCIe/SSE2
OpenGL ES Batching: ON

OpenVR: initialising OpenVR context

Application in scene (normal) mode.
Main OpenVR interface has been initialized
Main render models interface has been initialized.
Exec path: /mnt/data/steam/steamapps/common/Godot Engine
Project path: /home/lramage/src/godot_openvr_fps/
Failed to find action file
Movement_Vignette: no VR interface found!