The short-term solution is to either make the Flatpak app run Steam with -no-cef-sandbox automatically, or make steamwebhelper.sh run steamwebhelper with --no-sandbox if a Flatpak environment is detected.
The ideal long-term solution is to teach the Chromium-derived browser framework used in steamwebhelper to use Flatpak "subsandboxing" if a Flatpak environment is detected, similar to the patched version of Chromium available from Flathub. However, this is a very involved change and will not happen quickly. Until then, workarounds will be necessary.
@kisak-valve, please could you label this Flathub-provided steam package?
https://github.com/flathub/com.valvesoftware.Steam/pull/870 has a workaround for this, which will keep things working until a better solution can be found (either in Steam, or in the Flatpak app, or more likely both).
Your system information
Steps for reproducing this issue:
com.valvesoftware.Steam//beta(it has a workaround for this issue)Please describe your issue in as much detail as possible:
The
steamwebhelperprocess that provides most of Steam's UI crashes repeatedly, resulting in Steam's main window (the Library, Store, etc.) being blank rectangles (usually black).The main Steam process repeatedly logs:
and also
~/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/steamwebhelper.logcontains:as well as some noise related to Steam's crash-reporting mechanism.
~/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txthas the same message as in~/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/steamwebhelper.log.This was previously reported in https://github.com/ValveSoftware/steam-for-linux/issues/8373 as the third of three possible root causes for symptoms like these.
Workarounds
Choose any one of these:
-no-cef-sandboxcommand-line option (flatpak run com.valvesoftware.Steam -no-cef-sandbox)com.valvesoftware.Steam//beta, until this is resolvedThis is not necessarily the same bug you are seeing
Any bug that results in the
steamwebhelpercrashing will result in the same symptom where the main window is mostly black. This does not mean that the root cause is the same as the one described here.This particular issue is specific to the unofficial Flatpak app. It is not applicable to native Steam packages such as the official one provided by Valve or the unofficial packages provided by Arch, Debian, Ubuntu, RPMFusion, etc. that do not run in a Flatpak sandbox. If you are using one of those native Steam packages, and you are seeing similar symptoms, then you must be seeing them for a different reason.