Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RobCod opened this issue Jun 15, 2023 · 71 comments
Open

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

RobCod opened this issue Jun 15, 2023 · 71 comments

Comments

@RobCod
Copy link

RobCod commented Jun 15, 2023

Your system information

  • Steam client version (build number or date): 1686779606
  • Distribution (e.g. Ubuntu): Arch 64bit
  • Opted into Steam client beta?: [Yes/No] No
  • Have you checked for system updates?: [Yes/No] Yes

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
Copy link

drnfc commented Jun 15, 2023

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

@mrcichon
Copy link

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
Copy link

AidenJames1995 commented Jun 15, 2023

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
Copy link

mashumelo commented Jun 15, 2023

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
Copy link

Something similar here, ArchLinux:

#9592

@drnfc
Copy link

drnfc commented Jun 15, 2023

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

@fabicodes
Copy link

fabicodes commented Jun 15, 2023

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
Copy link

lwho commented Jun 15, 2023

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
Copy link

aclist commented Jun 15, 2023

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:

#9592 (comment)

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
Copy link

lwho commented Jun 15, 2023

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
Copy link
Author

RobCod commented Jun 15, 2023

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.

@kisak-valve kisak-valve changed the title Steam client crashes with beta and the new update pushed this evening Steam client crashes with xdg-desktop-portal-gnome installed Jun 15, 2023
@mashumelo
Copy link

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
Copy link

AidenJames1995 commented Jun 16, 2023

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
Copy link

itsygithub commented Jun 16, 2023

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
Copy link

pipe01 commented Jun 16, 2023

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

@itsygithub
Copy link

itsygithub commented Jun 16, 2023

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
Copy link

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
Copy link

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
Copy link

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
Copy link

NolanSyKinsley commented Jun 17, 2023

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
Copy link

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
Copy link

RED-404 commented Jun 17, 2023

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
Copy link
Member

kisak-valve commented Jun 17, 2023

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
Copy link

xDShot commented Jun 17, 2023

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
Copy link

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.

@ImUrX
Copy link

ImUrX commented Jul 8, 2023

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
Copy link

mtasic85 commented Jul 9, 2023

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
Copy link

shoemark commented Jul 9, 2023

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
Copy link

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

@thor-kill
Copy link

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
Copy link

aaronliu0130 commented Jul 12, 2023

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

@x10an14
Copy link

x10an14 commented Jul 12, 2023

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

Same here, on nixos unstable. Running sway (Wayland). Friends list/servics not able to connect.

Any game just shows with black screen.
Without the vgui flag, the new login prompt is just black and hangs forever.

@lostgoat
Copy link
Contributor

Hey everyone,

Just a reminder that uninstalling xdg-desktop-portal is going to cause issues in steam and other apps. E.g. for steam you will no longer have native file picker support.

If you've removed xdg-desktop-portal can you try re-installing it? We've had a couple of reports from users that a re-install of those packages fixed the problem for them (as opposed to a plain uninstall).

If re-installing xdg-desktop-portal re-introduces the problem for you, please send me any lines in your terminal output that say CrashID

@aaronliu0130
Copy link

aaronliu0130 commented Jul 12, 2023

We're not uninstalling xdg-desktop-portal, we're uninstalling xdg-desktop-portal-gnome.

@ImUrX
Copy link

ImUrX commented Jul 12, 2023

We're not uninstalling xdg-desktop-portal, we're uninstalling xdg-desktop-portal-gnome.

thats a xdg-desktop-portal implementation...

@aaronliu0130
Copy link

aaronliu0130 commented Jul 12, 2023

For GNOME. AFAIK this only happens to arch people who aren't running Steam in GNOME.

@Skalli
Copy link

Skalli commented Jul 16, 2023

I have the same problem, the xdg-desktop-portal-gnome is required for dialogs and such for me, so uninstalling it is not an option. Steam should still work when it is installed.
Like uninstalling something, breaking stuff to make something else work is not a proper solution.
I removed xdg-desktop-portal-gnome to verify that steam works again, but after reinstalling it steam was of course not starting again.

@aaronliu0130
Copy link

@lostgoat btw OP has a crash ID of bp-1cf9ffce-8f8f-4325-aa2f-a79662238614

@lostgoat
Copy link
Contributor

Yep I've checked that one. Thanks for making the effort to transcribe it though.

What is happening here is that steamwebhelper is failing to start for some reason. I assume that is generating a crash and should generate a coredump and its own CrashID.

After that fails three times steam will give up on trying to start steamwebhelper and will print the fatal messages in the op, which generates another coredump + CrashID.

In this case we want to find the coredump/CrashID for webhelper and I've been unable to repro the crash locally or get info on tracking this down from logs the available crash dumps in this thread.

@A-w-x
Copy link

A-w-x commented Jul 19, 2023

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

thanks, finally running again

@aaronliu0130
Copy link

Summary:
For the error Assertion 'device' failed at src/libsystemd/sd-device/device-private.c:103, function device_get_tags_generation(). Aborting. install lib32-libnm
For the error src/steamUI/steamuisharedjscontroller.cpp (538) : Failed creating offscreen shared JS context uninstall xdg-desktop-portal-gnome

@SeongGino
Copy link

SeongGino commented Jul 24, 2023

I was directed to this issue since I had a similar problem (all of a sudden, Steam doesn't seem to want to start/show a window in new GUI, doesn't show webpages in -vgui), and the logs do show src/steamUI/steamuisharedjscontroller.cpp (538) : Failed creating offscreen shared JS context.

The problem is, I don't have xdg-desktop-portal-gnome installed because I'm on a KDE system; and trying to remove the KDE version causes missing dependency conflicts for a shit ton of other vital packages. So that's a no-go for me.


2SECEDIT: Fixed. I had the environment variables exported:

GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia

...which was an attempt (in vain) to attempt to diagnose ValveSoftware/gamescope#526 two days prior. These seemed to have been the source of the problem, since commenting these values out fixed it and now webviews work again.

Guess that'll be useful to anyone who tried the above and thought it would be harmless, even on X11 (read: it isn't, don't keep them set)

@m0thm
Copy link

m0thm commented Aug 5, 2023

Hi guys hopefully this is the right spot. Just had to re-install Ubuntu 23.04 all was working well until I did somethig silly non steam related. On getting back up and running steam installed fine and ran. I had an OS lock up and did a hard reset from then on steam crashes. I followed the instuctions in getting started here just in case. I have tried with xdg-desktop-portal-gnom [steam-logs.tar.gz](https://github.com/ValveSoftware/steam-for-linux/files/12265332/steam-logs.tar.gz) e installed and not makes no difference. From terminal seems the error is Attached is Error: XRRGetOutputInfo() is not available. Everything I hope is needed log wise.

Thanks

Tim

Steam_Crash_Logs_Terminal_Dump.zip

@aaronliu0130
Copy link

  1. Due to the very different error code that's probably a different issue.
  2. The advice was to remove xdg-desktop-portal-gnome if you had it and got the SharedJS error, not install it.

@m0thm
Copy link

m0thm commented Aug 6, 2023

Hi ok I did uninstall xdg-desktop-portal-gnome to no avail I'll open a new issue due to the different Error code. Thanks.

@StarRibbon
Copy link

StarRibbon commented Aug 20, 2023

Hello,
I tried uninstalling xdg-desktop-portal and its variants but i'm still unable to launch steam.
Any idea what i should try next?

Thank you

System:

OS: Manjaro 23.0.0 Uranos
Kernel: x86_64 Linux 6.1.44-1-MANJARO
CPU: Intel Core i3-8145U @ 4x 3.9GHz [64.0°C]
GPU: Mesa Intel(R) UHD Graphics 620 (WHL GT2)

Console log:
[petr@petr-PC Desktop]$ steam
steam.sh[4004]: Running Steam on manjarolinux 23.0.0 64-bit
steam.sh[4004]: STEAM_RUNTIME is enabled automatically
setup.sh[4078]: Steam runtime environment up-to-date!
steam.sh[4004]: Steam client's requirements are satisfied
[2023-08-20 09:19:18] Startup - updater built Jul 28 2023 18:44:09
[2023-08-20 09:19:18] Startup - Steam Client launched with: '/home/petr/.local/share/Steam/ubuntu12_32/steam'
08/20 09:19:18 Init: Installing breakpad exception handler for appid(steam)/version(1690583737)/tid(4138)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2023-08-20 09:19:18] Loading cached metrics from disk (/home/petr/.local/share/Steam/package/steam_client_metrics.bin)
[2023-08-20 09:19:18] Using the following download hosts for Public, Realm steamglobal
[2023-08-20 09:19:18] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2023-08-20 09:19:18] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2023-08-20 09:19:18] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2023-08-20 09:19:18] Checking for update on startup
[2023-08-20 09:19:18] Checking for available updates...
[2023-08-20 09:19:18] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12
[2023-08-20 09:19:18] Manifest download: send request
[2023-08-20 09:19:18] Manifest download: waiting for download to finish
[2023-08-20 09:19:18] Manifest download: finished
[2023-08-20 09:19:18] Download skipped: /steam_client_ubuntu12 version 1690583737, installed version 1690583737, existing pending version 0
[2023-08-20 09:19:18] Nothing to do
[2023-08-20 09:19:18] Verifying installation...
[2023-08-20 09:19:18] Performing checksum verification of executable files
[2023-08-20 09:19:19] Verification complete
/usr/share/themes/Matcha-sea/gtk-2.0/main.rc:1113: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Matcha-sea/gtk-2.0/apps.rc:91: error: unexpected identifier 'direction', expected character '}'
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xe9d14db0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xe9d13500
GetWin32Stats: display was not open yet, good
GetWin32Stats: display was not open yet, good
steamwebhelper.sh[4166]: Runtime for steamwebhelper: defaulting to /home/petr/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[4166]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
CAppInfoCacheReadFromDiskThread took 109 milliseconds to initialize
Assertion 'device' failed at src/libsystemd/sd-device/device-private.c:103, function device_get_tags_generation(). Aborting.
crash_20230820091920_26.dmp[4319]: Uploading dump (out-of-process)
/tmp/dumps/crash_20230820091920_26.dmp
crash_20230820091920_26.dmp[4319]: Finished uploading minidump (out-of-process): success = yes
crash_20230820091920_26.dmp[4319]: response: CrashID=bp-494ac155-2e85-4edd-a351-333eb2230820
crash_20230820091920_26.dmp[4319]: file ''/tmp/dumps/crash_20230820091920_26.dmp'', upload yes: ''CrashID=bp-494ac155-2e85-4edd-a351-333eb2230820''
/home/petr/.local/share/Steam/steam.sh: line 798:  4138 Aborted                 (core dumped) "$STEAMROOT/$STEAMEXEPATH" "$@"

crash_20230820091920_26.dmp.zip

@kisak-valve
Copy link
Member

Hello @StarRibbon, Assertion 'device' failed at src/libsystemd/sd-device/device-private.c:103, function device_get_tags_generation(). Aborting. in your terminal spew makes your issue #9805 instead of this issue report.

@onetimehelper
Copy link

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.

I installed Arch through Endeavouros_Cassini_Nova-03-2023_R3 (third rebuild) and selected the Cinnamon Desktop during installation, decided to try Gnome later, didn't like it (it's still missing basic things like no/black background image and auto-hiding the top bar (both good for OLED TV)), logged-in back into Cinnamon, but then Firefox would take like 30s to start instead of <=1s and steam would not start and crash most of the time. Running sudo pacman -R xdg-desktop-portal-gnome indeed fixed it for me. Seems like some kind of conflict and I'm not sure if steam is to blame.

@aaronliu0130
Copy link

Yeah, I also feel that. Also I recommend MATE which has MATE tweak which should do that thing about the top bar

@meytin1337
Copy link

I have the same issue on kde + Archlinux and removing xdg-desktop-portal is not an option there because it is a dependency of various plasma components.

@SeongGino
Copy link

SeongGino commented Dec 21, 2024

I have the same issue on kde + Archlinux and removing xdg-desktop-portal is not an option there because it is a dependency of various plasma components.

@meytin1337, If you're using a Plasma system, then you shouldn't even be using xdg-desktop-portal-gnome, but xdg-desktop-portal-kde instead (which is the subject of this particular issue). Swap that out first.

If it continues to persist, mayhaps check if you don't have any lingering environment variables causing trouble? See my earlier report @ #9588 (comment)

Otherwise, might constitute a different issue entirely if an entirely different portals implem is doing this.

@meytin1337
Copy link

meytin1337 commented Dec 27, 2024

Replying to #9588 (comment)

I was using xdg-desktop-portal-kde sorry if that was unclear. I ended up reinstalling my distribution which fixed the problem.

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

No branches or pull requests