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

Server Hangs on Ubuntu 17.04 #563

Open
CMDann opened this issue Sep 4, 2017 · 1 comment
Open

Server Hangs on Ubuntu 17.04 #563

CMDann opened this issue Sep 4, 2017 · 1 comment

Comments

@CMDann
Copy link

CMDann commented Sep 4, 2017

I have installed on Ubuntu 17.04, I am able to detect the devices from the command line however when I launch the server I am presented with this issue and it hangs.

Sept 04 14:19:10.305 info [OSVR]: Logging for /home/cmdann/osvr/bin/osvr_server
Sept 04 14:19:10.305 info [OSVR Server]: Using default config file - pass a filename on the command line to use a different one.
Sept 04 14:19:10.305 error [OSVR Server]: Could not find a valid config file!
Sept 04 14:19:10.305 info [OSVR Server]: Could not find a valid config file in the default search paths. Using default config object.
Sept 04 14:19:10.305 info [OSVR Server]: Constructing server as configured...
Sept 04 14:19:10.306 info [OSVR Server]: Loading auto-loadable plugins...
Sept 04 14:19:10.307 warning [PluginHost]: Failed to load plugin org_osvr_filter_deadreckoningrotation: Failed to load the module /home/cmdann/osvr/lib/osvr-plugins-0/org_osvr_filter_deadreckoningrotation.so with error: libosvrVRPNServer.so.0: cannot open shared object file: No such file or directory
Sept 04 14:19:10.307 warning [PluginHost]: Failed to load plugin org_osvr_unifiedvideoinertial: Failed to load the module /home/cmdann/osvr/lib/osvr-plugins-0/org_osvr_unifiedvideoinertial.so with error: libosvrAnalysisPluginKit.so.0: cannot open shared object file: No such file or directory
Sept 04 14:19:10.307 warning [PluginHost]: Failed to load plugin org_osvr_filter_videoimufusion: Failed to load the module /home/cmdann/osvr/lib/osvr-plugins-0/org_osvr_filter_videoimufusion.so with error: libosvrAnalysisPluginKit.so.0: cannot open shared object file: No such file or directory
Sept 04 14:19:10.307 warning [PluginHost]: Failed to load plugin com_osvr_VideoBasedHMDTracker: Failed to load the module /home/cmdann/osvr/lib/osvr-plugins-0/com_osvr_VideoBasedHMDTracker.so with error: libosvrPluginKit.so.0: cannot open shared object file: No such file or directory
Sept 04 14:19:10.307 warning [PluginHost]: Failed to load plugin com_osvr_Multiserver: Failed to load the module /home/cmdann/osvr/lib/osvr-plugins-0/com_osvr_Multiserver.so with error: libosvrVRPNServer.so.0: cannot open shared object file: No such file or directory
Sept 04 14:19:10.308 warning [PluginHost]: Failed to load plugin org_osvr_filter_oneeuro: Failed to load the module /home/cmdann/osvr/lib/osvr-plugins-0/org_osvr_filter_oneeuro.so with error: libosvrAnalysisPluginKit.so.0: cannot open shared object file: No such file or directory
Sept 04 14:19:10.308 info [OSVR Server]: Loading plugins...
Sept 04 14:19:10.308 info [OSVR Server]: Instantiating configured drivers...
Sept 04 14:19:10.308 info [OSVR Server]: Using OSVR HDK for display configuration. Did not find an alternate valid 'display' object in config file.
Sept 04 14:19:10.308 info [OSVR Server]: Triggering automatic hardware detection...
Sept 04 14:19:10.308 info [OSVR Server]: Registering shutdown handler...
Sept 04 14:19:10.308 info [OSVR Server]: Starting server mainloop: OSVR Server is ready to go!
Sept 04 14:19:10.308 info [OSVR Server]: Performing hardware auto-detection.
^CSept 04 15:21:55.416 info [OSVR Server]: Received shutdown signal...
Sept 04 15:21:55.418 info [OSVR Server]: OSVR Server exited.

Seems to be missing a config, also the plugins are missing.

@godbyk
Copy link
Contributor

godbyk commented Sep 4, 2017

You can pass the location and filename of the configuration file when running osvr_server:

$ cd /home/cmdann/osvr/bin
$ ./osvr_server ./osvr_server_config.json

For the server and plugins to find the libraries they need, either add /home/cmdann/osvr/lib to the /etc/ld.so.conf file and run ldconfig or add it to the LD_LIBRARY_PATH environment variable.

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

2 participants