Since some time now the Steam Flatpak cannot start up and I have no idea why this happens.
Web research leads to basically nothing that is related to what I experience so I assume it has something to do with my system. Other Flatpaks start up normally and I can use them.
When resetting everything related to the Steam Flatpak and reinstalling it from Flathub it loads and installs the Flatpak and then installs all necessary stuff
[various update-related stuff]
setup.sh[4598]: Forced use of runtime version for 32-bit libcurl.so.4
setup.sh[4598]: Found newer runtime version for 32-bit libSDL2-2.0.so.0. Host: 0.2400.0 Runtime: 0.2600.5
setup.sh[4598]: Forced use of runtime version for 32-bit libgtk-x11-2.0.so.0
setup.sh[4598]: Found newer runtime version for 32-bit libvulkan.so.1. Host: 1.3.224 Runtime: 1.3.239
setup.sh[4598]: Forced use of runtime version for 32-bit libdbusmenu-glib.so.4
setup.sh[4598]: Forced use of runtime version for 32-bit libcurl-gnutls.so.4
setup.sh[4598]: Forced use of runtime version for 32-bit libdbusmenu-gtk.so.4
setup.sh[4598]: Forced use of runtime version for 64-bit libcurl.so.4
setup.sh[4598]: Found newer runtime version for 64-bit libSDL2-2.0.so.0. Host: 0.2400.0 Runtime: 0.2600.5
setup.sh[4598]: Found newer runtime version for 64-bit libvulkan.so.1. Host: 1.3.224 Runtime: 1.3.239
setup.sh[4598]: Forced use of runtime version for 64-bit libcurl-gnutls.so.4
steam.sh[2]: Steam client's requirements are satisfied
So everything looks good up to this point. The small Steam update windows poppend up several times indicating the running installation/update. The output then continues:
[2023-08-17 22:47:50] Startup - updater built Jul 28 2023 18:44:09
[2023-08-17 22:47:50] Startup - Steam Client launched with: '/home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox'
08/17 22:47:50 Init: Installing breakpad exception handler for appid(steam)/version(1690583737)/tid(5467)
[2023-08-17 22:47:50] Loading cached metrics from disk (/home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/package/steam_client_metrics.bin)
[2023-08-17 22:47:50] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2023-08-17 22:47:50] Using the following download hosts for Public, Realm steamglobal
[2023-08-17 22:47:50] 1. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2023-08-17 22:47:50] Verifying installation...
[2023-08-17 22:47:50] Verification complete
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf0d328f0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf0d311c0
GetWin32Stats: display was not open yet, good
GetWin32Stats: display was not open yet, good
(The last line gets printed twice, yes.)
The first startup process then hangs there for a few seconds and continues with this.
steamwebhelper.sh[5473]: Running under Flatpak, disabling sandbox
steamwebhelper.sh[5473]: CEF sandbox already disabled
CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
src/steamUI/steamuisharedjscontroller.cpp (540) : Failed creating offscreen shared JS context
src/steamUI/steamuisharedjscontroller.cpp (540) : Fatal assert; application exiting
08/17 22:48:39 Init: Installing breakpad exception handler for appid(steam)/version(1690583737)/tid(5467)
assert_20230817224839_27.dmp[5771]: Uploading dump (out-of-process)
/tmp/dumps/assert_20230817224839_27.dmp
dirk ~ $
After the command prompt is shown agein, this gets printed:
assert_20230817224839_27.dmp[5771]: Finished uploading minidump (out-of-process): success = yes
assert_20230817224839_27.dmp[5771]: response: CrashID=bp-f62fb7e8-d024-452e-a937-9c6672230817
assert_20230817224839_27.dmp[5771]: file ''/tmp/dumps/assert_20230817224839_27.dmp'', upload yes: ''CrashID=bp-f62fb7e8-d024-452e-a937-9c6672230817''
At the given location there is no dump file.
Do you guys have any Idea why this happens and how I can fix it?
Involved software:
$ flatpak --version
Flatpak 1.15.4
$ flatpak remotes
Name Optionen
flathub system
$ flatpak info com.valvesoftware.Steam | grep Version | awk '{print $2}'
1.0.0.78
$ uname -rms
Linux 6.4.10-arch1-1 x86_64
$ openbox --version | head -n1
Openbox 3.6.1
$ pacman -Qi xorg-server | grep Version | awk '{print $3}'
21.1.8-2
Did you also delete the steam user data when reinstalling it? Regardless, I found a Github issue that looks very similar to yours. Apparently this was caused by a beta update? But this was about 4 months ago? Weird.
Anyway, the suggested fix was to first reset steam with
flatpak run com.valvesoftware.Steam --reset
And then opt out of any potential beta:com.valvesoftware.Steam -clearbeta
Not sure if this really is the same issue, but it’s definitely worth a try.
Edit: Seems like on some systems, removing the package
xdg-desktop-portal-gnome
also fixed it. Don’t know if it also applies to the flatpak, but just try it. Just remember to install the package again if it doesn’t fix it. It may be needed for some other things.Did you also delete the steam user data when reinstalling it?
On one page I found a set of
rm
commands for resetting Steam issues and adapted it to the Flatpak version.rm -r ~/.var/app/com.valvesoftware.Steam/.local/share/Steam/ rm -r ~/.var/app/com.valvesoftware.Steam/.steam/ rm ~/.var/app/com.valvesoftware.Steam/.steampath rm ~/.var/app/com.valvesoftware.Steam/.steampid rm -r ~/.var/app/com.valvesoftware.Steam/.cache/nvidia/GLCache/
flatpak run com.valvesoftware.Steam --reset
Resetting it like this seems to work a bit. The Steam interface started up one time and after logging in and restarting it, it now does the same thing as before.
Seems like on some systems, removing the package
xdg-desktop-portal-gnome
also fixed it.It is not installed.
$ pacman -Ss xdg-desktop | grep installed extra/xdg-desktop-portal 1.16.0-3 [installed] extra/xdg-desktop-portal-gtk 1.14.1-1 [installed]
I can’t remove those because botha are directly and/or indirectlz dependencies for Flatpak.
Okay, well then we’ll need to investigate further.
On one page I found a set of
rm
commands for resetting Steam issues and adapted it to the Flatpak version.While these commands will delete most of the steam stuff, just in case you didn’t know, for any flatpak you can run
flatpak uninstall --delete-data
to delete all user data for uninstalled apps. Or, if you don’t want to uninstall the app first, just deleting~/.var/app/the app you want to delete the data of
will also do the trick. That, just as a small side note.Resetting it like this seems to work a bit. The Steam interface started up one time and after logging in and restarting it, it now does the same thing as before.
That’s something at least. Why don’t we try something? Maybe the beta version will fix it? When you have the steam client open, try switching to the beta version of it. You can do that by opening the steam settings, go to interface and select the beta. If that also doesn’t work, try launching it with
-no-cef-sandbox
, as that also fixed it for some people.Thanks for your help!
flatpak uninstall --delete-data
Okay, not it gets weird. I uninstalled Steam with deleting the data. Then I reinstalled it and now does die the double
GetWin32Stats: display was not open yet, good
with several seconds of “hangign” again after all the initialization stuff and it then crashes again as described but in addition to that it also now hangs for several seconds atCAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
.The weird thing is: now I can’t even start/reset it with
flatpak run com.valvesoftware.Steam --reset
anymore.[...] GetWin32Stats: display was not open yet, good GetWin32Stats: display was not open yet, good steamwebhelper.sh[159]: Runtime for steamwebhelper: defaulting to /home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy steamwebhelper.sh[159]: Running under Flatpak, disabling sandbox steamwebhelper.sh[159]: CEF sandbox already disabled CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize src/steamUI/steamuisharedjscontroller.cpp (540) : Failed creating offscreen shared JS context src/steamUI/steamuisharedjscontroller.cpp (540) : Fatal assert; application exiting 08/18 11:32:52 Init: Installing breakpad exception handler for appid(steam)/version(1690583737)/tid(152) assert_20230818113252_28.dmp[273]: Uploading dump (out-of-process) /tmp/dumps/assert_20230818113252_28.dmp dirk ~ $ assert_20230818113252_28.dmp[273]: Finished uploading minidump (out-of-process): success = yes assert_20230818113252_28.dmp[273]: response: CrashID=bp-ccf87007-b170-434a-ad01-b780e2230818 assert_20230818113252_28.dmp[273]: file ''/tmp/dumps/assert_20230818113252_28.dmp'', upload yes: ''CrashID=bp-ccf87007-b170-434a-ad01-b780e2230818''
-no-cef-sandbox
This unfortunately makes no difference.
I’m starting to think that your flatpak runtimes might be corrupted.
You can try reinstalling the one used by steam. Uninstall with
flatpak remove org.freedesktop.Platform/x86_64/22.08
And then install it again with
flatpak install org.freedesktop.Platform/x86_64/22.08
To eliminate any other potential issues I’d recommend deleting the steam user folder as well before launching it again. Like I told you earlier.
Edit: It’s hilarious, I find many people having the exact same issue but never with the Flatpak version. Some even use the Flatpak version as a workaround. Very weird.
I’m starting to think that your flatpak runtimes might be corrupted.
I am using Pixelorama and Airshipper as Flatpaks without any issues. The only application that does not work is Steam.
flatpak remove org.freedesktop.Platform/x86_64/22.08
I could not uninstall it because Pixelorama and Airshipper needed it (as well as Steam, of course). So I removed all of them before, then removed the package and reinstalled it. Then I started up Steam and it crashed again with the same error message and behavior. It loaded Steam, the update messages were shown, the steam popups popped up, but at the end, well, this again:
GetWin32Stats: display was not open yet, good GetWin32Stats: display was not open yet, good steamwebhelper.sh[5479]: Runtime for steamwebhelper: defaulting to /home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy steamwebhelper.sh[5479]: Running under Flatpak, disabling sandbox steamwebhelper.sh[5479]: CEF sandbox already disabled CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize src/steamUI/steamuisharedjscontroller.cpp (540) : Failed creating offscreen shared JS context src/steamUI/steamuisharedjscontroller.cpp (540) : Fatal assert; application exiting 08/18 23:36:47 Init: Installing breakpad exception handler for appid(steam)/version(1690583737)/tid(5473) assert_20230818233647_29.dmp[5780]: Uploading dump (out-of-process) /tmp/dumps/assert_20230818233647_29.dmp dirk ~ $ assert_20230818233647_29.dmp[5780]: Finished uploading minidump (out-of-process): success = yes assert_20230818233647_29.dmp[5780]: response: CrashID=bp-9ef905ea-c25f-429b-9f2a-2ce832230818 assert_20230818233647_29.dmp[5780]: file ''/tmp/dumps/assert_20230818233647_29.dmp'', upload yes: ''CrashID=bp-9ef905ea-c25f-429b-9f2a-2ce832230818''
I also tried
flatpak run com.valvesoftware.Steam --reset
again as it allowed me to start Steam once. But no, same result. Hangs for quite some time at the firstGetWin32Stats: display was not open yet, good
and circa the same duration onnCAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
and them mentions a nonexistent log file.I wonder if there is a clean way to thoroughly remove all and everything coming from Flatpak. At this point I don’t even care if there is any data lost …
$ flatpak list Name Anwendungskennung Version Zweig Installation Pixelorama com.orama_interactive.Pixelorama 0.11.1 stable system Steam com.valvesoftware.Steam 1.0.0.78 stable system Airshipper net.veloren.airshipper 0.10.0 stable system Freedesktop Platform org.freedesktop.Platform 22.08.14 22.08 system i386 org.freedesktop.Platform.Compat.i386 22.08 system Mesa org.freedesktop.Platform.GL.default 23.1.4 22.08 system Mesa (Extra) org.freedesktop.Platform.GL.default 23.1.4 22.08-extra system nvidia-535-98 org.freedesktop.Platform.GL.nvidia-535-98 1.4 system Mesa org.freedesktop.Platform.GL32.default 23.1.4 22.08 system Mesa (Extra) org.freedesktop.Platform.GL32.default 23.1.4 22.08-extra system nvidia-535-86-05 org.freedesktop.Platform.GL32.nvidia-535-86-05 1.4 system nvidia-535-98 org.freedesktop.Platform.GL32.nvidia-535-98 1.4 system openh264 org.freedesktop.Platform.openh264 2.1.0 2.2.0 system
It’s hilarious, I find many people having the exact same issue but never with the Flatpak version. Some even use the Flatpak version as a workaround. Very weird.
Yeah … And it even makes no sense either. It started up before and let me log in but the next start it crashed and now it always crashes no matter what I do. There seems also no-one else in the world affected by this.
All this is seriously so weird…
Okay, so the runtimes were fine, good to know. Btw, you can remove runtimes without first removing the apps that depend on them. They just won’t work any more until you install it again.
I wonder if there is a clean way to thoroughly remove all and everything coming from Flatpak. At this point I don’t even care if there is any data lost …
Not an official one, but this should do the trick if you really want to delete everything. If you want to, you could back up the user files for your other Flatpaks first.
1.
flatpak uninstall --all --delete-data
2.Remove flatpak with your package manager
3.
sudo rm -rf /var/lib/flatpak /var/cache/flatpak ~/.local/share/flatpak ~/.cache/flatpak ~/.local/share/flatpak ~/.cache/flatpak /etc/flatpak
4.Reboot
5.Install flatpak again
6.Add flathub
7.Install steam
If that also doesn’t work, I’m 95% certain it has to be one of your system packages. Weird that a system package would break any Flatpaks though… What distro are you using anyway?
Btw, you can remove runtimes without first removing the apps that depend on them.
I tried first, but it just complained that Steam (and the other two Flatpaks) needed the package and it aborted the removal process.
Anyways, I uninstalled all Flatpaks as you described, removed the directories, removed the Flatpak package, did a reboot, ran a full system update and installed Flatpak and did another reboot just to be sure and just installed Steam this time.
It starts getting hilarious. Same, Friggin. Result. Installation works without any issues, update works without any issues, the popups show, the console output looks fine, and then this again at the end:
GetWin32Stats: display was not open yet, good GetWin32Stats: display was not open yet, good steamwebhelper.sh[5479]: Runtime for steamwebhelper: defaulting to /home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy steamwebhelper.sh[5479]: Running under Flatpak, disabling sandbox steamwebhelper.sh[5479]: CEF sandbox already disabled CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize src/steamUI/steamuisharedjscontroller.cpp (540) : Failed creating offscreen shared JS context src/steamUI/steamuisharedjscontroller.cpp (540) : Fatal assert; application exiting 08/19 00:40:11 Init: Installing breakpad exception handler for appid(steam)/version(1690583737)/tid(5473) assert_20230819004011_29.dmp[5779]: Uploading dump (out-of-process) /tmp/dumps/assert_20230819004011_29.dmp dirk ~ $ assert_20230819004011_29.dmp[5779]: Finished uploading minidump (out-of-process): success = yes assert_20230819004011_29.dmp[5779]: response: CrashID=bp-5698e954-748a-45d6-a5d4-7aa7a2230818 assert_20230819004011_29.dmp[5779]: file ''/tmp/dumps/assert_20230819004011_29.dmp'', upload yes: ''CrashID=bp-5698e954-748a-45d6-a5d4-7aa7a2230818''
I’m 95% certain it has to be one of your system packages.
Since everything regarding Flatpak was removed, including all caches, configuration files and data I am pretty sure that it has to do something specificially with the Steam Flatpak because my system as a whole works properly and and all other Flatpaks I have installed also work properly …
What distro are you using anyway?
I’m on Arch. I have listed all involved application’s version numbers at the end of my original post.
Edit: Not sure if it helps, but here’s the full installation/update output:
I also have an issue when starting up Flatpak Steam on Nobara. Steam started suddenly “bootlooping”. It appears in the background tasks of GNOME and disappeara after a few seconds.
I found a workaround, however; Start by closing it in the backround apps, right-clicking Steam on the dock and selecting any page to open to, like friends or store
Hey @DeeBeeDouble@lemmy.ml remember the Steam issue you helped me with some time ago? I just felt I’ll let you know 🙂
Here’s fun little update on this …
No relevant software was changed, but with the latest system update the Steam Flatpak runs all the udpates as it did before, but now this is logged (all the update and initial installation/setup stuff was done at this point):
INFO:root:https://github.com/flathub/com.valvesoftware.Steam/wiki INFO:root:Will set XDG dirs prefix to /home/dirk/.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 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 [2023-09-22 21:54:27] Startup - updater built Sep 11 2023 20:48:54 [2023-09-22 21:54:27] Startup - Steam Client launched with: '/home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox' 09/22 21:54:27 Init: Installing breakpad exception handler for appid(steam)/version(1694466342)/tid(137) [2023-09-22 21:54:27] Loading cached metrics from disk (/home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/package/steam_client_metrics.bin) [2023-09-22 21:54:27] Using the following download hosts for Public, Realm steamglobal [2023-09-22 21:54:27] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf' [2023-09-22 21:54:27] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf' [2023-09-22 21:54:27] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in' [2023-09-22 21:54:27] Verifying installation... [2023-09-22 21:54:27] Verification complete Steam logging initialized: directory: /home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf044a8f0 XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf04491c0 steamwebhelper.sh[143]: Runtime for steamwebhelper: defaulting to /home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy steamwebhelper.sh[143]: Running under Flatpak, disabling sandbox steamwebhelper.sh[143]: CEF sandbox already disabled CAppInfoCacheReadFromDiskThread took 35 milliseconds to initialize Steam Runtime Launch Service: starting steam-runtime-launcher-service Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 222 steam-runtime-launcher-service[222]: E: Unable to acquire bus name "com.steampowered.PressureVessel.LaunchAlongsideSteam" Steam Runtime Launch Service: steam-runtime-launcher-service pid 222 exited Steam Runtime Launch Service: starting steam-runtime-launcher-service Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 250 steam-runtime-launcher-service[250]: E: Unable to acquire bus name "com.steampowered.PressureVessel.LaunchAlongsideSteam" Steam Runtime Launch Service: steam-runtime-launcher-service pid 250 exited Steam Runtime Launch Service: starting steam-runtime-launcher-service Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 259 steam-runtime-launcher-service[259]: E: Unable to acquire bus name "com.steampowered.PressureVessel.LaunchAlongsideSteam" Steam Runtime Launch Service: steam-runtime-launcher-service pid 259 exited Steam Runtime Launch Service: steam-runtime-launcher-service keeps crashing on startup, disabling src/steamUI/steamuisharedjscontroller.cpp (543) : Failed creating offscreen shared JS context src/steamUI/steamuisharedjscontroller.cpp (543) : Failed creating offscreen shared JS context 09/22 21:55:16 Init: Installing breakpad exception handler for appid(steam)/version(1694466342)/tid(137) assert_20230922215516_28.dmp[266]: Uploading dump (out-of-process) /tmp/dumps/assert_20230922215516_28.dmp assert_20230922215516_28.dmp[266]: Finished uploading minidump (out-of-process): success = yes assert_20230922215516_28.dmp[266]: response: CrashID=bp-0f81ef33-d093-4fd1-b98c-8bd202230922 assert_20230922215516_28.dmp[266]: file ''/tmp/dumps/assert_20230922215516_28.dmp'', upload yes: ''CrashID=bp-0f81ef33-d093-4fd1-b98c-8bd202230922'' steamwebhelper.sh[278]: Runtime for steamwebhelper: defaulting to /home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy steamwebhelper.sh[278]: Running under Flatpak, disabling sandbox steamwebhelper.sh[278]: CEF sandbox already disabled
During this log output this message pops up at some point:
But no matter what I select except
Restart steamwebhelper
the Flatpak quits and nothing more happens. WhenRestart steamwebhelper
is selected sometimes the steam UI shows up but I cannot select anything from any dropdowns and cannot change most of the settings sliders. But most of the time this is logged and nothing happens:[2023-09-22 21:56:53] Background update loop checking for update. . . [2023-09-22 21:56:53] Checking for available updates... [2023-09-22 21:56:53] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12?t=3700310497 [2023-09-22 21:56:53] Manifest download: send request [2023-09-22 21:56:53] Manifest download: waiting for download to finish [2023-09-22 21:56:54] Manifest download: finished [2023-09-22 21:56:54] Download skipped: /steam_client_ubuntu12?t=3700310497 version 1694466342, installed version 1694466342, existing pending version 0 [2023-09-22 21:56:54] Nothing to do
So we’re a bit further with this now. I now get an error message most of the time and occasionally can see the steam UI with partial access 🤣
So, who knows … maybe 2-3 more months and I can use Steam again like before …