Heroic-Games-Launcher / HeroicGamesLauncher

A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
https://heroicgameslauncher.com
GNU General Public License v3.0
8.33k stars 441 forks source link

[Linux] Enabling Steam runtime breaks game launch #2015

Closed oblende closed 2 years ago

oblende commented 2 years ago

Describe the bug

The flatpak version of Heroic is looking for files in paths that do not exist, and possibly files that do not exist.

Add logs

System Info:

Heroic Version: 2.5.0-beta.2 Caesar Clown

Legendary Version: 0.20.30 Dark Energy (hotfix #4)

GOGdl Version: 0.5

OS: Freedesktop SDK KERNEL: 5.13.0-valve21.3-1-neptune ARCH: x64

CPU: Intel Xeon® E31240 @3.3 GOVERNOR: schedutil

RAM: Total: 15.57 GiB Available: 11.9 GiB

GRAPHICS: GPU0: Lexa XT [Radeon PRO WX 2100] VRAM: 256MB DRIVER:

PROTOCOL: x11

Game Settings: {

"autoInstallDxvk": true,

"autoInstallVkd3d": true,

"preferSystemLibs": false,

"nvidiaPrime": false,

"enviromentOptions": [],

"wrapperOptions": [],

"showFps": false,

"useGameMode": false,

"useSteamRuntime": true,

"language": "",

"wineVersion": {

    "bin": "/home/holouser/.local/share/Steam/steamapps/common/Proton 7.0/proton",

    "name": "Proton - Proton 7.0",

    "type": "proton"

},

"winePrefix": "/home/holouser/Games/Heroic/Prefixes/Star Trek Elite Force"

}

Game launched at: Thu Nov 10 2022 22:23:23 GMT-0500 (Eastern Standard Time)

Launch Command: STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/holouser/.var/app/com.heroicgameslauncher.hgl/.steam/steam STEAM_COMPAT_DATA_PATH="/home/holouser/Games/Heroic/Prefixes/Star Trek Elite Force" PROTON_NO_ESYNC=1 PROTON_NO_FSYNC=1 STEAM_COMPAT_APP_ID=0 SteamAppId=0 SteamGameId="heroic-Star Trek Elite Force" PROTON_LOG_DIR=/home/holouser/.var/app/com.heroicgameslauncher.hgl /home/holouser/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/run -- "--filesystem=/home/holouser/Games/Heroic/Star Trek Elite Force" /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl launch "/home/holouser/Games/Heroic/Star Trek Elite Force" 1581756945 --no-wine --wrapper "'/home/holouser/.local/share/Steam/steamapps/common/Proton 7.0/proton' run" --platform windows

Game Log:

pressure-vessel-wrap[979]: W: /dev/shm not shared between app instances (flatpak#4214). The Steam Overlay will not work.

bwrap: Can't chdir to /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux: No such file or directory

Steps to reproduce

  1. Install game
  2. Configure to use Proton
  3. Click play game
  4. Nothing happens

Expected behavior

Game launches and runs.

Screenshots

No response

System Information

System Info:

Heroic Version: 2.5.0-beta.2 Caesar Clown

Legendary Version: 0.20.30 Dark Energy (hotfix #4)

GOGdl Version: 0.5

OS: Freedesktop SDK KERNEL: 5.13.0-valve21.3-1-neptune ARCH: x64

CPU: Intel Xeon® E31240 @3.3 GOVERNOR: schedutil

RAM: Total: 15.57 GiB Available: 11.9 GiB

GRAPHICS: GPU0: Lexa XT [Radeon PRO WX 2100] VRAM: 256MB DRIVER:

PROTOCOL: x11

Additional information

No response

flavioislima commented 2 years ago

I was able to reproduce this issue when enabling the steam runtime. I can see you have it enabled as well. Might be that Steam changed the path to the runtime, will need to investigate this further.

ArchitBhonsle commented 1 year ago

Hey guys. I see that the issue is closed. Does that mean the issue is resolved? Because I'm having the same error with mine. I checked the "Enable Steam Runtime" checkbox and I get this error when I run the game,

pressure-vessel-wrap[811]: W: /dev/shm not shared between app instances (flatpak#4214). The Steam Overlay will not work

I have installed Steam as a Flatpak and am pointing to it (/home/puipuituipui/.var/app/com.valvesoftware.Steam/.steam/steam) in the "Default Steam path" setting.

I started a game using the Proton - Proton -Experimental wine version and that seems to work properly. Just enabling the Steam runtime seems to cause this issue.

I tried this again but opened Steam before starting the game and got this error:

pressure-vessel-wrap[1371]: W: /dev/shm not shared between app instances (flatpak#4214). The Steam Overlay will not work.

bwrap: Can't chdir to /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux: No such file or directory

However, the second line does not appear if Steam is not open.

c0d3h4x0r commented 1 year ago

Same problem launching GOG games (such as Beneath A Steel Sky) on Steam Deck. This is definitely not fixed and should be reopened.