Closed dvt-rcx closed 2 years ago
Hello @dvt-rcx, if you completely close Steam, then run steam
from a terminal, does the terminal spew give any hints? Also, if possible, please copy your system information from Steam (Steam
-> Help
-> System Information
) and put it in a gist, then include a link to the gist in this issue report.
Will do shortly, device is currently obstructed by cat.
does the terminal spew give any hints? This is what terminal is spewing for me, nothing that stands out to me:
Gist has been added to the post, but here is another link for redundancy: https://gist.github.com/dvt-rcx/bbaf43342b8e489c465af857e06623b0
For clarity, the question we're pondering here is why Steam's web component, libcef is failing to initialize and this needs a fairly decent hint to make sense of what has gone awry.
Reading through your system information /root/.steam/debian-installation
tells us you're running Steam as root, and you're using the distro-modified Steam package, not the Valve-provided Steam package like you initially claimed.
Running Steam as root is explicitly unsupported and provides absolutely no benefit to you. Please use a regular unprivileged user account. For most things, the difference in Steam packages doesn't really matter, but they do cause Steam to be installed with different folder layouts which moves things like the location of log files. The distro-modified Steam package could be intercepting hints and sticking it somewhere like ~/.steam/error.log
. Please share that log and ~/.steam/debian-installation/logs/steamwebhelper.log
.
As a secondary note, it appears you have the NVIDIA 390 series video driver installed. This shouldn't matter for the issue being pondered now, but keep it in mind if you have trouble down the road like https://github.com/ValveSoftware/steam-runtime/issues/420.
That does make sense, and I apologize if I misunderstood/misled with anything here.
My trouble is that installing/running as root seems to be what's happening by default here. I've reinstalled a number of times through my Package Manager, running the installation file from steampowered.com, and straight from my Terminal. Evidently it's installed as root each time, and I don't know how to make it not do that. I haven't had this issue with any other program, but I am fairly new to Linux and I don't mean to waste your time with an issue that's not related to anything you can fix.
That said, if you have any guidance or know why this would be happening, I would greatly appreciate your help on this.
I'm also unable to find any of those logs that you're referring to, my /Steam/logs
folder seems to only contain bootstrap_log.txt
I restarted primarily for a mesa update, and after getting back to my desktop Steam installed the beta update I'm on now. And now I have the same issue. Black/white pages, friends list won't open.
I don't have an error.log to share, but I have a console log and steamwebhelper.log. steam console log.txt steamwebhelper.log
Opted out of beta and it does not have this issue, so it definitely seems to be something the latest beta changed in my case.
I am experiencing the same issue with my flatpak install on Arch Linux.
System information
Distro: Arch Linux
GPU: AMD AMD Radeon VII (VEGA20, DRM 3.42.0, 5.15.16-hardened1-1-hardened, LLVM 12.0.1)
Desktop Environment: KDE
Flatpak version: 1.12.4
Steam Flatpak version: 1.0.0.74 (updated today but the issue was also present with the previous installed version)
Steam Beta Opt-In: Yes
Operating System Version:
Description: Freedesktop.org 21.08.9 (Flatpak runtime) (64 bit)
Kernel Name: Linux
Kernel Version: 5.15.16-hardened1-1-hardened
X Server Vendor: The X.Org Foundation
X Server Release: 12101003
X Window Manager: KWin
Steam Runtime Version: steam-runtime_0.20220119.0
By switching from beta opt-in back to standard release, the issue disappears. So it seems to be related to some changes in the current beta version of Steam.
Hello @BafDyce, please give #8373 a read and see if that is the issue you're seeing instead of the issue reported here.
@kisak-valve Yes, the referenced issue is the same for me (same error message). Will give the suggested workaround a try and will report back there. Thanks for the quick response btw :)
Is this similar to https://github.com/ValveSoftware/steam-for-linux/issues/8405 ?
In the hope that this will make it a bit more obvious what is going on here:
All the UI elements being black rectangles is a symptom, not a cause. It usually means the steamwebhelper
component is crashing, which could happen for any number of reasons. If you are seeing this symptom, it might not be for the same reason as other people.
-no-cef-sandbox
option. The three causes discussed in #8373 are: 1. having a new version of glibc; 2. having a locked-down kernel where unprivileged users are not allowed to create new user namespaces (containers); 3. running Steam as a Flatpak app.@DonKatsu is using Fedora 35 and mentioned on #8373 that -no-cef-sandbox
is a successful workaround, so it seems that they were experiencing one of the variations of #8373 (probably the first one), so I'm going to ignore their comment on this issue.
@BafDyce is using Flatpak, so presumably they were affected by the third variation of #8373, and I'm going to ignore their comment on this issue.
-no-cef-sandbox
option. We don't know yet what is happening in #8405, and we don't have enough information to know whether #8349 and #8405 are the same.It is probably best to assume they are not the same. If they're tracked as separate issues but are actually the same, then fixing one of them will turn out to solve the other one, at which point it's easy to close the second one as having been a duplicate. If they're tracked as one issue but are actually two separate things, then that has the potential to waste a lot of time on tracking which parts have been fixed and which parts have not.
Returning to what is happening to @dvt-rcx specifically:
My trouble is that installing/running as root seems to be what's happening by default here. I've reinstalled a number of times through my Package Manager, running the installation file from steampowered.com, and straight from my Terminal. Evidently it's installed as root each time, and I don't know how to make it not do that.
Here's what is meant to happen:
.deb
package, somehow: either the Valve-provided steam-launcher
package from repo.steampowered.com
(preferred), or the steam
package from Debian/Ubuntu/Mint (this is unofficial from Valve's perspective, but usually works). This step is installing a system-level package, so it has to be done with privileges - perhaps as root, or perhaps by using sudo
or pkexec
, or perhaps by using a PackageKit-based package manager like GNOME Software. The package contains the Steam "bootstrapper", which is a minimal version of Steam that is just large enough to download the rest.steam
command in a terminal. The "bootstrapper" downloads the rest of Steam and unpacks it into somewhere in your home directory, usually either ~/.local/share/Steam
or ~/.steam/debian-installation
(either one works).steam
command in a terminal. The data in ~/.local/share/Steam
or ~/.steam/debian-installation
will be updated to the latest version automatically.If you were installing the .deb
package by logging in to a full GUI environment as root
, then you should log out, log back in as an ordinary user, and launch Steam as the ordinary user.
If you were already logged in as an ordinary user, then it might help to describe exactly what you did to install and run Steam for the first time.
If you don't already have lots of games, saved data, etc., it might work best to remove the hidden directory ~/.steam
completely, and start again from a clean slate.
I suspect that the black rectangles might be caused by the web component that is meant to appear in those locations refusing to run as root for security reasons.
using the distro-modified Steam package, not the Valve-provided Steam package like you initially claimed
It is possible that @dvt-rcx is now using the Valve-provided Steam package, but had previously run it from the distro-modified Steam package. If you run Steam from one of the Debian/Ubuntu/Mint-provided packages (which default to ~/.steam/debian-installation
), and subsequently switch to the Valve-provided package from repo.steampowered.com
(which defaults to ~/.local/share/Steam
), it will continue to use ~/.steam/debian-installation
as the base directory of your Steam installation, to avoid losing your existing Steam data.
This should be harmless: the setup with ~/.steam/debian-installation
is unusual, but works. The really problematic scenario is with old Debian/Ubuntu/Mint packages that used ~/.steam
as the base directory (which was wrong), but if your installation path contains debian-installation
then you have avoided that problem.
@kisak-valve, it might make sense to retitle this to something like "Various problems when run as root", and perhaps label it "Needs information" + "wontfix" or something, so that other people with the symptom of a crashing steamwebhelper
(black window, no web content) won't think this one is directly relevant to them.
Your system information HP Envy x360 Graphics: Intel UHD Graphics 620 Vendor: Hewlett-Packard Driver: i915 Gist of full info: https://gist.github.com/dvt-rcx/bbaf43342b8e489c465af857e06623b0
Please describe your issue in as much detail as possible:
Unable to launch Steam via shortcuts, requires using terminal. Upon launch all interfaces appear with black screen, no interactables (as seen here).
Additionally, chat connection cannot be established, "Friends and chat" option brings up nothing, and attempting to use steam-dependent services such as multiplayer yields no results. This is despite login server functioning as expected.
Games can be installed and launched via Big Picture mode, though other online services (chat, store, etc.) cannot be accessed. Games can also be launched through tray icon actions.
Expected: Steam functions normally.
Steps for reproducing this issue: