Open Jon1701 opened 1 year ago
It's the same for me. The last new published Flatpak from yesterday seems to have broken it. I downgraded to the last version published, which seems to be c67a900e23d514cb308148c24638cb7316a20643c32049b0a8e2818ed1d4f62c
, which fixed it again. 8e022655a7acf9a51b329d8938aab5d08bf677d2 and 6a0bd2e20f849f63bbc5ce3d57725736b288589c appear to be the only new commits.
In case anyone needs to downgrade in the meantime:
sudo flatpak update --commit=c67a900e23d514cb308148c24638cb7316a20643c32049b0a8e2818ed1d4f62c com.valvesoftware.Steam
funny enough, downgrading works, but what also works (for me) is starting in big picture mode:
flatpak run com.valvesoftware.Steam -bigpicture
and exiting big picture mode right afterwards. Maybe worth noting...
for me downgrading doesn't work but the big picture does.
It's the same for me. The last new published Flatpak from yesterday seems to have broken it. I downgraded to the last version published, which seems to be
c67a900e23d514cb308148c24638cb7316a20643c32049b0a8e2818ed1d4f62c
, which fixed it again. 8e02265 and 6a0bd2e appear to be the only new commits.In case anyone needs to downgrade in the meantime:
sudo flatpak update --commit=c67a900e23d514cb308148c24638cb7316a20643c32049b0a8e2818ed1d4f62c com.valvesoftware.Steam
Downgrade works for me
The downgrade worked for me on Fedora 38 Beta.
Using -bigpicture
works for me, downgrade too.
In the latest version it worked for me again.
I'm running ZorinOS and having the same issues, I've tried all the recommended actions to no avail
Issue still existing on my side. Exit Code is always 137.
$ neofetch --stdout
OS: Arch Linux x86_64
Kernel: 6.2.9-arch1-1
Uptime: 39 mins
Packages: 955 (pacman), 72 (flatpak)
Shell: bash 5.1.16
Resolution: 1920x1080, 1920x1080
DE: GNOME 43.4
WM: Mutter
WM Theme: Adwaita
Theme: Adwaita [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: tmux
CPU: Intel i7-7700K (8) @ 4.500GHz
GPU: NVIDIA GeForce GTX 1070 Ti
Memory: 2837MiB / 32045MiB
$ flatpak info com.valvesoftware.Steam
Steam - Launcher for the Steam software distribution service
ID: com.valvesoftware.Steam
Ref: app/com.valvesoftware.Steam/x86_64/stable
Arch: x86_64
Branch: stable
Version: 1.0.0.75
License: LicenseRef-proprietary
Origin: flathub
Collection: org.flathub.Stable
Installation: system
Installed: 44,2 MB
Runtime: org.freedesktop.Platform/x86_64/22.08
Sdk: org.freedesktop.Sdk/x86_64/22.08
Commit: a4c6945dc1cb48472fae369277a4350c9592c5d26239243bd06afc183da3dd7c
Parent: c67a900e23d514cb308148c24638cb7316a20643c32049b0a8e2818ed1d4f62c
Subject: Update 2 modules (d044c440)
Date: 2023-01-31 06:36:30 +0000
$ flatpak run com.valvesoftware.Steam
INFO:root:https://github.com/flathub/com.valvesoftware.Steam/wiki
INFO:root:Will set XDG dirs prefix to $HOME/.var/app/com.valvesoftware.Steam
DEBUG:root:Checking input devices permissions
WARNING:root:Missing permissions for input devices
INFO:root:Overriding TZ to Europe/Berlin
steam.sh[2]: Running Steam on org.freedesktop.platform 22.08 64-bit
steam.sh[2]: STEAM_RUNTIME is enabled automatically
setup.sh[77]: Steam runtime environment up-to-date!
steam.sh[2]: Steam client's requirements are satisfied
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Loaded SDL version 3.0.0-1117-g727c7d4e2
GetWin32Stats: display was not open yet, good
ComputeStartupMode: found registry default startup mode: 0
steamwebhelper.sh[<removed>]: Runtime for steamwebhelper: defaulting to $HOME/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[<removed>]: Running under Flatpak, disabling sandbox
steamwebhelper.sh[<removed>]: CEF sandbox already disabled
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Could not connect to X session manager: None of the authentication protocols specified are supported
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
CAppInfoCacheReadFromDiskThread took 71 milliseconds to initialize
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Failed to init SteamVR because it isn't installed
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Exit Code: 137
$ flatpak run com.valvesoftware.Steam -bigpicture
INFO:root:https://github.com/flathub/com.valvesoftware.Steam/wiki
INFO:root:Will set XDG dirs prefix to $HOME/.var/app/com.valvesoftware.Steam
DEBUG:root:Checking input devices permissions
WARNING:root:Missing permissions for input devices
INFO:root:Overriding TZ to Europe/Berlin
steam.sh[2]: Running Steam on org.freedesktop.platform 22.08 64-bit
steam.sh[2]: STEAM_RUNTIME is enabled automatically
setup.sh[77]: Steam runtime environment up-to-date!
steam.sh[2]: Steam client's requirements are satisfied
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Loaded SDL version 3.0.0-1117-g727c7d4e2
GetWin32Stats: display was not open yet, good
ComputeStartupMode: forcing gamepadui, overriding tenfoot/bigpicture
steamwebhelper.sh[<removed>]: Runtime for steamwebhelper: defaulting to $HOME/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[<removed>]: Running under Flatpak, disabling sandbox
steamwebhelper.sh[<removed>]: CEF sandbox already disabled
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Could not connect to X session manager: None of the authentication protocols specified are supported
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
CAppInfoCacheReadFromDiskThread took 68 milliseconds to initialize
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Failed to init SteamVR because it isn't installed
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
sh: line 1: lsb_release: command not found
GetWin32Stats: restoring previous glx context
sh: line 1: lsb_release: command not found
(steam:152): Gtk-WARNING **: 09:07:37.484: gtk_disable_setlocale() must be called before gtk_init()
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
BRefreshApplicationsInLibrary 1: 1ms
roaming config store loaded successfully - 378 bytes.
migrating temporary roaming config store
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
ExecCommandLine: "'$HOME/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox' '-bigpicture'"
System startup time: 14.06 seconds
BuildCompleteAppOverviewChange: 283 apps
RegisterForAppOverview 1: 3ms
RegisterForAppOverview 2: 3ms
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(<removed>)
steamwebhelper.sh[<removed+>]: Runtime for steamwebhelper: defaulting to $HOME/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[<removed+>]: Running under Flatpak, disabling sandbox
steamwebhelper.sh[<removed+>]: CEF sandbox already disabled
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
BuildCompleteAppOverviewChange: 283 apps
RegisterForAppOverview 1: 3ms
RegisterForAppOverview 2: 4ms
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Exit Code: 137
Same issue on Fedora Silverblue 38, current Steam client beta doesn't help.
Hi, may I suggest everyone to try deleting the following folders and see if there's any change?
~/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam-runtime
~/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam-runtime.old
~/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
Essentially those folders are the Steam runtime folders, if you delete them they will be re-created based on the host (which in this case would be the fdo Runtime).
I believe there are occasions that there will be a conflict between the Steam runtime and fdo runtime that might require doing this step.
Of note, I have been running Fedora 38 since the Beta and had no issues with Steam, still don't have.
Hi, may I suggest everyone to try deleting the following folders and see if there's any change?
~/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam-runtime ~/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam-runtime.old ~/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
Essentially those folders are the Steam runtime folders, if you delete them they will be re-created based on the host (which in this case would be the fdo Runtime).
I believe there are occasions that there will be a conflict between the Steam runtime and fdo runtime that might require doing this step.
Of note, I have been running Fedora 38 since the Beta and had no issues with Steam, still don't have.
The runtimes are regenerated on startup but it doesn't fix the issue.
I deleted those files and steam proceeded to kick out this error dialog that the flatpak is missing some libs before downloading the runtimes again. Steam still fails to launch.
Seems to be an issue with the fdo runtime or sandbox. I can point the non-flatpak Steam to the runtime folder of the flatpak and it'll update the runtime there and run normally. If I then try to run the flatpak Steam, it'll also update that runtime and fail (unless run with bigpicture). No idea why only some seem to be affected by the issue, though. Also weird that it doesn't seem to crash when it fails to start, it just exits.
Scratch that, I'm actually starting to think there's a startup timeout being tripped when running normal vs with bigpicture.
Following the instructions in https://github.com/flathub/com.valvesoftware.Steam/wiki#user-content-App_starts_slower_than_native (Specifically under the heading "App starts slower than native") allows the flatpak Steam to start without bigpicture.
Scratch that, I'm actually starting to think there's a startup timeout being tripped when running normal vs with bigpicture.
Following the instructions in https://github.com/flathub/com.valvesoftware.Steam/wiki#user-content-App_starts_slower_than_native (Specifically under the heading "App starts slower than native") allows the flatpak Steam to start without bigpicture.
Can confirm that adding org.freedesktop.NetworkManager
to system bus permissions allows Steam to start again without -bigpicture
:partying_face:
That means this issue likely traces to #1021
Finding Network Manager causes this is very interesting.
I know that Steam accesses NetworkManager and I believe there are two reasons for it: either checking if you have no connection or allowing you to manage your connections while in the old Big Picture mode (probably also works on the new one). Now considering it works fine booting in Big Picture mode and it didn't affect everyone, it would mean that Steam doesn't like very much some days it got from NetworkManager, likely when trying to check for connectivity.
So, checking the NetworkManager config could help.
Maybe you guys have too many Wifi networks? Or some Wifi network has a specific config Steam didn't like? Or you guys are using the old network format and it started causing issues now?
Note: I do remember some place on Steam but tracker saying NetworkManager access is required, if I find it I will edit this.
Edit: Found the upstream issue: https://github.com/ValveSoftware/steam-for-linux/issues/4979
@MateusRodCosta The issue can't be related to to network configs since it arises from Steam not being able to talk to NM at all. Based on earlier conversation on the same proposed change in #850 and the documentation for the PR I mentioned above, this causes at least a slowdown to startup. My assumption is that there is some case where this slowdown turns into an exit -- either via tripping a timeout or an exit condition in Steam. That would explain why it doesn't crash, it just stops starting up.
Running
flatpak override --user --system-talk-name=org.freedesktop.NetworkManager com.valvesoftware.Steam
indeed fixes the issue for me.
For me I was able to fix the issue by giving steam permission to 'Run in Background' from GNOME Settings, but it is still starting pretty slow.
Enabling the background running permission also worked for me. I think that flatpak is killing apps that take a few seconds to startup because it thinks they're running in the background. I've had a few other apps display this same behaviour (like KeePassXC).
For me I was able to fix the issue by giving steam permission to 'Run in Background' from GNOME Settings, but it is still starting pretty slow.
Enabling the background running permission also worked for me. I think that flatpak is killing apps that take a few seconds to startup because it thinks they're running in the background. I've had a few other apps display this same behaviour (like KeePassXC).
You're onto something as I was having the same issues with both Slack and Steam after updating to Flatpak 1.15, enabling them to run in the background fixes both.
That could also be a reason only some users are affected. I'm pretty sure that setting relates to the xdg portal background permission, which means handling of it could vary between desktops. Possibly a GNOME only issue (maybe further reduced by system speed or other factors that play into how GNOME decides an application is in the background).
If I only set the portal background permission I get a Steam error about not being able to connect, asking for running in offline mode (granted, I only tried retry twice). If I set the NetworkManager bus permission everything runs fine.
The root causes have been found, let's summarize:
NetworkManager
to GetSecrets
to read your saved WiFi passwords at Steam startup. It's most likely just bad copy-pasted code since there's no reason for Valve to do that.NetworkManager
access causes Steam to start slowly.Enabling the background running permission also worked for me. I think that flatpak is killing apps that take a few seconds to startup because it thinks they're running in the background. I've had a few other apps display this same behaviour (like KeePassXC).
I've updated from Fedora 37 to Fedora 38 and Steam didn't open anymore. I know that Gnome 44 have something to do with closing background apps and for me after I've enabled "Run In Background" for Steam, it opens normally now.
I am having trouble opening the Steam Client. I get this error:
Operating System: EndeavourOS Kernel:
6.1.8-zen1-1-zen
Flatpak version:Flatpak 1.15.1
Arch:x86_64
GL Drivers:default
host
Flatpak Installations:/var/lib/flatpak
Flatpak Updated Env:XDG_DATA_DIRS=/home/jon/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/
Kernel driver in use:amdgpu
Kernel modules:amdgpu