Open yaltavafye opened 7 years ago
SteamVR and VR apps require a special build of the 64-bit Vulkan loader, which is included in the Steam Runtime. Make sure a system copy of libvulkan isn't being picked up by SteamVR or the games, which might involve disabling STEAM_RUNTIME_PREFER_HOST_LIBRARIES if you have a libvulkan installed on your system.
I have tried adding the STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0, but no improvement.
I do not understand this should be so hard to get working. Like it should just be installing nvidia driver, installing latest steam, building openvr and samples and then running hellovr_vulkan or hellovr_opengl, right?
What am I missing?
This is the openvr SDK issue tracker, whereas the steam for Linux issue tracker is for the steamvr runtime on Linux.
Pre compiled hellovr samples are part of the steamvr runtime so you do not need to be compiling anything from source to test those samples.
* install nvidia driver
* install latest steam
* install steamvr from steam library > tools
* run hellovr_vulkan or hellovr_opengl,
I have done first 3 steps. Are you then saying I do not need to download openvr repo? Like should I find hellovr inside ~/.local/share/Steam ???
What I am aiming for is just creating a the most simple app where I can render to vive and get controller postitions and similar. I assumed I needed openvr to connect to vive. But it seems that vive is completely integrated into steam and I have to run through steam and link a whole bunch of stuff. So not simple and impossible to run separately from steam integration.
This https://www.gamingonlinux.com/articles/first-steps-with-openvr-and-the-vive-on-linux.7229 should help.
Scratch the last comment i made which was off the cuff and after checking what i said found that it appears to be not currently true. Apologies for that.
Been there and done that, but I will go through it again and post result.
Have you tried rolling back gpu driver to 382.#?
Hello @yaltavafye, noted at https://github.com/ValveSoftware/SteamVR-for-Linux#graphics-driver-requirements, SteamVR currently requires some vulkan extensions from the vulkan dev branch of their driver. The mainline nvidia driver including 384.59 does not support those extensions yet, so you will need the driver from https://developer.nvidia.com/vulkan-driver, ideally via your package manager.
Hi @yaltavafye , I get the same error when I run my app outside the steam runtime. Do you launch your executable by this:
.local/share/Steam/ubuntu12_32/steam-runtime/run.sh [your executable]
?
I am trying to get openvr samples to work or just any minimal sample, but I am only able to get the messages "vr client shared lib not found 102" and "VR_IsHmdPresent returned false to indicate that there are no attached HMDs".
I am running kubuntu 17.04, have nvidia driver 384.59 and steamvr works when running it from steam.
I have done make on openvr build folder and make for samples build folder without errors.
I try to run hellovr_opengl and hellovr_vulkan from samples bin, but I just get the error messages.
What am I missing to get a sample to run???