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.93k stars 420 forks source link

Heroic Games Launcher stopped launching games after mesa 23 update. #2566

Closed Veprovina closed 1 year ago

Veprovina commented 1 year ago

Describe the bug

Heroic launcher opens up, but won't launch any game i have installed with it.

Add logs

(23:46:55) INFO:    [Connection]:       Connectivity: check-online
(23:46:55) INFO:    [Connection]:       Pinging external endpoints
(23:46:55) INFO:    [Legendary]:        Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary --version
(23:46:55) INFO:    [Legendary]:        Legendary location: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary
(23:46:55) INFO:    [Gog]:              GOGDL location: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
(23:46:55) INFO:    [Gog]:              GOGDL location: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
(23:46:55) WARNING: [Backend]:          Protocol already registered.
(23:46:55) INFO:    [Connection]:       Connectivity: online
(23:46:55) INFO:    [Gog]:              Getting data about the user
(23:46:55) INFO:    [Gog]:              Refreshing access_token
(23:46:55) INFO:    [Gog]:              Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --version
(23:46:55) INFO:    [Backend]:          AreWeAntiCheatYet data downloaded
(23:46:55) INFO:    [Gog]:              Token refreshed successfully
(23:46:56) INFO:    [Backend]:          Loading Screen Ready
(23:46:56) INFO:    [Frontend]:         Refreshing Library
(23:46:56) INFO:    [Legendary]:        Refreshing library...
(23:46:56) INFO:    [Legendary]:        Refreshing Epic Games...
(23:46:56) INFO:    [Legendary]:        Game list updated, got 190 games & DLCs
(23:46:56) INFO:    [Gog]:              Getting GOG library
(23:46:56) INFO:    [Backend]:          Frontend Ready
(23:46:56) INFO:    [Gog]:              Saved user data to config
(23:46:56) INFO:    [Backend]:          Checking for new Heroic Updates
(23:46:56) INFO:    [Backend]:          Checking for current version changelog
(23:46:56) INFO:    [Legendary]:        Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary list --third-party
(23:46:58) INFO:    [Winetricks]:       Downloading Winetricks
(23:46:59) INFO:    [Gog]:              Number of library pages: 1
(23:46:59) INFO:    [Gog]:              Saved games data
(23:47:00) INFO:    [Legendary]:        Checking for game updates: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary list --third-party
(23:47:01) INFO:    [Backend]:          Starting the Download Queue
(23:47:02) INFO:    [Legendary]:        Found 0 games to update
(23:47:02) INFO:    [Gog]:              Found 0 game(s) to update

Launching from terminal:
Gtk-Message: 12:33:54.482: Failed to load module "appmenu-gtk-module"
[25808:0322/104133.891642:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[25808:0322/104133.892822:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[25808:0322/104136.652333:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
(10:41:36) INFO:    [Legendary]:        Checking if EOS Overlay is enabled: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary eos-overlay info --prefix "/
home/veprovina/Games/Heroic/Prefixes/BioShock 2 Remastered/pfx"
(10:41:36) INFO:    [ExtraGameInfo]:    Using cached ExtraGameInfo data for BioShock 2 Remastered
(10:41:36) DEBUG:   [Legendary]:        Using cached install info
(10:41:36) DEBUG:   [Legendary]:        Using cached install info
(10:41:36) DEBUG:   [Legendary]:        Using cached install info
(10:41:37) INFO:    [Legendary]:        Abort command "/opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary eos-overlay info --prefix "/home/veprovina/Games/
Heroic/Prefixes/BioShock 2 Remastered/pfx""
(10:41:40) INFO:    [Backend]:          Launching BioShock 2 Remastered (b22ce34b4ce0408c97a888554447479b)
(10:41:40) INFO:    [Backend]:          Preventing display from sleep
(10:41:40) INFO:    [Legendary]:        Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary --version
(10:41:40) DEBUG:   [Legendary]:        Using cached install info
(10:41:40) DEBUG:   [Legendary]:        Using cached install info
(10:41:40) INFO:    [Gog]:              Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --version
/bin/sh: line 1: hostname: command not found

Steps to reproduce

  1. Open Heroic
  2. Start any game, i tried both games using proton and native.
  3. It just hangs there, the game doesn't open, nothing happens

Expected behavior

Expected to start a game. The icon shows as "playing" but the game never starts.

Screenshots

No response

Heroic Version

Latest Stable

System Information

Additional information

Trying to stop the game from heroic prints this in the terminal:

(00:04:40) INFO:    [Backend]:          Trying to kill b22ce34b4ce0408c97a888554447479b
(00:04:40) INFO:    [Backend]:          Killed b22ce34b4ce0408c97a888554447479b

but doesn't actually stop the game, it still shows as playing and i can click the stop button over and over again, and it'll print the same line over and over again.

Installing inetutils makes the /bin/sh: line 1: hostname: command not found error go away and installing appmenu-gtk-modulemakes the Gtk-Message: 12:33:54.482: Failed to load module "appmenu-gtk-module" error not show anymore though, the launcher opens up without those packages installed.

I also tried installind different builds from AUR, bin, electron, but all 3 i tried exhibit the same behaviour. The games still won't launch. Tried both on X and Wayland, same behaviour, and it started after mesa 23 update to Arch. I can't say for sure it's mesa's fault, it's probably not, but that's the only thing i'm for certain changed between it working and not launching games all of a sudden. Mesa wasn't the only package updated, but none were removed.

Steam games work just fine and so do native games installed via packages (supertux). Lutris games also work.

Etaash-mathamsetty commented 1 year ago

give a game log (right click the game and press logs)

Veprovina commented 1 year ago

I'm sorry, i don't seem to have that option, this is the right click menu when i right click on a game: https://imgur.com/a/fkKFjV5

Veprovina commented 1 year ago

This is what was outputting in the terminal as i was right clicking:

(01:56:54) INFO:    [Legendary]:        Checking if EOS Overlay is enabled: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary eos-overlay info --prefix "/home/veprovina/Games/Heroic/Prefixes/BioShock 2 Remastered/pfx"
(01:56:54) INFO:    [ExtraGameInfo]:    Using cached ExtraGameInfo data for BioShock 2 Remastered
(01:56:54) DEBUG:   [Legendary]:        Using cached install info
(01:56:54) DEBUG:   [Legendary]:        Using cached install info
(01:56:54) DEBUG:   [Legendary]:        Using cached install info
(01:56:54) INFO:    [Legendary]:        Abort command "/opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary eos-overlay info --prefix "/home/veprovina/Games/Heroic/Prefixes/BioShock 2 Remastered/pfx""
(01:57:07) INFO:    [ExtraGameInfo]:    Using cached ExtraGameInfo data for BioShock 2 Remastered
(01:57:12) DEBUG:   [Legendary]:        Using cached install info
(01:57:27) DEBUG:   [Legendary]:        Using cached install info
(01:58:24) INFO:    [Legendary]:        Checking if EOS Overlay is enabled: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary eos-overlay info --prefix "/home/veprovina/Games/Heroic/Prefixes/BioShock 2 Remastered/pfx"
(01:58:24) INFO:    [ExtraGameInfo]:    Using cached ExtraGameInfo data for BioShock 2 Remastered
(01:58:24) DEBUG:   [Legendary]:        Using cached install info
(01:58:24) DEBUG:   [Legendary]:        Using cached install info
(01:58:24) DEBUG:   [Legendary]:        Using cached install info
(01:58:24) INFO:    [Legendary]:        Abort command "/opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary eos-overlay info --prefix "/home/veprovina/Games/Heroic/Prefixes/BioShock 2 Remastered/pfx""
(01:58:35) INFO:    [Legendary]:        Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary --version
(01:58:35) INFO:    [Gog]:              Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --version
(02:01:28) INFO:    [ProtocolHandler]:  received 'heroic://launch/1437564865'
(02:01:28) WARNING: [Legendary]:        Requested game 1437564865 was not found in library
(02:01:28) ERROR:   [Legendary]:        Could not get game info for 1437564865, returning empty object. Something is probably gonna go wrong soon
(02:01:28) INFO:    [Backend]:          Launching Ziggurat (1437564865)
(02:01:28) INFO:    [Backend]:          Preventing display from sleep
(02:01:28) INFO:    [Legendary]:        Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary --version
(02:01:28) INFO:    [Gog]:              Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --version
(02:01:36) INFO:    [Legendary]:        Checking if EOS Overlay is enabled: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary eos-overlay info --prefix "/home/veprovina/Games/Heroic/Prefixes/BioShock 2 Remastered/pfx"
(02:01:36) INFO:    [ExtraGameInfo]:    Using cached ExtraGameInfo data for BioShock 2 Remastered
(02:01:36) DEBUG:   [Legendary]:        Using cached install info
(02:01:36) DEBUG:   [Legendary]:        Using cached install info
(02:01:36) DEBUG:   [Legendary]:        Using cached install info
(02:01:37) INFO:    [Legendary]:        Abort command "/opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary eos-overlay info --prefix "/home/veprovina/Games/Heroic/Prefixes/BioShock 2 Remastered/pfx""
(02:01:39) DEBUG:   [Legendary]:        Using cached install info
(02:01:40) DEBUG:   [Legendary]:        Using cached install info

There's one ERROR message there...

EDIT: Also, as i'm skimming through it - it says launching Ziggurat - i did NOT launch it at any point since i stared heroic from terminal!

Etaash-mathamsetty commented 1 year ago

I'm sorry, i don't seem to have that option, this is the right click menu when i right click on a game: imgur.com/a/fkKFjV5

I thought that feature was part of 2.6.2, mb, it's going to be part of 2.7.0 then click on the game card and under the play button there should be "report a problem running this game"

Veprovina commented 1 year ago

Ah yes, there it is.

Here's the log:

System Info:
Heroic Version: 2.6.2 Trafalgar Law
Legendary Version:  0.20.32 Dark Energy (hotfix #6)
GOGdl Version: 0.6

Electron Version: 22.2.0
Chrome Version: 108.0.5359.215
NodeJS Version: 16.17.1

OS: Arch KERNEL: 6.2.7-arch1-1 ARCH: x64
CPU: AMD Ryzen 5 5600G with Radeon Graphics @2.72 GOVERNOR: schedutil
RAM: Total: 30.73 GiB Available: 21.96 GiB
GRAPHICS: GPU0: Bonaire XTX [Radeon R7 260X/360] VRAM: 256MB  GPU1: Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] VRAM: 512MB  
PROTOCOL: wayland

Game Settings: {
    "autoInstallDxvk": true,
    "autoInstallVkd3d": true,
    "preferSystemLibs": false,
    "enableFSR": true,
    "nvidiaPrime": false,
    "enviromentOptions": [],
    "wrapperOptions": [],
    "showFps": true,
    "targetExe": "/mnt/veprovina/Data/Heroic/BioShock2Remastered/Build/FinalEpic/Bioshock2HD.exe",
    "useGameMode": true,
    "language": "",
    "wineVersion": {
        "bin": "/home/veprovina/.local/share/Steam/compatibilitytools.d/GE-Proton7-51/proton",
        "name": "Proton - GE-Proton7-51",
        "type": "proton"
    },
    "winePrefix": "/home/veprovina/Games/Heroic/Prefixes/BioShock 2 Remastered",
    "wineCrossoverBottle": "",
    "enableDXVKFpsLimit": false,
    "DXVKFpsCap": "75"
}

Game launched at: Thu Mar 23 2023 00:04:26 GMT+0100 (Central European Standard Time)

Do you want the logs for other games as well? Cause none of them work, and the terminal behavior is always the same, it hangs on starting any of them, and gets stuck in a "kill loop" if i try to end them.

Etaash-mathamsetty commented 1 year ago

have you tried wine-ge rather than proton?

Veprovina commented 1 year ago

I did just now:

(03:08:34) INFO:    [Backend]:          b22ce34b4ce0408c97a888554447479b: Setting wineVersion to {"bin":"/home/veprovina/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/bin/wine","name":"Wine - lutris-7.2-2-x86_64","type":"wine","lib":"/home/veprovina/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/lib64","lib32":"/home/veprovina/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/lib","wineserver":"/home/veprovina/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/bin/wineserver","wineboot":"/home/veprovina/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/bin/wineboot"}
[46776:0323/030834.672547:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[46776:0323/030834.678778:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[46776:0323/030839.427150:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
(03:08:45) INFO:    [Backend]:          Launching BioShock 2 Remastered (b22ce34b4ce0408c97a888554447479b)
(03:08:45) INFO:    [Backend]:          Preventing display from sleep
(03:08:45) INFO:    [Legendary]:        Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary --version
(03:08:45) INFO:    [Gog]:              Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --version

Hangs at the exact same place, launching game, the GUI shows "playing" but nothing happens.

System Info:
Heroic Version: 2.6.2 Trafalgar Law
Legendary Version:  0.20.32 Dark Energy (hotfix #6)
GOGdl Version: 0.6

Electron Version: 22.2.0
Chrome Version: 108.0.5359.215
NodeJS Version: 16.17.1

OS: Arch KERNEL: 6.2.7-arch1-1 ARCH: x64
CPU: AMD Ryzen 5 5600G with Radeon Graphics @3.79 GOVERNOR: schedutil
RAM: Total: 30.73 GiB Available: 23.23 GiB
GRAPHICS: GPU0: Bonaire XTX [Radeon R7 260X/360] VRAM: 256MB  GPU1: Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] VRAM: 512MB  
PROTOCOL: wayland

Game Settings: {
    "autoInstallDxvk": true,
    "autoInstallVkd3d": true,
    "preferSystemLibs": false,
    "enableFSR": true,
    "nvidiaPrime": false,
    "enviromentOptions": [],
    "wrapperOptions": [],
    "showFps": true,
    "targetExe": "/mnt/veprovina/Data/Heroic/BioShock2Remastered/Build/FinalEpic/Bioshock2HD.exe",
    "useGameMode": true,
    "language": "",
    "wineVersion": {
        "bin": "/usr/bin/wine",
        "name": "Wine Default - wine-8.4",
        "type": "wine",
        "wineserver": "/usr/bin/wineserver",
        "wineboot": "/usr/bin/wineboot"
    },
    "winePrefix": "/home/veprovina/Games/Heroic/Prefixes/BioShock 2 Remastered",
    "wineCrossoverBottle": "",
    "enableDXVKFpsLimit": false,
    "DXVKFpsCap": "75"
}

Game launched at: Thu Mar 23 2023 03:07:15 GMT+0100 (Central European Standard Time)

I even tried lutris wine... But also, it worked perfectly fine on Proton, all of the games did... Now it won't even launch native games like Ziggurat.

Etaash-mathamsetty commented 1 year ago

do you have clinfo installed (if you do remove it)

Veprovina commented 1 year ago

I have it installed, but removing it would break some dependancy:

error: failed to prepare transaction (could not satisfy dependencies)
:: removing clinfo breaks dependency 'clinfo' required by kinfocenter

Seems like a KDE thing so i can't remove it. And it was i guess installed from the start, so Heroic worked while clinfo was on the system...

Etaash-mathamsetty commented 1 year ago

I have it installed, but removing it would break some dependancy:

error: failed to prepare transaction (could not satisfy dependencies)
:: removing clinfo breaks dependency 'clinfo' required by kinfocenter

Seems like a KDE thing so i can't remove it. And it was i guess installed from the start, so Heroic worked while clinfo was on the system...

rusticl was added to the mesa 23 package it could be causing clinfo to hang (causing the game to not run), I would just check if clinfo is hanging or not either way I would also try using this build: https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/actions/runs/4475398839?pr=2563 and seeing if your game works worst case downgrade to 22.3 or something (mesa-tkg-git on chaotic aur also works, it doesn't have rusticl, so that's the thing that's making me think that the issue is rusticl)

numerfolt commented 1 year ago

I had this problem too, I will append my logs as .txt files in case they are important.

Using the build @Etaash-mathamsetty referred to, I can start the games normally. So thanks for the quick help :)

Bloons Log.txt Heroic Games Launcher Log.txt

Veprovina commented 1 year ago

Well, i'll try using the mentioned build when i figure out how to use it. :P

Veprovina commented 1 year ago

Well, i tried to, just to see what would happen, install the "git" version from AUR, this is what happens when the program opens up:

An error has occurred! Try to Logout and Login on your Epic account.
Available games:
<<(deleted, the list was too long to post)>>
[cli] INFO: Logging in...[Core] INFO: Trying to re-use existing login session...[cli] INFO: Getting game list... (this may take a while)Traceback (most recent call last):
File "legendary/cli.py", line 3061, in <module>
File "legendary/cli.py", line 2972, in mainFile "legendary/cli.py", line 239, in list_games
UnicodeEncodeError: 'ascii' codec can't encode character '\xae' in position 18: ordinal not in range(128)
[26403] Failed to execute script 'cli' due to unhandled exception!

Is this helpful in identifying the problem? Just in general, i don't want to seem pushy as it seems the problem isn't widespread. I just thought it woudl be useful to the devs. I still don't know how to use the specific build that was linked here, i never understood how github works lol, so i can't try that one out... I'd appreciate the help to try that one out.

Etaash-mathamsetty commented 1 year ago

Well, i tried to, just to see what would happen, install the "git" version from AUR, this is what happens when the program opens up:

An error has occurred! Try to Logout and Login on your Epic account.
Available games:
<<(deleted, the list was too long to post)>>
[cli] INFO: Logging in...[Core] INFO: Trying to re-use existing login session...[cli] INFO: Getting game list... (this may take a while)Traceback (most recent call last):
File "legendary/cli.py", line 3061, in <module>
File "legendary/cli.py", line 2972, in mainFile "legendary/cli.py", line 239, in list_games
UnicodeEncodeError: 'ascii' codec can't encode character '\xae' in position 18: ordinal not in range(128)
[26403] Failed to execute script 'cli' due to unhandled exception!

Is this helpful in identifying the problem? Just in general, i don't want to seem pushy as it seems the problem isn't widespread. I just thought it woudl be useful to the devs. I still don't know how to use the specific build that was linked here, i never understood how github works lol, so i can't try that one out... I'd appreciate the help to try that one out.

That's not what I asked you do to, just download the linux-appimage from the ci I linked (-git doesn't contain the patch yet)

Veprovina commented 1 year ago

Ah yes, i see the appimage now.

I removed all heroic versions and just ran the appimage.

At the program open, i get this:

An error has occurred! Try to Logout and Login on your Epic account.
Available games:
* A Game Of Thrones: The Board Game Digital Edition (App name: 06b8b80d89c24a28a7e91127fcbd9542 | Version: 1.1.2.1570)
* A Plague Tale: Innocence (App name: e0fa47ae79514345823bff209ae29451 | Version: EGS_1.08.4)
* Alba - A Wildlife Adventure (App name: 8a0173bbe3ac48ac903f5bc7277e7b4e | Version: 1.2.4)
* Alien: Isolation (App name: 8935bb3e1420443a9789fe01758039a5 | Version: 1.0RC5.284847.51533)
* Amnesia: Rebirth (App name: f59de18db4dc445f88ffeff24d081234 | Version: 1.42)
* Among the Sleep - Enhanced Edition (App name: aa78f7be2ee64193b6b6444c5fc50157 | Version: Windows.3.1.0.41_Win64_DLL_Fix)
* Among Us (App name: 963137e4c29d4c79a81323b8fab03a40 | Version: 2729)
* Ancient Enemy (App name: a96de508ac71471fa05e7c1c695e3b5d | Version: 1.03fix)
* ARK: Survival Evolved (App name: aafc587fbf654758802c8e41e4fb3255 | Version: 357.3.win)
* Automachef (App name: 069a60f6b0514a5fbe81b38957c1ddfd | Version: 15)
* Aven Colony (App name: dc07b9ead8214591b8df6d2546d2a0e3 | Version: 15)
* BioShock 2 Remastered (App name: b22ce34b4ce0408c97a888554447479b | Version: 1.0.0_BN-138_CL-17677)
* BioShock Infinite: Complete Edition (App name: f9d6f0530ea140909f8e8a997a7532d7 | Version: 1.0.0_BN-314_CL-17899)
* BioShock Remastered (App name: bc2c95c6ff564a16b26644f1d3ac3c55 | Version: 1.0.0_BN-187_CL-17677)
* Black Widow: Recharged (App name: a21fd90517bf428eb7c995a8c3261722 | Version: 5)
* Blair Witch (App name: 247a0f0f5803429eb3be2c06f3ea77ff | Version: BLAIR_WIN_SRC_20191209_1642)
* Borderlands 3 (App name: Catnip | Version: 1.0.23_CL_2860060_Borderlands_3)
* Bridge Constructor: The Walking Dead (App name: 998af0ab527c493baefb8049250c9a0e | Version: 1.0r31Win)
* Brothers - A Tale of Two Sons (App name: Tamarind | Version: 1.1)
* Call of the Sea (App name: 6278dd278d714aeb88239a423fa0f8be | Version: 1.5.4.5)
* Car Mechanic Simulator 2018 (App name: 8032b75cf0914afa87c78d6914adc165 | Version: 1.6)
* Cave Story+ (App name: 1dea8a6ddb544842a58e4b5c8675ff58 | Version: 1.1)
* Centipede Recharged (App name: 8727e9d0693542bda60769dc2ce33c20 | Version: 4)
* Cities Skylines (App name: bcbc03d8812a44c18f41cf7d5f849265 | Version: 1.16.1-f3)
* City of Brass (App name: Arrowroot | Version: 1.6.3.0)
* City of Gangsters (App name: 002b00085aeb49b1a3f3c42e3f918f2f | Version: 1.4.3.5)
* Control (App name: Calluna | Version: 01.13)
* Cook, Serve, Delicious! 3?! (App name: 680599141dc14accb456887a2be3ac0c | Version: 1.1)
* Costume Quest 2 (App name: 82a78a4dd6ef4eaa892707791b705073 | Version: 1)
* Cris Tales (App name: e7d92786abe54fae9319c1ddb94ae271 | Version: 1.0.7)
* Crying Suns (App name: 18fafa2d70d64831ab500a9d65ba9ab8 | Version: 2.2.5.14-WIN64)
* DAEMON X MACHINA (App name: f4f0d39fbb4640e0be62aa91d9eca87d | Version: 1.0.6)
* Dark Deity (App name: e21be436768f4add87d4935a180b4932 | Version: 1.58)[cli] INFO: Logging in...[Core] INFO: Trying to re-use existing login session...[cli] INFO: Getting game list... (this may take a while)Traceback (most recent call last):
File "legendary/cli.py", line 3061, in <module>
File "legendary/cli.py", line 2972, in mainFile "legendary/cli.py", line 239, in list_games
UnicodeEncodeError: 'ascii' codec can't encode character '\xae' in position 18: ordinal not in range(128)
[33547] Failed to execute script 'cli' due to unhandled exception!

The games are recognized as installed and they do run, but none of the settings or saved games are recognized. It's as if i'm starting them for the first time.

EDIT: I tried logging out and back in like it said, but now, trying to run the game, i get this error:

An error has occurred! Try to Logout and Login on your Epic account.
gamemodeauto:[cli] INFO: Logging in...
Traceback (most recent call last):
File "legendary/cli.py", line 3061, in <module>File "legendary/cli.py", line 2976, in main
File "legendary/cli.py", line 592, in launch_game
File "legendary/core.py", line 187, in login
ValueError: No saved credentials
[34337] Failed to execute script 'cli' due to unhandled exception!
Etaash-mathamsetty commented 1 year ago

Ah yes, i see the appimage now.

I removed all heroic versions and just ran the appimage.

At the program open, i get this:

An error has occurred! Try to Logout and Login on your Epic account.
Available games:
* A Game Of Thrones: The Board Game Digital Edition (App name: 06b8b80d89c24a28a7e91127fcbd9542 | Version: 1.1.2.1570)
* A Plague Tale: Innocence (App name: e0fa47ae79514345823bff209ae29451 | Version: EGS_1.08.4)
* Alba - A Wildlife Adventure (App name: 8a0173bbe3ac48ac903f5bc7277e7b4e | Version: 1.2.4)
* Alien: Isolation (App name: 8935bb3e1420443a9789fe01758039a5 | Version: 1.0RC5.284847.51533)
* Amnesia: Rebirth (App name: f59de18db4dc445f88ffeff24d081234 | Version: 1.42)
* Among the Sleep - Enhanced Edition (App name: aa78f7be2ee64193b6b6444c5fc50157 | Version: Windows.3.1.0.41_Win64_DLL_Fix)
* Among Us (App name: 963137e4c29d4c79a81323b8fab03a40 | Version: 2729)
* Ancient Enemy (App name: a96de508ac71471fa05e7c1c695e3b5d | Version: 1.03fix)
* ARK: Survival Evolved (App name: aafc587fbf654758802c8e41e4fb3255 | Version: 357.3.win)
* Automachef (App name: 069a60f6b0514a5fbe81b38957c1ddfd | Version: 15)
* Aven Colony (App name: dc07b9ead8214591b8df6d2546d2a0e3 | Version: 15)
* BioShock 2 Remastered (App name: b22ce34b4ce0408c97a888554447479b | Version: 1.0.0_BN-138_CL-17677)
* BioShock Infinite: Complete Edition (App name: f9d6f0530ea140909f8e8a997a7532d7 | Version: 1.0.0_BN-314_CL-17899)
* BioShock Remastered (App name: bc2c95c6ff564a16b26644f1d3ac3c55 | Version: 1.0.0_BN-187_CL-17677)
* Black Widow: Recharged (App name: a21fd90517bf428eb7c995a8c3261722 | Version: 5)
* Blair Witch (App name: 247a0f0f5803429eb3be2c06f3ea77ff | Version: BLAIR_WIN_SRC_20191209_1642)
* Borderlands 3 (App name: Catnip | Version: 1.0.23_CL_2860060_Borderlands_3)
* Bridge Constructor: The Walking Dead (App name: 998af0ab527c493baefb8049250c9a0e | Version: 1.0r31Win)
* Brothers - A Tale of Two Sons (App name: Tamarind | Version: 1.1)
* Call of the Sea (App name: 6278dd278d714aeb88239a423fa0f8be | Version: 1.5.4.5)
* Car Mechanic Simulator 2018 (App name: 8032b75cf0914afa87c78d6914adc165 | Version: 1.6)
* Cave Story+ (App name: 1dea8a6ddb544842a58e4b5c8675ff58 | Version: 1.1)
* Centipede Recharged (App name: 8727e9d0693542bda60769dc2ce33c20 | Version: 4)
* Cities Skylines (App name: bcbc03d8812a44c18f41cf7d5f849265 | Version: 1.16.1-f3)
* City of Brass (App name: Arrowroot | Version: 1.6.3.0)
* City of Gangsters (App name: 002b00085aeb49b1a3f3c42e3f918f2f | Version: 1.4.3.5)
* Control (App name: Calluna | Version: 01.13)
* Cook, Serve, Delicious! 3?! (App name: 680599141dc14accb456887a2be3ac0c | Version: 1.1)
* Costume Quest 2 (App name: 82a78a4dd6ef4eaa892707791b705073 | Version: 1)
* Cris Tales (App name: e7d92786abe54fae9319c1ddb94ae271 | Version: 1.0.7)
* Crying Suns (App name: 18fafa2d70d64831ab500a9d65ba9ab8 | Version: 2.2.5.14-WIN64)
* DAEMON X MACHINA (App name: f4f0d39fbb4640e0be62aa91d9eca87d | Version: 1.0.6)
* Dark Deity (App name: e21be436768f4add87d4935a180b4932 | Version: 1.58)[cli] INFO: Logging in...[Core] INFO: Trying to re-use existing login session...[cli] INFO: Getting game list... (this may take a while)Traceback (most recent call last):
File "legendary/cli.py", line 3061, in <module>
File "legendary/cli.py", line 2972, in mainFile "legendary/cli.py", line 239, in list_games
UnicodeEncodeError: 'ascii' codec can't encode character '\xae' in position 18: ordinal not in range(128)
[33547] Failed to execute script 'cli' due to unhandled exception!

The games are recognized as installed and they do run, but none of the settings or saved games are recognized. It's as if i'm starting them for the first time.

EDIT: I tried logging out and back in like it said, but now, trying to run the game, i get this error:

An error has occurred! Try to Logout and Login on your Epic account.
gamemodeauto:[cli] INFO: Logging in...
Traceback (most recent call last):
File "legendary/cli.py", line 3061, in <module>File "legendary/cli.py", line 2976, in main
File "legendary/cli.py", line 592, in launch_game
File "legendary/core.py", line 187, in login
ValueError: No saved credentials
[34337] Failed to execute script 'cli' due to unhandled exception!

Try the alternative login

Veprovina commented 1 year ago

I did that, the games open again, but i get the same error message after logging in and going to my library, and no saves are present.

Error message:

An error has occurred! Try to Logout and Login on your Epic account.
Available games:
* A Game Of Thrones: The Board Game Digital Edition (App name: 06b8b80d89c24a28a7e91127fcbd9542 | Version: 1.1.2.1570)
* A Plague Tale: Innocence (App name: e0fa47ae79514345823bff209ae29451 | Version: EGS_1.08.4)
* Alba - A Wildlife Adventure (App name: 8a0173bbe3ac48ac903f5bc7277e7b4e | Version: 1.2.4)
* Alien: Isolation (App name: 8935bb3e1420443a9789fe01758039a5 | Version: 1.0RC5.284847.51533)
* Amnesia: Rebirth (App name: f59de18db4dc445f88ffeff24d081234 | Version: 1.42)
* Among the Sleep - Enhanced Edition (App name: aa78f7be2ee64193b6b6444c5fc50157 | Version: Windows.3.1.0.41_Win64_DLL_Fix)
* Among Us (App name: 963137e4c29d4c79a81323b8fab03a40 | Version: 2729)
* Ancient Enemy (App name: a96de508ac71471fa05e7c1c695e3b5d | Version: 1.03fix)
* ARK: Survival Evolved (App name: aafc587fbf654758802c8e41e4fb3255 | Version: 357.3.win)
* Automachef (App name: 069a60f6b0514a5fbe81b38957c1ddfd | Version: 15)
* Aven Colony (App name: dc07b9ead8214591b8df6d2546d2a0e3 | Version: 15)
* BioShock 2 Remastered (App name: b22ce34b4ce0408c97a888554447479b | Version: 1.0.0_BN-138_CL-17677)
* BioShock Infinite: Complete Edition (App name: f9d6f0530ea140909f8e8a997a7532d7 | Version: 1.0.0_BN-314_CL-17899)
* BioShock Remastered (App name: bc2c95c6ff564a16b26644f1d3ac3c55 | Version: 1.0.0_BN-187_CL-17677)
* Black Widow: Recharged (App name: a21fd90517bf428eb7c995a8c3261722 | Version: 5)
* Blair Witch (App name: 247a0f0f5803429eb3be2c06f3ea77ff | Version: BLAIR_WIN_SRC_20191209_1642)
* Borderlands 3 (App name: Catnip | Version: 1.0.23_CL_2860060_Borderlands_3)
* Bridge Constructor: The Walking Dead (App name: 998af0ab527c493baefb8049250c9a0e | Version: 1.0r31Win)
* Brothers - A Tale of Two Sons (App name: Tamarind | Version: 1.1)
* Call of the Sea (App name: 6278dd278d714aeb88239a423fa0f8be | Version: 1.5.4.5)
* Car Mechanic Simulator 2018 (App name: 8032b75cf0914afa87c78d6914adc165 | Version: 1.6)
* Cave Story+ (App name: 1dea8a6ddb544842a58e4b5c8675ff58 | Version: 1.1)
* Centipede Recharged (App name: 8727e9d0693542bda60769dc2ce33c20 | Version: 4)
* Cities Skylines (App name: bcbc03d8812a44c18f41cf7d5f849265 | Version: 1.16.1-f3)
* City of Brass (App name: Arrowroot | Version: 1.6.3.0)
* City of Gangsters (App name: 002b00085aeb49b1a3f3c42e3f918f2f | Version: 1.4.3.5)
* Control (App name: Calluna | Version: 01.13)
* Cook, Serve, Delicious! 3?! (App name: 680599141dc14accb456887a2be3ac0c | Version: 1.1)
* Costume Quest 2 (App name: 82a78a4dd6ef4eaa892707791b705073 | Version: 1)
* Cris Tales (App name: e7d92786abe54fae9319c1ddb94ae271 | Version: 1.0.7)
* Crying Suns (App name: 18fafa2d70d64831ab500a9d65ba9ab8 | Version: 2.2.5.14-WIN64)
* DAEMON X MACHINA (App name: f4f0d39fbb4640e0be62aa91d9eca87d | Version: 1.0.6)
* Dark Deity (App name: e21be436768f4add87d4935a180b4932 | Version: 1.58)[cli] INFO: Logging in...[Core] INFO: Trying to re-use existing login session...[cli] INFO: Getting game list... (this may take a while)Traceback (most recent call last):
File "legendary/cli.py", line 3061, in <module>File "legendary/cli.py", line 2972, in main
File "legendary/cli.py", line 239, in list_games
UnicodeEncodeError: 'ascii' codec can't encode character '\xae' in position 18: ordinal not in range(128)
[36492] Failed to execute script 'cli' due to unhandled exception!
Veprovina commented 1 year ago

@Etaash-mathamsetty

An update - KDE was starting to annoy me with its various bugs and the last straw was that the login manager crashed after waking up from sleep...

Now i'm on gnome, fresh install...

So far - opening up Heroic (bin, from AUR) gives no errors, i can log in, and see my games. Since the install is VERY fresh, it'll take some time to download some and try.

But, since there's no KDE on the system anymore, there is no clinfo so that might give weight to your theory that clinfo was responsible for the hangups and games not launching and other errors... Or some other KDE package for that matter.

I will post again when i install something and test it out. But i don't forsee any problems so far. The program opened up fine as opposed to what it was doing on my previous install.

zierf commented 1 year ago

I would just check if clinfo is hanging or not either way I would also try using this build: https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/actions/runs/4475398839?pr=2563 and seeing if your game works

@Etaash-mathamsetty Also have Arch with KDE-Wayland, Mesa 23 and your suggestion worked for me. Executing clinfo just hangs with an empty output.

Heroic was already logged-in for me because of my local installation.

Veprovina commented 1 year ago

Well, did some further testing on GNOME on Arch, it seems that clinfo was the culprit...

On GNOME everything worked prefectly. I got logged out once, but probably Heroic login expired or something, i didn't actually get an error, just a normal logout. Logging in was automatic when i clicked "stores".

All games would install, launch, and i could edit the settings as expected.

Thanks for the help in identifying the problem! :) The issue - as far as i'm concerned - can be closed.

Steccah commented 1 year ago

With this build the game starts but then it crashes

Etaash-mathamsetty commented 1 year ago

With this build the game starts but then it crashes

that's probably a different issue

Steccah commented 1 year ago

The issue is that clinfo hangs indefinitely

Etaash-mathamsetty commented 1 year ago

The issue is that clinfo hangs indefinitely

but "With this build the game starts but then it crashes" has nothing to do with clinfo hanging?

Steccah commented 1 year ago

Before mesa 23 and with newer builds games started and worked, i'm just writing what i'm seeing, it may be heroic but i don't know

Steccah commented 1 year ago

I uninstalled intel-oneapi-compiler-dpcpp-cpp-runtime (required by blender) and now clinfo is not hanging. Heroic starts and works, the crash still remain with proton but works with wine, so i'm assuming is not heroic fault