You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Library pinning fails if zenity is not installed #458
Please describe your issue in as much detail as possible:
After installing the latest beta client update today and restarting Steam, I was greeted with completely black UI elements, specifically the "main" elements in every section of the application.
These are screenshot of the issue, taken for the "Store" and "Library" sections, but the others are the same:
Menu items and secondary windows (like the "Settings" window) work ok.
Big Picture mode also works and is now the only way I have to see something in Steam.
Before restarting steam, I saw in the incoming changes that there was a fix for issue ValveSoftware/steam-for-linux#7935, which should fix a really similar issue for users with a system-wide freetype-2.11.x library. This is clearly not my case, as my system sports freetype-2.6.3, but maybe the fix applied for ValveSoftware/steam-for-linux#7935 broke something for previous freetype versions.
When launching steam from the terminal, i can see a bunch of src/vgui2/vgui_surfacelib/FontManager.cpp (287) : Assertion Failed: descs.Count() >= 1 messages. Don't know if this can be relevant or not.
Steps for reproducing this issue:
start the aforementioned client beta version
Reacted by James Pearson and Molly M.B. Maclachlan
Hello @414n, 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.
Hello @4164696f73, @same-jame. since you're both on Arch, your issue is unrelated to this issue report. The issue with Freetype 2.11.0 on distros like Arch and Fedora 34 is being tracked at ValveSoftware/steam-for-linux#7935 and should already be resolved in the 2021-08-31 Steam client beta update.
I suspect that the missing / failed library pinning is the key detail here
I agree, something is going badly wrong with the setup.sh/run.sh pair. The UI and games probably worked for you before by pure luck, but the changes made in the beta to fix the steamwebhelper on very recent distros (like Arch and Fedora) make it more important that the library pinning is done correctly.
I've performed some additional tests to find a less invasive solution.
At first I tried to put a export -n STEAM_ZENITY statement before each invocation of either setup.sh or run.sh scripts in the steam.sh bootstrap script, but those changes were not persistent and seemed not effective.
Instead, I resorted to resetting the STEAM_ZENITY variable in both scripts by adding a unset STEAM_ZENITY statement before each "zenity evaluation block" in each script, restoring what were presumably the original assumptions of those blocks.
After this, I can confirm that the setup script works correctly when no zenity is present, recreating both pinned lib dirs.
We have a solution in progress that should address this for people who don't have zenity installed, while still working as intended (progress bar appearing) for people who do.
Reacted by 414n, Nikita, hossein s. borhani and Wade Cline
This issue now affects the general availability branch of Steam, not just the beta. This is a harm-minimization thing: more distributions were broken by ValveSoftware/steam-for-linux#7935 than by this issue, because most distributions treat zenity as a dependency of their Steam packages, so fixing ValveSoftware/steam-for-linux#7935 was prioritized higher than fixing this issue.
Workaround: Install zenity.
A future release is likely to make zenity non-essential again, but installing it anyway is recommended: some games and some other parts of the Steam UI probably rely on it.
It seems steam is failing to update without zenity on antiX as well. Installing the package fixes the black screen and allows the updates to go through as normal.
It seems steam is failing to update without zenity on antiX as well
This is not distribution-specific, and we do not need a comprehensive list of distributions where zenity is not always installed. Any installation that has Steam but not zenity will be affected by this issue.
A future release is likely to make zenity non-essential again
In the latest Steam update (2021-09-13, 1631572918), both beta and general-availability, it should work without zenity again. Functionality will be reduced (you won't get a progress bar or any indication of progress while the Steam Runtime is set up).
installing it anyway is recommended: some games and some other parts of the Steam UI probably rely on it.
Activity
kisak-valve commentedon Sep 1, 2021
Hello @414n, 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.414n commentedon Sep 1, 2021
Here it is: gist.
I added it to the opening message too.
kisak-valve commentedon Sep 1, 2021
Thanks, I suspect that the missing / failed library pinning is the key detail here. (https://gist.github.com/414n/34891616266f2d4e4489173e8bbee632#file-steam-info-txt-L97-L113)
4164696f73 commentedon Sep 2, 2021
truita commentedon Sep 2, 2021
4164696f73 commentedon Sep 2, 2021
same-jame commentedon Sep 2, 2021
kisak-valve commentedon Sep 2, 2021
Hello @4164696f73, @same-jame. since you're both on Arch, your issue is unrelated to this issue report. The issue with Freetype 2.11.0 on distros like Arch and Fedora 34 is being tracked at ValveSoftware/steam-for-linux#7935 and should already be resolved in the 2021-08-31 Steam client beta update.
[-]Completely black UI elements after latest beta client update[/-][+]Library pinning on Slackware 14.2[/+]smcv commentedon Sep 2, 2021
@414n, please could you run Steam from a terminal (Konsole, xterm or equivalent) and put the output in a gist?
smcv commentedon Sep 2, 2021
I agree, something is going badly wrong with the
setup.sh/run.shpair. The UI and games probably worked for you before by pure luck, but the changes made in the beta to fix thesteamwebhelperon very recent distros (like Arch and Fedora) make it more important that the library pinning is done correctly.smcv commentedon Sep 2, 2021
The symptom is the same:
steamwebhelperdoesn't start up, so none of the UI that's implemented as HTML appears.However, the root cause is likely to be completely different.
414n commentedon Sep 2, 2021
Sure, here is the gist. I also added what happens when closing the client in patch form.
😅
Good to know
6 remaining items
414n commentedon Sep 4, 2021
I've performed some additional tests to find a less invasive solution.
At first I tried to put a
export -n STEAM_ZENITYstatement before each invocation of eithersetup.shorrun.shscripts in thesteam.shbootstrap script, but those changes were not persistent and seemed not effective.Instead, I resorted to resetting the
STEAM_ZENITYvariable in both scripts by adding aunset STEAM_ZENITYstatement before each "zenity evaluation block" in each script, restoring what were presumably the original assumptions of those blocks.After this, I can confirm that the setup script works correctly when no zenity is present, recreating both pinned lib dirs.
smcv commentedon Sep 5, 2021
We have a solution in progress that should address this for people who don't have zenity installed, while still working as intended (progress bar appearing) for people who do.
smcv commentedon Sep 8, 2021
@kisak-valve, now that we know the root cause for this one, please retitle to "library pinning fails if zenity is not installed"?
[-]Library pinning on Slackware 14.2[/-][+]Library pinning if zenity is not installed[/+][-]Library pinning if zenity is not installed[/-][+]Library pinning fails if zenity is not installed[/+]HippoPenguin commentedon Sep 10, 2021
Thanks, I installed the missing zenity package from my system and that fixed the issue on Slackware.
smcv commentedon Sep 10, 2021
This issue now affects the general availability branch of Steam, not just the beta. This is a harm-minimization thing: more distributions were broken by ValveSoftware/steam-for-linux#7935 than by this issue, because most distributions treat
zenityas a dependency of their Steam packages, so fixing ValveSoftware/steam-for-linux#7935 was prioritized higher than fixing this issue.Workaround: Install
zenity.A future release is likely to make
zenitynon-essential again, but installing it anyway is recommended: some games and some other parts of the Steam UI probably rely on it.junguler commentedon Sep 10, 2021
i was going crazy searching as to how to fix this, thanks for suggesting installing zenity, well i guess you learn a new thing every day.
uoil commentedon Sep 11, 2021
It seems steam is failing to update without zenity on antiX as well. Installing the package fixes the black screen and allows the updates to go through as normal.
smcv commentedon Sep 12, 2021
This is not distribution-specific, and we do not need a comprehensive list of distributions where zenity is not always installed. Any installation that has Steam but not zenity will be affected by this issue.
smcv commentedon Sep 14, 2021
In the latest Steam update (2021-09-13, 1631572918), both beta and general-availability, it should work without
zenityagain. Functionality will be reduced (you won't get a progress bar or any indication of progress while the Steam Runtime is set up).This is still true.
414n commentedon Sep 16, 2021
I can confirm that the fix works 👍
Thank you everyone!