flathub / com.valvesoftware.Steam

https://flathub.org/apps/details/com.valvesoftware.Steam
336 stars 69 forks source link

Cannot open Steam #1040

Open Jon1701 opened 1 year ago

Jon1701 commented 1 year ago

I am having trouble opening the Steam Client. I get this error:

INFO:root:https://github.com/flathub/com.valvesoftware.Steam/wiki
INFO:root:Will set XDG dirs prefix to /home/jon/.var/app/com.valvesoftware.Steam
DEBUG:root:Checking input devices permissions
INFO:root:Overriding TZ to America/Toronto
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
[2023-01-31 23:43:23] Startup - updater built Dec 15 2022 21:26:49
[2023-01-31 23:43:23] Startup - Steam Client launched with: '/home/jon/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox'
Installing breakpad exception handler for appid(steam)/version(1674790765)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2023-01-31 23:43:23] Loading cached metrics from disk (/home/jon/.var/app/com.valvesoftware.Steam/.local/share/Steam/package/steam_client_metrics.bin)
[2023-01-31 23:43:23] Using the following download hosts for Public, Realm steamglobal
[2023-01-31 23:43:23] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2023-01-31 23:43:23] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2023-01-31 23:43:23] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1674790765)
[2023-01-31 23:43:23] Checking for update on startup
[2023-01-31 23:43:23] Checking for available updates...
[2023-01-31 23:43:23] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12
[2023-01-31 23:43:23] Manifest download: send request
Installing breakpad exception handler for appid(steam)/version(1674790765)
[2023-01-31 23:43:24] Manifest download: waiting for download to finish
[2023-01-31 23:43:24] Manifest download: finished
[2023-01-31 23:43:24] Download skipped: /steam_client_ubuntu12 version 1674790765, installed version 1674790765, existing pending version 0
[2023-01-31 23:43:24] Nothing to do
[2023-01-31 23:43:24] Verifying installation...
[2023-01-31 23:43:24] Performing checksum verification of executable files
[2023-01-31 23:43:24] Verification complete
Loaded SDL version 2.27.0-p7692409
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xefd1b8f0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xefd1a1c0
ComputeStartupMode: found registry default startup mode: 0Installing breakpad exception handler for appid(steam)/version(1674790765)
steamwebhelper.sh[160]: Runtime for steamwebhelper: defaulting to /home/jon/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[160]: Running under Flatpak, disabling sandbox
steamwebhelper.sh[160]: CEF sandbox already disabled
Could not connect to X session manager: None of the authentication protocols specified are supported
Installing breakpad exception handler for appid(steam)/version(1674790765)
Installing breakpad exception handler for appid(steam)/version(1674790765)
Installing breakpad exception handler for appid(steam)/version(1674790765)
Installing breakpad exception handler for appid(steam)/version(1674790765)
Installing breakpad exception handler for appid(steam)/version(1674790765)
Installing breakpad exception handler for appid(steam)/version(1674790765)
Installing breakpad exception handler for appid(steam)/version(1674790765)
Installing breakpad exception handler for appid(steam)/version(1674790765)
Installing breakpad exception handler for appid(steam)/version(1674790765)
Installing breakpad exception handler for appid(steam)/version(1674790765)
Installing breakpad exception handler for appid(steam)/version(1674790765)
Installing breakpad exception handler for appid(steam)/version(1674790765)
Installing breakpad exception handler for appid(steam)/version(1674790765)
Installing breakpad exception handler for appid(steam)/version(1674790765)
Installing breakpad exception handler for appid(steam)/version(1674790765)
Installing breakpad exception handler for appid(steam)/version(1674790765)
CAppInfoCacheReadFromDiskThread took 62 milliseconds to initialize
Installing breakpad exception handler for appid(steam)/version(1674790765)
Installing breakpad exception handler for appid(steam)/version(1674790765)
Installing breakpad exception handler for appid(steam)/version(1674790765)

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

Gert-dev commented 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
tillmann commented 1 year ago

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...

chandrahmuki commented 1 year ago

for me downgrading doesn't work but the big picture does.

CleoMenezesJr commented 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. 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

jdoss commented 1 year ago

The downgrade worked for me on Fedora 38 Beta.

sambonbonne commented 1 year ago

Using -bigpicture works for me, downgrade too.

CleoMenezesJr commented 1 year ago

In the latest version it worked for me again.

tkalevra commented 1 year ago

I'm running ZorinOS and having the same issues, I've tried all the recommended actions to no avail

slwr commented 1 year ago

Issue still existing on my side. Exit Code is always 137.

System

$ 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 

Steam Version

$ 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

Normal Mode

$ 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

BigPicture Mode and switch to Normal Mode

$ 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

exit big picture mode

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

exit steam

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

zrooda commented 1 year ago

Same issue on Fedora Silverblue 38, current Steam client beta doesn't help.

MateusRodCosta commented 1 year ago

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.

zrooda commented 1 year ago

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.

jdoss commented 1 year ago

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.

image

LoneFenris commented 1 year ago

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.

LoneFenris commented 1 year ago

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.

zrooda commented 1 year ago

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:

LoneFenris commented 1 year ago

That means this issue likely traces to #1021

MateusRodCosta commented 1 year ago

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

LoneFenris commented 1 year ago

@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.

jdoss commented 1 year ago

Running

flatpak override --user --system-talk-name=org.freedesktop.NetworkManager com.valvesoftware.Steam

indeed fixes the issue for me.

BoltsJ commented 1 year ago

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.

idunno101 commented 1 year ago

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).

zrooda commented 1 year ago

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.

LoneFenris commented 1 year ago

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).

tillmann commented 1 year ago

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.

Arcitec commented 1 year ago

The root causes have been found, let's summarize:

Edit: Steam Flatpak requests the "Run in Backgrund" permission correctly. Fresh installs work instantly. There is no reason to worry about this if you're installing Steam fresh. If your current Steam is already installed, use Flatseal to enable "Portals: Background". You can also set that via GNOME Settings: Apps: Steam: Run in Background.

formidabilus commented 1 year ago

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.