ValveSoftware / steam-for-linux

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

Steam hangs on launch under pop-wayland #10035

Closed ralmond closed 12 months ago

ralmond commented 1 year ago

Your system information

Please describe your issue in as much detail as possible:

When running steam from the command line, steam opens the "loading user data" window, and then freezes. Eventually, the system timeout appears. After that, the script does a few more things. The menu icon appears, but either the steam ui/library window does not appear, or the add window appears, but the window is not there. Sometimes, the Steam Icon appears in the dock, if so, the main window shows a blank preview.

(base) [ralmond@cherry: ~]$ /usr/games/steam
steam.sh[202026]: Running Steam on pop 22.04 64-bit
steam.sh[202026]: STEAM_RUNTIME is enabled automatically
setup.sh[202096]: Steam runtime environment up-to-date!
steam.sh[202026]: Steam client's requirements are satisfied
[2023-09-01 18:12:17] Startup - updater built Jul 28 2023 18:44:09
[2023-09-01 18:12:17] Startup - Steam Client launched with: '/home/ralmond/.steam/debian-installation/ubuntu12_32/steam' '-nominidumps' '-nobreakpad'
09/01 18:12:17 Init: Installing breakpad exception handler for appid(steam)/version(1690583737)/tid(202208)
[2023-09-01 18:12:17] Loading cached metrics from disk (/home/ralmond/.steam/debian-installation/package/steam_client_metrics.bin)
[2023-09-01 18:12:17] Using the following download hosts for Public, Realm steamglobal
[2023-09-01 18:12:17] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2023-09-01 18:12:17] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2023-09-01 18:12:17] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2023-09-01 18:12:17] Verifying installation...
[2023-09-01 18:12:17] Verification complete
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf6a519c0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf6a501f0
/usr/share/themes/Pop-dark/gtk-2.0/main.rc:775: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Pop-dark/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
GetWin32Stats: display was not open yet, good
GetWin32Stats: display was not open yet, good
steamwebhelper.sh[202291]: Runtime for steamwebhelper: defaulting to /home/ralmond/.steam/debian-installation/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[202291]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
CAppInfoCacheReadFromDiskThread took 80 milliseconds to initialize
BRefreshApplicationsInLibrary 1: 1ms
[2023-09-01 18:14:19] Background update loop checking for update. . .
[2023-09-01 18:14:19] Checking for available updates...
[2023-09-01 18:14:19] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12?t=703316471
[2023-09-01 18:14:19] Manifest download: send request
[2023-09-01 18:14:19] Manifest download: waiting for download to finish
[2023-09-01 18:14:20] Manifest download: finished
[2023-09-01 18:14:20] Download skipped: /steam_client_ubuntu12?t=703316471 version 1690583737, installed version 1690583737, existing pending version 0
[2023-09-01 18:14:20] Nothing to do
steamwebhelper.sh[203228]: Runtime for steamwebhelper: defaulting to /home/ralmond/.steam/debian-installation/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[203228]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
BuildCompleteAppOverviewChange: 586 apps
RegisterForAppOverview 1: 38ms
RegisterForAppOverview 2: 39ms
[2023-09-01 18:18:50] Shutdown

Steps for reproducing this issue:

The following commands seem to have similar issues

  1. /usr/games/steam
  2. /usr/games/steam -vgui
  3. /usr/games/steam -cef-disable-gpu
  4. /usr/games/steam --reset

Note, Steam is running properly on my laptop (also Pop-OS 22.04 with pop-wayland). The difference I can see in the log files is that on the desktop (which is not working) I'm seeing the error message Could not connect to X session manager: None of the authentication protocols specified are supported repeatedly but these are not on the laptop (which is working).

I tried running xhost + to turn off authentication, but that is not working.

ralmond commented 1 year ago

Additionally

(base) [ralmond@cherry: ~]$ echo $DISPLAY
:1
(base) [ralmond@cherry: ~]$ echo $SESSION_MANAGER
local/cherry:@/tmp/.ICE-unix/2551,unix/cherry:/tmp/.ICE-unix/2551
(base) [ralmond@cherry: ~]$ ls -l /tmp/.ICE-unix/
total 0
srwxrwxrwx 1 ralmond ralmond 0 Aug 30 18:49 2551
utkarsh-shekhar commented 1 year ago

Your system information

I have the exact same issue and noticed that it always gets stuck at the same log "BRefreshApplicationsInLibrary 1: 1ms".


$ steam
steam.sh[48885]: Running Steam on arch rolling 64-bit
steam.sh[48885]: STEAM_RUNTIME is enabled automatically
setup.sh[48960]: Steam runtime environment up-to-date!
steam.sh[48885]: Steam client's requirements are satisfied
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
[2023-09-06 02:09:18] Startup - updater built Jul 28 2023 18:44:09
[2023-09-06 02:09:18] Startup - Steam Client launched with: '/home/utkarsh/.local/share/Steam/ubuntu12_32/steam'
09/06 02:09:18 Init: Installing breakpad exception handler for appid(steam)/version(1690583737)/tid(49014)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2023-09-06 02:09:18] Loading cached metrics from disk (/home/utkarsh/.local/share/Steam/package/steam_client_metrics.bin)
[2023-09-06 02:09:18] Using the following download hosts for Public, Realm steamglobal
[2023-09-06 02:09:18] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2023-09-06 02:09:18] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2023-09-06 02:09:18] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2023-09-06 02:09:18] Checking for update on startup
[2023-09-06 02:09:18] Checking for available updates...
[2023-09-06 02:09:18] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12
[2023-09-06 02:09:18] Manifest download: send request
[2023-09-06 02:09:18] Manifest download: waiting for download to finish
[2023-09-06 02:09:19] Manifest download: finished
[2023-09-06 02:09:19] Download skipped: /steam_client_ubuntu12 version 1690583737, installed version 1690583737, existing pending version 0
[2023-09-06 02:09:19] Nothing to do
[2023-09-06 02:09:19] Verifying installation...
[2023-09-06 02:09:19] Performing checksum verification of executable files
[2023-09-06 02:09:19] Verification complete
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf6b33370
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf6b31cc0
GetWin32Stats: display was not open yet, good
GetWin32Stats: display was not open yet, good
steamwebhelper.sh[49097]: Runtime for steamwebhelper: defaulting to /home/utkarsh/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[49097]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
Fontconfig warning: line 5: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "description"
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
Fontconfig warning: "/etc/fonts/conf.d/10-sub-pixel-rgb.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-yes-antialias.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/48-spacing.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 4: unknown element "description"
CAppInfoCacheReadFromDiskThread took 14 milliseconds to initialize
BRefreshApplicationsInLibrary 1: 1ms
ralmond commented 1 year ago

It seems to have gone away after a reboot. I'm guessing it might have been transient error in Wayland or Xwayland.

utkarsh-shekhar commented 1 year ago

For me, this hasn't gone away.

FlorianFranzen commented 1 year ago

Have you tried setting the environment variable SDL_VIDEO_DRIVER to wayland before running steam, e.g via:

SDL_VIDEO_DRIVER=wayland steam
kisak-valve commented 12 months ago

Closing per @ralmond's last comment.

Hello @utkarsh-shekhar, if you're still seeing a similar problem, please open a new issue report so that your issue can be tracked properly.

Milor123 commented 4 months ago

Manjaro with KDE plasma 6 and NVIDIA with wayland, I cant open steam, it keep in bootloop, or when update to beta neither work, Steam is crazy from a month ago. I've tried many things but all is bugged, and if delete all steam setting it after a days update and then the bug returns

PrefersNonDefaultGPU=false SDL_VIDEODRIVER=wayland env --unset=DRI_PRIME steam -vgui

steam.sh[101482]: Running Steam on manjarolinux 24.0.2 64-bit
steam.sh[101482]: STEAM_RUNTIME is enabled automatically
setup.sh[101555]: Steam runtime environment up-to-date!
steam.sh[101482]: Steam client's requirements are satisfied
[2024-06-18 17:34:27] Startup - updater built Jun 18 2024 19:36:39
[2024-06-18 17:34:27] Startup - Steam Client launched with: '/home/noe/.local/share/Steam/ubuntu12_32/steam' '-srt-logger-opened' '-vgui'
06/18 17:34:27 minidumps folder is set to /tmp/dumps
06/18 17:34:27 Init: Installing breakpad exception handler for appid(steam)/version(1718743002)/tid(101614)
[2024-06-18 17:34:27] Loading cached metrics from disk (/home/noe/.local/share/Steam/package/steam_client_metrics.bin)
[2024-06-18 17:34:27] Using the following download hosts for Public, Realm steamglobal
[2024-06-18 17:34:27] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2024-06-18 17:34:27] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2024-06-18 17:34:27] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-06-18 17:34:27] Verifying installation...
[2024-06-18 17:34:27] Verification complete
UpdateUI: skip show logo
Steam logging initialized: directory: /home/noe/.local/share/Steam/logs

/home/noe/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by /usr/lib32/libproxy/libpxbackend-1.0.so)
Failed to load module: /usr/lib32/gio/modules/libgiolibproxy.so
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xe9843dc0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xe9842500
CAppInfoCacheReadFromDiskThread took 23 milliseconds to initialize
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 101769
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam