There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Flatpak Steam crashes on startup

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


<span style="color:#323232;">[various update-related stuff]
</span><span style="color:#323232;">setup.sh[4598]: Forced use of runtime version for 32-bit libcurl.so.4
</span><span style="color:#323232;">setup.sh[4598]: Found newer runtime version for 32-bit libSDL2-2.0.so.0. Host: 0.2400.0 Runtime: 0.2600.5
</span><span style="color:#323232;">setup.sh[4598]: Forced use of runtime version for 32-bit libgtk-x11-2.0.so.0
</span><span style="color:#323232;">setup.sh[4598]: Found newer runtime version for 32-bit libvulkan.so.1. Host: 1.3.224 Runtime: 1.3.239
</span><span style="color:#323232;">setup.sh[4598]: Forced use of runtime version for 32-bit libdbusmenu-glib.so.4
</span><span style="color:#323232;">setup.sh[4598]: Forced use of runtime version for 32-bit libcurl-gnutls.so.4
</span><span style="color:#323232;">setup.sh[4598]: Forced use of runtime version for 32-bit libdbusmenu-gtk.so.4
</span><span style="color:#323232;">setup.sh[4598]: Forced use of runtime version for 64-bit libcurl.so.4
</span><span style="color:#323232;">setup.sh[4598]: Found newer runtime version for 64-bit libSDL2-2.0.so.0. Host: 0.2400.0 Runtime: 0.2600.5
</span><span style="color:#323232;">setup.sh[4598]: Found newer runtime version for 64-bit libvulkan.so.1. Host: 1.3.224 Runtime: 1.3.239
</span><span style="color:#323232;">setup.sh[4598]: Forced use of runtime version for 64-bit libcurl-gnutls.so.4
</span><span style="color:#323232;">steam.sh[2]: Steam client's requirements are satisfied
</span>

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:


<span style="color:#323232;">[2023-08-17 22:47:50] Startup - updater built Jul 28 2023 18:44:09
</span><span style="color:#323232;">[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'
</span><span style="color:#323232;">08/17 22:47:50 Init: Installing breakpad exception handler for appid(steam)/version(1690583737)/tid(5467)
</span><span style="color:#323232;">[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)
</span><span style="color:#323232;">[2023-08-17 22:47:50] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
</span><span style="color:#323232;">[2023-08-17 22:47:50] Using the following download hosts for Public, Realm steamglobal
</span><span style="color:#323232;">[2023-08-17 22:47:50] 1. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
</span><span style="color:#323232;">[2023-08-17 22:47:50] Verifying installation...
</span><span style="color:#323232;">[2023-08-17 22:47:50] Verification complete
</span><span style="color:#323232;">XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf0d328f0
</span><span style="color:#323232;">XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf0d311c0
</span><span style="color:#323232;">GetWin32Stats: display was not open yet, good
</span><span style="color:#323232;">GetWin32Stats: display was not open yet, good
</span>

(The last line gets printed twice, yes.)

The first startup process then hangs there for a few seconds and continues with this.


<span style="color:#323232;">steamwebhelper.sh[5473]: Running under Flatpak, disabling sandbox
</span><span style="color:#323232;">steamwebhelper.sh[5473]: CEF sandbox already disabled
</span><span style="color:#323232;">CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
</span><span style="color:#323232;">src/steamUI/steamuisharedjscontroller.cpp (540) : Failed creating offscreen shared JS context
</span><span style="color:#323232;">src/steamUI/steamuisharedjscontroller.cpp (540) : Fatal assert; application exiting
</span><span style="color:#323232;">08/17 22:48:39 Init: Installing breakpad exception handler for appid(steam)/version(1690583737)/tid(5467)
</span><span style="color:#323232;">assert_20230817224839_27.dmp[5771]: Uploading dump (out-of-process)
</span><span style="color:#323232;">/tmp/dumps/assert_20230817224839_27.dmp
</span><span style="color:#323232;">dirk ~ $ 
</span>

After the command prompt is shown agein, this gets printed:


<span style="color:#323232;">assert_20230817224839_27.dmp[5771]: Finished uploading minidump (out-of-process): success = yes
</span><span style="color:#323232;">assert_20230817224839_27.dmp[5771]: response: CrashID=bp-f62fb7e8-d024-452e-a937-9c6672230817
</span><span style="color:#323232;">assert_20230817224839_27.dmp[5771]: file ''/tmp/dumps/assert_20230817224839_27.dmp'', upload yes: ''CrashID=bp-f62fb7e8-d024-452e-a937-9c6672230817''
</span>

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:


<span style="color:#323232;">$ flatpak --version
</span><span style="color:#323232;">Flatpak 1.15.4
</span><span style="color:#323232;">
</span><span style="color:#323232;">$ flatpak remotes
</span><span style="color:#323232;">Name    Optionen
</span><span style="color:#323232;">flathub system
</span><span style="color:#323232;">
</span><span style="color:#323232;">$ flatpak info com.valvesoftware.Steam | grep Version | awk '{print $2}'
</span><span style="color:#323232;">1.0.0.78
</span><span style="color:#323232;">
</span><span style="color:#323232;">$ uname -rms
</span><span style="color:#323232;">Linux 6.4.10-arch1-1 x86_64
</span><span style="color:#323232;">
</span><span style="color:#323232;">$ openbox --version | head -n1
</span><span style="color:#323232;">Openbox 3.6.1
</span><span style="color:#323232;">
</span><span style="color:#323232;">$ pacman -Qi xorg-server | grep Version | awk '{print $3}'
</span><span style="color:#323232;">21.1.8-2
</span>
Dirk OP ,
@Dirk@lemmy.ml avatar

Hey @DeeBeeDouble 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):


