Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

[Bug] Games Will not run from Lutris or .Desktop Shortcuts (GOG and Epic) #106

Open
malcolmturnbull opened this issue Sep 27, 2022 · 7 comments

Comments

@malcolmturnbull
Copy link

malcolmturnbull commented Sep 27, 2022

I have read the guides and had a scroll through reports. Appears similar to #90, but the troubleshooting went over my head. I assume something is misconfigured, by my fault but have no idea how to fix!

Describe the bug
I can not get games to launch through Lutris, or from .desktop shortcuts. When using Lutris, logs will either say incorrectly that it isn't in ~/Games/Heroic/ when it is, or else return the following, if I set my working directory to ~/Games/Heroic/HeroicBashLauncher it will return:

Started initial process 128086 from /home/user/Games/Heroic/HeroicBashLauncher/GameFiles/HITMAN3_Heroic.sh
Start monitoring process.
/home/user/Games/Heroic/HeroicBashLauncher/GameFiles/HITMAN3_Heroic.sh: line 4: logs/HITMAN3_Heroic.log: No such file or directory
zenity: symbol lookup error: /lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0: undefined symbol: atk_component_scroll_to
ERROR:root:Zenity not installed. Please consider doing so and try again.
Using Bash Launcher v2.9.2
NOTE - This is an independent project and not affiliated with Heroic Games Launcher.

flatpak: symbol lookup error: /lib/x86_64-linux-gnu/libassuan.so.0: undefined symbol: gpgrt_malloc, version GPG_ERROR_1.0
Monitored process exited.
Initial process has exited (return code: 32512)
All processes have quit
Exit with return code 32512

To Reproduce
Using HGL - Flatpack, Flatseal looks like this:
image

Lutris is installed as a .deb.

  1. Install game.
  2. Use HBL - Test .sh script in terminal - The scripts will work when executed from the directory by double-clicking them
  3. Add .sh file to Lutris using the instructions provided.
  4. Attempt to launch game - will not load.
  • Platform: Pop! OS w/ Xanmod Kernel Stable - Laptop AMD Ryzen / RTX 3080m.
  • Heroic Version: Latest, Flatpak
  • Bash Launcher Version: Latest Zip from releases section - no explicit Flatpak version is there, so I used HeroicBashLauncher-2.9.2.zip

Chasing the Logs a bit

  • Zenity is installed
    zenity is already the newest version (3.42.1-0ubuntu1). zenity set to manually installed.
  • If I give HGL permissions to see absolutely everything on my system, Lutris will return:
Started initial process 147512 from /home/user/Games/Heroic/HeroicBashLauncher/GameFiles/HITMAN3_Heroic.sh
Start monitoring process.
/home/user/Games/Heroic/HeroicBashLauncher/GameFiles/HITMAN3_Heroic.sh: line 4: logs/HITMAN3_Heroic.log: No such file or directory
zenity: symbol lookup error: /lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0: undefined symbol: atk_component_scroll_to
ERROR:root:Zenity not installed. Please consider doing so and try again.
Using Bash Launcher v2.9.2
NOTE - This is an independent project and not affiliated with Heroic Games Launcher.

flatpak: symbol lookup error: /lib/x86_64-linux-gnu/libassuan.so.0: undefined symbol: gpgrt_malloc, version GPG_ERROR_1.0
Monitored process exited.
Initial process has exited (return code: 32512)
All processes have quit
Exit with return code 32512

@redromnon
Copy link
Owner

Have you created any symlink that points to this directory?

@malcolmturnbull
Copy link
Author

None that I'm aware of other than via Flatseal

@redromnon
Copy link
Owner

Just tested with Heroic Flatpak 2.4.3 and Lutris 0.5.10.1. The game launches perfectly with no issues.

I just clicked on the "+" symbol on the top left corner -> Add locally installed game -> Filled the name and selected Runner as Linux
Finally, under Game Options -> Executable - I just selected the gamename.sh file. I didn't configure anything else.

@malcolmturnbull
Copy link
Author

malcolmturnbull commented Sep 27, 2022 via email

@redromnon
Copy link
Owner

redromnon commented Sep 27, 2022

Can you check if Lutris Runtime is enabled for the added game under System Options? If yes, disable it and try again.

@malcolmturnbull
Copy link
Author

malcolmturnbull commented Sep 27, 2022

That did the trick for HITMAN 3! I can now create a .desktop for my applications menu via Lutris and everything works.

So, the solution was to ensure Lutris Runtime is disabled for the launcher, if it is enabled by default.

Still having issues with Cyberpunk - even with Heroic Games Launcher open, the logs will spit out something like:

Started initial process 152867 from /home/user/Games/Heroic/HeroicBashLauncher/GameFiles/Cyberpunk2077_Heroic.sh
Start monitoring process.
Monitored process exited.
Initial process has exited (return code: 32512)
All processes have quit
Exit with return code 32512

The .sh file does seem to work.

@redromnon
Copy link
Owner

This is out of my scope since I can discuss only HBL-related issues here. Moreover, none of this was the HBL's issue in the first place since the .sh game scripts are working just fine.

Maybe it has something to do with Lutris config again. I'm not sure.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants