flathub / com.valvesoftware.Steam

https://flathub.org/apps/details/com.valvesoftware.Steam
335 stars 70 forks source link

Steam is killed with no error message when steam runtime launch service is ran #1260

Open owowouwu opened 4 months ago

owowouwu commented 4 months ago

Running steam using flatpak run I get

steam.sh[2]: Restarting Steam by request...
steam.sh[2]: Running Steam on org.freedesktop.platform 23.08 64-bit
steam.sh[2]: STEAM_RUNTIME has been set by the user to: /home/steven/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam-runtime
setup.sh[200]: Steam runtime environment up-to-date!
steam.sh[2]: Steam client's requirements are satisfied
tid(234) burning pthread_key_t == 0 so we never use it
[2024-02-29 18:22:10] Startup - updater built Feb 29 2024 00:39:10
[2024-02-29 18:22:10] Startup - Steam Client launched with: '/home/steven/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox'
02/29 18:22:10 Init: Installing breakpad exception handler for appid(steam)/version(1709168962)/tid(234)
[2024-02-29 18:22:10] Loading cached metrics from disk (/home/steven/.var/app/com.valvesoftware.Steam/.local/share/Steam/package/steam_client_metrics.bin)
[2024-02-29 18:22:10] Using the following download hosts for Public, Realm steamglobal
[2024-02-29 18:22:10] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2024-02-29 18:22:10] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2024-02-29 18:22:10] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-02-29 18:22:10] Verifying installation...
[2024-02-29 18:22:10] Verification complete
UpdateUI: skip show logo
Steam logging initialized: directory: /home/steven/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs

XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xedd0a8f0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xedd091c0
steamwebhelper.sh[267]: === Thu 29 Feb 2024 18:22:10 AEDT ===
steamwebhelper.sh[267]: Starting steamwebhelper under bootstrap sniper steam runtime at /home/steven/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-sniper
CAppInfoCacheReadFromDiskThread took 111 milliseconds to initialize
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 365
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam

and then immediately after this the process is killed and Steam doesn't launch, with no error message in the terminal. Where should I look in the log files to debug this issue?

rvdmeij commented 4 months ago

Steam was running perfectly fine for the last few days, but I'm experiencing the same issue at the moment. Unable to start steam with flatpak:

`flatpak run com.valvesoftware.Steam INFO:root:https://github.com/flathub/com.valvesoftware.Steam/wiki INFO:root:Will set XDG dirs prefix to /home/thrall/.var/app/com.valvesoftware.Steam DEBUG:root:Checking input devices permissions WARNING:root:Missing permissions for input devices INFO:root:Overriding TZ to Europe/Amsterdam steam.sh[2]: Running Steam on org.freedesktop.platform 23.08 64-bit steam.sh[2]: STEAM_RUNTIME is enabled automatically setup.sh[74]: Steam runtime environment up-to-date! steam.sh[2]: Steam client's requirements are satisfied tid(108) burning pthread_key_t == 0 so we never use it [2024-03-01 01:38:37] Startup - updater built Feb 29 2024 00:39:10 [2024-03-01 01:38:37] Startup - Steam Client launched with: '/home/thrall/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox' 03/01 01:38:37 Init: Installing breakpad exception handler for appid(steam)/version(1709168962)/tid(108) Looks like steam didn't shutdown cleanly, scheduling immediate update check [2024-03-01 01:38:37] Loading cached metrics from disk (/home/thrall/.var/app/com.valvesoftware.Steam/.local/share/Steam/package/steam_client_metrics.bin) [2024-03-01 01:38:37] Using the following download hosts for Public, Realm steamglobal [2024-03-01 01:38:37] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf' [2024-03-01 01:38:37] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf' [2024-03-01 01:38:37] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in' [2024-03-01 01:38:37] Checking for update on startup [2024-03-01 01:38:37] Checking for available updates... [2024-03-01 01:38:37] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12 [2024-03-01 01:38:37] Manifest download: send request [2024-03-01 01:38:37] Manifest download: waiting for download to finish [2024-03-01 01:38:37] Manifest download: finished [2024-03-01 01:38:37] Download skipped: /steam_client_ubuntu12 version 1709168962, installed version 1709168962, existing pending version 0 [2024-03-01 01:38:37] Nothing to do [2024-03-01 01:38:37] Verifying installation... [2024-03-01 01:38:37] Performing checksum verification of executable files [2024-03-01 01:38:38] Verification complete UpdateUI: skip show logo Steam logging initialized: directory: /home/thrall/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs

XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf04358f0 XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf04341c0 steamwebhelper.sh[115]: === Fri Mar 1 01:38:38 AM CET 2024 === steamwebhelper.sh[115]: Starting steamwebhelper under bootstrap sniper steam runtime at /home/thrall/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-sniper CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize Steam Runtime Launch Service: starting steam-runtime-launcher-service Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 212 bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam `

Running on Debian 12 with kernel 6.7.5 + nvidia 550.40.07 drivers.

tootbrute commented 4 months ago

I also cannot open Steam right now. I'm on Fedora Silverblue 39 (ublue.it silverblue-main) and running Steam in flatpak. Integrated GPU.

It pauses at this point, and then asks me if I want to launch it without GPU, or sandboxing. They all fail.

bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
src/steamUI/steamuisharedjscontroller.cpp (546) : Failed creating offscreen shared JS context
src/steamUI/steamuisharedjscontroller.cpp (546) : Failed creating offscreen shared JS context
03/01 17:34:54 Init: Installing breakpad exception handler for appid(steam)/version(1709168962)/tid(108)
assert_20240301173454_28.dmp[287]: Uploading dump (out-of-process)
/tmp/dumps/assert_20240301173454_28.dmp
assert_20240301173454_28.dmp[287]: Finished uploading minidump (out-of-process): success = yes
assert_20240301173454_28.dmp[287]: response: CrashID=bp-2924b2a6-cac6-4e7f-a4ec-2bdee2240301
assert_20240301173454_28.dmp[287]: file ''/tmp/dumps/assert_20240301173454_28.dmp'', upload yes: ''CrashID=bp-2924b2a6-cac6-4e7f-a4ec-2bdee2240301''
[2024-03-01 17:35:08] Shutdown

from ~/.steam/steam/logs/steamwebhelper.log

[0530/211214.603870:INFO:CONSOLE(2)] "Failed to find an active context, will fall back to (SteamLibraryWindow_uid28244)", source
: https://steamloopback.host/library.js (2)
[0530/211215.880207:INFO:crash_reporting.cc(271)] Crash reporting enabled for process: renderer
[0530/211225.491495:INFO:crash_reporting.cc(271)] Crash reporting enabled for process: renderer
[0530/211332.549939:INFO:CONSOLE(2)] "Failed to find an active context, will fall back to (SteamLibraryWindow_uid28244)", source
: https://steamloopback.host/library.js (2)
[0530/211334.378470:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 1 times!
[0530/211336.601267:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 2 times!
[0530/211340.167072:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 3 times!
[0530/211359.350831:INFO:CONSOLE(2)] "Failed to find an active context, will fall back to (SteamLibraryWindow_uid28244)", source
: https://steamloopback.host/library.js (2)
[0530/211400.502346:INFO:crash_reporting.cc(271)] Crash reporting enabled for process: renderer
[0530/211410.250483:INFO:crash_reporting.cc(271)] Crash reporting enabled for process: renderer
[0530/211435.098254:INFO:CONSOLE(2)] "Stomping CContextMenuManager for SharedJSContext!", source: https://steamloopback.host/lib

So maybe not exactly same as the person who opened this issue...

System info from neofetch: OS: Fedora Linux 39 (Container Image) x86_64 Host: VivoBook_ASUSLaptop X415EA_X415EA 1.0 Kernel: 6.7.6-200.fc39.x86_64 CPU: 11th Gen Intel i5-1135G7 (8) @ 4.200GHz GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics

Eric1212 commented 4 months ago

I do have a system that is similar to @rvdmeij , the problem seems to need a fix from the dev, i do not see anything we can do specially that a verbose command doesn't seems to exist.

flatpak run com.valvesoftware.Steam --verbose INFO:root:https://github.com/flathub/com.valvesoftware.Steam/wiki INFO:root:Will set XDG dirs prefix to /home/eric/.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 23.08 64-bit steam.sh[2]: STEAM_RUNTIME is enabled automatically setup.sh[74]: Steam runtime environment up-to-date! steam.sh[2]: Steam client's requirements are satisfied tid(108) burning pthread_key_t == 0 so we never use it [2024-03-01 08:14:42] Startup - updater built Feb 29 2024 00:39:10 [2024-03-01 08:14:42] Startup - Steam Client launched with: '/home/eric/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox' '--verbose' [2024-03-01 08:14:42] Opted in to client beta 'publicbeta' via beta file You are in the 'publicbeta' client beta. 03/01 08:14:42 Init: Installing breakpad exception handler for appid(steam)/version(1709168962)/tid(108) Looks like steam didn't shutdown cleanly, scheduling immediate update check [2024-03-01 08:14:42] Loading cached metrics from disk (/home/eric/.var/app/com.valvesoftware.Steam/.local/share/Steam/package/steam_client_metrics.bin) [2024-03-01 08:14:42] Using the following download hosts for Public, Realm steamglobal [2024-03-01 08:14:42] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf' [2024-03-01 08:14:42] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf' [2024-03-01 08:14:42] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in' [2024-03-01 08:14:42] Checking for update on startup [2024-03-01 08:14:42] Recherche de nouvelles mises à jour... [2024-03-01 08:14:42] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_publicbeta_ubuntu12 [2024-03-01 08:14:42] Manifest download: send request [2024-03-01 08:14:42] Manifest download: waiting for download to finish [2024-03-01 08:14:43] Manifest download: finished [2024-03-01 08:14:43] Download skipped: /steam_client_publicbeta_ubuntu12 version 1709168962, installed version 1709168962, existing pending version 0 [2024-03-01 08:14:43] Nothing to do [2024-03-01 08:14:43] Vérification de l'installation... [2024-03-01 08:14:43] Performing checksum verification of executable files [2024-03-01 08:14:43] Verification complete UpdateUI: skip show logo Steam logging initialized: directory: /home/eric/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs

XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xeb22d8f0 XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xeb22c1c0 steamwebhelper.sh[115]: === ven 01 mar 2024 08:14:44 EST === steamwebhelper.sh[115]: Starting steamwebhelper under bootstrap sniper steam runtime at /home/eric/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-sniper CAppInfoCacheReadFromDiskThread took 144 milliseconds to initialize Steam Runtime Launch Service: starting steam-runtime-launcher-service Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 192 bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam

OS: Debian GNU/Linux 12 (bookworm) x86_64 Kernel: 6.7.6-1-liquorix-amd64 Packages: 4343 (dpkg), 78 (flatpak), 30 (snap) Shell: bash 5.2.15 Resolution: 1920x1080 DE: GNOME 43.9 WM: Mutter WM Theme: Adwaita Theme: Adwaita [GTK2/3] Icons: Adwaita [GTK2/3] Terminal: gnome-terminal CPU: Intel i7 950 (8) @ 3.068GHz GPU: NVIDIA GeForce GTX 980 Ti Memory: 8594MiB / 15987MiB

juninho commented 4 months ago

I had the same problem here with GNOME + Steam flatpak on Arch.

Initially I removed and reinstalled steam with:

$ flatpak remove com.valvesoftware.Steam -y
$ flatpak install com.valvesoftware.Steam -y

It didn't work, then I found this post here: https://github.com/flathub/com.valvesoftware.Steam/issues/723#issuecomment-785431623

Screenshot from 2024-03-02 16-47-16

It seems that GNOME was killing the application in background. I enabled the key to run in background and now it works.

Eric1212 commented 4 months ago

I had the same problem here with GNOME + Steam flatpak on Arch.

Initially I removed and reinstalled steam with:

$ flatpak remove com.valvesoftware.Steam -y
$ flatpak install com.valvesoftware.Steam -y

It didn't work, then I found this post here: #723 (comment)

Screenshot from 2024-03-02 16-47-16

It seems that GNOME was killing the application in background. I enabled the key to run in background and now it works.

It's make no sens to me but that solution work for me... It's make no sens because i doesn't know how steam could go in background mode... An other gnome problem... That software seems to have a huge list of problems... Beside Mutter (Wayland server linked directly to gnome instead of being separated.) or the new app grid with thumbnails being one on an other one... But thanks @juninho !

frandavid100 commented 3 months ago

Happens to me too. It seems that even if I exit Steam, it remains on the Background apps list. Removing it from that list (by pressing the X button) and relaunching it seems to work.

octagons commented 3 months ago

It seems that GNOME was killing the application in background. I enabled the key to run in background and now it works.

I was also able to fix this problem by allowing Steam to run in the background. However, my Arch installation didn't list steam as an "App" that I could modify, per @juninho's comment. To resolve this, I ran the following command:

flatpak permission-set background background com.valvesoftware.Steam yes
NaterEST commented 3 months ago

I have this same issue but on native steam version on CachyOS (arch-based), temporary fix seems to be putting -cef-disable-gpu as the command line argument. EDIT: nvm, steam still eventually restarts