ValveSoftware / SteamVR-for-Linux

Issue tracker for the Linux port of SteamVR
933 stars 45 forks source link

DriverManager monado load error libuvc.so.0: cannot open shared object file #727

Open ccgauvin94 opened 3 months ago

ccgauvin94 commented 3 months ago

Describe the bug Cannot load external drivers - 'cannot find file'

To Reproduce Steps to reproduce the behavior: 1) Copy an external driver folder into .steam/steam/steamapps/common/SteamVR/drivers (Tested with steamvr-monado and air_glasses) 2) Start SteamVR - driver will fail to load. Logs indicate that this is because it is unable to find the driver file. However, it seemingly has no problem finding the other files such as the vrmanifest.

Expected behavior Presumably the driver should load.

System Information (please complete the following information): Please use the latest Steam beta client and SteamVR beta for your bug reports!

Github complains it's too long if I include this.

I can generate these if needed, but here is the relevant output from the Web Console:

Show Log Name
Show Date
[Settings] Load Default Json Settings from /home/colin/.local/share/Steam/steamapps/common/SteamVR/drivers/steamvr-monado/resources/settings/default.vrsettings
[Settings] Load Default Json Settings from /home/colin/.local/share/Steam/steamapps/common/SteamVR/drivers/steamvr-monado/resources/settings/default.vrsettings
Unable to load driver monado from /home/colin/.local/share/Steam/steamapps/common/SteamVR/drivers/steamvr-monado/bin/linux64/driver_monado.so (libuvc.so.0: cannot open shared object file: No such file or directory)
ASSERT: "DriverManager monado load error libuvc.so.0: cannot open shared object file: No such file or directoryu" at /data/src/common/vrcommon/drivermanager.cpp:439.
Unable to load driver monado because of error VRInitError_Init_FileNotFound(103). Skipping.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

ccgauvin94 commented 3 months ago

Just note, this is not monado specific, I also had the same error with the air_glasses driver.

DevilishSpirits commented 3 months ago

I think that this is related to my issue #698 about containerization issues. Running vrmonitor.sh manually outside their sanbox or copying the library into one of SteamVR LD_LIBRARY_PATH may workaround this problem until VALVE decide to fix these issues.

ccgauvin94 commented 3 months ago

Thanks for the hint. Unfortunately, vrmonitor.sh appears to be broken for me as well! Something is clearly off with the containerization.