ublue-os / bazzite

Bazzite is a custom image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices - including your favorite handheld.
https://bazzite.gg
Apache License 2.0
3.66k stars 217 forks source link

SteamVR does not start #728

Closed jessicamaybe closed 2 months ago

jessicamaybe commented 7 months ago

Describe the bug

This issue is mainly for it not running in KDE desktop mode, it does not work in game mode because thats running in gamescope and it opens a whole can of worms, I don't think it's supposed to work in there anyways (yet).

Most notably from the logs in ".steam/steam/logs/vrclient_steam.txt" is: [Status Alert] Failed to connect to window manager (497)

Is Bazzite doing something funny with the window manager or KDE that could be causing this?

Logs from latest SteamVR .steam/steam/logs/vrclient_vrstartup.txt:

Wed Jan 31 2024 22:47:48.541206 [Info] - //==============================================================================================
Wed Jan 31 2024 22:47:48.541239 [Info] - ================================================================================================
Wed Jan 31 2024 22:47:48.541260 [Info] - ================================================================================================
Wed Jan 31 2024 22:47:48.541297 [Info] - vrstartup 2.2.3 startup with PID=8115, config=/var/home/bazzite/.local/share/Steam/config, runtime=/var/home/bazzite/.local/share/Steam/steamapps/common/SteamVR
Wed Jan 31 2024 22:47:48.541340 [Info] - vrclient type=VRApplication_Bootstrapper
Wed Jan 31 2024 22:47:48.541360 [Info] - Skipping HMD presence checks.
Wed Jan 31 2024 22:47:48.541415 [Info] - Set thread 0x7f65c10b86c0 priority to: -15
Wed Jan 31 2024 22:47:48.542208 [Info] - [Settings] Load Default Json Settings from /var/home/bazzite/.local/share/Steam/steamapps/common/SteamVR/drivers/htc/resources/settings/default.vrsettings
Wed Jan 31 2024 22:47:48.542281 [Info] - [Settings] Load Default Json Settings from /var/home/bazzite/.local/share/Steam/steamapps/common/SteamVR/drivers/lighthouse/resources/settings/default.vrsettings
Wed Jan 31 2024 22:47:48.542332 [Info] - [Settings] Load Default Json Settings from /var/home/bazzite/.local/share/Steam/steamapps/common/SteamVR/drivers/null/resources/settings/default.vrsettings
Wed Jan 31 2024 22:47:48.542397 [Info] - [Settings] Load Default Json Settings from /var/home/bazzite/.local/share/Steam/steamapps/common/SteamVR/drivers/vrlink/resources/settings/default.vrsettings
Wed Jan 31 2024 22:47:48.542584 [Info] - [Settings] Load Default Json Settings from /var/home/bazzite/.local/share/Steam/steamapps/common/SteamVR/resources/settings/default.vrsettings
Wed Jan 31 2024 22:47:48.542941 [Info] - [Settings] Load Json Settings from /var/home/bazzite/.local/share/Steam/config/steamvr.vrsettings
Wed Jan 31 2024 22:47:48.543134 [Info] - CIPCPipe::ConnectPipe(SteamVR_Namespace) attempting connect to /steamvr/SteamVR_Namespace
Wed Jan 31 2024 22:47:48.543161 [Info] - Unable to connect to pipe errno=111
Wed Jan 31 2024 22:47:48.543245 [Info] - Starting vrserver process: /var/home/bazzite/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrserver -waitformonitor -ipccontrolfilepath /tmp/SteamVR-IPCControlFile-8115  in /var/home/bazzite/.local/share/Steam/steamapps/common/SteamVR/
Wed Jan 31 2024 22:47:48.694415 [Info] - vrserver pid 8235
Wed Jan 31 2024 22:47:48.694491 [Info] - CIPCPipe::ConnectPipe(SteamVR_Namespace) attempting connect to /steamvr/SteamVR_Namespace
Wed Jan 31 2024 22:47:48.694547 [Info] - CSharedResourceNamespaceClient::Init(): received namespace data 8235
Wed Jan 31 2024 22:47:48.694590 [Info] - CIPCPipe::ConnectPipe(VR_ServerPipe_8235) attempting connect to /steamvr/VR_ServerPipe_8235
Wed Jan 31 2024 22:47:50.036492 [Info] - Received success response from vrserver connect
Wed Jan 31 2024 22:47:52.140964 [Info] - Timed out waiting for a good app key
Wed Jan 31 2024 22:47:52.141021 [Info] - App key after connect message:steam.overlay.250820
Wed Jan 31 2024 22:47:52.146452 [Info] - CIPCPipe::ConnectPipe(VR_CompositorPipe_8235) attempting connect to /steamvr/VR_CompositorPipe_8235
Wed Jan 31 2024 22:47:52.146480 [Info] - Unable to connect to pipe errno=111
Wed Jan 31 2024 22:47:52.165230 [Info] - WARNING: NOT running in a Steam for Linux pressure-vessel container runtime. Your SteamVR installation is misconfigured.
Wed Jan 31 2024 22:47:52.165331 [Info] - Starting vrcompositor process: /var/home/bazzite/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrcompositor-launcher.sh args: , in folder /var/home/bazzite/.local/share/Steam/steamapps/common/SteamVR/bin/linux64
Wed Jan 31 2024 22:47:52.183001 [Info] - CIPCPipe::ConnectPipe(VR_CompositorPipe_8235) attempting connect to /steamvr/VR_CompositorPipe_8235
Wed Jan 31 2024 22:47:52.183050 [Info] - Unable to connect to pipe errno=111
Wed Jan 31 2024 22:47:52.283174 [Info] - CIPCPipe::ConnectPipe(VR_CompositorPipe_8235) attempting connect to /steamvr/VR_CompositorPipe_8235
Wed Jan 31 2024 22:47:52.339180 [Info] - Error reading from socket
Wed Jan 31 2024 22:47:52.339223 [Info] - Unable to read message from socket: 104
Wed Jan 31 2024 22:47:52.339257 [Info] - GetNextMessage failed while waiting for message of type 501 on pipe VR_CompositorPipe_8235
Wed Jan 31 2024 22:47:52.339299 [Info] - Invalid response to connect message. Connect failed
Wed Jan 31 2024 22:47:52.360155 [Info] - Started /var/home/bazzite/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrmonitor with pid 8292

