garrysmod-issues
garrysmod-issues copied to clipboard
[x86-64] [Linux] Game crash on Steam Linux Runtime
Details
I recently came across a problem that just happened to be the same of another issue. It was the one of an openSUSE user who couldn't open the game because the game couldn't load a specific library. The explanation given was that it would seem the library is not the version the game expects. Having said that, Steam Linux Runtime does provide the libraries the game needs in the correct version. And it is what happened. The warning box did not appear and the game seemed to load just fine, until it simply closed with no warning box saying what could have went wrong. I would like to know what can be done in this situation to try debug this problem and find a solution.
Just so you know, Gmod works perfectly under Proton, although with a much slower loading speed. It is that difference in loading that made me try the native port again, although the Lua Panic Not Enough Memory error still pop up once the map finish loading. I've read online that the x86-64 branch was meant to solve that and it is why I'm testing it.
Steps to reproduce
Just switch to x86-64 branch and enable Steam Linux Runtime in the compatibility layer
Yeah it seems after the OCT 25th update(#12946355) the 64 bit version broke in windows and linux. Including the server. If I have my server in 64 bit it crashes. Also some of my binary modules do not load. I tried disabling them though to see if that was whats causing the crash on my server but it still crashed. Then I realized the client is broken for my friend on windows and me. I really shouldn't have auto update on my server 2bh now that I think about it. In the meantime the old chromium branch loads fine.
Edit: I just reverted my server to manifest 957155884911692113 and it isnt broken. Its the 64 bit release from OCT 18th which is the one before when it broke.
Chromium branch got the same issue for me. Can't get past the loading screen. And as of right now, Gmod is really unstable, even on the Windows version through proton, occasionally showing this error below which sometimes gets fixed on its own after reinstalling and sometimes don't, being a total coin toss as for if I'll ever be able to play the game again, so if the Linux port can be made playable again, would help a lot.
By the way, this is what appears in the txt for the crash on the chromium branch:
-Lua Stack Traces-
==================
Client
Lua Interface = NULL
Server
Lua Interface = NULL
MenuSystem
Lua Interface = NULL
-Console Buffer-
================
1(8.241872): Attempting to load Chromium...
I can send the .dmp file if required
I have tested GMod on Ubuntu 20.04 LTS
with and without Steam Runtime enabled, both worked perfectly.
I have tested GMod on
Ubuntu 20.04 LTS
with and without Steam Runtime enabled, both worked perfectly.
Was the memory leak fixed then for the default release? I couldn't test it yet on my end.
I have tested GMod on
Ubuntu 20.04 LTS
with and without Steam Runtime enabled, both worked perfectly.
Issue now occurs on Arch Linux after the toolchain update.
Having the same problem on Manjaro, just after the update.
After updating to the latest Manjaro version, the same issue occurs to me too.
Update
Using this fixed it for me.
It happened to me too (Manjaro) this works as a fix ty so much Tibix!
Update
Using this fixed it for me.
This also did it for me. Thanks, couldn't reach the main menu before on Arch.
Update
Using this fixed it for me.
Are you still using the Steam Runtime, or are you using Steam Native (most likely through the steam-native package on Manjaro/Arch)? I'm trying to figure out why even with the CEF fix I get a segfault on startup with no logs under the x86-64 branch (and the chromium branch) on Fedora 36 using the Steam Runtime