ALVR icon indicating copy to clipboard operation
ALVR copied to clipboard

A KEY component of SteamVR isn't working properly...

Open carlymx opened this issue 3 years ago • 40 comments

A KEY component of SteamVR isn't working properly...

https://ibb.co/Rp4660j

Hi friends. I have this problem when starting the ALVR linux server. The client works fine and the server starts SteamVR with no problems except for this message from the app.

I have tried multiple versions and various configurations. I have tried to delete everything (Steam, SteamVR, ALVR...) and start from scratch but I always get this message and I don't know how to solve it.

It has a solution? Please help me. Thank you.

user@victus:~$ neofetch 
             ...-:::::-...                 user@victus 
          .-MMMMMMMMMMMMMMM-.              ------------ 
      .-MMMM`..-:::::::-..`MMMM-.          OS: Linux Mint 20.3 x86_64 
    .:MMMM.:MMMMMMMMMMMMMMM:.MMMM:.        Host: Victus by HP Laptop 16-e0xxx 
   -MMM-M---MMMMMMMMMMMMMMMMMMM.MMM-       Kernel: 5.13.0-28-generic 
 `:MMM:MM`  :MMMM:....::-...-MMMM:MMM:`    Uptime: 3 hours, 55 mins 
 :MMM:MMM`  :MM:`  ``    ``  `:MMM:MMM:    Packages: 2812 (dpkg), 19 (flatpak) 
.MMM.MMMM`  :MM.  -MM.  .MM-  `MMMM.MMM.   Shell: bash 5.0.17 
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM-MMM:   Resolution: 1920x1080 
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM:MMM:   DE: Cinnamon 
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM-MMM:   WM: Mutter (Muffin) 
.MMM.MMMM`  :MM:--:MM:--:MM:  `MMMM.MMM.   WM Theme: Eleganse-dark (Orchis-dark 
 :MMM:MMM-  `-MMMMMMMMMMMM-`  -MMM-MMM:    Theme: Orchis-dark-compact [GTK2/3] 
  :MMM:MMM:`                `:MMM:MMM:     Icons: Papirus-Dark [GTK2/3] 
   .MMM.MMMM:--------------:MMMM.MMM.      Terminal: gnome-terminal 
     '-MMMM.-MMMMMMMMMMMMMMM-.MMMM-'       CPU: AMD Ryzen 7 5800H with Radeon G 
       '.-MMMM``--:::::--``MMMM-.'         GPU: NVIDIA 01:00.0 NVIDIA Corporati 
            '-MMMMMMMMMMMMM-'              GPU: AMD ATI 06:00.0 Device 1638 
               ``-:::::-``                 Memory: 4634MiB / 15335MiB

run: vrpathreg-sh

+++ dirname /home/user/.steam/steam/steamapps/common/SteamVR/bin/vrpathreg.sh
++ cd /home/user/.steam/steam/steamapps/common/SteamVR/bin/
++ pwd
+ VRBINDIR=/home/user/.steam/steam/steamapps/common/SteamVR/bin
+ [[ -n '' ]]
+ exec /home/user/.steam/steam/steamapps/common/SteamVR/bin/vrenv.sh /home/user/.steam/steam/steamapps/common/SteamVR/bin/vrpathreg.sh
++ readlink -f /home/user/.steam/steam/steamapps/common/SteamVR/bin/vrenv.sh
+ export STEAMVR_VRENV=/home/user/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh
+ STEAMVR_VRENV=/home/user/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh
+++ dirname /home/user/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh
++ cd /home/user/.local/share/Steam/steamapps/common/SteamVR/bin/..
++ pwd
+ export STEAMVR_TOOLSDIR=/home/user/.local/share/Steam/steamapps/common/SteamVR
+ STEAMVR_TOOLSDIR=/home/user/.local/share/Steam/steamapps/common/SteamVR
++ cd /home/user/.local/share/Steam/steamapps/common/SteamVR/../runtime
/home/user/.steam/steam/steamapps/common/SteamVR/bin/vrenv.sh: línea 18: cd: /home/user/.local/share/Steam/steamapps/common/SteamVR/../runtime: No existe el archivo o el directorio
++ pwd
+ RUNTIMEDIR=/home/user
++ cd /home/user/.local/share/Steam/steamapps/common/SteamVR/../sdk
/home/user/.steam/steam/steamapps/common/SteamVR/bin/vrenv.sh: línea 19: cd: /home/user/.local/share/Steam/steamapps/common/SteamVR/../sdk: No existe el archivo o el directorio
++ pwd
+ SDKDIR=/home/user
+ case $(uname) in
++ uname
+ '[' -z '' ']'
+ exec /home/user/.steam/root/ubuntu12_32/steam-runtime/run.sh /home/user/.steam/steam/steamapps/common/SteamVR/bin/vrenv.sh /home/user/.steam/steam/steamapps/common/SteamVR/bin/vrpathreg.sh
++ readlink -f /home/user/.steam/steam/steamapps/common/SteamVR/bin/vrenv.sh
+ export STEAMVR_VRENV=/home/user/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh
+ STEAMVR_VRENV=/home/user/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh
+++ dirname /home/user/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh
++ cd /home/user/.local/share/Steam/steamapps/common/SteamVR/bin/..
++ pwd
+ export STEAMVR_TOOLSDIR=/home/user/.local/share/Steam/steamapps/common/SteamVR
+ STEAMVR_TOOLSDIR=/home/user/.local/share/Steam/steamapps/common/SteamVR
++ cd /home/user/.local/share/Steam/steamapps/common/SteamVR/../runtime
/home/user/.steam/steam/steamapps/common/SteamVR/bin/vrenv.sh: línea 18: cd: /home/user/.local/share/Steam/steamapps/common/SteamVR/../runtime: No existe el archivo o el directorio
++ pwd
+ RUNTIMEDIR=/home/user
++ cd /home/user/.local/share/Steam/steamapps/common/SteamVR/../sdk
/home/user/.steam/steam/steamapps/common/SteamVR/bin/vrenv.sh: línea 19: cd: /home/user/.local/share/Steam/steamapps/common/SteamVR/../sdk: No existe el archivo o el directorio
++ pwd
+ SDKDIR=/home/user
+ case $(uname) in
++ uname
+ '[' -z /home/user/.steam/root/ubuntu12_32/steam-runtime ']'
+ VRSTARTUP=/home/user/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrstartup
+ QT_DIR=/home/user/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/qt
++ pwd
+ export LD_LIBRARY_PATH=/home/user:/home/user/bin/linux64:/home/user/bin/linux64:/home/user/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/qt/lib:/home/user/.local/share/Steam/steamapps/common/SteamVR/bin/linux64:/home/user/.steam/root/ubuntu12_32/steam-runtime/pinned_libs_32:/home/user/.steam/root/ubuntu12_32/steam-runtime/pinned_libs_64:/usr/lib/x86_64-linux-gnu/libfakeroot:/lib/i386-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/lib:/lib/i386-linux-gnu/i686:/lib/i386-linux-gnu/sse2:/lib/i386-linux-gnu/i686/sse2:/home/user/.steam/root/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:/home/user/.steam/root/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu:/home/user/.steam/root/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu:/home/user/.steam/root/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu:/home/user/.steam/root/ubuntu12_32/steam-runtime/lib:/home/user/.steam/root/ubuntu12_32/steam-runtime/usr/lib
+ LD_LIBRARY_PATH=/home/user:/home/user/bin/linux64:/home/user/bin/linux64:/home/user/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/qt/lib:/home/user/.local/share/Steam/steamapps/common/SteamVR/bin/linux64:/home/user/.steam/root/ubuntu12_32/steam-runtime/pinned_libs_32:/home/user/.steam/root/ubuntu12_32/steam-runtime/pinned_libs_64:/usr/lib/x86_64-linux-gnu/libfakeroot:/lib/i386-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/lib:/lib/i386-linux-gnu/i686:/lib/i386-linux-gnu/sse2:/lib/i386-linux-gnu/i686/sse2:/home/user/.steam/root/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:/home/user/.steam/root/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu:/home/user/.steam/root/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu:/home/user/.steam/root/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu:/home/user/.steam/root/ubuntu12_32/steam-runtime/lib:/home/user/.steam/root/ubuntu12_32/steam-runtime/usr/lib
+ export VRCOMPOSITOR_LD_LIBRARY_PATH=/home/user:/home/user/bin/linux64:/home/user/bin/linux64:/home/user/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/qt/lib:/home/user/.local/share/Steam/steamapps/common/SteamVR/bin/linux64:/home/user/.steam/root/ubuntu12_32/steam-runtime/pinned_libs_32:/home/user/.steam/root/ubuntu12_32/steam-runtime/pinned_libs_64:/usr/lib/x86_64-linux-gnu/libfakeroot:/lib/i386-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/lib:/lib/i386-linux-gnu/i686:/lib/i386-linux-gnu/sse2:/lib/i386-linux-gnu/i686/sse2:/home/user/.steam/root/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:/home/user/.steam/root/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu:/home/user/.steam/root/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu:/home/user/.steam/root/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu:/home/user/.steam/root/ubuntu12_32/steam-runtime/lib:/home/user/.steam/root/ubuntu12_32/steam-runtime/usr/lib
+ VRCOMPOSITOR_LD_LIBRARY_PATH=/home/user:/home/user/bin/linux64:/home/user/bin/linux64:/home/user/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/qt/lib:/home/user/.local/share/Steam/steamapps/common/SteamVR/bin/linux64:/home/user/.steam/root/ubuntu12_32/steam-runtime/pinned_libs_32:/home/user/.steam/root/ubuntu12_32/steam-runtime/pinned_libs_64:/usr/lib/x86_64-linux-gnu/libfakeroot:/lib/i386-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/lib:/lib/i386-linux-gnu/i686:/lib/i386-linux-gnu/sse2:/lib/i386-linux-gnu/i686/sse2:/home/user/.steam/root/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:/home/user/.steam/root/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu:/home/user/.steam/root/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu:/home/user/.steam/root/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu:/home/user/.steam/root/ubuntu12_32/steam-runtime/lib:/home/user/.steam/root/ubuntu12_32/steam-runtime/usr/lib
+ exec /home/user/.steam/steam/steamapps/common/SteamVR/bin/vrpathreg.sh
+++ dirname /home/user/.steam/steam/steamapps/common/SteamVR/bin/vrpathreg.sh
++ cd /home/user/.steam/steam/steamapps/common/SteamVR/bin/
++ pwd
+ VRBINDIR=/home/user/.steam/steam/steamapps/common/SteamVR/bin
+ [[ -n /home/user/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh ]]
+ case $(uname) in
++ uname
+ VRPATHREG=/home/user/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrpathreg
+ exec /home/user/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrpathreg
Runtime path = /home/user/.local/share/Steam/steamapps/common/SteamVR1
Config path = /home/user/.local/share/Steam/config
Log path = /home/user/.local/share/Steam/logs

carlymx avatar Feb 13 '22 21:02 carlymx

Hey!

I got the 307 error on my system to and it was caused by my dual gfx setup. (Mines intel & Nvidia)

Can you try uninstalling the drivers for your AMD gpu (or even better, disable it in the bios) and use your Nvidia card exclusively? When SteamVR can see multi gpu setups it gets a bit confused due to multiple vulkan ICD's

Niroc avatar Feb 13 '22 23:02 Niroc

Interesting! I will try it and comment results.

Thank you

carlymx avatar Feb 16 '22 09:02 carlymx

I am on AMD CPU w/o integrated gfx + AMD discrete desktop gfx and have this error ever since!

leder11011 avatar Feb 23 '22 05:02 leder11011

I believe this is caused by the vulkan driver in use. You can check the icd files to see what is being loaded first and create a config if needed.

parkerlreed avatar Feb 23 '22 05:02 parkerlreed

@parkerlreed please elaborate: is icd a suffix and where is it located: Steam, ALVR, ...? What about the config file?

If this is a steamVR issue: Does anybody have headsup where to report my Mesa Version etc. and file a bug?

leder11011 avatar Feb 26 '22 08:02 leder11011

Got the latest and greatest ALVR 18.0.0 and compiled from source:

  • downgraded to GIT MESA v21.0.3
  • still with error 307
  • once error 301: downgraded steamVR to "win7win8" version

No luck either. You seem to be heading at the right direction, but Ubuntu installation of ALVR with SteamVR is still broken. Do you have a clue?

leder11011 avatar Feb 27 '22 03:02 leder11011

I'm in the same exact situation with a Quest 1, Arch Linux, AMD 5700XT GPU. ALVR on the Quest freezes on "Streaming will begin soon", and I have the 307 error on SteamVR.

Vermoot avatar Mar 23 '22 17:03 Vermoot

can you please issue the glxinfo command as follows:

leder@home-ryzen:~$ glxinfo |grep OpenGL
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 5700 XT (navi10, LLVM 11.0.1, DRM 3.44, 5.17.0-051700-generic)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.1.0-devel (git-e1964e1dde)
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.1.0-devel (git-e1964e1dde)
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.1.0-devel (git-e1964e1dde)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

leder11011 avatar Mar 23 '22 19:03 leder11011

~ on  main [!]
❯ glxinfo | grep OpenGL
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 5700 XT (NAVI10, DRM 3.44.0, 5.16.10-arch1-1, LLVM 13.0.1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.3.7
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.3.7
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.3.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

Vermoot avatar Mar 23 '22 19:03 Vermoot

so we can confirm that MESA v21.0.3, v21.3.7 and v22.1.0 ain't working at all with included vulkan drivers.

leder11011 avatar Mar 23 '22 20:03 leder11011

I tried running steamvr with an isolated mesa 21.0.0, still error 307. I am not sure if SteamVR actually ran with the specified version, the wrapper script I madr does report correct versiond with glxinfo and vulkaninfo though. Well this at least confirms why it did not work for me to some degree.

Kirottu avatar Mar 24 '22 18:03 Kirottu

I also have had this issue, about two weeks ago I still had an nvidia gpu and alvr did work (although it still had issues) but since then I have now upgraded to completely amd. Based on what I've read, it has something to do with the mesa driver. Based on something I found on reddit I saw: "Important Notice: Amd users using a mesa version above 21.0 there's a steamvr bug that happens when disabling vulkan async which fixes Nvidia but crashes amd either downgrade your mesa to the 21.0 or use the the commit before the change fix Linux async fix :P (#980)" Unfortunately, I don't exactly know what this means, so I'd love to see some insight.

vekinuma avatar Apr 04 '22 06:04 vekinuma

You could try installing libvmaf, that fixed error 307 for me. You would need to check the vrserver.txt log though.

silveropensource avatar Apr 11 '22 03:04 silveropensource

What gpu do you have @silveropensource? And what mesa version and such, I would love to get steamvr running without async reprojection as it causes crashes for me.

Kirottu avatar Apr 13 '22 12:04 Kirottu

@Kirottu I haven't managed to get it to stream video to the headset, but everything else seems to work (render on pc, tracking, dashboard). I'm running on the steam deck so not sure what GPU it is other than "NAVI 2". How do you check your mesa version on Arch Linux?

silveropensource avatar Apr 13 '22 13:04 silveropensource

Oh well that is... quite an interesting journey you have went on. For mesa version you can do glxinfo | grep Mesa, and if glxinfo is not found you can install mesa-demos.

Kirottu avatar Apr 13 '22 13:04 Kirottu

@silveropensource At this point you might be running into another problem, https://github.com/alvr-org/ALVR/issues/887

JacekJagosz avatar Apr 13 '22 13:04 JacekJagosz

I don't get a black screen the oculus client app freezes.

silveropensource avatar Apr 13 '22 16:04 silveropensource

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 25 '22 20:05 stale[bot]

Not stale, really

Vermoot avatar May 26 '22 01:05 Vermoot

Yeah, I still can't use ALVR on Solus with my Oculus GO because of that.

JacekJagosz avatar May 26 '22 11:05 JacekJagosz

Happening using the portable build on Arch, RX 470 using Mesa and vulkan-radeon

softestpoly avatar May 30 '22 23:05 softestpoly

Still happening with the portable builds, current stable build doesn't launch the ALVR dashboard at all.

dev-sda1 avatar May 31 '22 18:05 dev-sda1

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 01 '22 12:07 stale[bot]

not stale. Seems to be an issue exclusively with AMD cards that ideally needs fixing

dev-sda1 avatar Jul 01 '22 12:07 dev-sda1

yes, having same problem with Navi 10, RX 5700, running on arch with latest version of mesa (tried also older versions)

blacktoz avatar Jul 01 '22 13:07 blacktoz

Also having this issue with Ryzen 5 5600X, RX6700xt, running Arch with latest of all software.

Enovale avatar Jul 13 '22 04:07 Enovale

AMD 6600 XT arch linux also having this issue

Maciejka1 avatar Jul 17 '22 17:07 Maciejka1

I have exactly the same problem nobody has found a solution yet?

kodokaii avatar Jul 26 '22 18:07 kodokaii

For me it is fixed by switching to RADV drivers and x11 session on GNOME

xDShot avatar Jul 27 '22 12:07 xDShot