Logs from SteamVR 1.27.5 Linux Branch .steam/steam/logs/vrclient_vrstartup.txt

Wed Jan 31 2024 22:40:23.450678 [Info] - //==============================================================================================
Wed Jan 31 2024 22:40:23.450936 [Info] - ================================================================================================
Wed Jan 31 2024 22:40:23.450956 [Info] - ================================================================================================
Wed Jan 31 2024 22:40:23.450978 [Info] - vrstartup 1.27.5 startup with PID=6829, config=/var/home/bazzite/.local/share/Steam/config, runtime=/var/home/bazzite/.local/share/Steam/steamapps/common/SteamVR
Wed Jan 31 2024 22:40:23.451023 [Info] - vrclient type=VRApplication_Bootstrapper
Wed Jan 31 2024 22:40:23.451771 [Info] - [Settings] Load Default Json Settings from /var/home/bazzite/.local/share/Steam/steamapps/common/SteamVR/drivers/htc/resources/settings/default.vrsettings
Wed Jan 31 2024 22:40:23.451830 [Info] - [Settings] Load Default Json Settings from /var/home/bazzite/.local/share/Steam/steamapps/common/SteamVR/drivers/lighthouse/resources/settings/default.vrsettings
Wed Jan 31 2024 22:40:23.451877 [Info] - [Settings] Load Default Json Settings from /var/home/bazzite/.local/share/Steam/steamapps/common/SteamVR/drivers/null/resources/settings/default.vrsettings
Wed Jan 31 2024 22:40:23.452052 [Info] - [Settings] Load Default Json Settings from /var/home/bazzite/.local/share/Steam/steamapps/common/SteamVR/resources/settings/default.vrsettings
Wed Jan 31 2024 22:40:23.452407 [Info] - [Settings] Load Json Settings from /var/home/bazzite/.local/share/Steam/config/steamvr.vrsettings
Wed Jan 31 2024 22:40:23.529939 [Info] - CIPCPipe::ConnectPipe(SteamVR_Namespace) attempting connect to /steamvr/SteamVR_Namespace
Wed Jan 31 2024 22:40:23.530031 [Info] - Unable to connect to pipe errno=111
Wed Jan 31 2024 22:40:23.530132 [Info] - Starting vrserver process: /var/home/bazzite/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrserver
Wed Jan 31 2024 22:40:23.681460 [Info] - CIPCPipe::ConnectPipe(SteamVR_Namespace) attempting connect to /steamvr/SteamVR_Namespace
Wed Jan 31 2024 22:40:23.681568 [Info] - CSharedResourceNamespaceClient::Init(): received namespace data 6935
Wed Jan 31 2024 22:40:23.681638 [Info] - CIPCPipe::ConnectPipe(VR_ServerPipe_6935) attempting connect to /steamvr/VR_ServerPipe_6935
Wed Jan 31 2024 22:40:24.909837 [Info] - Received success response from vrserver connect
Wed Jan 31 2024 22:40:27.016259 [Info] - Timed out waiting for a good app key
Wed Jan 31 2024 22:40:27.016326 [Info] - App key after connect message:steam.overlay.250820
Wed Jan 31 2024 22:40:27.021970 [Info] - CIPCPipe::ConnectPipe(VR_CompositorPipe_6935) attempting connect to /steamvr/VR_CompositorPipe_6935
Wed Jan 31 2024 22:40:27.022002 [Info] - Unable to connect to pipe errno=111
Wed Jan 31 2024 22:40:27.044328 [Info] - Starting vrcompositor process: /var/home/bazzite/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrcompositor-launcher 
Wed Jan 31 2024 22:40:27.065274 [Info] - CIPCPipe::ConnectPipe(VR_CompositorPipe_6935) attempting connect to /steamvr/VR_CompositorPipe_6935
Wed Jan 31 2024 22:40:27.065323 [Info] - Unable to connect to pipe errno=111
Wed Jan 31 2024 22:40:27.165448 [Info] - CIPCPipe::ConnectPipe(VR_CompositorPipe_6935) attempting connect to /steamvr/VR_CompositorPipe_6935
Wed Jan 31 2024 22:40:27.227101 [Info] - Error reading from socket
Wed Jan 31 2024 22:40:27.227153 [Info] - Unable to read message from socket: 104
Wed Jan 31 2024 22:40:27.227187 [Info] - GetNextMessage failed while waiting for message of type 501 on pipe VR_CompositorPipe_6935
Wed Jan 31 2024 22:40:27.227222 [Info] - Invalid response to connect message. Connect failed
Wed Jan 31 2024 22:40:27.249699 [Info] - Started /var/home/bazzite/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrmonitor with pid 6974

What did you expect to happen?

SteamVR to launch and work normally

Output of rpm-ostree status

State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:testing
                   Digest: sha256:6b8701fe7805223fe91962cf4472df8f980adbd3fbfe307b8e4f3a0b5650b4e8
                Timestamp: 2024-01-31T05:46:49Z
                Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf /etc/modprobe.d/deck-blacklist.conf"' 

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:latest
                   Digest: sha256:6b813bc2b77254395c237ac302afc3060786229011ac4152d65abeaf3214b493
                Timestamp: 2024-01-20T21:32:31Z
                Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf /etc/modprobe.d/deck-blacklist.conf"'

Hardware

Using a Valve index with: CPU: 3700x GPU: 7800XT 32GB Ram

Extra information or context

tested on the testing branch and the latest branch

KyleGospo commented 7 months ago

https://github.com/ValveSoftware/SteamVR-for-Linux/issues/622