Ошибка vrclient shared lib not found 102

Tried the Steam and SteamVR beta, same result. Trying to start the vrmonitor directly results in the following console spew and fails.

techjar@techjar-linux ~ $ ~/.local/share/Steam/steamapps/common/SteamVR/bin/vrmonitor.sh
+++ dirname /home/techjar/.local/share/Steam/steamapps/common/SteamVR/bin/vrmonitor.sh
++ cd /home/techjar/.local/share/Steam/steamapps/common/SteamVR/bin/..
++ pwd
+ TOOLSDIR=/home/techjar/.local/share/Steam/steamapps/common/SteamVR
++ cd /home/techjar/.local/share/Steam/steamapps/common/SteamVR/../runtime
/home/techjar/.local/share/Steam/steamapps/common/SteamVR/bin/vrmonitor.sh: line 3: cd: /home/techjar/.local/share/Steam/steamapps/common/SteamVR/../runtime: No such file or directory
++ pwd
+ RUNTIMEDIR=/home/techjar
+ case $(uname) in
++ uname
+ '[' -z '' ']'
+ exec /home/techjar/.steam/steam/ubuntu12_32/steam-runtime/run.sh /home/techjar/.local/share/Steam/steamapps/common/SteamVR/bin/vrmonitor.sh
/home/techjar/.local/share/Steam/steamapps/common/SteamVR/bin/vrmonitor.sh: line 14: /home/techjar/.steam/steam/ubuntu12_32/steam-runtime/run.sh: No such file or directory

