ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.25k stars 175 forks source link

Right clicking on Steam icon in the tray does nothing. #8577

Open Seek4samurai opened 2 years ago

Seek4samurai commented 2 years ago

Your system information

Please describe your issue in as much detail as possible:

When opening steam it works fine and opening games works fine as well. The Problem is when right clicking on steam icon on the tray, no menu opens. After going through internet research. I tried STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 steam.

After that this showed in terminal. ``` steam.sh[15663]: Running Steam on ubuntu 22.04 64-bit steam.sh[15663]: STEAM_RUNTIME is enabled automatically setup.sh[15921]: Steam runtime environment up-to-date! run.sh[15945]: STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 is deprecated, and no longer has an effect. steam.sh[15663]: Steam client's requirements are satisfied [2022-05-09 08:18:13] Startup - updater built Mar 14 2022 19:48:46 Installing breakpad exception handler for appid(steam)/version(1647446817) Looks like steam didn't shutdown cleanly, scheduling immediate update check [2022-05-09 08:18:14] Loading cached metrics from disk (/home/seek4samurai/.local/share/Steam/package/steam_client_metrics.bin) [2022-05-09 08:18:14] Using the following download hosts for Public, Realm steamglobal [2022-05-09 08:18:14] 1. https://cdn.akamai.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf' [2022-05-09 08:18:14] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf' [2022-05-09 08:18:14] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in' Installing breakpad exception handler for appid(steam)/version(1647446817) [2022-05-09 08:18:14] Checking for update on startup [2022-05-09 08:18:14] Checking for available updates... [2022-05-09 08:18:14] Downloading manifest: https://cdn.akamai.steamstatic.com/client/steam_client_ubuntu12 Installing breakpad exception handler for appid(steam)/version(1647446817) [2022-05-09 08:18:15] Download skipped: /client/steam_client_ubuntu12 version 1647446817, installed version 1647446817, existing pending version 0 [2022-05-09 08:18:15] Nothing to do [2022-05-09 08:18:15] Verifying installation... [2022-05-09 08:18:15] Performing checksum verification of executable files [2022-05-09 08:18:22] Verification complete Loaded SDL version 2.0.21-7140709 Gtk-Message: 08:18:23.470: Failed to load module "atk-bridge" (steam:15985): Gtk-WARNING **: 08:18:23.474: Unable to locate theme engine in module_path: "adwaita", (steam:15985): Gtk-WARNING **: 08:18:23.474: Unable to locate theme engine in module_path: "pixmap", (steam:15985): Gtk-WARNING **: 08:18:23.476: Unable to locate theme engine in module_path: "pixmap", (steam:15985): Gtk-WARNING **: 08:18:23.476: Unable to locate theme engine in module_path: "pixmap", (steam:15985): Gtk-WARNING **: 08:18:23.476: Unable to locate theme engine in module_path: "pixmap", (steam:15985): Gtk-WARNING **: 08:18:23.476: Unable to locate theme engine in module_path: "pixmap", (steam:15985): Gtk-WARNING **: 08:18:23.476: Unable to locate theme engine in module_path: "pixmap", (steam:15985): Gtk-WARNING **: 08:18:23.476: Unable to locate theme engine in module_path: "pixmap", (steam:15985): Gtk-WARNING **: 08:18:23.477: Unable to locate theme engine in module_path: "pixmap", (steam:15985): Gtk-WARNING **: 08:18:23.477: Unable to locate theme engine in module_path: "pixmap", (steam:15985): Gtk-WARNING **: 08:18:23.477: Unable to locate theme engine in module_path: "pixmap", (steam:15985): Gtk-WARNING **: 08:18:23.477: Unable to locate theme engine in module_path: "pixmap", (steam:15985): Gtk-WARNING **: 08:18:23.477: Unable to locate theme engine in module_path: "pixmap", (steam:15985): Gtk-WARNING **: 08:18:23.477: Unable to locate theme engine in module_path: "pixmap", (steam:15985): Gtk-WARNING **: 08:18:23.477: Unable to locate theme engine in module_path: "pixmap", (steam:15985): Gtk-WARNING **: 08:18:23.477: Unable to locate theme engine in module_path: "pixmap", (steam:15985): Gtk-WARNING **: 08:18:23.478: Unable to locate theme engine in module_path: "pixmap", (steam:15985): Gtk-WARNING **: 08:18:23.478: Unable to locate theme engine in module_path: "pixmap", (steam:15985): Gtk-WARNING **: 08:18:23.478: Unable to locate theme engine in module_path: "pixmap", (steam:15985): Gtk-WARNING **: 08:18:23.478: Unable to locate theme engine in module_path: "pixmap", (steam:15985): Gtk-WARNING **: 08:18:23.478: Unable to locate theme engine in module_path: "murrine", (steam:15985): Gtk-WARNING **: 08:18:23.478: Unable to locate theme engine in module_path: "murrine", (steam:15985): Gtk-WARNING **: 08:18:23.478: Unable to locate theme engine in module_path: "pixmap", (steam:15985): Gtk-WARNING **: 08:18:23.479: Unable to locate theme engine in module_path: "adwaita", steamwebhelper.sh[16071]: Runtime for steamwebhelper: defaulting to /home/seek4samurai/.local/share/Steam/ubuntu12_64/steam-runtime-heavy steamwebhelper.sh[16071]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3() Installing breakpad exception handler for appid(steam)/version(1647446817) Could not connect to X session manager: None of the authentication protocols specified are supported Installing breakpad exception handler for appid(steam)/version(1647446817) Installing breakpad exception handler for appid(steam)/version(1647446817) Installing breakpad exception handler for appid(steam)/version(1647446817) Installing breakpad exception handler for appid(steam)/version(1647446817) Installing breakpad exception handler for appid(steam)/version(1647446817) Installing breakpad exception handler for appid(steam)/version(1647446817) Installing breakpad exception handler for appid(steam)/version(1647446817) Installing breakpad exception handler for appid(steam)/version(1647446817) Installing breakpad exception handler for appid(steam)/version(1647446817) Installing breakpad exception handler for appid(steam)/version(1647446817) CAppInfoCacheReadFromDiskThread took 99 milliseconds to initialize Installing breakpad exception handler for appid(steam)/version(1647446817) Local Device Found type: 0079 0006 path: sdl://0 serial_number: - 0 Manufacturer: Product: DragonRise Inc. Generic USB Joystick Release: 110 Interface: -1 !! Steam controller device opened for index 0. Local Device Found type: 045e 0719 path: sdl://1 serial_number: - 0 Manufacturer: Product: X360 Wireless Controller Release: 100 Interface: -1 !! Steam controller device opened for index 1. Local Device Found type: 045e 0719 path: sdl://2 serial_number: - 1 Manufacturer: Product: X360 Wireless Controller Release: 100 Interface: -1 !! Steam controller device opened for index 2. Local Device Found type: 045e 0719 path: sdl://3 serial_number: - 2 Manufacturer: Product: X360 Wireless Controller Release: 100 Interface: -1 !! Steam controller device opened for index 3. Local Device Found type: 045e 0719 path: sdl://4 serial_number: - 3 Manufacturer: Product: X360 Wireless Controller Release: 100 Interface: -1 !! Steam controller device opened for index 4. Installing breakpad exception handler for appid(steam)/version(1647446817) Installing breakpad exception handler for appid(steam)/version(1647446817) Installing breakpad exception handler for appid(steam)/version(1647446817) Installing breakpad exception handler for appid(steam)/version(1647446817) Installing breakpad exception handler for appid(steam)/version(1647446817) Installing breakpad exception handler for appid(steam)/version(1647446817) Installing breakpad exception handler for appid(steam)/version(1647446817) Controller device closed after hid_read failure Local Device Found type: 0079 0006 path: sdl://0 serial_number: - 0 Manufacturer: Product: dev:xb1:Microntek USB Joystick Release: 110 Interface: -1 !! Steam controller device opened for index 0. Local Device Found type: 045e 0719 path: sdl://1 serial_number: - 0 Manufacturer: Product: X360 Wireless Controller Release: 100 Interface: -1 !! Steam controller device opened for index 1. Local Device Found type: 045e 0719 path: sdl://2 serial_number: - 1 Manufacturer: Product: X360 Wireless Controller Release: 100 Interface: -1 !! Steam controller device opened for index 2. Local Device Found type: 045e 0719 path: sdl://3 serial_number: - 2 Manufacturer: Product: X360 Wireless Controller Release: 100 Interface: -1 !! Steam controller device opened for index 3. Local Device Found type: 045e 0719 path: sdl://4 serial_number: - 3 Manufacturer: Product: X360 Wireless Controller Release: 100 Interface: -1 !! Steam controller device opened for index 4. Installing breakpad exception handler for appid(steam)/version(1647446817) Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported (steam:15985): Gtk-WARNING **: 08:18:35.529: gtk_disable_setlocale() must be called before gtk_init() Installing breakpad exception handler for appid(steam)/version(1647446817) Connectivity test: result=Connected, in progress=0 (steam:15985): GLib-GObject-WARNING **: 08:18:39.634: ../../../gobject/gsignal.c:2613: signal 'child-added' is invalid for instance '0xe94f06f0' of type 'GtkMenu' (steam:15985): LIBDBUSMENU-GLIB-WARNING **: 08:18:39.841: About to Show called on an item wihtout submenus. We're ignoring it. roaming config store loaded successfully - 1691 bytes. migrating temporary roaming config store BRefreshApplicationsInLibrary 1: 24ms Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Installing breakpad exception handler for appid(steam)/version(1647446817) Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Installing breakpad exception handler for appid(steam)/version(1647446817) Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Failed to init SteamVR because it isn't installed Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported ExecCommandLine: "'/home/seek4samurai/.local/share/Steam/ubuntu12_32/steam'" System startup time: 19.73 seconds Installing breakpad exception handler for appid(steam)/version(1647446817) Installing breakpad exception handler for appid(steam)/version(1647446817) ExecuteSteamURL: "steam://open/friends" Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported BuildCompleteAppOverviewChange: 226 RegisterForAppOverview 1: 27ms RegisterForAppOverview 2: 27ms Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Could not connect to X session manager: None of the authentication protocols specified are supported Installing breakpad exception handler for appid(steam)/version(1647446817) Installing breakpad exception handler for appid(steam)/version(1647446817) ```

Steps for reproducing this issue:

  1. Opening steam
  2. Right clicking on the steam icon in the tray
kisak-valve commented 2 years ago

Hello @Seek4samurai, can you check what files are listed in ~/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs* (or maybe ~/.steam/debian-installation/ubuntu12_32/steam-runtime/pinned_libs* if you're using the distro-modified Steam package), then delete the pinned_libs* folders so that Steam regenerates them the next time it is started.

Seek4samurai commented 2 years ago

Hello @Seek4samurai, can you check what files are listed in ~/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs* (or maybe ~/.steam/debian-installation/ubuntu12_32/steam-runtime/pinned_libs* if you're using the distro-modified Steam package), then delete the pinned_libs* folders so that Steam regenerates them the next time it is started.

I tried it already, after I read an issue, where someone had a kind of same problem...

kisak-valve commented 2 years ago

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.

Seek4samurai commented 2 years ago

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.

https://gist.github.com/Seek4samurai/e3574056f3bb9dd00b6e39bee667e4a7 This is the link to Gist. Hope you were asking about this.

NZRDT1 commented 2 years ago

Facing the same issue on Linux Mint 21. No change if pinned Libs are deleted.
https://gist.github.com/NZRDT1/8985448d92d3c51b5ad12bf81c4653a5

qwertychouskie commented 1 year ago

Same issue in Ubuntu 22.10, but in my case deleting all the pinned libs folders fixed the issue.

~/.steam/steam/ubuntu12_32/steam-runtime/pinned_libs_32/
~/.steam/steam/ubuntu12_32/steam-runtime/pinned_libs_64/
~/.steam/steam/ubuntu12_64/steam-runtime-heavy/pinned_libs_32/
~/.steam/steam/ubuntu12_64/steam-runtime-heavy/pinned_libs_64/`
tatokis commented 1 year ago

This has been happening to me on and off for a while now, and deleting the pinned libs folders didn't really help.

I figured out that it happens because Steam sometimes doesn't pin libgtk-x11.

To fix it, for an installation in ~/.steam/debian-installation/:

ln -s ~/.steam/debian-installation/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0 ~/.steam/debian-installation/ubuntu12_32/steam-runtime/pinned_libs_32/libgtk-x11-2.0.so.0

Similarly for ~/.local/share/Steam:

ln -s ~/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0 ~/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/libgtk-x11-2.0.so.0

Presumably this will need to be re-done every time the steam runtime updates (and it doesn't automatically pin it).

smcv commented 1 year ago

@tatokis, @qwertychouskie: Please can you add your system information? It would be useful to get a better picture of which operating system versions and which desktop environments are affected by this.

Also, a question for everyone affected by this: assuming you're all using something Debian-based (Debian, Ubuntu, Mint), what does this command output?

dpkg-query -f '${Package}:${Architecture}\t${Version}\t${Status}\n' -W libgtk2.0-0 libdbusmenu-glib4 libdbusmenu-gtk4 libdbus-1-3
smcv commented 1 year ago

There is a known bug in the 2023-04-04 Steam client beta, and specifically that beta, which has symptoms similar to this. That's #9324, not this bug.

Let's keep this bug for situations like the one the OP reported, where the Steam Runtime was meant to be "pinning" its own copy of the 32-bit libgtk2.0-0, but for whatever reason (I don't understand why yet), that was not successful and the system copy was still used anyway.

qwertychouskie commented 1 year ago

@tatokis, @qwertychouskie: Please can you add your system information? It would be useful to get a better picture of which operating system versions and which desktop environments are affected by this.

Also, a question for everyone affected by this: assuming you're all using something Debian-based (Debian, Ubuntu, Mint), what does this command output?

dpkg-query -f '${Package}:${Architecture}\t${Version}\t${Status}\n' -W libgtk2.0-0 libdbusmenu-glib4 libdbusmenu-gtk4 libdbus-1-3

My issue was resolved after deleting the pinned libs folders, so I can't reproduce the issue anymore.

smcv commented 1 year ago

My issue was resolved after deleting the pinned libs folders, so I can't reproduce the issue anymore.

For anyone else who is experiencing a similar symptom: instead of trying to work around it by deleting the pinned_libs_* directories, please rename them to something else (perhaps pinned_libs_32_before_bug_8577 and pinned_libs_64_before_bug_8577). If that workaround is not successful, you can remove the old version.

If that workaround is successful, please help us to diagnose what happened, by replying to this bug report with the contents (ls -l) of each of the old and new pinned_libs_* directories.

I'm hoping we can make the setup script setup.sh get this right more reliably, but we can't do that without an idea of what it's doing wrong at the moment.