garrysmod-issues icon indicating copy to clipboard operation
garrysmod-issues copied to clipboard

[x86-64] [Linux] Game crash on Steam Linux Runtime

Open ryu-ketsueki opened this issue 3 years ago • 13 comments

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

ryu-ketsueki avatar Nov 01 '21 23:11 ryu-ketsueki

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.

Synkstar avatar Nov 05 '21 20:11 Synkstar

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. image

ryu-ketsueki avatar Nov 05 '21 21:11 ryu-ketsueki

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

ryu-ketsueki avatar Nov 05 '21 21:11 ryu-ketsueki

I have tested GMod on Ubuntu 20.04 LTS with and without Steam Runtime enabled, both worked perfectly.

robotboy655 avatar Dec 14 '21 19:12 robotboy655

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.

ryu-ketsueki avatar Dec 15 '21 11:12 ryu-ketsueki

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.

kitrodian avatar Feb 16 '22 23:02 kitrodian

Having the same problem on Manjaro, just after the update.

TibixDev avatar Feb 27 '22 19:02 TibixDev

After updating to the latest Manjaro version, the same issue occurs to me too.

Levev avatar Feb 27 '22 22:02 Levev

Update

Using this fixed it for me.

TibixDev avatar Feb 28 '22 16:02 TibixDev

Update

Using this fixed it for me.

It happened to me too (Manjaro) this works as a fix ty so much Tibix!

Blazzy12 avatar Mar 01 '22 01:03 Blazzy12

Update

Using this fixed it for me.

This also did it for me. Thanks, couldn't reach the main menu before on Arch.

ipaqmaster avatar Apr 06 '22 10:04 ipaqmaster

Update

Using this fixed it for me.

also worked for ubuntu 22.04 (or whatever current version it is)

Xandertron avatar Apr 20 '22 21:04 Xandertron

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

mitsuruu avatar Jun 06 '22 11:06 mitsuruu