SteamVR failed to initialized for unknown reasons. (Error: vrclient Shared Lib Not Found (102)

I had to do a fresh install of windows and after doing that, steamvr no longer works. If I launch it from steam itself, it says it’s starting then never does (no task manager process to end ether) and when I try and launch it from the SteamVR folder, I get this error

SteamVR failed to initialized for unknown reasons. (Error: vrclient Shared Lib Not Found (102)

I’ve looked through some fixes and most of them are linux issues. I’ve uninstalled both Steam and Steam VR twice with no result. Before the fresh windows install, this wasn’t an issue at all.

Open

Unity — XR: OpenVR Error! OpenVR failed initialization with error code VRInitError_Init_VRClientDLLNotFound: «vrclient Shared Lib Not Found (102) #696

Issue Opened

Danfitz7 Opened Issue On Apr 18th 2020, 12:40

Danfitz7

I am trying to use the SteamVR plugin for Unity3d Engine on a linux system.
When I run the Simple Sample Scene, I get the following error: XR: OpenVR Error! OpenVR failed initialization with error code VRInitError_Init_VRClientDLLNotFound: "vrclient Shared Lib Not Found (102)"!

The scene runs, but not in VR as expected.

SteamVR and Steam both work just fine — I can run SteamVR Home, visit environments, play games, etc. The problem seems to be that the Unity plugin can’t find the SteamVR share library(s).

System Information:
*Lenovo P51 Ubuntu 16.04 LTS 64-bit
-processor: Intel® Core™ i7-7820HQ CPU @ 2.90GHz × 8
-graphics: Quadro M2200
-Graphics Driver: Nvidia 410.78

Unity 2019.3.10f (Also tried 2018.4.21f1 — same result)

HTC Vive V1 (plus a Vive Tracker)

Steam Client installed with Ubuntu package manager
(I also tried installing from official .deb package — no luck)
-Steampackage versions: 1586022601 Steam AP v020
-The error happens if I run SteamVR with no betas, SteamVR Beta, or SteamVR linux_temp Beta

SteamVR 1.10.32 (1584924836)
SteamVR System Report: https://gist.github.com/danfitz7/8aad64c5481f56ec7a9b26edf5c4a262

I also tried running SteamVR by itself without the Steam Client by launching it directly ~/.local/share/Steam/steamapps/common/SteamVR/bin/vrmonitor.sh That output is here: https://gist.github.com/danfitz7/61735d7e797034d35e4278f54b955c3b …same result.

I also tried downloading the steam runtime (following a seemingly similar issue) and launching Steam with that directory set as the STEAM_RUNTIME env var, then launching SteamVR. Same result.

ChristophHaag

I’ve seen this as a bogus error on Ubuntu. Can you make sure that you have libsdl2-2.0-0 installed?

If yes, and it still happens, running unity with strace ./Unity...whatever might or might not give some insight.

Comment

Danfitz7 commented on 3 years ago

Danfitz7

I did not have libsdl2-2.0-0 installed, but it did not help.
I can’t find anything relevant in strace Unity, but here’s the output anyway (75.8MB text file!). strace_unity.txt.tar.gz

Comment

Danfitz7 commented on 3 years ago

Danfitz7

I’ve seen this as a bogus error on Ubuntu. Can you make sure that you have libsdl2-2.0-0 installed?

If yes, and it still happens, running unity with strace ./Unity...whatever might or might not give some insight.

Would reinstalling anything be likely to help? Or installing from a different source?

ChristophHaag

Probably not.

In the strace output you posted vrclient.so is successfully opened

open("/home/dfitzgerald/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrclient.so", O_RDONLY|O_CLOEXEC) = 96 

Clearly the error message is wrong and vrclient.so was found. In my earlier case I think it was because vrclient.so tried and failed to open sdl2.

Are you launching unity with the run.sh script from the steam runtime as described here? https://github.com/ValveSoftware/SteamVR-for-Linux#runtime-requirements

Perhaps any other missing libraries in the output of ldd ~/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrclient.so?

Comment

Danfitz7 commented on 3 years ago

Danfitz7

Probably not.

In the strace output you posted vrclient.so is successfully opened

open("/home/dfitzgerald/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrclient.so", O_RDONLY|O_CLOEXEC) = 96 

Clearly the error message is wrong and vrclient.so was found. In my earlier case I think it was because vrclient.so tried and failed to open sdl2.

Are you launching unity with the run.sh script from the steam runtime as described here? https://github.com/ValveSoftware/SteamVR-for-Linux#runtime-requirements

Perhaps any other missing libraries in the output of ldd ~/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrclient.so?

Running Unity Editor in the Steam Runtime seems to have solved the issue. ~/.steam/steam/ubuntu12_32/steam-runtime/run.sh ~/Unity/Hub/Editor/2019.3.7f1/2019.3.11f1/Editor/Unity Note this is the runtime for the Steam installed on the system, not the runtime-environment downloaded as-per https://github.com/ValveSoftware/steam-runtime

According to the SteamVR-for-Linux readme.md, «Unity development is not currently supported.». But it seems to be. Is that old info?

However, I also tried upgrading my graphics driver to nvidia-430. I don’t think that helped with Error 102, but now Steam is broken with error popup on start:

glXChooseVisual Failed

Seems to be this: https://github.com/ValveSoftware/steam-for-linux/issues/5778
Which is strange because «NVIDIA cards require version 430.26 of the NVIDIA Driver or above and to use the SteamVR Beta» — how do devs install the nvidia drivers?
I reverted to the 410 driver — didn’t help.
I can still launch vrmonitor and SteamVR seems to work, but I’m not sure how it’s functionality will be limited without Steam working.

rada-wolf

This vrclient Shared Lib Not Found (102) doesn’t look like it’s related to the UNIGINE, but rather the SteamVR runtime libs could not be loaded. Can you run other SteamVR (OpenVR) compatible apps without this error?

Did you have SteamVR and Steam (with 32 and 64 bits runtimes) installed correctly? If so, we need to understand what exact steps did you make before this actual error occurred and try to replicate on our side.

Thanks!

Troubleshooting

Problems like «Compositor not starting properly»

When first starting, I had a lot of issues with the SteamVR software crashing on startup due to problems with the compositor starting properly. After about a day of troubleshooting, I this issue went away when I changed a setting in my Nvidia Control Panel to globally prefer using my Nvidia high performance card over my integrated graphics card.

I changed the following setting from «Auto Select» to «High-performance graphics»:
Choosing Nvidia card

I’m not confident that changing that setting was the change that fixed the problem, but as well as I know issues and crashes where the error message complains about the «Compositor» mean that SteamVR is trying to use the wrong graphics card on the PC.

Steam/Open VR Error messages

My eventual fix for this issue was to upgrade the system’s GPU. After putting a decent NVIDIA GPU in the tower, SteamVR would boot with no issue.

Unable to init VR runtime: vrclient Shared Lib Not Found (102)

I fixed this issue using this thread from the pyopenvr repository.

First, installed the following packages on aptitude:

  • libudev-dev
  • libvulkan-dev
  • libsdl2-dev
  • libglfw3-dev

I set my LD_LIBRARY_PATH to

/home/<user>/.local/share/Steam/steamapps/common/SteamVR/bin/linux64:/home/<user>/.local/share/Steam/steamapps/common/tools/bin/linux64:.

And according to the above thread, the libudev.so.1 object needs to be linked to libudev.so.0 on Linux, using

sudo ln -s /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0

Creating this link fixed the above problem for me, but according to an askubuntu thread, this fix can break Unity.

TLDR

Run the following commands in order, and try after each line to run the tracking example to test if the problem has been fixed:

# ./build/track won't run, "Unable to init VR runtime: vrclient Shared Lib Not Found (102)"
sudo apt install libudev-dev libvulkan-dev libsdl2-dev libglfw3-dev

# ./build/track won't run, "Unable to init VR runtime: vrclient Shared Lib Not Found (102)"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/.local/share/Steam/steamapps/common/SteamVR/bin/linux64:$HOME/.local/share/Steam/steamapps/common/tools/bin/linux64:.

# ./build/track won't run, "Unable to init VR runtime: vrclient Shared Lib Not Found (102)"
sudo ln -s /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0

Unable to init VR runtime: Hmd Not Found (108)

Solution: Attach the HMD to the computer

Unable to init VR runtime: Not starting vrserver for background app (121)

Solution: Start Steam VR

⚠️ **GitHub.com Fallback** ⚠️

  • Edit Task
  • Edit Related Tasks…
  • Edit Related Objects…
  • Mute Notifications
  • Start Tracking Time
  • Award Token
  • Flag For Later

When pushing the play button for SteamVR:

An error occurred while updating SteamVR (missing executable)

Got error messages from the following executables in ~/.local/share/Steam/steamapps/common/SteamVR/bin/linux64

./gpuvis: error while loading shared libraries: libsndio.so.6.1: cannot open shared object file: No such file or directory
./vrcmd VR_IsHmdPresent returned false to indicate that there are no attached HMDs
./vrcompositor: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory
./vrdashboard: error while loading shared libraries: libopenvr_api.so: cannot open shared object file: No such file or directory
./vrmonitor: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory
./vrserver: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory

Hopefully this makes some sense

vrcmd VR_IsHmdPresent returned false even after following this particular instruction

  • Mentions

Event Timeline

Comment Actions

A small update

Errors after starting SteamVR from Steam

Currently both Non-native and Native

Shared IPC Compositor Connect Failed (306)

Had the following error repeatedly before launching the standalone SteamVR from Budgie’s menu in between (?)
Solus native

vrclient Shared Lib Not Found (102)

The headset and controllers are recognized though.

Comment Actions

Other changes
./vrcmd alternately spams the following

ioctl (GFEATURE): Broken pipe
ioctl (SFEATURE): Broken pipe

Comment Actions

Status update
./gpuvis is launching fine ✓

./vrcmd: error while loading shared libraries: libopenvr_api.so: cannot open shared object file: No such file or directory

Comment Actions

I noticed that the udev rule wasn’t present in /usr/lib64/udev/rules.d, nor in /usr/lib/udev/rules.d, though the Steam Controller rule is in both. I tried adding the rule and rebooting, but my Vive still isn’t recognized by Steam, only by the system as a second display. What do I need to do?

Comment Actions

After power cycling the SteamVR link box, I was able to get Steam to detect my Vive. However, then I run into this error:

SteamVR failed to initialize for unknown reasons. (Error: Shared IPC Compositor Connect Failed (306))

So I re-read Valve’s readme again, and found this part that I’d missed.

AMD graphics require the radv driver from Mesa 17.3 or above or mainline mesa after this commit. For proper VK_KHR_external_semaphore_fd and EXT_memory_object_fd support Linux 4.13-rc1 or newer is required. It doesn’t support direct mode currently, so the HMD display will have to be positioned on your desktop in extended mode, and your system compositor disabled while using VR.

However you can’t disable the compositor in Budgie. So, SteamVR doesn’t seem possible for AMD users at the moment? Unless Gnome/MATE supports it, but I haven’t looked in to that yet.

Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.

После не корректного завершения работы виртуальной машины и при следующем запуске VirtualBox появляется данная ошибка.

Ошибка в VirtualBox

Данная ошибка означает отсутствие файла настроек.

Для решения данной проблемы, необходимо перейти в указанной каталог C:UsersadminVirtualBox VMsХР.

Проблемный файл в данном случае с расширением .vbox-tmp.

Файл с ошибкой

Убираем в расширении значение -tmp. Теперь данный файл должен выглядеть так:

Исправленный файл

Перезапускаем VirtualBox, ошибки больше нет.

Ошибки больше нет

Удачи!!! Суперрр

  • ВКонтакте

Download SocComments v1.3

Понравилась статья? Поделить с друзьями:
  • Ошибка блокировки объекта объект уже заблокирован компьютер
  • Ошибка vcu на камаз нео что означает
  • Ошибка valorant a critical error
  • Ошибка val5 валорант
  • Ошибка val43 valorant