flathub / com.valvesoftware.Steam

https://flathub.org/apps/details/com.valvesoftware.Steam
336 stars 70 forks source link

Surviving Mars fails to start under Wayland #1080

Open tsmock opened 1 year ago

tsmock commented 1 year ago

Game information Surviving Mars

Distribution name and version where applicable Fedora 38 (Silverblue, 38.20230428.0)

Flatpak info

$ flatpak --version
Flatpak 1.15.4
$ flatpak --gl-drivers
default
host

Problem description Surviving Mars fails to start (no error output in UI)

When running ldd on the MarsSteam executable (inside the flatpak), the following libraries were not found:

Does this issue reproduce with native Steam Have not tested (will need to restart into Arch) Does not work (I think it used to work)

Workaround Start GNOME using X11. This is probably a bug in the compatibility layer. Note that this was a bit buggy as well. I had to use alt+F2, r, enter since the windowing system appeared to clamp the mouse to the left-most side of my right monitor, while effectively turning off the left monitor and making the right monitor black (except for the mouse).

tsmock commented 1 year ago

And now it is working under Wayland. Maybe there was some kind of first-time setup that required X11?

Anyway, some logs from starting Surviving Mars:

GameAction [AppID 464920, ActionID 1] : LaunchApp changed task to Completed with ""
ERROR: ld.so: object '/usr/lib/libcurl.so.4.0.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: line 1: xdg-screensaver: command not found
Steam: An X Error occurred
X Error of failed request:  BadWindow (invalid Window parameter)
Major opcode of failed request:  20 (X_GetProperty)
Resource id in failed request:  0x0
Serial number of failed request:  9
xerror_handler: X failed, continuing
Steam: An X Error occurred