-
Notifications
You must be signed in to change notification settings - Fork 74
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
TF2 doesn't launch/crashes early, "AppFramework : Unable to load module engine.so!" #5125
Comments
Hello @SetOfAllSets, |
After a few googles I can't find how I would check that, my system also has llvm 15 and 16 installed so it's possible it's either |
I've rebuilt the package and checked what version of LLVM it build against, it was 16 |
Thanks, it's likely that you're seeing the same issue that's being tracked in #5043 and rebuilding mesa against llvm 15 or using the NVIDIA proprietary driver should workaround it. |
EDIT: I don't know how I would compile mesa against a specific version of llvm and I cannot use the official nvidia drivers due to them not being supported by the sway compositor alright, I will try that, first however I should mention that upon installing all the missing libraries for engine.so and vguimatsurface.so I need to copy the gameinfo file from tf/ to hl2/ and the entire scripts folder from tf/ to hl2/, at which point hl2.sh says
and exits. Running from the client still shows the valve intro and crashes. I decided to run stream from the command line and saw it was trying to run |
It turns out the part of the error "wrong ELF class: ELFCLASS64" was indicative of gameoverlayrenderer.so being 64 bit when it should be 32 bit. |
After some investigation it turns out that it's normal for steam to load both the 32 and 64 bit vers of the overlay renderer (and for one to not load), the real issue seems to be |
A breakthrough! When running steam and launching the game via hl2.sh not using steam but with steam open it runs! I have no clue what could be causing this or if the issue should be closed (probably not since this seems to be very unintended) |
Ah. When I load into the game the steam overlay (and the mann co store as a result) do not work. Audio is completely gone and loading into a game just presents a blank pop up window with an ok button. Clicking the button blanks the screen and requires me to force stop the game. It seems launching from within steam may be an necessity. |
It seems that |
Adding |
Is this ever gonna get fixed eventually? I run into VAC issues and I don't know if this is due to me symlinking libtcmalloc every single time I have to install the game... |
Don't symlink, edit the script with the argument. |
I get the same error, on Arch Linux running wayland/sway.
yields
|
Try using a 32 bit version of libtcmalloc, TF2 is 32 bit |
Turns out I can launch just fine when I set the TF2 compatability to Proton 8.0, from inside steam. |
That's also using the windows version in proton, which is slower |
Unfortunately, installing the 32 bit version, i.e.
yields
I'll leave it for tonight... |
I'm on Lubuntu 22.04... What ended up working for me was:
EDIT: Discovered that Aperture Desk Job has a similar issue with libtcmalloc, but that game uses the 64 bit version... Also discovered that Steam's update feature was overwriting my symlinked libtcmalloc... So I made this little shell script to quickly unbreak what the update function breaks... https://gist.github.com/Kate6/49e2ac0b2274c524df8f6995df7855c8 |
This worked for me too (I use Arch btw). |
On Fedora following worked for me.
Then in Steam, launch options
When trying to run from terminal, I was getting |
Do
to see which of engine.so's dependencies it's bombing on. Though obviously if it's working inside the Steam launcher the culprit will most likely be Steam launcher setting something like LD_PRELOAD or LD_LIBRARY_PATH differently than your terminal shell sets it. |
Affected games: team fortress 2
System: x86_64 gentoo linux openrc, nvidia 2070 max-q, tested with X/bspwm and wayland/sway
When running from the steam launcher TF2 launches and shows the valve intro (the person with a suction cup on the back of their head) and plays the sound, before immediately crashing. Running from the command line (by going to $HOME/.local/share/Steam/steamapps/common/Team\ Fortress\ 2 and running hl2.sh with bash) I get the output
Further investigation shows that the output of
is
If I install all the necessary libraries (for this and another file I forgot that also has missing dependencies) with 32 bit support, the game refuses to launch at all through steam, and via hl2.sh it launches but doesn't show me my level or let me join servers (with or without VAC)
The text was updated successfully, but these errors were encountered: