SteamVR-for-Linux
SteamVR-for-Linux copied to clipboard
[BUG] Failure to unpack steamrt-heavy (and maybe more prerequisites) on some distribution (Void), cause SteamVR to not be able to start
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:
- 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
Did it show you a prompt to finish SteamVR setup on first launch?
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
And just to be clear, it keeps asking you to finish setup on every launch now or?
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
Oh gotcha, can you run tree ~/.steam/root/steamapps/common/SteamVR
and post the output?
You're missing almost a thousand files compared to my Linux SteamVR beta install, verify the integrity of the tool files in Steam
You're missing almost a thousand files compared to my Linux SteamVR beta install, verify the integrity of the tool files in Steam
I already did that more than once, and it's just say "all 5129 files successfully validated"
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
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)
Strange, i'll check out the dumps tomorrow, but if it fails on startup it's probably missing something/something is setup incorrectly
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.
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
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?
@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. https://github.com/ValveSoftware/SteamVR-for-Linux/issues/234
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
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?
@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?
@kedodrill Yeah
steam-runtime-heavy
is present for my install of SteamVR, full tree of my installed versionAltho 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
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)
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
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?
any update on that?
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
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 ^^'
There has been a few Linux related updates, is your issue still present?
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
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.
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
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.
...so of course, once I've said I'll try to get a log from it, it stops happening. Go figure.