From 53d20798015a3cab6058912c1f4398a799a90948 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 31 Mar 2026 21:00:06 +0200 Subject: [PATCH] Print a warning if vrclient.so is not found --- server/active_runtime.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/server/active_runtime.cpp b/server/active_runtime.cpp index fc5114e8..51e57673 100644 --- a/server/active_runtime.cpp +++ b/server/active_runtime.cpp @@ -176,6 +176,16 @@ active_runtime::active_runtime() : auto ovr_compat = openvr_compat_path(); if (not ovr_compat.empty()) { + if (not wivrn::is_flatpak()) + { + auto vrclient = ovr_compat / "bin" +#ifdef __x86_64__ + / "linux64" +#endif + / "vrclient.so"; + if (not std::filesystem::exists(vrclient)) + std::cerr << "Unable to read " << vrclient << " ensure your OpenVR compatibility library is set correctly" << std::endl; + } std::filesystem::path openvr_manifest = xdg_config_home() / "openvr/openvrpaths.vrpath"; std::filesystem::create_directories(openvr_manifest.parent_path()); move_file(openvr_manifest, backup_name(openvr_manifest));