Instalar o Steam
Iniciar sessão
|
Idioma
简体中文 (Chinês Simplificado)
繁體中文 (Chinês Tradicional)
日本語 (Japonês)
한국어 (Coreano)
ไทย (Tailandês)
Български (Búlgaro)
Čeština (Checo)
Dansk (Dinamarquês)
Deutsch (Alemão)
English (Inglês)
Español-España (Espanhol de Espanha)
Español-Latinoamérica (Espanhol da América Latina)
Ελληνικά (Grego)
Français (Francês)
Italiano (Italiano)
Bahasa Indonesia (Indonésio)
Magyar (Húngaro)
Nederlands (Holandês)
Norsk (Norueguês)
Polski (Polaco)
Português (Brasil)
Română (Romeno)
Русский (Russo)
Suomi (Finlandês)
Svenska (Sueco)
Türkçe (Turco)
Tiếng Việt (Vietnamita)
Українська (Ucraniano)
Relatar problema de tradução
Thank you for the response & information. Is there any way to enable the null driver from within an application without needing an external steamvr.cfg flag set?
How exactly do I "... using the compositor, you will want to launch that separately first using --keepalive and --debug command line options."?
All I keep getting is "Hmd not present (108)". I added "--keepalive --debug" to the launch options for SteamVR, but it doesn't seem to be working. Trying to run "vrserver" gets this error:
phr00t@phr00tlaptop:~/.local/share/Steam/SteamApps/common/SteamVR/bin/linux64$ ./vrserver
./vrserver: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory
Nothing happens when I go to SteamVR & go to "Play Game" via the tools list.
phr00t@phr00tlaptop:~/.local/share/Steam/SteamApps/common/SteamVR/bin/linux64$ ./vrserver --keepalive --debug
Using breakpad crash handler
Setting breakpad minidump AppID = 250820
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
phr00t@phr00tlaptop:~/.local/share/Steam/SteamApps/common/SteamVR/bin/linux64$
It hangs for 1 or 2 seconds after "Calling BreakpadMiniDumpSystemInit", then exits back to the command line. I'm rather lost & looking for help :(
The compositor still needs some work before it will be fully operational on both linux and osx, but you can use the sdk interfaces to do your own distortion correction, etc. in the meantime.
Thank you for the response.
As you can see in my post, I did have the --keepalive option, along with the --debug argument. It still quits after a few seconds. However, I noticed vrserver does stay alive if I drop the --debug argument and only leave --keepalive.
Unfortunately, my application still gets a "Hmd not found (108)" error when vrserver is alive (perhaps because the debug flag is missing). I can't keep vrserver alive with the debug flag, though.
Also, just to verify I have my steamvr.cfg file location & contents correct:
/home/phr00t/.local/share/Steam/config/steamvr.cfg file contains:
[steamvr]
EnableNullDriver = true
Thu May 14 13:49:20 2015 UTC - VR server (v1430360658) starting up with config=/home/phr00t/.local/share/Steam/config
Thu May 14 13:49:20 2015 UTC - Load Config from /home/phr00t/.local/share/Steam/config/steamvr.cfg
Thu May 14 13:49:20 2015 UTC - Setting keepalive from command line
Sun May 17 00:11:10 2015 UTC - ================================================================================================
Sun May 17 00:11:10 2015 UTC - ================================================================================================
Sun May 17 00:11:10 2015 UTC - VR server (v1430360658) starting up with config=/home/phr00t/.local/share/Steam/config
Sun May 17 00:11:10 2015 UTC - Load Config from /home/phr00t/.local/share/Steam/config/steamvr.cfg
Sun May 17 00:11:12 2015 UTC - Shutting down server after 2.006893l seconds of idleness
Sun May 17 00:11:12 2015 UTC - VR server shutting down
Sun May 17 00:11:12 2015 UTC - Listener thread ending
That is the last 2 runs in my log. The first one, on May 14th, is just with the --keepalive option. The second run is with both --keepalive & --debug
If I use just --debug, this gets printed in the log:
Sun May 17 00:16:37 2015 UTC - ================================================================================================
Sun May 17 00:16:37 2015 UTC - VR server (v1430360658) starting up with config=/home/phr00t/.local/share/Steam/config
Sun May 17 00:16:37 2015 UTC - Load Config from /home/phr00t/.local/share/Steam/config/steamvr.cfg
Sun May 17 00:16:39 2015 UTC - Shutting down server after 2.000058l seconds of idleness
Sun May 17 00:16:39 2015 UTC - VR server shutting down
Sun May 17 00:16:39 2015 UTC - Listener thread ending
In the snippets you posted, nothing tried to connect to vrserver. Try it with --keepalive (let's assume --debug is going to exit for whatever reason) and then start your application.
I think I found the culprit, and it is in vrclient_java.txt:
Sun May 17 13:21:08 2015 UTC - vrclient startup with PID=4067, config=/home/phr00t/.local/share/Steam/config
Sun May 17 13:21:08 2015 UTC - Load Config from /home/phr00t/.local/share/Steam/config/steamvr.cfg
Sun May 17 13:21:08 2015 UTC - Unable to load driver oculus from /home/phr00t/.local/share/Steam/SteamApps/common/SteamVR/drivers/oculus/bin/linux64/driver_oculus.so.
Sun May 17 13:21:08 2015 UTC - Unable to load driver null from /home/phr00t/.local/share/Steam/SteamApps/common/SteamVR/drivers/null/bin/linux64/driver_null.so.
Sun May 17 13:21:08 2015 UTC - Returning HmdNotFound because the client-side presence check failed.
Null driver seems to be there:
-rwxrwxr-x 1 phr00t phr00t 622933 May 5 10:55 driver_null.so
phr00t@phr00tlaptop:~/.local/share/Steam/SteamApps/common/SteamVR/drivers/null/bin/linux64$
End of vrserver.txt looks the same:
Sun May 17 13:21:01 2015 UTC - ================================================================================================
Sun May 17 13:21:01 2015 UTC - VR server (v1430360658) starting up with config=/home/phr00t/.local/share/Steam/config
Sun May 17 13:21:01 2015 UTC - Load Config from /home/phr00t/.local/share/Steam/config/steamvr.cfg
Sun May 17 13:21:01 2015 UTC - Setting keepalive from command line
I'm running Ubuntu 15.04, linux64
SteamVR build number is listed as 607043. Not sure if this is the update today or not.
VR server (v1431961469)
--keepalive & --debug arguments can now both be specified & the verserver will not exit early. Unfortunately, I still get "Hmd not found (108)" and vrclient_java.txt says this:
Tue May 19 02:00:21 2015 UTC - vrclient startup with PID=5629, config=/home/phr00t/.local/share/Steam/config
Tue May 19 02:00:21 2015 UTC - Load Config from /home/phr00t/.local/share/Steam/config/steamvr.cfg
Tue May 19 02:00:21 2015 UTC - Unable to load driver oculus from /home/phr00t/.local/share/Steam/SteamApps/common/SteamVR/drivers/oculus/bin/linux64/driver_oculus.so.
Tue May 19 02:00:21 2015 UTC - Unable to load driver null from /home/phr00t/.local/share/Steam/SteamApps/common/SteamVR/drivers/null/bin/linux64/driver_null.so.
Tue May 19 02:00:21 2015 UTC - Returning HmdNotFound because the client-side presence check failed.