protonscr

[BUG] vrcompositor-launcher fails to run zenity

steamvropen bug
ValveSoftware/SteamVR-for-Linux#410 · opened 2020-12-13 by codewiz · updated 2020-12-15 · 2 comments · github
Ccodewiz 2020-12-13 github

Describe the bug
On first launch, vrcompsitor-launcher tries to execute /usr/bin/zenity, but evidently LD_LIBRARY_PATH contains extraneous libraries, because the binary fails to load:

/usr/bin/zenity --no-wrap --question '--text=SteamVR requires superuser access to finish setup. Proceed?'
/usr/bin/zenity: symbol lookup error: /usr/lib/libgdk-3.so.0: undefined symbol: cairo_surface_unmap_image
pErr 'Error: user declined superuser request.'

To Reproduce
Steps to reproduce the behavior:

  1. Go to SteamVR [beta]
  2. Click on Launch
  3. See error

Expected behavior
A window should pop up, asking for superuser access

System Information (please complete the following information):

  • Distribution: Arch
  • SteamVR version: 1.15.14
  • Steam client version: Dec 11 2020
  • Opted into Steam client beta?: Yes
  • Graphics driver version: Mesa 21.0.0-devel (git-d7911f9c6b) (ACO)
  • Gist for SteamVR System Information: N/A
Ccodewiz 2020-12-13 github

As a workaround, I prefixed the command with LD_LIBRARY_PATH= in steamapps/common/SteamVR/bin/vrstartup.sh:

-        if ! ${STEAM_ZENITY} --no-wrap --question --text="SteamVR requires superuser access to finish setup. Proceed?"; then
+        if ! LD_LIBRARY_PATH= ${STEAM_ZENITY} --no-wrap --question --text="SteamVR requires superuser access to finish setup. Proceed?"; then

After this, things proceed to vrstartup

Ssmcv 2020-12-15 github

This apears to have been a cairo bug which will hopefully be fixed in its next release: https://gitlab.freedesktop.org/cairo/cairo/-/issues/442

Nothing extracted yet.