<span style="color:#323232;">INFO:root:https://github.com/flathub/com.valvesoftware.Steam/wiki
</span><span style="color:#323232;">INFO:root:Will set XDG dirs prefix to /home/dirk/.var/app/com.valvesoftware.Steam
</span><span style="color:#323232;">DEBUG:root:Checking input devices permissions
</span><span style="color:#323232;">WARNING:root:Missing permissions for input devices
</span><span style="color:#323232;">INFO:root:Overriding TZ to Europe/Berlin
</span><span style="color:#323232;">steam.sh[2]: Running Steam on org.freedesktop.platform 23.08 64-bit
</span><span style="color:#323232;">steam.sh[2]: STEAM_RUNTIME is enabled automatically
</span><span style="color:#323232;">setup.sh[74]: Steam runtime environment up-to-date!
</span><span style="color:#323232;">steam.sh[2]: Steam client's requirements are satisfied
</span><span style="color:#323232;">[2023-09-22 21:54:27] Startup - updater built Sep 11 2023 20:48:54
</span><span style="color:#323232;">[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'
</span><span style="color:#323232;">09/22 21:54:27 Init: Installing breakpad exception handler for appid(steam)/version(1694466342)/tid(137)
</span><span style="color:#323232;">[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)
</span><span style="color:#323232;">[2023-09-22 21:54:27] Using the following download hosts for Public, Realm steamglobal
</span><span style="color:#323232;">[2023-09-22 21:54:27] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
</span><span style="color:#323232;">[2023-09-22 21:54:27] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
</span><span style="color:#323232;">[2023-09-22 21:54:27] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
</span><span style="color:#323232;">[2023-09-22 21:54:27] Verifying installation...
</span><span style="color:#323232;">[2023-09-22 21:54:27] Verification complete
</span><span style="color:#323232;">
</span><span style="color:#323232;">Steam logging initialized: directory: /home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs
</span><span style="color:#323232;">
</span><span style="color:#323232;">XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf044a8f0
</span><span style="color:#323232;">XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf04491c0
</span><span style="color:#323232;">steamwebhelper.sh[143]: Runtime for steamwebhelper: defaulting to /home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
</span><span style="color:#323232;">steamwebhelper.sh[143]: Running under Flatpak, disabling sandbox
</span><span style="color:#323232;">steamwebhelper.sh[143]: CEF sandbox already disabled
</span><span style="color:#323232;">CAppInfoCacheReadFromDiskThread took 35 milliseconds to initialize
</span><span style="color:#323232;">Steam Runtime Launch Service: starting steam-runtime-launcher-service
</span><span style="color:#323232;">Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 222
</span><span style="color:#323232;">steam-runtime-launcher-service[222]: E: Unable to acquire bus name "com.steampowered.PressureVessel.LaunchAlongsideSteam"
</span><span style="color:#323232;">Steam Runtime Launch Service: steam-runtime-launcher-service pid 222 exited
</span><span style="color:#323232;">Steam Runtime Launch Service: starting steam-runtime-launcher-service
</span><span style="color:#323232;">Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 250
</span><span style="color:#323232;">steam-runtime-launcher-service[250]: E: Unable to acquire bus name "com.steampowered.PressureVessel.LaunchAlongsideSteam"
</span><span style="color:#323232;">Steam Runtime Launch Service: steam-runtime-launcher-service pid 250 exited
</span><span style="color:#323232;">Steam Runtime Launch Service: starting steam-runtime-launcher-service
</span><span style="color:#323232;">Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 259
</span><span style="color:#323232;">steam-runtime-launcher-service[259]: E: Unable to acquire bus name "com.steampowered.PressureVessel.LaunchAlongsideSteam"
</span><span style="color:#323232;">Steam Runtime Launch Service: steam-runtime-launcher-service pid 259 exited
</span><span style="color:#323232;">Steam Runtime Launch Service: steam-runtime-launcher-service keeps crashing on startup, disabling
</span><span style="color:#323232;">src/steamUI/steamuisharedjscontroller.cpp (543) : Failed creating offscreen shared JS context
</span><span style="color:#323232;">src/steamUI/steamuisharedjscontroller.cpp (543) : Failed creating offscreen shared JS context
</span><span style="color:#323232;">09/22 21:55:16 Init: Installing breakpad exception handler for appid(steam)/version(1694466342)/tid(137)
</span><span style="color:#323232;">assert_20230922215516_28.dmp[266]: Uploading dump (out-of-process)
</span><span style="color:#323232;">/tmp/dumps/assert_20230922215516_28.dmp
</span><span style="color:#323232;">assert_20230922215516_28.dmp[266]: Finished uploading minidump (out-of-process): success = yes
</span><span style="color:#323232;">assert_20230922215516_28.dmp[266]: response: CrashID=bp-0f81ef33-d093-4fd1-b98c-8bd202230922
</span><span style="color:#323232;">assert_20230922215516_28.dmp[266]: file ''/tmp/dumps/assert_20230922215516_28.dmp'', upload yes: ''CrashID=bp-0f81ef33-d093-4fd1-b98c-8bd202230922''
</span><span style="color:#323232;">steamwebhelper.sh[278]: Runtime for steamwebhelper: defaulting to /home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
</span><span style="color:#323232;">steamwebhelper.sh[278]: Running under Flatpak, disabling sandbox
</span><span style="color:#323232;">steamwebhelper.sh[278]: CEF sandbox already disabled
</span>

During this log output this message pops up at some point:

https://lemmy.ml/pictrs/image/74b62a22-3a2f-442a-8fe3-046bbe9612f3.png

But no matter what I select except Restart steamwebhelper the Flatpak quits and nothing more happens. When Restart 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:


<span style="color:#323232;">[2023-09-22 21:56:53] Background update loop checking for update. . .
</span><span style="color:#323232;">[2023-09-22 21:56:53] Checking for available updates...
</span><span style="color:#323232;">[2023-09-22 21:56:53] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12?t=3700310497
</span><span style="color:#323232;">[2023-09-22 21:56:53] Manifest download: send request
</span><span style="color:#323232;">[2023-09-22 21:56:53] Manifest download: waiting for download to finish
</span><span style="color:#323232;">[2023-09-22 21:56:54] Manifest download: finished
</span><span style="color:#323232;">[2023-09-22 21:56:54] Download skipped: /steam_client_ubuntu12?t=3700310497 version 1694466342, installed version 1694466342, existing pending version 0
</span><span style="color:#323232;">[2023-09-22 21:56:54] Nothing to do
</span>

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 …

Jontique ,

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

DeeBeeDouble , (edited )
@DeeBeeDouble@lemmy.ml avatar

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

Dirk OP ,
@Dirk@lemmy.ml avatar

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.


<span style="color:#323232;">rm -r ~/.var/app/com.valvesoftware.Steam/.local/share/Steam/                    
</span><span style="color:#323232;">rm -r ~/.var/app/com.valvesoftware.Steam/.steam/
</span><span style="color:#323232;">rm ~/.var/app/com.valvesoftware.Steam/.steampath
</span><span style="color:#323232;">rm ~/.var/app/com.valvesoftware.Steam/.steampid
</span><span style="color:#323232;">rm -r ~/.var/app/com.valvesoftware.Steam/.cache/nvidia/GLCache/
</span>

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.


<span style="color:#323232;">$ pacman -Ss xdg-desktop | grep installed
</span><span style="color:#323232;">extra/xdg-desktop-portal 1.16.0-3 [installed]
</span><span style="color:#323232;">extra/xdg-desktop-portal-gtk 1.14.1-1 [installed]
</span>

I can’t remove those because botha are directly and/or indirectlz dependencies for Flatpak.

DeeBeeDouble ,
@DeeBeeDouble@lemmy.ml avatar

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.

Dirk OP ,
@Dirk@lemmy.ml avatar

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


<span style="color:#323232;">[...]
</span><span style="color:#323232;">GetWin32Stats: display was not open yet, good
</span><span style="color:#323232;">GetWin32Stats: display was not open yet, good
</span><span style="color:#323232;">steamwebhelper.sh[159]: Runtime for steamwebhelper: defaulting to /home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
</span><span style="color:#323232;">steamwebhelper.sh[159]: Running under Flatpak, disabling sandbox
</span><span style="color:#323232;">steamwebhelper.sh[159]: CEF sandbox already disabled
</span><span style="color:#323232;">CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
</span><span style="color:#323232;">src/steamUI/steamuisharedjscontroller.cpp (540) : Failed creating offscreen shared JS context
</span><span style="color:#323232;">src/steamUI/steamuisharedjscontroller.cpp (540) : Fatal assert; application exiting
</span><span style="color:#323232;">08/18 11:32:52 Init: Installing breakpad exception handler for appid(steam)/version(1690583737)/tid(152)
</span><span style="color:#323232;">assert_20230818113252_28.dmp[273]: Uploading dump (out-of-process)
</span><span style="color:#323232;">/tmp/dumps/assert_20230818113252_28.dmp
</span><span style="color:#323232;">dirk ~ $
</span><span style="color:#323232;">assert_20230818113252_28.dmp[273]: Finished uploading minidump (out-of-process): success = yes
</span><span style="color:#323232;">assert_20230818113252_28.dmp[273]: response: CrashID=bp-ccf87007-b170-434a-ad01-b780e2230818
</span><span style="color:#323232;">assert_20230818113252_28.dmp[273]: file ''/tmp/dumps/assert_20230818113252_28.dmp'', upload yes: ''CrashID=bp-ccf87007-b170-434a-ad01-b780e2230818''
</span>

-no-cef-sandbox

This unfortunately makes no difference.

DeeBeeDouble , (edited )
@DeeBeeDouble@lemmy.ml avatar

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.

Dirk OP ,
@Dirk@lemmy.ml avatar

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:


<span style="color:#323232;">GetWin32Stats: display was not open yet, good
</span><span style="color:#323232;">GetWin32Stats: display was not open yet, good
</span><span style="color:#323232;">steamwebhelper.sh[5479]: Runtime for steamwebhelper: defaulting to /home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
</span><span style="color:#323232;">steamwebhelper.sh[5479]: Running under Flatpak, disabling sandbox
</span><span style="color:#323232;">steamwebhelper.sh[5479]: CEF sandbox already disabled
</span><span style="color:#323232;">CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
</span><span style="color:#323232;">src/steamUI/steamuisharedjscontroller.cpp (540) : Failed creating offscreen shared JS context
</span><span style="color:#323232;">src/steamUI/steamuisharedjscontroller.cpp (540) : Fatal assert; application exiting
</span><span style="color:#323232;">08/18 23:36:47 Init: Installing breakpad exception handler for appid(steam)/version(1690583737)/tid(5473)
</span><span style="color:#323232;">assert_20230818233647_29.dmp[5780]: Uploading dump (out-of-process)
</span><span style="color:#323232;">/tmp/dumps/assert_20230818233647_29.dmp
</span><span style="color:#323232;">dirk ~ $
</span><span style="color:#323232;">assert_20230818233647_29.dmp[5780]: Finished uploading minidump (out-of-process): success = yes
</span><span style="color:#323232;">assert_20230818233647_29.dmp[5780]: response: CrashID=bp-9ef905ea-c25f-429b-9f2a-2ce832230818
</span><span style="color:#323232;">assert_20230818233647_29.dmp[5780]: file ''/tmp/dumps/assert_20230818233647_29.dmp'', upload yes: ''CrashID=bp-9ef905ea-c25f-429b-9f2a-2ce832230818''
</span>

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 first GetWin32Stats: display was not open yet, good and circa the same duration onn CAppInfoCacheReadFromDiskThread 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 …


<span style="color:#323232;">$ flatpak list
</span><span style="color:#323232;">Name                            Anwendungskennung                                        Version            Zweig                 Installation
</span><span style="color:#323232;">Pixelorama                      com.orama_interactive.Pixelorama                         0.11.1             stable                system
</span><span style="color:#323232;">Steam                           com.valvesoftware.Steam                                  1.0.0.78           stable                system
</span><span style="color:#323232;">Airshipper                      net.veloren.airshipper                                   0.10.0             stable                system
</span><span style="color:#323232;">Freedesktop Platform            org.freedesktop.Platform                                 22.08.14           22.08                 system
</span><span style="color:#323232;">i386                            org.freedesktop.Platform.Compat.i386                                        22.08                 system
</span><span style="color:#323232;">Mesa                            org.freedesktop.Platform.GL.default                      23.1.4             22.08                 system
</span><span style="color:#323232;">Mesa (Extra)                    org.freedesktop.Platform.GL.default                      23.1.4             22.08-extra           system
</span><span style="color:#323232;">nvidia-535-98                   org.freedesktop.Platform.GL.nvidia-535-98                                   1.4                   system
</span><span style="color:#323232;">Mesa                            org.freedesktop.Platform.GL32.default                    23.1.4             22.08                 system
</span><span style="color:#323232;">Mesa (Extra)                    org.freedesktop.Platform.GL32.default                    23.1.4             22.08-extra           system
</span><span style="color:#323232;">nvidia-535-86-05                org.freedesktop.Platform.GL32.nvidia-535-86-05                              1.4                   system
</span><span style="color:#323232;">nvidia-535-98                   org.freedesktop.Platform.GL32.nvidia-535-98                                 1.4                   system
</span><span style="color:#323232;">openh264                        org.freedesktop.Platform.openh264                        2.1.0              2.2.0                 system
</span>

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.

DeeBeeDouble ,
@DeeBeeDouble@lemmy.ml avatar

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?

Dirk OP ,
@Dirk@lemmy.ml avatar

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:


<span style="color:#323232;">GetWin32Stats: display was not open yet, good
</span><span style="color:#323232;">GetWin32Stats: display was not open yet, good
</span><span style="color:#323232;">steamwebhelper.sh[5479]: Runtime for steamwebhelper: defaulting to /home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
</span><span style="color:#323232;">steamwebhelper.sh[5479]: Running under Flatpak, disabling sandbox
</span><span style="color:#323232;">steamwebhelper.sh[5479]: CEF sandbox already disabled
</span><span style="color:#323232;">CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
</span><span style="color:#323232;">src/steamUI/steamuisharedjscontroller.cpp (540) : Failed creating offscreen shared JS context
</span><span style="color:#323232;">src/steamUI/steamuisharedjscontroller.cpp (540) : Fatal assert; application exiting
</span><span style="color:#323232;">08/19 00:40:11 Init: Installing breakpad exception handler for appid(steam)/version(1690583737)/tid(5473)
</span><span style="color:#323232;">assert_20230819004011_29.dmp[5779]: Uploading dump (out-of-process)
</span><span style="color:#323232;">/tmp/dumps/assert_20230819004011_29.dmp
</span><span style="color:#323232;">dirk ~ $
</span><span style="color:#323232;">assert_20230819004011_29.dmp[5779]: Finished uploading minidump (out-of-process): success = yes
</span><span style="color:#323232;">assert_20230819004011_29.dmp[5779]: response: CrashID=bp-5698e954-748a-45d6-a5d4-7aa7a2230818
</span><span style="color:#323232;">assert_20230819004011_29.dmp[5779]: file ''/tmp/dumps/assert_20230819004011_29.dmp'', upload yes: ''CrashID=bp-5698e954-748a-45d6-a5d4-7aa7a2230818''
</span>

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:

nopaste.net/QJI3c2Amz5

DeeBeeDouble ,
@DeeBeeDouble@lemmy.ml avatar

I am pretty sure that it has to do something specificially with the Steam Flatpak

That is also possible. But then why is it working for everyone else? I used the steam flatpak multiple times today with no issues. I guess you could also ask the same question for the system package issue theory.

How about the package manager version? Is that working? That could give some hints on whether it’s the system or the Flatpak package.

Arch, yes. This is what all the people who had to remove xdg Desktop portal use. How could they remove it if it’s a dependency of flatpak? Maybe they don’t have flatpak.

If you have too much time on your hands, you could try another fresh arch installation on another hard-drive. If it works there, we know it has to be a system package. If it doesn’t, it’s probably the Flatpak.

Dirk OP , (edited )
@Dirk@lemmy.ml avatar

But then why is it working for everyone else?

That’s the question here :) Flatpak it self can’t be the issue because other Flatpaks work. My system can’t be the issue because my system works. And yes, the Steam Flatpak on it’s own also can’t be the issue because then more people would be affected and I would find something during web research.

How about the package manager version?

There isn’t really a Steam version in the repos but only in multilib. So I enabled it and installed steam from there. It also crashes. The only difference is that there are some fontconfig things it cannot understand.


<span style="color:#323232;">GetWin32Stats: display was not open yet, good
</span><span style="color:#323232;">GetWin32Stats: display was not open yet, good
</span><span style="color:#323232;">steamwebhelper.sh[19338]: Runtime for steamwebhelper: defaulting to /home/dirk/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
</span><span style="color:#323232;">steamwebhelper.sh[19338]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
</span><span style="color:#323232;">Fontconfig warning: line 5: unknown element "description"
</span><span style="color:#323232;">Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "description"
</span><span style="color:#323232;">Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "description"
</span><span style="color:#323232;">Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
</span><span style="color:#323232;">Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
</span><span style="color:#323232;">Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
</span><span style="color:#323232;">Fontconfig warning: "/etc/fonts/conf.d/10-sub-pixel-rgb.conf", line 4: unknown element "description"
</span><span style="color:#323232;">Fontconfig warning: "/etc/fonts/conf.d/10-yes-antialias.conf", line 4: unknown element "description"
</span><span style="color:#323232;">Fontconfig warning: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 4: unknown element "description"
</span><span style="color:#323232;">Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 4: unknown element "description"
</span><span style="color:#323232;">Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 4: unknown element "description"
</span><span style="color:#323232;">Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 4: unknown element "description"
</span><span style="color:#323232;">Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 4: unknown element "description"
</span><span style="color:#323232;">Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 4: unknown element "description"
</span><span style="color:#323232;">Fontconfig warning: "/etc/fonts/conf.d/48-spacing.conf", line 4: unknown element "description"
</span><span style="color:#323232;">Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 4: unknown element "description"
</span><span style="color:#323232;">Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 4: unknown element "description"
</span><span style="color:#323232;">Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 4: unknown element "description"
</span><span style="color:#323232;">Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 4: unknown element "description"
</span><span style="color:#323232;">Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 4: unknown element "description"
</span><span style="color:#323232;">Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 4: unknown element "description"
</span><span style="color:#323232;">CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
</span><span style="color:#323232;">src/steamUI/steamuisharedjscontroller.cpp (540) : Failed creating offscreen shared JS context
</span><span style="color:#323232;">src/steamUI/steamuisharedjscontroller.cpp (540) : Fatal assert; application exiting
</span><span style="color:#323232;">08/19 01:26:26 Init: Installing breakpad exception handler for appid(steam)/version(1690583737)/tid(19319)
</span><span style="color:#323232;">assert_20230819012626_30.dmp[19438]: Uploading dump (out-of-process)
</span><span style="color:#323232;">/tmp/dumps/assert_20230819012626_30.dmp
</span><span style="color:#323232;">dirk ~ $
</span><span style="color:#323232;">assert_20230819012626_30.dmp[19438]: Finished uploading minidump (out-of-process): success = yes
</span><span style="color:#323232;">assert_20230819012626_30.dmp[19438]: response: CrashID=bp-175add07-33af-421a-a870-828612230818
</span><span style="color:#323232;">assert_20230819012626_30.dmp[19438]: file ''/tmp/dumps/assert_20230819012626_30.dmp'', upload yes: ''CrashID=bp-175add07-33af-421a-a870-828612230818''
</span>

So it’s Steam in combination with my system. This time the mentioned dump is there but it does not contain any information I could use/understand.

This is what all the people who had to remove xdg Desktop portal use. How could they remove it if it’s a dependency of flatpak?

When reinstalling Flatpak it asked for xdg-desktop-portal-impl to be installed and offered multiple packages that provide it.


<span style="color:#323232;">dirk ~ $ pacman -Ss xdg-desktop-portal | grep installed
</span><span style="color:#323232;">extra/xdg-desktop-portal 1.16.0-3 [installed]
</span><span style="color:#323232;">extra/xdg-desktop-portal-gtk 1.14.1-1 [installed]
</span>

It also worked earlier during testing (at least one time it started up and let me log in but subsequently it crashed on any of the further tries) so all dependencies are satisfied.

DeeBeeDouble ,
@DeeBeeDouble@lemmy.ml avatar

Okay… Now that you have the non flatpak steam, could you remove flatpak and xdg-desktop-portal*?

Reboot and launch steam again.

This is the last idea I have for now… If this also doesn’t help, it is probably a different issue than this and this, and you should report it to valve.

Dirk OP ,
@Dirk@lemmy.ml avatar

Thanks for all your help with this. Unfortunately Steam still scrashes. The xdg-pdesktop-portal packages aren’t installed. Only the Flatpak package seems to have them as hard dependency.

Valve said they won’t give any support here because I’m not using Ubuntu with Gnome.

So no more Steam games for me, I guess …

DeeBeeDouble ,
@DeeBeeDouble@lemmy.ml avatar

This just can’t be…

After some deep digging, I found one last Idea. Try launching steam with the -vgui flag and let me know if that works.

Dirk OP ,
@Dirk@lemmy.ml avatar

This just can’t be…

Yep. This makes no sense at all. But I have no idea what to try anymore.

Try launching steam with the -vgui flag

Unfortunately this does not change the behavior. It still does the same thing as described before.

DeeBeeDouble ,
@DeeBeeDouble@lemmy.ml avatar

Well that’s that then. I also have no idea what to try anymore… I guess you’ll just have to wait until some random update fixes the issue. Sorry.

Edit: Since you reinstalled everything, I think it could be some cache on your system that went bad. That would explain why both the Flatpak and native versions don’t work and why the rest of your system works. But I have no idea where that cache might be…

Dirk OP ,
@Dirk@lemmy.ml avatar

Yep … It magically broke so it hopefully will magically be fixed 😀

Thanks for all your support on this!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • lifeLocal
  • goranko
  • All magazines