ValveSoftware / steam-for-linux

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

Not able to launch AppImages anymore (working before) #7830

Open ranplayer opened 3 years ago

ranplayer commented 3 years ago

Your system information

Please describe your issue in as much detail as possible:

It should be able to launch AppImage files as it used to

Steps for reproducing this issue:

  1. Download any AppImage application
  2. Create a shell or desktop file to start it
  3. Add the file as a non-steam game
  4. Try to launch it
ranplayer commented 3 years ago

I've tested more AppImages, and some of them work fine. Does the Steam client preload libraries for non-steam games ?

RPCS3 (playstation 3 emulator) AppImage fails to launch due to a library error (but launches fine through a terminal application):

rpcs3: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by rpcs3)

ranplayer commented 3 years ago

I've found out the issue. The Steam client uses LD_PRELOAD when launching non-steam games. Using a custom script that removes the variable allows rpcs3 to launch:

#!/bin/bash
unset -v LD_PRELOAD
rpcs3

LD_PRELOAD should only be set to non-steam-proton games, right ?

Mar2ck commented 3 years ago

I had the same problem with steam not launching minecraft-launcher. Used the same script you made and now it opens so probably not AppImage specific

EDIT: It then makes steam input not work in the game though so it's not a perfect solution. Weirdly i changed tha launch target back to the original minecraft-launcher and now it launches with steam overlay and everything. It looks like it was trying to load the game through proton but now its just executing it normally. No idea whether this is relevant to the issue or not

Jpxe commented 2 years ago

This seems to be related: https://github.com/TheAssassin/AppImageLauncher/issues/485