Skip to content

Library pinning fails if zenity is not installed #458

Closed

Description

@414n

Your system information

  • Steam client version (build number or date): 1630453407 (Aug 31 2021, 20:58:17)
  • Distribution (e.g. Ubuntu): Slackware64 14.2
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes
  • Steam system information: gist

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:

image
image

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:

  1. start the aforementioned client beta version

Activity

  1. kisak-valve commented on Sep 1, 2021

    @kisak-valve
    Member

    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.

  2. 414n commented on Sep 1, 2021

    @414n
    Author

    Here it is: gist.
    I added it to the opening message too.

  3. kisak-valve commented on Sep 1, 2021

    @kisak-valve
    Member
  4. 4164696f73 commented on Sep 2, 2021

    @4164696f73
  5. truita commented on Sep 2, 2021

    @truita
  6. 4164696f73 commented on Sep 2, 2021

    @4164696f73
  7. same-jame commented on Sep 2, 2021

    @same-jame
  8. kisak-valve commented on Sep 2, 2021

    @kisak-valve
    Member

    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.

  9. changed the title [-]Completely black UI elements after latest beta client update[/-] [+]Library pinning on Slackware 14.2[/+] on Sep 2, 2021
  10. smcv commented on Sep 2, 2021

    @smcv
    Contributor

    @414n, please could you run Steam from a terminal (Konsole, xterm or equivalent) and put the output in a gist?

  11. smcv commented on Sep 2, 2021

    @smcv
    Contributor

    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.

  12. smcv commented on Sep 2, 2021

    @smcv
    Contributor

    should fix a really similar issue

    The symptom is the same: steamwebhelper doesn't start up, so none of the UI that's implemented as HTML appears.

    However, the root cause is likely to be completely different.

  13. 414n commented on Sep 2, 2021

    @414n
    Author

    @414n, please could you run Steam from a terminal (Konsole, xterm or equivalent) and put the output in a gist?

    Sure, here is the gist. I also added what happens when closing the client in patch form.

    The UI and games probably worked for you before by pure luck

    😅
    Good to know

  14. 6 remaining items

  15. 414n commented on Sep 4, 2021

    @414n
    Author

    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.

  16. smcv commented on Sep 5, 2021

    @smcv
    Contributor

    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.

  17. smcv commented on Sep 8, 2021

    @smcv
    Contributor

    @kisak-valve, now that we know the root cause for this one, please retitle to "library pinning fails if zenity is not installed"?

  18. changed the title [-]Library pinning on Slackware 14.2[/-] [+]Library pinning if zenity is not installed[/+] on Sep 8, 2021
  19. changed the title [-]Library pinning if zenity is not installed[/-] [+]Library pinning fails if zenity is not installed[/+] on Sep 8, 2021
  20. HippoPenguin commented on Sep 10, 2021

    @HippoPenguin

    Thanks, I installed the missing zenity package from my system and that fixed the issue on Slackware.

  21. smcv commented on Sep 10, 2021

    @smcv
    Contributor

    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.

  22. junguler commented on Sep 10, 2021

    @junguler

    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.

  23. uoil commented on Sep 11, 2021

    @uoil

    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.

  24. smcv commented on Sep 12, 2021

    @smcv
    Contributor

    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.

  25. smcv commented on Sep 14, 2021

    @smcv
    Contributor

    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.

    This is still true.

  26. 414n commented on Sep 16, 2021

    @414n
    Author

    I can confirm that the fix works 👍

    Thank you everyone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions