Comments (10)
One more thing: I connected the Vive to my GeForce GTX 1070 via an HDMI to DVI adapter to my secondary out, as the primary HDMI port is used by my monitor.
Do I have to tell the demo somehow where to reach the Vive?
Ok, I switched the connections and the vive is now directly connected to the Geforce. Still remains dark.
from godot_openvr.
Ok, I updated the nvidia driver using:
apt-get install nvidia-driver-430
Now the Steam client runs without this error and installed steamvr.
However, in the console, it threw at least one error:
steam[2081]: LHR-FFA7BB43: Connected to receiver 3620D4F601 steam[2081]: 3620D4F601: Firmware Version 1124082563 ��@����kW steam[2081]: 3620D4F601: ERROR: firmware does not meet minimum required version (1420157645). Please update device.
But at least steam finally runs its vr room setup. will update...
from godot_openvr.
ok, good news and bad news. For the first time in about 3 years now, the vive steamvr demo runs under linux and I can see my controllers + the default room of steamvr.
bad news: the openvr demo still only runs on the monitor and completely ignores the vive. it remains dark.
from godot_openvr.
In the demo the .so files are already placed correctly - in demo/addons/godot-openvr/bin/x11/.
For your own game, make sure to place both libgodot_openvr.so and libopenvr_api.so in the same directory - where depends on your organization, really.
Now run Godot with /home/user/.steam/steam/ubuntu12_32/steam-runtime/run.sh /path/to/godot (or alternatively, the exported project) - alternatively, you could add Godot (or the exported project) to Steam directly "Add non-Steam game...".
If it still remains dark, check the log output in the terminal.
from godot_openvr.
Ok, update: When I do "run.sh Godot_v3.1.1-stable_x11.64" and open the openvr demo and start it,
I very briefly see the Steam default room, then very shortly the OpenVR Demo and then the app crashes.
The Godot Log loops indefinitely to:
servers/arvr_server.cpp:305 - Condition ' p_tracker_id == 0 ' is true. returned: __null
When I "run.sh my_exported_openvr_demo.x86_64", the Vive remains dark.
from godot_openvr.
Update: It works. Partially. The openvr demo crashes as soon as one controller becomes active.
The error log outputs only warnings, so no problem here.
The main log only says:
Controller vr_controller_vive_1_5_3 became active
Loading: vr_controller_vive_1_5
** Debug Process Stopped**
But at least the glasses work now. For unknown reason there is a freeze every 4-5 seconds, which triggers nausea and headache pretty fast.
from godot_openvr.
Ok, more insight:
- When I place libopenvr_api.so and libgodot_openvr.so in the same folder with the binary of my exported demo, it also works. Nice!
- I have to close Godot to make the freeze go away. I guess the load was to high for my system to calculate 3 views (vive, duplicate of vive on screen, godo 3d view).
- When I start the openvr demo, it starts steamvr. When I kill the demo, the steamvr remains running. When I now start the demo again, the vive remains stuck in the SteamVR default room, trying to load the "Steam Home" application but failing. I therefore recommend to stop SteamVR before restarting one's own application.
By the way: my compliments to the authors here. You did a terrific job of getting the vive to run unter linux. I already gave up hope after the last Unreal Engine disaster. But this solution here looks solid.
from godot_openvr.
I guess since the demo is running, I will gladly close this issue. Thanks for the support!
from godot_openvr.
If you run the module from the master branch and Godot 3.1 it would crash when activating a controller -> the master version needs Godot 3.2 beta. I do recommend 3.2 anyway, as there have been other improvements for VR.
Also, I ought to fix that p_tracker_id == 0 issue, that is just because in the properties of the left controller the id is 0 when it should be 1.
Glad it works for you now though :)
from godot_openvr.
Hey, I also had an issue with it, I found that it only works if I place the addon binary for linux in:
res://addons/godot-openvr/bin/x11/
If I import it seems to import the path to:
res://godot_openvr_1.1.0/addons/godot-openvr/bin/x11/
(note the extra godot_openvr_1.1.0 in the project path)
Which then fails to load.
I managed to figure out where to place it thanks the the error output on stdout when running godot from a terminal.
from godot_openvr.
Related Issues (20)
- Black Screen (in HMD) when using GLES2 with OpenVR HOT 2
- Controller pose lag: `GetDeviceToAbsoluteTrackingPose` and `fPredictedSecondsToPhotonsFromNow` HOT 1
- [Feature Request] Add support for dashboard overlays HOT 4
- Problems with ARVROrigin movement [Godot 3.3] HOT 11
- Change how our release zip file is put together HOT 3
- Trying to set "action_json_path" results in Error HOT 5
- When to prefer OpenVR over OpenXR HOT 2
- No support for trackpad in WMR HOT 1
- Rendering in headset breaks after moving window HOT 9
- Cannot differentiate the trackpad and joystick on Valve Index Knuckles HOT 1
- Need help with step rotation HOT 1
- Delay between head tracking and scene render
- do not use openvr module in godot latest version
- Aligning spatial nodes with real world objects
- `keep_3d_linear` causes the output to be too dark on Linux HOT 4
- Exposing skeleton finger data.
- Godot crashes when I load the project. HOT 1
- is project still updated?
- Cant find where a print massage is coming from in the console
- "Using OpenVR overlays" Are there any related tutorials or examples available? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godot_openvr.