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
7.92k stars 417 forks source link

Unable to load steam runtime #2174

Open medguy28 opened 1 year ago

medguy28 commented 1 year ago

Describe the bug

I'm on fedora 37 and using Heroic flatpak. When I try to launch a game requiring steam runtime, the app complains about the runtime missing - even though I have steam installed as a flatpak on my system. I tried changing the steam default path and giving system-wide file access to heroic but the issue persists. I even tried installing steam as an rpm with no success.

Add logs

(19:23:42) INFO:    [Connection]:       Connectivity: check-online
(19:23:42) INFO:    [Connection]:       Pinging external endpoints
(19:23:42) INFO:    [Legendary]:        Running command: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary --version
(19:23:42) INFO:    [Legendary]:        Legendary location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary
(19:23:42) INFO:    [Gog]:              GOGDL location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
(19:23:43) WARNING: [Backend]:          Failed to register protocol with OS.
(19:23:43) INFO:    [Gog]:              Running command: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --version
(19:23:43) INFO:    [Connection]:       Connectivity: online
(19:23:43) INFO:    [Gog]:              Getting data about the user
(19:23:43) INFO:    [Backend]:          AreWeAntiCheatYet data downloaded
(19:23:43) INFO:    [Backend]:          

Heroic Version: 2.5.1 Yamato
Legendary Version:  0.20.31 Dark Energy (hotfix #5)
GOGdl Version: 0.5
OS: Freedesktop SDK KERNEL: 6.0.11-300.fc37.x86_64 ARCH: x64
CPU: Intel Core™ i7-6700 @3.4 GOVERNOR: powersave
RAM: Total: 15.58 GiB Available: 9.66 GiB
GRAPHICS: GPU0: Baffin [Radeon RX 460/560D / Pro 450/455/460/555/555X/560/560X] VRAM: 256MB  
PROTOCOL: x11

(19:23:43) INFO:    [Gog]:              Saved user data to config
(19:23:44) INFO:    [Backend]:          Checking for current version changelog
(19:23:44) INFO:    [Frontend]:         Refreshing Library
(19:23:44) INFO:    [Legendary]:        Refreshing library...
(19:23:44) INFO:    [Legendary]:        Refreshing Epic Games...
(19:23:44) INFO:    [Legendary]:        Game list updated, got 279 games & DLCs
(19:23:44) INFO:    [Gog]:              Getting GOG library
(19:23:44) INFO:    [Backend]:          Frontend Ready
(19:23:45) INFO:    [Gog]:              Number of library pages: 2
(19:23:45) INFO:    [Gog]:              Getting data for page 2
(19:23:45) INFO:    [Legendary]:        Running command: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary list --third-party
(19:23:45) INFO:    [Winetricks]:       Downloading Winetricks
(19:23:45) INFO:    [Gog]:              Saved games data
(19:23:49) INFO:    [Backend]:          Starting the Download Queue
(19:23:55) INFO:    [Backend]:          Launching Baldur's Gate: Enhanced Edition (1207666353)
(19:23:55) INFO:    [Backend]:          Preventing display from sleep
(19:23:56) DEBUG:   [Backend]:          Unable to load Steam Libraries, libraryfolders.vdf not found
(19:23:56) INFO:    [Backend]:          Stopping Display Power Saver Blocker
(19:23:56) INFO:    [Frontend]:         Refreshing Library
(19:23:56) INFO:    [Gog]:              Getting GOG library
(19:23:57) INFO:    [Gog]:              Number of library pages: 2
(19:23:57) INFO:    [Gog]:              Getting data for page 2
(19:23:58) INFO:    [Gog]:              Saved games data

Steps to reproduce

  1. Start Heroic launcher
  2. Play a game that requires steam runtime to run
  3. See the error message

Expected behavior

Heroic launcher should be able to detect and use steam runtime when asked to do so for particular games - feature that worked on past versions of the app

Screenshots

Schermata a 2022-12-10 19-12-48

System Information

Additional information

No response

arielj commented 8 months ago

Is this report correct? why would a GOG game require the steam runtime to work? that doesn't sound right

anyway, is this issue still present in Heroic 2.11.0? can you try?

Nocccer commented 8 months ago

You need to give heroic acces to steam flatpak and also give steam flatpak accesss to heroic aswell via flatseal. Make sure the steam path is correct.

I think the runtime needs to be installed aswell via steam before.

@arielj you need the runtime for native linux games sometimes. Because native linux games expecting old libc or other libraries that a up to date distro does not provide anymore.

medguy28 commented 8 months ago

Is this report correct? why would a GOG game require the steam runtime to work? that doesn't sound right

anyway, is this issue still present in Heroic 2.11.0? can you try?

Issue still present.

waltercool commented 6 months ago

Can confirm issue still persist.

Using Flatpak Steam and Flatpak Heroic.