ValveSoftware / SteamVR-for-Linux

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

[BUG] VRCompositor dies with no errors #518

Open Ulrar opened 2 years ago

Ulrar commented 2 years ago

Describe the bug I've installed SteamVR on Arch, which is running on an MSI GS65 Stealth laptop. SteamVR works well on Windows on that same laptop. When I start SteamVR on Linux, the vrcompositor process seems to dies with no errors in the log file, and ps aux shows it defunct ;

$ ps aux | grep -i vr
kevin      23299  0.0  0.0   2676   288 ?        S    11:54   0:00 /home/kevin/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=250820 -- /home/kevin/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh
kevin      23395  9.3  0.6 1955208 108020 ?      Sl   11:54   0:02 /home/kevin/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrserver -waitformonitor -ipccontrolfilepath /tmp/SteamVR-IPCControlFile-23300
kevin      23452  4.4  1.0 2791952 178372 ?      Sl   11:55   0:01 /home/kevin/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrmonitor -nokillprocess -startupappid 250820 -startupreason steamvr_vrstartup -startupapptype 7
kevin      23619  1.6  0.0      0     0 ?        Z    11:55   0:00 [vrcompositor] <defunct>
kevin      23651  2.3  0.9 2991484 159380 ?      Sl   11:55   0:00 ./vrwebhelper
kevin      23704  0.0  0.0      0     0 ?        Z    11:55   0:00 [vrcompositor] <defunct>
kevin      23920  0.6  0.3 234340 57376 ?        S    11:55   0:00 /home/kevin/.local/share/Steam/steamapps/common/SteamVR/bin/vrwebhelper/linux64/vrwebhelper --type=zygote --no-sandbox --log-file=/home/kevin/.local/share/Steam/steamapps/common/SteamVR/bin/vrwebhelper/linux64/debug.log --log-severity=disable --product-version=SteamVR HTML --lang=en-US
kevin      23933  3.6  0.8 2146420 130128 ?      Sl   11:55   0:00 /proc/self/exe --type=gpu-process --field-trial-handle=3030355051139140618,7038935414555044754,131072 --no-sandbox --log-file=/home/kevin/.local/share/Steam/steamapps/common/SteamVR/bin/vrwebhelper/linux64/debug.log --log-severity=disable --product-version=SteamVR HTML --lang=en-US --gpu-preferences=KAAAAAAAAACAAACAAQAAAAAAAAAAAGAAAAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAA --log-file=/home/kevin/.local/share/Steam/steamapps/common/SteamVR/bin/vrwebhelper/linux64/debug.log --log-severity=disable --product-version=SteamVR HTML --lang=en-US --service-request-channel-token=2784018590922969317
kevin      23943  1.2  0.4 1292772 79704 ?       Sl   11:55   0:00 /home/kevin/.local/share/Steam/steamapps/common/SteamVR/bin/vrwebhelper/linux64/vrwebhelper --type=zygote --no-sandbox --log-file=/home/kevin/.local/share/Steam/steamapps/common/SteamVR/bin/vrwebhelper/linux64/debug.log --log-severity=disable --product-version=SteamVR HTML --lang=en-US
kevin      23950  1.4  0.5 1294820 81412 ?       Sl   11:55   0:00 /home/kevin/.local/share/Steam/steamapps/common/SteamVR/bin/vrwebhelper/linux64/vrwebhelper --type=zygote --no-sandbox --log-file=/home/kevin/.local/share/Steam/steamapps/common/SteamVR/bin/vrwebhelper/linux64/debug.log --log-severity=disable --product-version=SteamVR HTML --lang=en-US
kevin      24002  0.0  0.0      0     0 ?        Z    11:55   0:00 [vrcompositor] <defunct>
kevin      24043  0.0  0.0      0     0 ?        Z    11:55   0:00 [vrcompositor] <defunct>

To Reproduce Steps to reproduce the behavior:

  1. Install ArchLinux on an MSI GS65
  2. Setup bumblebee / primusrun and the nvidia drivers
  3. Start SteamVR
  4. See error

Expected behavior For SteamVR to work

System Information (please complete the following information):

Additional context As you can probably see from the vrmonitor logs, it seems to find the headset on HDMI 0 (which is correct) through Vulkan WSI, and selects a mode then it just dies without any explanation. I'm using Gnome running in Xorg, as I usually have intel-virtual-output running to get external monitors working. The above is taken without it running though, so nothing should be holding the headset in use.

Note: Commenters who are also experiencing this issue are encouraged to include the "System Information" section in their replies.

PARKBONG commented 2 years ago

Did you solve the problem? I have the same problem

When I enabled Null driver, The VRcompositor doesn't works.

Ulrar commented 2 years ago

Unfortunately not, went back to Windows for now