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

Can't launch Steam on Xwayland git newer than 24.1.0 #11022

Open
pendo324 opened this issue Jun 26, 2024 · 2 comments
Open

Can't launch Steam on Xwayland git newer than 24.1.0 #11022

pendo324 opened this issue Jun 26, 2024 · 2 comments

Comments

@pendo324
Copy link

pendo324 commented Jun 26, 2024

Your system information

  • Steam client version (build number or date):
    • Steam Beta Branch: Stable Client
    • Steam Version: 1718904662
    • Steam Client Build Date: Thu, Jun 20 1:14 PM UTC -08:00
    • Steam Web Build Date: Wed, Jun 19 8:04 PM UTC -08:00
    • Steam API Version: SteamClient021
  • Distribution (e.g. Ubuntu): Arch Linux
  • Opted into Steam client beta?: [Yes/No] Yes
  • Have you checked for system updates?: [Yes/No] Yes
  • Steam Logs: steam-logs.tar.gz
  • GPU: Nvidia 3070

Please describe your issue in as much detail as possible:

When running the steam command, I expected steam to launch. Instead, Steam hangs when launched with the last log line emitted being

XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xe481adc0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xe4819500

I tried all of the solutions in #11018, #9383, and #6148, including but not limited to:

  • Disabling "GPU accelerated rendering in web views" (it's been disabled this whole time)
  • Running steam --reset
  • Running steam --vgui
  • Uninstalling and reinstalling steam (pacman -R steam / pacman -S steam)
  • Trying the steam flatpak (flatpak run com.valvesoftware.Steam), with some of the previously mentioned CLI options too
  • Trying the steam-native-runtime Arch package (setting STEAM_RUNTIME=0)
  • Removing ~/.local/share/Steam/ and ~/.steam
  • Toggling beta participation status

What seems to consistently work for me is resetting my package versions to the Arch repo from June 16 2024 (https://archive.archlinux.org/repos/2024/06/16/$repo/os/$arch, following the instructions from the How to restore all packages to a specific date Arch wiki entry), rebooting (steam will fail to launch on this boot, but it tries to upgrade) and then upgrading back to current packages and rebooting (steam will open, update, and prompt me to login). If I reboot again, after having a working configuration, the original failure happens again.

The reason I chose the June 16 2024 archive repo is because its before the KDE 6.1 update hit the Arch repos. I also tried the same procedure with the June 22 archive, and it didn't work. It could also be a coincidence.

This gist has the list of packages that were available in the June 16th repos.

I've also been participating in this Arch BBS thread where another user is experiencing a similar issue: https://bbs.archlinux.org/viewtopic.php?id=297127

I currently have Steam running properly after my downgrade/reboot/upgrade/reboot dance, and I just won't reboot until I figure it out, lol. Sorry for the wall of text, I'm kinda at a loss here as to what could be causing this. Please let me know what steps I can take to help debug.

Steps for reproducing this issue:

  1. Fully upgrade Arch with KDE desktop packages installed/configured
  2. Reboot into a Wayland session
  3. Try to launch steam
@pendo324
Copy link
Author

A user on the Arch BBS provided a fix.

Apparently, there's a diff between the xorg-xwayland-git package on the AUR and the xorg-xwayland package on the main Arch repos which prevents Steam from launching.

Many Arch users (including me) probably had xorg-xwayland-git installed because it provided explicit sync in xwayland before version 24.1 was officially released. Now that it is released, there's no real reason to use the AUR package.

Fixing this on Arch looks like running sudo pacman -S xorg-xwayland and allowing it to replace the xorg-xwayland-git AUR package.

The user on the Arch forums mentioned that its an issue with GTK2, but I'm not sure how they discovered that. I looked into the 2 packages to see if I could spot anything substantial but checking the PKGBUILD file of the xorg-xwayland-git package, it seems like its using the same upstream branch (24.1), so I'm not sure why this would behave any differently from the xorg-xwayland package (PKGBUILD link). From what I can tell, the biggest diff is in the meson build options?

diff --git a/official b/aur
--- a/official
+++ b/aur
-  arch-meson xwayland-$pkgver build \
+  arch-meson xserver build \
     -D ipv6=true \
     -D xvfb=false \
+    -D xnest=false \
     -D xdmcp=false \
     -D xcsecurity=true \
+    -D xorg=false \
+    -D xephyr=false \
+    -D xwayland=true \
+    -D xwin=false \
+    -D xquartz=false \
     -D dri3=true \
     -D glamor=true \
     -D xkb_dir=/usr/share/X11/xkb \
     -D xkb_output_dir=/var/lib/xkb

@Gothem
Copy link

Gothem commented Jun 28, 2024

Seems that the problem might be from the latest changes in xwayland, changing to the latest release (24.1) fix it.

In any case, i made a bug report in the xwayland repository with backtraces.

@kisak-valve kisak-valve changed the title Can't launch Steam on KDE Plasma 6.1.0 Wayland Can't launch Steam on Xwayland git newer than 24.1.0 Jun 28, 2024
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

3 participants