ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.21k stars 174 forks source link

Steam client crashes with xdg-desktop-portal-gnome installed #9588

Open RobCod opened 1 year ago

RobCod commented 1 year ago

Your system information

Please describe your issue in as much detail as possible:

This error was in the beta so i exited the beta, Then the beta was released fully and its nonstop crashes and difficulties. I have opened a crash report under steam support, but they directed me here. I have the dump file, but cannot attach it here. steam-client-crash

Steps for reproducing this issue:

  1. Launch steam
  2. wait a few second and the client will crash
  3. open a terminal and spamming steam, steam-runtime, /usr/bin/steam, /usr/bin/steam-runtime, /usr/bin/steam %U or /usr/bin/steam-runtime %U will result in crashes, but eventually the client will finally launch.
drnfc commented 1 year ago

I use nixos, not ubuntu, but according to nixpkgs issue tracker (https://github.com/NixOS/nixpkgs/issues/236561), It's a bit more complicated thanks to the way nix works, but on ubuntu, you should just be able to install it using apt.

Although I don't see attr mentioned in your error log, but it doesn't hurt to try

mrcichon commented 1 year ago

I use nixos, not ubuntu, but according to nixpkgs issue tracker (NixOS/nixpkgs#236561), It's a bit more complicated thanks to the way nix works, but on ubuntu, you should just be able to install it using apt.

Although I don't see attr mentioned in your error log, but it doesn't hurt to try

install what exactly

AidenJames1995 commented 1 year ago

I am having a similar issue here on Linux Mint 21. For me steam will not launch at all. When I attempt to open, I get a clear see-through window that exits after about 2 seconds. This behavior loops over and over again until I force exit from the applet tray on the Linux Mint panel (taskbar). Screenshot from 2023-06-15 03-37-47

Screenshot from 2023-06-15 03-29-54

Client version: 1686779606 This started happening directly after the update I got in update manager earlier tonight.

mashumelo commented 1 year ago

My issue with it in EndeavourOS with Cinnamon was I had xdg-desktop-portal-gtk, and xdg-desktop-portal-gnome both installed with a fresh installation of the OS. Removing xdg-desktop-portal-gnome fixed all of the issues I was having with startup of the app. Not certain if that could possibly be your issue, but hopefully that is something that may be able to help.

vitacell commented 1 year ago

Something similar here, ArchLinux:

https://github.com/ValveSoftware/steam-for-linux/issues/9592

drnfc commented 1 year ago

My apologies I rewrote that reply several times... the program to install is attr

fabicodes commented 1 year ago

Same for me, but I've got attr installed. Running endeavouros with latest updates and stable kernel

fabian@fabian-desktop: ~
$ steam                                                                                                                                                                                                                                                                                                              [12:32:49]
steam.sh[2889]: Running Steam on endeavouros rolling 64-bit
steam.sh[2889]: STEAM_RUNTIME is enabled automatically
setup.sh[2963]: Steam runtime environment up-to-date!
steam.sh[2889]: Steam client's requirements are satisfied
[2023-06-15 12:32:54] Startup - updater built Jun 14 2023 20:16:17
[2023-06-15 12:32:54] Startup - Steam Client launched with: '/home/fabian/.local/share/Steam/ubuntu12_32/steam'
06/15 12:32:54 Init: Installing breakpad exception handler for appid(steam)/version(1686779606)/tid(3083)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2023-06-15 12:32:54] Loading cached metrics from disk (/home/fabian/.local/share/Steam/package/steam_client_metrics.bin)
[2023-06-15 12:32:54] Using the following download hosts for Public, Realm steamglobal
[2023-06-15 12:32:54] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2023-06-15 12:32:54] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2023-06-15 12:32:54] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2023-06-15 12:32:54] Checking for update on startup
[2023-06-15 12:32:54] Checking for available updates...
[2023-06-15 12:32:54] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12
[2023-06-15 12:32:54] Manifest download: send request
[2023-06-15 12:32:54] Manifest download: waiting for download to finish
[2023-06-15 12:32:55] Manifest download: finished
[2023-06-15 12:32:55] Download skipped: /steam_client_ubuntu12 version 1686779606, installed version 1686779606, existing pending version 0
[2023-06-15 12:32:55] Nothing to do
[2023-06-15 12:32:55] Verifying installation...
[2023-06-15 12:32:55] Performing checksum verification of executable files
[2023-06-15 12:32:56] Verification complete

(process:3083): GLib-GObject-CRITICAL **: 12:32:56.284: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(process:3083): GLib-GObject-CRITICAL **: 12:32:56.284: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Loaded SDL version 3.0.0-1735-g2e465ae31
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf2a5edb0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf2a5d500
GetWin32Stats: display was not open yet, good
ComputeStartupMode: found registry default startup mode: 0
Switching to desktopui, since -vgui was not specified
GetWin32Stats: display was not open yet, good
steamwebhelper.sh[3721]: Runtime for steamwebhelper: defaulting to /home/fabian/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[3721]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
CAppInfoCacheReadFromDiskThread took 84 milliseconds to initialize
src/steamUI/steamuisharedjscontroller.cpp (450) : Failed creating offscreen shared JS context
src/steamUI/steamuisharedjscontroller.cpp (450) : Failed creating offscreen shared JS context
src/steamUI/steamuisharedjscontroller.cpp (450) : Fatal assert; application exiting
src/steamUI/steamuisharedjscontroller.cpp (450) : Fatal assert; application exiting
06/15 12:33:45 Init: Installing breakpad exception handler for appid(steam)/version(1686779606)/tid(3083)
assert_20230615123345_29.dmp[3993]: Uploading dump (out-of-process)
/tmp/dumps/assert_20230615123345_29.dmp
_ExitOnFatalAssert
assert_20230615123345_29.dmp[3993]: Finished uploading minidump (out-of-process): success = yes                                                                                                                                                                                                                    [12:33:45]
assert_20230615123345_29.dmp[3993]: response: CrashID=bp-7b5849c2-9eff-4cc7-82de-c9a722230615
assert_20230615123345_29.dmp[3993]: file ''/tmp/dumps/assert_20230615123345_29.dmp'', upload yes: ''CrashID=bp-7b5849c2-9eff-4cc7-82de-c9a722230615''

FAIL

EDIT - thank you @mashumelo - this also fixed my issues!

lwho commented 1 year ago

I'm having the same problem after today's update under Ubuntu 22.04.

xdg-desktop-portal-gnome is not installed (only xdg-desktop-portal-gtk). -no-cef-sandbox makes no difference.

One of the tries starting steam succeeded, but in most cases it crashes:

steam.sh[4328]: Running Steam on ubuntu 22.04 64-bit
steam.sh[4328]: STEAM_RUNTIME is enabled automatically
setup.sh[4398]: Steam runtime environment up-to-date!
steam.sh[4328]: Steam client's requirements are satisfied
[2023-06-15 13:51:24] Startup - updater built Jun 14 2023 20:16:17
[2023-06-15 13:51:24] Startup - Steam Client launched with: '/home/ubuntu/.local/share/Steam/ubuntu12_32/steam' '-nominidumps' '-nobreakpad'
06/15 13:51:24 Init: Installing breakpad exception handler for appid(steam)/version(1686779606)/tid(4480)
[2023-06-15 13:51:24] Loading cached metrics from disk (/home/ubuntu/.local/share/Steam/package/steam_client_metrics.bin)
[2023-06-15 13:51:24] Using the following download hosts for Public, Realm steamglobal
[2023-06-15 13:51:24] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2023-06-15 13:51:24] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2023-06-15 13:51:24] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2023-06-15 13:51:24] Installation wird überprüft …
[2023-06-15 13:51:24] Verification complete
Loaded SDL version 3.0.0-1735-g2e465ae31
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf4a109c0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf4a0f1f0
GetWin32Stats: display was not open yet, good
ComputeStartupMode: found registry default startup mode: 0
Switching to desktopui, since -vgui was not specified
GetWin32Stats: display was not open yet, good
steamwebhelper.sh[4495]: Runtime for steamwebhelper: defaulting to /home/ubuntu/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[4495]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
flock /sys/power/suspend_stats/success LOCK_SH failed. errno = 13CAppInfoCacheReadFromDiskThread took 70 milliseconds to initialize
Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed
Warning: failed to set thread priority: set failed for priority 8
Warning: support for elevated priorities is most likely unavailable, suppressing future warnings
Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed
Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed
Local Device Found
  type: 044f 0406
  path: sdl://1
  serial_number:  - 0
  Manufacturer: 
  Product:      Thrustmaster T.A320 Copilot
  Release:      111
  Interface:    -1

src/steamUI/steamuisharedjscontroller.cpp (450) : Failed creating offscreen shared JS context
src/steamUI/steamuisharedjscontroller.cpp (450) : Failed creating offscreen shared JS context
src/steamUI/steamuisharedjscontroller.cpp (450) : Fatal assert; application exiting
src/steamUI/steamuisharedjscontroller.cpp (450) : Fatal assert; application exiting
06/15 13:52:14 Init: Installing breakpad exception handler for appid(steam)/version(1686779606)/tid(4480)
assert_20230615135214_28.dmp[4596]: Uploading dump (out-of-process)
/tmp/dumps/assert_20230615135214_28.dmp
_ExitOnFatalAssert
ubuntu@games:~$ assert_20230615135214_28.dmp[4596]: Finished uploading minidump (out-of-process): success = yes
assert_20230615135214_28.dmp[4596]: response: CrashID=bp-95613138-6660-47f3-bdac-6f24a2230615
assert_20230615135214_28.dmp[4596]: file ''/tmp/dumps/assert_20230615135214_28.dmp'', upload yes: ''CrashID=bp-95613138-6660-47f3-bdac-6f24a2230615''
aclist commented 1 year ago

I believe this tends to happen if the large view is trying to be spawned. I personally had to opt out of the beta before it was released because of these crash loops. If you can get the client to launch in minigameslist view, you should have minimum basic functionality.

Try the steps here to save the state of the minigameslist using the legacy GUI and then relaunching with the new GUI:

https://github.com/ValveSoftware/steam-for-linux/issues/9592#issuecomment-1592883448

Bear in mind that anything in the large view (store, large library) will probably crash.

Note that simply spawning the new UI in minigameslist view via the browser protocol command steam steam://open/minigameslist does not usually suffice, as it tries to revert to the large view and hangs. Forcing the state first in the legacy GUI should make this sticky.

lwho commented 1 year ago

Uninstalling xdg-desktop-portal-gtk made it work for me. However, this means, I've no GUI-specific backend for xdg-desktop-portal installed anymore. I'm not sure what functionality I'm losing by this.

This is a bit strange, since others only had issues with the Gnome backend (which I had not installed).

EDIT: And it gets even stranger: It continues to work after I installed xdg-desktop-portal-gtk again. So, it seems that the uninstall process of a xdg-desktop-portal backend (even without purging config) has a side-effect that solves the issue even after re-installing it.

RobCod commented 1 year ago

My issue with it in EndeavourOS with Cinnamon was I had xdg-desktop-portal-gtk, and xdg-desktop-portal-gnome both installed with a fresh installation of the OS. Removing xdg-desktop-portal-gnome fixed all of the issues I was having with startup of the app. Not certain if that could possibly be your issue, but hopefully that is something that may be able to help.

Thank you good sir, that fixed all my issues. No idea why gnome was installed as I use XFCE, but I imagine its an unused dependency of something i used to have installed.

mashumelo commented 1 year ago

My issue with it in EndeavourOS with Cinnamon was I had xdg-desktop-portal-gtk, and xdg-desktop-portal-gnome both installed with a fresh installation of the OS. Removing xdg-desktop-portal-gnome fixed all of the issues I was having with startup of the app. Not certain if that could possibly be your issue, but hopefully that is something that may be able to help.

Thank you good sir, that fixed all my issues. No idea why gnome was installed as I use XFCE, but I imagine its an unused dependency of something i used to have installed.

Very glad to be able to help! Yeah on EndeavourOS it installs the gnome package alongside the gtk package, and I feel like it's a conflict because of the packages being nearly the same. It was odd that both came installed on my Cinnamon install, but at least it was a fairly easy fix overall.

AidenJames1995 commented 1 year ago

Unfortunately for me none of the above solutions worked. I have attr installed, Never had xdg-desktop-portal-gnome installed. After uninstalling xdg-desktop-portal-gtk launching steam immediately pops up a terminal that prompts to install that package as a dependency for steam. After it's reinstalled the same problem occurs, looping crashes.

For some additional info: running a AMD 6900XT with proprietary drivers. Kernel 5.15; Linux Mint 21.1. Appending -vgui does allow launching of steam. So it's not a corrupted install.

itsygithub commented 1 year ago

Hi all, unfortunately I have the same problem in combination with 9605 since last steam update.

Ubuntu 22.04.2 LTS (Budgie desctop), xdg-desktop-portal-gnome deinstalled with no change

`steam.sh[5149]: Running Steam on ubuntu 22.04 64-bit steam.sh[5149]: STEAM_RUNTIME is enabled automatically setup.sh[5261]: Steam runtime environment up-to-date! steam.sh[5149]: Steam client's requirements are satisfied [2023-06-16 18:03:03] Startup - updater built Jun 16 2023 01:41:16 [2023-06-16 18:03:03] Startup - Steam Client launched with: '/home/itsy/.local/share/Steam/ubuntu12_32/steam' 06/16 18:03:03 Init: Installing breakpad exception handler for appid(steam)/version(1686880776)/tid(5373) Looks like steam didn't shutdown cleanly, scheduling immediate update check [2023-06-16 18:03:03] Loading cached metrics from disk (/home/itsy/.local/share/Steam/package/steam_client_metrics.bin) [2023-06-16 18:03:03] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults [2023-06-16 18:03:03] Using the following download hosts for Public, Realm steamglobal [2023-06-16 18:03:03] 1. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in' [2023-06-16 18:03:03] Checking for update on startup [2023-06-16 18:03:03] Checking for available updates... [2023-06-16 18:03:03] Downloading manifest: http://media.steampowered.com/client/steam_client_ubuntu12 [2023-06-16 18:03:03] Manifest download: send request [2023-06-16 18:03:04] Manifest download: waiting for download to finish [2023-06-16 18:03:04] Manifest download: finished [2023-06-16 18:03:04] Download skipped: /client/steam_client_ubuntu12 version 1686880776, installed version 1686880776, existing pending version 0 [2023-06-16 18:03:04] Nothing to do [2023-06-16 18:03:04] Verifying installation... [2023-06-16 18:03:04] Performing checksum verification of executable files [2023-06-16 18:03:04] Verification complete

(process:5373): GLib-GObject-CRITICAL **: 18:03:04.843: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(process:5373): GLib-GObject-CRITICAL **: 18:03:04.844: g_object_unref: assertion 'G_IS_OBJECT (object)' failed XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xe67799c0 XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xe67781f0 GetWin32Stats: display was not open yet, good dbus[5373]: D-Bus library appears to be incorrectly set up: see the manual page for dbus-uuidgen to correct this issue. (Failed to stat "/var/lib/dbus/machine-id": Value too large for defined data type; Failed to stat "/etc/machine-id": Value too large for defined data type) D-Bus not built with -rdynamic so unable to print a backtrace crash_20230616180305_5.dmp[5406]: Uploading dump (out-of-process) /tmp/dumps/crash_20230616180305_5.dmp /home/itsy/.local/share/Steam/steam.sh: Zeile 798: 5373 Abgebrochen "$STEAMROOT/$STEAMEXEPATH" "$@" itsy@tuxedo:/usr/bin$ crash_20230616180305_5.dmp[5406]: Finished uploading minidump (out-of-process): success = yes crash_20230616180305_5.dmp[5406]: response: CrashID=bp-46e7b493-3886-4017-a347-40dbc2230616 crash_20230616180305_5.dmp[5406]: file ''/tmp/dumps/crash_20230616180305_5.dmp'', upload yes: ''CrashID=bp-46e7b493-3886-4017-a347-40dbc2230616'' ` Sorry I do not know how to post this output in an output window ... "add code" seems to be not the correct one ...

Thanks :-)

pipe01 commented 1 year ago

I was able to work around this issue by installing the Flatpak version, which seems to work just fine.

itsygithub commented 1 year ago

Ok I also installed flatpak version now and it starts with a lot of error messages. But steam via flatpak does not recognize any installed game. Games tries to open "regular" steam when starting and "flatpak" steam ask to install games.

Click to expand ``` INFO:root:https://github.com/flathub/com.valvesoftware.Steam/wiki INFO:root:Will set XDG dirs prefix to /home/itsy/.var/app/com.valvesoftware.Steam DEBUG:root:Checking input devices permissions INFO:root:Overriding TZ to Europe/Berlin steam.sh[2]: Running Steam on org.freedesktop.platform 22.08 64-bit steam.sh[2]: STEAM_RUNTIME is enabled automatically setup.sh[77]: Steam runtime environment up-to-date! steam.sh[2]: Steam client's requirements are satisfied [2023-06-16 19:43:02] Startup - updater built Jun 16 2023 01:41:16 [2023-06-16 19:43:02] Startup - Steam Client launched with: '/home/itsy/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox' 06/16 19:43:02 Init: Installing breakpad exception handler for appid(steam)/version(1686880776)/tid(149) [2023-06-16 19:43:02] Loading cached metrics from disk (/home/itsy/.var/app/com.valvesoftware.Steam/.local/share/Steam/package/steam_client_metrics.bin) [2023-06-16 19:43:02] Using the following download hosts for Public, Realm steamglobal [2023-06-16 19:43:02] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf' [2023-06-16 19:43:02] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf' [2023-06-16 19:43:02] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in' [2023-06-16 19:43:02] Verifying installation... [2023-06-16 19:43:02] Verification complete (process:149): GLib-GObject-CRITICAL **: 19:43:03.055: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (process:149): GLib-GObject-CRITICAL **: 19:43:03.055: g_object_unref: assertion 'G_IS_OBJECT (object)' failed XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xef1208f0 XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xef11f1c0 GetWin32Stats: display was not open yet, good dbus[149]: D-Bus library appears to be incorrectly set up: see the manual page for dbus-uuidgen to correct this issue. (Failed to open "/var/lib/dbus/machine-id": No such file or directory; Failed to stat "/etc/machine-id": Value too large for defined data type) Loaded SDL version 3.0.0-1735-g2e465ae31 Gtk-Message: 19:43:03.539: Failed to load module "gail" Gtk-Message: 19:43:03.539: Failed to load module "atk-bridge" Gtk-Message: 19:43:03.539: Failed to load module "appmenu-gtk-module" GetWin32Stats: display was not open yet, good steamwebhelper.sh[191]: Runtime for steamwebhelper: defaulting to /home/itsy/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy steamwebhelper.sh[191]: Running under Flatpak, disabling sandbox steamwebhelper.sh[191]: CEF sandbox already disabled Could not connect to X session manager: None of the authentication protocols specified are supported CAppInfoCacheReadFromDiskThread took 27 milliseconds to initialize Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed Warning: failed to set thread priority: set failed for priority 8 Warning: support for elevated priorities is most likely unavailable, suppressing future warnings Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed dbus[298]: D-Bus library appears to be incorrectly set up: see the manual page for dbus-uuidgen to correct this issue. (Failed to open "/var/lib/dbus/machine-id": No such file or directory; Failed to stat "/etc/machine-id": Value too large for defined data type) Failed to init SteamVR because it isn't installed (steam:149): Gtk-WARNING **: 19:43:15.982: gtk_disable_setlocale() must be called before gtk_init() local (potentially out of sync) copy of roaming config loaded - 1341 bytes. BRefreshApplicationsInLibrary 1: 1ms roaming config store loaded successfully - 1341 bytes. migrating temporary roaming config store (steam:149): GLib-GObject-CRITICAL **: 19:43:18.752: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (steam:149): GLib-GObject-CRITICAL **: 19:43:18.752: g_object_unref: assertion 'G_IS_OBJECT (object)' failed 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 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 System startup time: 16.32 seconds BuildCompleteAppOverviewChange: 193 apps RegisterForAppOverview 1: 22ms RegisterForAppOverview 2: 23ms (steam:149): GLib-GObject-CRITICAL **: 19:43:19.620: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (steam:149): GLib-GObject-CRITICAL **: 19:43:19.620: g_object_unref: assertion 'G_IS_OBJECT (object)' failed ExecCommandLine: "'/home/itsy/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox'" (steam:149): GLib-GObject-CRITICAL **: 19:43:20.292: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (steam:149): GLib-GObject-CRITICAL **: 19:43:20.292: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (steam:149): GLib-GObject-CRITICAL **: 19:43:21.477: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (steam:149): GLib-GObject-CRITICAL **: 19:43:21.477: g_object_unref: assertion 'G_IS_OBJECT (object)' failed ExecuteSteamURL: "steam://open/steam://rungameid/246620" ExecuteSteamURL: "steam://rungameid/246620" GameAction [AppID 246620, ActionID 1] : LaunchApp changed task to UpdatingAppTicket with "" GameAction [AppID 246620, ActionID 1] : LaunchApp failed with AppError_18 with "" GameAction [AppID 246620, ActionID 1] : LaunchApp changed task to Failed with "" [2023-06-16 19:45:04] Background update loop checking for update. . . [2023-06-16 19:45:04] Checking for available updates... [2023-06-16 19:45:04] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12?t=2109605025 [2023-06-16 19:45:04] Manifest download: send request [2023-06-16 19:45:04] Manifest download: waiting for download to finish [2023-06-16 19:45:05] Manifest download: finished [2023-06-16 19:45:05] Download skipped: /steam_client_ubuntu12?t=2109605025 version 1686880776, installed version 1686880776, existing pending version 0 ```
amini-allight commented 1 year ago

I had this issue as well (on Arch) but for some reason I had xdg-desktop-portal, xdg-desktop-portal-kde, xdg-desktop-portal-wlr, xdg-desktop-portal-gnome and xdg-desktop-portal-gtk all installed. I removed all of them and Steam started working again, removing just the gnome/gtk ones wasn't enough.

itsygithub commented 1 year ago

Thanks for your comment. I also deinstalled all your mentioned packages. But fun fact: Steams installed package "xdg-desktop-portal" again when starting first time after deinstalling ;-) And then same error messages will be shown ...

outpoints commented 1 year ago

Same issue on Arch for me. Not really interested in finding out what happens when uninstalling xdg-desktop-portal* Hopefully there is a fix soon.

NolanSyKinsley commented 1 year ago

So I was able to fix the non launch issue with removing xdg-desktop-portal but steam now is all sorts of borked, I cannot open game properties, it does nothing, no windows open, no error, no nothing, so lots of games I need to set custom settings for I cannot access them now. This has to do with their recent sweeping UI update and not just this issue, but still...

I go library, click on the game, then the cog icon and hit settings and....NOTHING

Valve, you were better than this....

itsygithub commented 1 year ago

For my other problem 9605 there is a fix now. With this fix also the other problems linke "GLib-GObject-CRITICAL" are solved after a second restart. I do not understand why but possibly worth a try.

RED-404 commented 1 year ago

Same problem on xdg-desktop-portal-hyprland. I have tried installing and removing xdg-desktop-portal-gtk to no avail. I've also tried switching to xdg-desktop-portal-hyprland-git and it didn't help.

Edit: in my case, steam itself launches but with

(process:149979): GLib-GObject-CRITICAL **: 02:23:50.202: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(process:149979): GLib-GObject-CRITICAL **: 02:23:50.202: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

in the background. Many native games fail to launch with.

(steam:149979): GLib-GObject-CRITICAL **: 02:27:26.448: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(steam:149979): GLib-GObject-CRITICAL **: 02:27:26.448: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

Games run in Proton just fine.

kisak-valve commented 1 year ago

For what it's worth, I've seen Steam running fine with xdg-desktop-portal-gnome in the list of running processes on Ubuntu 22.04, which is xdg-desktop-portal-gnome 42.0.1-1ubuntu2. xdg-desktop-portal-gtk was also seen running beside it.

xDShot commented 1 year ago

Not sure if it's related. I had steam freezing. I switched back to vgui, disabled GPU acceleration, then relaunched regularly. It stopped freezing.

outpoints commented 1 year ago

Uninstalling xdg-desktop-portal-gnome allowed steam to launch and was able to launch games but could not access the main Steam interface, now it just fails to launch even with it uninstalled.

RED-404 commented 1 year ago

What was killing most of my games was that SDL_VIDEODRIVER=wayland somehow at some point, probably me at 3 am, got set in /etc/environment. Making many native games fail to launch with no real error. So my problem was probably mostly unrelated to this one but maybe worth a check.

BeauBouchard commented 1 year ago

This also solved my issue. I was going to post a new issue, but searched and thought to try this first.

:100: fixed the issue in Ubuntu 22.04 after

sudo apt remove xdg-desktop-portal-gnome
sudo apt update
sudo apt upgrade

and restart.

Toxological commented 1 year ago

Also having this issue with Linux Mint 21.1 Cinnamon on my Inspiron 7577, however my desktop with the same OS and super old hardware launches steam fine. Both are running beta steam with the newest 5.15.0-75 kernel. I had xdg-desktop-portal and xdg-desktop-portal-gtk installed and removing them did not help (i reinstalled after). My desktop has an AMD card while my laptop has an nVidia card. I tried using 5.15.0-73 to see if it was a kernel update that caused the issue but nope.

enterra2010 commented 1 year ago

I was also experiencing this issue today. xdg-desktop-portal was indeed the culprit. Ended up having to remove flatpak to get rid of it. Smooth sailing now.

Wonder if this will resolve the weird issue that I had where while downloading games, the network stack on my machine would just die. Restart was the only thing that resolves that....

lostgoat commented 1 year ago

Uninstalling xdg-desktop-portal has some bad side effects:

If you've had this issue and you can reproduce it by installing xdg-desktop-portal I'd love to collect a crash dump from you. To do so:

andreldmonteiro commented 1 year ago

Hi @lostgoat, I'm unable to uninstall the xdg packages because they would break protected system packages of my fedora 38 system, both steam rpm and steam flatpak run fine if executed from the terminal, here you have the core dumps I collected for both when executed from the desktop: steamcoredump.zip

lostgoat commented 1 year ago

Hi @andreldmonteiro can you try launching from the terminal and tell me your client version in the "Help->About Steam" menu.

It should look something like this: 1686880776

lostgoat commented 1 year ago

@andreldmonteiro Can you also send me this file: ~/.steam/steam/logs/webhelper.txt

andreldmonteiro commented 1 year ago

@lostgoat The flatpak version was 1686880776 and the rpm version was 1686779606 though I have updated it now to the latest stable version and still doesn't run. Webhelper: webhelper.zip

andreldmonteiro commented 1 year ago

@lostgoat I just noticed I had the IGP on my AMD 7600X CPU enabled because I forgot to disable it with the latest BIOS update, it resets the settings with each update, both steam rpm and flatpak now run without problems after disabling the IGP on the BIOS.

lostgoat commented 1 year ago

That matches what I'm seeing on the core dump. Some basic GL functions fail to load and we don't handle that gracefully. We'll need to adjust for that.

You might've had DRI_PRIME=1 set in one environment and not the other, and that is why it launched from terminal and not from desktop.

If anyone else has a core dump for the xdg-desktop-portal issue let me know.

hrishik10 commented 1 year ago

EDITED Here is one Steam Version: 1687386907 Steam Client Build Date: Thu, Jun 22 2:48 AM UTC -08:00 Steam Web Build Date: Thu, Jun 22 3:56 AM UTC -08:00 Steam API Version: SteamClient020 Linux Distribution: Arch core.steamwebhelper.zip

Toxological commented 1 year ago

Received an update today that fixed the issue for me. Yesterday I withdrew from the beta. Steam Version: 1687386907 Steam Client Build Date: Wed, Jun 21 16:18 UTC -06:00 Great now I can uninstall the flatpak client that i used for the time being

lostgoat commented 1 year ago

@hrishi463 I wasn't able to get any relevant hints from that core since the process seems to have been in a pretty bad state and the stack was at a bad address.

Can you send me your steam logs? tar -zcvf ~/Desktop/steam-logs.tar.gz ~/.steam/steam/logs

hrishik10 commented 1 year ago

@lostgoat steam-logs.tar.gz

ImUrX commented 1 year ago

@lostgoat I have EndevourOS with latest packages and Steam doesn't launch on any case, neither Flatpak, Native or Runtime steam-logs.tar.gz

n3f4s commented 1 year ago

I have the same issue. I commented on #9321 but while the error message was the same the cause wasn't. Here's what I tried:

I have the same issue. steam --reset; steam -clearbeta works but needing to reset every times I want to start steam is annoying (and it reset the shared libraries).

I haven't tried removing any xdg-desktop-portal* as they are required for software that I use regularly.

steam -no-cef-sandbox behave exactly as without this option (there's a crash).

Update: removing the xdg-desktop-portal-gnome package doesn't solve the issue


vincent@shodan ~> pacman -Qs xdg-desktop-portal-gnome
vincent@shodan ~ [1]> steam
steam.sh[2238]: Running Steam on arch rolling 64-bit
steam.sh[2238]: STEAM_RUNTIME is enabled automatically
...
src/steamUI/steamuisharedjscontroller.cpp (529) : Failed creating offscreen shared JS context
src/steamUI/steamuisharedjscontroller.cpp (529) : Failed creating offscreen shared JS context
src/steamUI/steamuisharedjscontroller.cpp (529) : Fatal assert; application exiting
src/steamUI/steamuisharedjscontroller.cpp (529) : Fatal assert; application exiting
06/18 14:19:20 Init: Installing breakpad exception handler for appid(steam)/version(1686880776)/tid(2367)
assert_20230618141920_30.dmp[2570]: Uploading dump (out-of-process)
/tmp/dumps/assert_20230618141920_30.dmp
_ExitOnFatalAssert

I can't uninstall the others xdg-desktop-portal* as they are required by lutris and flatpack which I'm using regularly.

ImUrX commented 1 year ago

i uninstalled all the portals with flatpak and lutris included and it didnt work either qwq

ImUrX commented 1 year ago

the only way i managed to run it is with -vgui but it cant connect to steam servers :/

ImUrX commented 1 year ago

I managed to run normal Steam by deleting the NVidia OpenGL cache on ~/.nv/GLCache or it can also be on ~/.cache/nvidia/GLCache/

mtasic85 commented 1 year ago

I can also confirm that after uninstalling mentioned packages on ArchLinux:

sudo pacman -Rdd xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk

steam and steam-native both work.

shoemark commented 1 year ago

I experience this problem as well. Removing xdg-desktop-portal-gnome fixes it for me.

Distribution: Gentoo Steam Version: 1687386907 Steam Beta: No CrashID: bp-17a2ad2e-8728-491f-a47e-84cc32230709

HarlemSquirrel commented 1 year ago

The fix for me on ArchLinux (btw) was to install lib32-libnm as per https://bugs.archlinux.org/task/79006

thor-kill commented 1 year ago

The fix for me on ArchLinux (btw) was to install lib32-libnm as per https://bugs.archlinux.org/task/79006

Can confirm this works on manjaro

aaronliu0130 commented 1 year ago

Some (like drnfc, ImUrX, HarlemSquirrel) appear to be talking about different issues, this bug will only fail with "Failed creating offscreen shared JS content".