There are a few separate threads here and there on this, but I thought I would consolidate and have this as an anchor point for all us poor Linux folks out there. From my understanding, ff you grab the Linux binary from the PV download page it will have the VRplugin, but not the OpenVR plugin (this is different than the Windows binary which I believe has the OpenVR plugin by default).
(1) So compile from source, and turn on the flags;
Module_vtkRenderingOpenVR:BOOL = ON
PARAVIEW_BUILD_PLUGIN_OpenVR = ON
(2) Set the directories for openvr;
OPENVR_HEADERS_ROOT_DIR = $openvr_path/header
OPENVR_INCLUDE_DIR = $openvr_path/headers
OPENVR_LIBRARY_TEMP = $openvr_path/bin/linux64/libopenvr_api.a
OPENVR_ROOT_DIR = $openvr_path
(3) Run steam on Linux. I’ve found the best options for me tend to be to explicitly set the nvidia driver I’m using (and force it to use tcp which seems to help with firewall issues);
STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 LD_LIBRARY_PATH="/usr/lib32/nvidia-410" steam -tcp
(4) open paraview, load the openvr plugin, click “send to openvr”
and fail…
ERROR: In ParaView/VTK/Rendering/OpenVR/vtkOpenVRRenderWindow.cxx, line 624
vtkOpenVRRenderWindow (0xa291960): VR_Init FailedUnable to init VR runtime: vrclient Shared Lib Not Found (102)
Any help?
TAG: @dcthomp, @martink, @Niklas, @cory.quammen, @LucasGandel, @jcfr, @Niklas