-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Torchligt 2 - crash on start #95
Comments
I had a similar problem with Torchlight, the solution was to delete (better move or rename) libfreetype.so in ~/.var/app/com.valvesoftware.Steam/data/Steam/steamapps/common/Torchlight II/lib Although renaming the one in lib64 could be enough ... |
LD_PRELOAD=~/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libfontconfig.so.1 %command% |
@pshpsh : you're the man. That allowed the game to start - but sadly exactly as with Rise of the Tom Raider I have no sound (reported in other post). Will try to check it later on and see whether I get the same : |
The libfontconfig mess sounds like a game issue to me. However, something else could still be amiss since this thing is 64bit |
|
I got confused. The game provides |
There is not much we can do for this one. The game should not play with LD_LIBRARY_PATH and provide system libraries. I propose we close this issue. |
@valentindavid technically we could set LD_PRELOAD in the wrapper but then there's Steam vs FDO runtime version of this file |
But yeah, @Pshemas we need to find a way to make game vendor and Valve aware of thid. This is clearly a broken game |
Might not be right project but might get some interest in the issue and possibly directions to right place... |
Okay. So the problem is the game vendor went defunct in 2017 so getting it fixed isn't entirely likely |
@valentindavid had some ideas on making a maintainable library blacklist. Once it's included, we should see if this be made to work out of the box |
Turns out that https://wiki.archlinux.org/index.php/Steam/Game-specific_troubleshooting has a fairly wide list of broken games that would also need this workaround |
Did this game use bash for its wrapper? |
👍 This is enough to get Civilization 6 running too. |
Could you try if SHARED_LIBRARY_GUARD=1 (or 2) makes the game run? It's a prototype audit library. |
I'm going to document this a bit later. Basically mode 1 should block these libraries, mode 2 may prevent glibc from enabling library profiling which is bad for runtime performance. Mode 2 includes mode 1. |
Civilization 6 needs adding to https://github.com/flathub/com.valvesoftware.Steam/blob/master/freedesktop.ld.so.blockedlist |
@nanonyme Merely inputting |
As said, for Civ 6 someone who has the game needs to contribute data to above file. Otherwise it will not help. It should for Torchlight. |
@nanonyme I could do it. Is there documentation anywhere on that file? |
It's basically a form of pattern matching with executable name on left side and bad library on right side. Your files are somewhere under .var/app/com.valvesoftware.Steam sandbox directory You can use the existing ones as examples. |
With this one I'm not sure it is flatpak package related as it seems it is not working in general (need to test on a machine with a configuration I know worked), but just in case here's the CLI output:
Side note - you rock guys. After upgrading my system I found out that Steam runtime provided in the repos for my distro causes a bit of issues. Flatpak to the rescue - majority of the games work great.
The text was updated successfully, but these errors were encountered: