Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Failure to unpack steamrt-heavy (and maybe more prerequisites) on some distribution (Void), cause SteamVR to not be able to start #511

Closed
Naia-love opened this issue Apr 20, 2022 · 48 comments
Labels

Comments

@Naia-love
Copy link

Describe the bug
SteamVR just don't even want so start for me, I click on start and after a few seconds it just "crash" (the button get back to play again)

To Reproduce
Steps to reproduce the behavior:

  1. I just tried to launch SteamVR for the first time since I reinstalled my OS

Expected behavior
To run

System Information (please complete the following information):

  • Distribution: Bedrock Linux (main strata is void, i have also arch and ubuntu stratum installed, i tried reinstallig steamvr and running it with them disabled btw it didn't change anything apparently)
  • SteamVR version: Beta 1.22.8
  • Steam client version: Mar 14 2022, at 19:49:17
  • Opted into Steam client beta?: Nop, steamvr yes
  • Graphics driver version: nvidia 510.60.02
  • Gist for SteamVR System Information: I can't create it as I can't even get to the steamvr menu; here my system information from steam directly tho https://gist.github.com/Naia-love/830c2491d23d6d6b16000f51573f4d0e

additional context
As far I know I have all needed libs as i can run games (natives or proton one) without any problems.
the vrclient_vrstartup log file only have

pr 20 2022 20:58:34.665790 - ================================================================================================
Wed Apr 20 2022 20:58:34.665979 - ================================================================================================
Wed Apr 20 2022 20:58:34.666137 - vrstartup 1.22.8 startup with PID=21538, config=/home/naia/.steam/steam/config, runtime=/home/naia/.local/share/Steam/steamapps/common/SteamVR
Wed Apr 20 2022 20:58:34.666278 - vrclient type=VRApplication_Bootstrapper

No other log file exists (for some reason the vrmonitor logfile actually got created and have only one entry out of my idk 20+ tries):

mer. avril 20 2022 20:07:11.916221 - //==============================================================================================
mer. avril 20 2022 20:07:11.916435 - ================================================================================================
mer. avril 20 2022 20:07:11.916625 - ================================================================================================
mer. avril 20 2022 20:07:11.916863 - vrmonitor 1.22.8 startup with PID=13703, config=/home/naia/.steam/steam/config, runtime=/home/naia/.local/share/Steam/steamapps/common/SteamVR
mer. avril 20 2022 20:07:11.917126 - Tools Path: /home/naia/.local/share/Steam/steamapps/common/SteamVR/tools exists.
mer. avril 20 2022 20:07:11.917317 - Demo Path: /home/naia/.local/share/Steam/steamapps/common/SteamVR/demo not found.
mer. avril 20 2022 20:07:14.917846 - Default Playback Audio Devices: ,  (Comm)
mer. avril 20 2022 20:07:14.917959 - Default Record Audio Device: ,  (Comm)
mer. avril 20 2022 20:07:14.918066 - TerminateZombieProcesses()
mer. avril 20 2022 20:07:15.005785 - [System] Detected first setup.
mer. avril 20 2022 20:07:18.049867 - [System] Transition from 'SteamVRSystemState_Off' to 'SteamVRSystemState_Startup'.
mer. avril 20 2022 20:07:18.878333 - [System] Runtime: 1650333605 250820  STEAMVR

Also trying to launch steamvr directly with ~/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh I learned that it create dump, here my /tmp/dumps folder (nb: it doesn't have dumps of all my tries as i restarted my pc meantime)
dumps.tar.gz

@Naia-love Naia-love added the bug label Apr 20, 2022
@okawo80085
Copy link

Did it show you a prompt to finish SteamVR setup on first launch?

@Naia-love
Copy link
Author

Did it show you a prompt to finish SteamVR setup on first launch?

yes First launch after installing it did showed the prompt and then asked for my sudo passwd, which i did. And then nothing happened just "crashed", after reinstalling it it asked again but yea nothing

@okawo80085
Copy link

And just to be clear, it keeps asking you to finish setup on every launch now or?

@Naia-love
Copy link
Author

And just to be clear, it keeps asking you to finish setup on every launch now or?

oh no sorry i miss phrased, it just asked me once after first launch after install and then only once after first launch after a reinstall

@okawo80085
Copy link

Oh gotcha, can you run tree ~/.steam/root/steamapps/common/SteamVR and post the output?

@Naia-love
Copy link
Author

Oh gotcha, can you run tree ~/.steam/root/steamapps/common/SteamVR and post the output?

Here you go

@okawo80085
Copy link

okawo80085 commented Apr 21, 2022

You're missing almost a thousand files compared to my Linux SteamVR beta install, verify the integrity of the tool files in Steam

tree diff

@Naia-love
Copy link
Author

You're missing almost a thousand files compared to my Linux SteamVR beta install, verify the integrity of the tool files in Steam

tree diff

I already did that more than once, and it's just say "all 5129 files successfully validated"

@okawo80085
Copy link

Thats... unusual to say the least, anything interesting in the Steam console when you start it? It should usually say the reason for the crash there

@Naia-love
Copy link
Author

Naia-love commented Apr 21, 2022

Thats... unusual to say the least, anything interesting in the Steam console when you start it? It should usually say the reason for the crash there

➜  ~ ~/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh
+++ dirname /home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh
++ cd /home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/
++ pwd
+ VRBINDIR=/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin
+ [[ -n '' ]]
+ exec /home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh /home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh
++ readlink -f /home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh
+ export STEAMVR_VRENV=/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh
+ STEAMVR_VRENV=/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh
+++ dirname /home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh
++ cd /home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/..
++ pwd
+ export STEAMVR_TOOLSDIR=/home/naia/.local/share/Steam/steamapps/common/SteamVR
+ STEAMVR_TOOLSDIR=/home/naia/.local/share/Steam/steamapps/common/SteamVR
++ cd /home/naia/.local/share/Steam/steamapps/common/SteamVR/../runtime
/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh: ligne 18 : cd: /home/naia/.local/share/Steam/steamapps/common/SteamVR/../runtime: Aucun fichier ou dossier de ce type
++ pwd
+ RUNTIMEDIR=/home/naia
++ cd /home/naia/.local/share/Steam/steamapps/common/SteamVR/../sdk
/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh: ligne 19 : cd: /home/naia/.local/share/Steam/steamapps/common/SteamVR/../sdk: Aucun fichier ou dossier de ce type
++ pwd
+ SDKDIR=/home/naia
+ case $(uname) in
++ uname
+ '[' -z '' ']'
+ exec /home/naia/.steam/root/ubuntu12_32/steam-runtime/run.sh /home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh /home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh
++ readlink -f /home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh
+ export STEAMVR_VRENV=/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh
+ STEAMVR_VRENV=/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh
+++ dirname /home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh
++ cd /home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/..
++ pwd
+ export STEAMVR_TOOLSDIR=/home/naia/.local/share/Steam/steamapps/common/SteamVR
+ STEAMVR_TOOLSDIR=/home/naia/.local/share/Steam/steamapps/common/SteamVR
++ cd /home/naia/.local/share/Steam/steamapps/common/SteamVR/../runtime
/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh: ligne 18 : cd: /home/naia/.local/share/Steam/steamapps/common/SteamVR/../runtime: Aucun fichier ou dossier de ce type
++ pwd
+ RUNTIMEDIR=/home/naia
++ cd /home/naia/.local/share/Steam/steamapps/common/SteamVR/../sdk
/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh: ligne 19 : cd: /home/naia/.local/share/Steam/steamapps/common/SteamVR/../sdk: Aucun fichier ou dossier de ce type
++ pwd
+ SDKDIR=/home/naia
+ case $(uname) in
++ uname
+ '[' -z /home/naia/.steam/root/ubuntu12_32/steam-runtime ']'
+ VRSTARTUP=/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrstartup
+ QT_DIR=/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/qt
++ pwd
+ export LD_LIBRARY_PATH=/home/naia:/home/naia/bin/linux64:/home/naia/bin/linux64:/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/qt/lib:/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/linux64:/home/naia/.steam/root/ubuntu12_32/steam-runtime/pinned_libs_32:/home/naia/.steam/root/ubuntu12_32/steam-runtime/pinned_libs_64:/usr/lib32:/usr/lib/pipewire-0.3/jack:/usr/local/lib:/usr/lib:/home/naia/.steam/root/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:/home/naia/.steam/root/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu:/home/naia/.steam/root/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu:/home/naia/.steam/root/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu:/home/naia/.steam/root/ubuntu12_32/steam-runtime/lib:/home/naia/.steam/root/ubuntu12_32/steam-runtime/usr/lib
+ LD_LIBRARY_PATH=/home/naia:/home/naia/bin/linux64:/home/naia/bin/linux64:/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/qt/lib:/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/linux64:/home/naia/.steam/root/ubuntu12_32/steam-runtime/pinned_libs_32:/home/naia/.steam/root/ubuntu12_32/steam-runtime/pinned_libs_64:/usr/lib32:/usr/lib/pipewire-0.3/jack:/usr/local/lib:/usr/lib:/home/naia/.steam/root/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:/home/naia/.steam/root/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu:/home/naia/.steam/root/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu:/home/naia/.steam/root/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu:/home/naia/.steam/root/ubuntu12_32/steam-runtime/lib:/home/naia/.steam/root/ubuntu12_32/steam-runtime/usr/lib
+ export VRCOMPOSITOR_LD_LIBRARY_PATH=/home/naia:/home/naia/bin/linux64:/home/naia/bin/linux64:/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/qt/lib:/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/linux64:/home/naia/.steam/root/ubuntu12_32/steam-runtime/pinned_libs_32:/home/naia/.steam/root/ubuntu12_32/steam-runtime/pinned_libs_64:/usr/lib32:/usr/lib/pipewire-0.3/jack:/usr/local/lib:/usr/lib:/home/naia/.steam/root/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:/home/naia/.steam/root/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu:/home/naia/.steam/root/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu:/home/naia/.steam/root/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu:/home/naia/.steam/root/ubuntu12_32/steam-runtime/lib:/home/naia/.steam/root/ubuntu12_32/steam-runtime/usr/lib
+ VRCOMPOSITOR_LD_LIBRARY_PATH=/home/naia:/home/naia/bin/linux64:/home/naia/bin/linux64:/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/qt/lib:/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/linux64:/home/naia/.steam/root/ubuntu12_32/steam-runtime/pinned_libs_32:/home/naia/.steam/root/ubuntu12_32/steam-runtime/pinned_libs_64:/usr/lib32:/usr/lib/pipewire-0.3/jack:/usr/local/lib:/usr/lib:/home/naia/.steam/root/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:/home/naia/.steam/root/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu:/home/naia/.steam/root/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu:/home/naia/.steam/root/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu:/home/naia/.steam/root/ubuntu12_32/steam-runtime/lib:/home/naia/.steam/root/ubuntu12_32/steam-runtime/usr/lib
+ exec /home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh
+++ dirname /home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh
++ cd /home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/
++ pwd
+ VRBINDIR=/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin
+ [[ -n /home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh ]]
+ SETUP_LOG=/tmp/SteamVRLauncherSetup.log
+ '[' -z /usr/bin/zenity ']'
+ case $(uname) in
++ uname
+ VRSTARTUP=/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrstartup
+ SteamVRLauncherSetup
++ command -v getcap
+ '[' -x /usr/bin/getcap ']'
++ command -v setcap
+ '[' -x /usr/bin/setcap ']'
++ getcap /home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrcompositor-launcher
+ [[ /home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrcompositor-launcher cap_sys_nice=eip == *\c\a\p\_\s\y\s\_\n\i\c\e* ]]
+ return 0
+ '[' 0 '!=' 0 ']'
+ exec /home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrstartup
Using breakpad crash handler
Setting breakpad minidump AppID = 250820
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
crash_20220421214743_2.dmp[3499]: Uploading dump (out-of-process)
/tmp/dumps/crash_20220421214743_2.dmp
[1]    3393 segmentation fault  ~/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh
➜  ~ crash_20220421214743_2.dmp[3499]: Finished uploading minidump (out-of-process): success = yes
crash_20220421214743_2.dmp[3499]: response: CrashID=bp-ac3a8ef8-7354-430c-96b2-590f12220421
crash_20220421214743_2.dmp[3499]: file ''/tmp/dumps/crash_20220421214743_2.dmp'', upload yes: ''CrashID=bp-ac3a8ef8-7354-430c-96b2-590f12220421''

Nothing interesting but so the dump, that i already shared here in my issue (and the missing folder runtime and sdk)

@okawo80085
Copy link

Strange, i'll check out the dumps tomorrow, but if it fails on startup it's probably missing something/something is setup incorrectly

@kedodrill
Copy link

kedodrill commented Apr 21, 2022

This is happening to me as well, I just installed SteamVR today. Looks like the sdk and runtime dirs in the SteamVR folder don't exist. @okawo80085 do you happen to have those dirs in your SteamVR folder? I'm not seeing the dirs in your diff, which I think would show up?

If it's worth anything, I had to manually run setcap on vrcompositor-launcher in order to get past the initial setup popup.

EDIT: I don't think the directories not being there is a problem actually. Looks like it's finding the runtime elsewhere.

@okawo80085
Copy link

This is happening to me as well, I just installed SteamVR today. Looks like the sdk and runtime dirs in the SteamVR folder don't exist. @okawo80085 do you happen to have those dirs in your SteamVR folder? I'm not seeing the dirs in your diff, which I think would show up?

If it's worth anything, I had to manually run setcap on vrcompositor-launcher in order to get past the initial setup popup.

Im pretty sure I have them, so I'll follow up on that tomorrow

@Naia-love
Copy link
Author

Naia-love commented Apr 22, 2022

If it's worth anything, I had to manually run setcap on vrcompositor-launcher in order to get past the initial setup popup.

oh? how do you to this?

@kedodrill
Copy link

@Naia-love If you don't get an error when trying to launch SteamVR, you're probably fine. When you launched SteamVR for the first time, did it pop up with something asking about superuser access? If it was successful, you're all good. Mine wasn't, so I had to set it manually. #234

@kedodrill
Copy link

kedodrill commented Apr 22, 2022

2022-04-22T02:48:39.13311 kern.info: [ 1460.093551] vrstartup[15224]: segfault at 0 ip 00007f2297edc5ed sp 00007ffd072ed230 error 4 in vrclient.so[7f22979e2000+6cb000]
2022-04-22T02:48:39.13316 kern.info: [ 1460.093569] Code: fd ff 48 89 e9 4c 89 c2 48 8d 35 a3 f3 03 00 31 c0 48 8d 3d 9d 7a 04 00 e8 30 25 fd ff 41 55 41 54 49 89 f4 55 53 48 83 ec 08 <4c> 8b 2f 48 89 f7 e8 28 f3 b8 ff 49 8b 5d e8 48 89 c5 48 39 d8 48

dump.tar.gz

https://gist.github.com/kedodrill/0a10efe0a6213240b3376d5cc38bb716

I do not have steam-runtime-heavy in vrwebhelper/linux64. There was a fairly recent update to SteamVR about unpacking this on "some distributions"...wonder if that's causing this issue?

@okawo80085
Copy link

@kedodrill Yeah steam-runtime-heavy is present for my install of SteamVR, full tree of my installed version

Altho it's strange, i remember a similar bug when SteamVR just failed to load steam-runtime-heavy, but it completely missing from the install is new, is it missing in non beta SteamVR for you as well?

@Naia-love
Copy link
Author

Naia-love commented Apr 22, 2022

@kedodrill Yeah steam-runtime-heavy is present for my install of SteamVR, full tree of my installed version

Altho it's strange, i remember a similar bug when SteamVR just failed to load steam-runtime-heavy, but it completely missing from the install is new, is it missing in non beta SteamVR for you as well?

Actually, I switched to beta because it wasn't working on stable for me, and so I wanted to try if beta was actually working or not ^^'
So yes in stable it don't work and don't have the steam-runtime-heavy folder

@Naia-love
Copy link
Author

Naia-love commented Apr 22, 2022

I tried unpacking manually the steam-runtime-heavy.tar.xz, I now seems to have all the files you have in your own steam-runtime-heavy folder? but I still get exactly the same error
tree.txt (you don't see on the tree, but unpacked in vrwebhelper/linux64 so)

@Naia-love
Copy link
Author

Naia-love commented Apr 22, 2022

ln -s ~/.steam/root/steamapps/common/SteamVR/bin/vrwebhelper/linux64/steam-runtime-heavy ~/.steam/root/steamapps/common/runtime make the app stop complaining about

/home/naia/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh: ligne 18 : cd: /home/naia/.local/share/Steam/steamapps/common/SteamVR/../runtime: Aucun fichier ou dossier de ce type

in the terminal when starting it, but it still complain about the sdk

but I have no idea if i'm on the right track to make it work

@okawo80085
Copy link

okawo80085 commented Apr 22, 2022

It still fails to find the runtime, but the more pressing issue is that the runtime should've been present from from the start.

@kisak-valve any idea on what went wrong during the setup or how to fix it?

@Naia-love Naia-love changed the title [BUG] SteamVR just can't even start [BUG] Failure to unpack steamrt-heavy (and maybe more prerequisites) on some distribution (Void), cause SteamVR to not be able to start Apr 25, 2022
@Naia-love
Copy link
Author

any update on that?

@okawo80085
Copy link

I don't see any mentions of fixes in the recent SteamVR beta updates, im assuming it's still not working on your end as well

@Naia-love
Copy link
Author

I don't see any mentions of fixes in the recent SteamVR beta updates, im assuming it's still not working on your end as well

Yep, tried to update to last beta, uninstall and reinstall, but nothing for now ^^'

@okawo80085
Copy link

There has been a few Linux related updates, is your issue still present?

@Naia-love
Copy link
Author

There has been a few Linux related updates, is your issue still present?

Hi sorry
But so yes

Also i just realised, I dont know how I missed that all the others times (but now that i realised it, Ido recall it happening lasts times^^; )
but everytime I install steamvr (not update so) after it finish the download and actually install it, steam crash

I'm guessing this is related, I could try installing it again with like steam running in a terminal to try and check if errors appears here

@okawo80085
Copy link

okawo80085 commented May 11, 2022

I'm guessing this is related, I could try installing it again with like steam running in a terminal to try and check if errors appears here

Please do just that.

@Naia-love
Copy link
Author

Naia-love commented May 13, 2022

I'm guessing this is related, I could try installing it again with like steam running in a terminal to try and check if errors appears here

Please do just that.

for some reason it didn't crashed this time :^)
and so nothing interesting in steam log when installing it

and I still have this issue

@DeepwaterCreations
Copy link

Another Void user here having this exact same issue. Same error, same missing files, same behavior, so on and so forth.
Regarding Steam crashing after install, it's been crashing for me too, but sort of randomly a handful of seconds after I first start it up. After restarting two or three times, it seems to stabilize.
I'll try to get a log from it when it isn't 2am.

@DeepwaterCreations
Copy link

...so of course, once I've said I'll try to get a log from it, it stops happening. Go figure.

@Orthestral
Copy link

@kedodrill I have the exact same segfault in dmesg, down to the same code

@optlink
Copy link

optlink commented Jun 14, 2022

@Orthestral @kedodrill I also have the exact same message on Void Linux. It used to work at least a month or so ago.

@DeepwaterCreations
Copy link

...so of course, once I've said I'll try to get a log from it, it stops happening. Go figure.

Yeah, it hasn't happened once since then. No idea what changed.
Of course, SteamVR is still broken, so maybe those two things were never related?

@Orthestral
Copy link

Orthestral commented Jun 28, 2022

Steam also has a chance to crash a few moments after starting up, giving me this error in dmesg:

[  132.954473] CIPCServer::Thr[9437]: segfault at 0 ip 00000000cdbec396 sp 00000000eaffd764 error 4 in vrclient.so[cd76e000+65c000]
[  132.954485] Code: fc ff 57 ff 74 24 34 eb e6 8d 74 26 00 8d bc 27 00 00 00 00 55 57 56 53 e8 f0 f0 be ff 81 c3 6b 2c 1f 00 83 ec 18 8b 44 24 2c <8b> 28 8b 7d f4 ff 74 24 30 e8 6c 20 bb ff 83 c4 10 89 c6 39 f8 89

@mlugg
Copy link

mlugg commented Aug 30, 2022

Is there a workaround for this issue? I've been playing around with using an open-source stack to replace SteamVR (OpenComposite + Monado + libsurvive), which works-ish for some games, but it'd be nice to be able to play Alyx with my shiny new Index controllers.
It's quite frustrating that this seems to be a Steam client issue, since there's literally no way to just revert SteamVR to a version where it worked.

@okawo80085
Copy link

since there's literally no way to just revert SteamVR to a version where it worked.

There might be, try to play around with beta versions of SteamVR, it has a few old releases for Linux, but those are like old old, somewhere around 1.15.x iirc

@DeepwaterCreations
Copy link

...so of course, once I've said I'll try to get a log from it, it stops happening. Go figure.

Yeah, it hasn't happened once since then. No idea what changed. Of course, SteamVR is still broken, so maybe those two things were never related?

Finally caught it in action: https://pastebin.com/jpxLkezz
That's the console output after the second time it crashed in a row. Doesn't seem terribly illuminating to me, but there it is anyway.

If there's a particular file in steam/steam/logs or something that might be useful, someone let me know and I'll post it too.

@okawo80085
Copy link

From steam/logs:

  • vrserver.txt - has logs from drivers and system
  • vrclient_*.txt - different client logs
  • vrmonitor.txt - the SteamVR window that pops up
  • vrcompositor.txt - the compositor logs
  • vrdashboard.txt - the dashboard logs
  • vrhw_*.txt - hardware related logs

vrserver.txt is definitely worth looking into, because it should have the logs if SteamVR errors out on startup

@DeepwaterCreations
Copy link

DeepwaterCreations commented Oct 7, 2022

Hmm... a lot of these logs, including vrserver.txt, don't have anything in them past last March 11. I guess that's the last time I used it before it broke or something. (Yikes.) vrserver.txt in its entirety is too big for pastebin, but here's the last part after vrmonitor initiates a quit all:

https://pastebin.com/sYpYLHTV

And here's vrmonitor.txt:

https://pastebin.com/f1ZUVj2m

Not sure, but this all looks like maybe it's just a normal shutdown to me.

Elsewhere, vrclient_steam.txt seems to be looking for oculus drivers, despite the fact that I don't have an oculus. (Maybe that's normal?) Then post March 20, all the entries are just sort of empty?

https://pastebin.com/agzeJJQw

All of the log files that have entries more recent than March 11 are like that.

vrhw_*.txt don't even exist. There's only a couple of .vdf files.

@GlowingUmbreon
Copy link

This still appears to be a issue, I am getting the same errors on a void system.
Are there any logs or files I can provide that can assist in looking for a potential solution?

@DeepwaterCreations
Copy link

Not sure if this has anything new in it, but I tried running Steam with $ LIBGL_DEBUG=verbose steam and copied all the console output that happened after I hit the "Launch" button for SteamVR:

https://pastebin.com/q3xDh8g3

Prior to that, before I've done anything, it does say:
Refusing to init SteamVR build 9645429 because it crashed. Last successful version was 9645429
Not sure if that's helpful - I already knew it was crashing. But maybe there's some init step that's being skipped, and it keeps being skipped because it keeps being skipped...?

@Orthestral
Copy link

No more useful info from LIBGL_DEBUG=verbose, at least when starting SteamVR from the library.

Going off of the log timeline from @DeepwaterCreations, the issue seems to have started with update 1.21.12

@Orthestral
Copy link

I just tried it today, and it seems to work now! Will update if anything goes wrong.

@Naia-love
Copy link
Author

Naia-love commented Sep 8, 2023

For me seems that it got fixed! I read here and there that valve pushed a lot of linux fix recently,
so I tried, and well seems it run now for me on void on last public version, with ALVR, was able to launch games too (well only hav vrchat installed rn, which dont work cuz of Void specific bug with eac uu sadness)
I dont think i even had to uninstall and install it back?
I just want to hear back from y'all before closing this issue ^^
when deckard valve?

@DeepwaterCreations
Copy link

Matches my experience: It's been working for me, too.
(Save for some sound problems, but that's clearly a separate issue.)
Thanks, Valve!

@okawo80085
Copy link

okawo80085 commented Oct 19, 2023

Ok so i was not able to reply to this for a while cuz of literal war, but i can now and i got a void distro now with SteamVR on it, the catch is that for it to work properly (or at all with nvidia drivers) the Steam package needs to be installed properly, its often missed by users when just installing using xbps-install and not looking at the output, but specifically this package has post install steps that require you to install some extra packages, it will likely stay that way because those packages are in different void repositories (its void-repo-nonfree and void-repo-multilib-nonfree iirc).
In my case those packages were the following (minus the nvidia specific packages)

libgcc-32bit libstdc++-32bit libdrm-32bit libglvnd-32bit

Without them either Steam wont start or SteamVR wont be able to complete initial setup -> wont be able to start either.
Its explained better in this void package files readme, also not blaming users for missing this thing, digging through void package templates is not something they are expected to do
https://github.com/void-linux/void-packages/tree/master/srcpkgs/steam/files

I've tested my particular build of void for a few months now, SteamVR is more or less stable, i have tracking, all of my devices are working, apps that launch under proton work fine as well, there is some tracking jittering, but im pretty sure thats cuz the nvidia curse broke motion smoothing for me (not sure why exactly, dunno if i'll get the time to debug it).
So all in all its working fine xD

@Naia-love
Copy link
Author

Naia-love commented Oct 20, 2023

Replying to #511 (comment)

while what you're talking is true,
and indced without following these instruction steamvr (and actually a lot of games in steam, especialy with steam runtime or what) dont work

this issue was about an actual bug preventing the install, despite all the prerequisite correctly installed, and that was fixed along with the big steamvr linux patch around 1.27 (i guess, dont know exact version fixed)

@kisak-valve
Copy link
Member

Closing per the last several comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants