You are not logged in.

#1 2024-01-05 16:14:48

qtg
Member
Registered: 2023-09-19
Posts: 7

Trouble launching native Garry's Mod on Hyprland

Hi, so I recently downloaded gmod from steam and so far it's not been able to launch properly. It would load into the main menu, freezes after around 5 seconds, and crashes. I'm currently using Hyprland
Opening the journal shows this error:

Jan 05 23:49:58 qtg systemd[1]: Started Process Core Dump (PID 97683/UID 0).
Jan 05 23:50:01 qtg (sd-parse-elf)[97686]: Could not parse number of program headers from core file: invalid `Elf' handle
Jan 05 23:50:01 qtg (sd-parse-elf)[97686]: Could not parse number of program headers from core file: invalid `Elf' handle
Jan 05 23:50:01 qtg systemd-coredump[97684]: [?] Process 97571 (hl2_linux) of user 1000 dumped core.
                                                       
                                                       Module /home/qtg/.local/share/Steam/steamapps/common/GarrysMod/bin/libbass.so without build-id.
                                                       Module /home/qtg/.local/share/Steam/steamapps/common/GarrysMod/bin/libbass.so
                                                       Module /home/qtg/.local/share/Steam/steamapps/common/GarrysMod/bin/libSDL2-2.0.so.0 without build-id.
                                                       Module /home/qtg/.local/share/Steam/steamapps/common/GarrysMod/bin/libSDL2-2.0.so.0
                                                       Stack trace of thread 97571:
                                                       #0  0x00000000f7fa3579 __kernel_vsyscall (linux-gate.so.1 + 0x579)
                                                       #1  0x00000000f7c8ea17 n/a (libc.so.6 + 0x8ea17)
                                                       #2  0x00000000f7c3b317 raise (libc.so.6 + 0x3b317)
                                                       #3  0x00000000f7c22121 abort (libc.so.6 + 0x22121)
                                                       #4  0x00000000f7f0daf8 n/a (/home/qtg/.local/share/Steam/steamapps/common/GarrysMod/bin/libtcmalloc_minimal.so.4 + 0x18af8)
                                                       #5  0x00000000f7f07c18 n/a (/home/qtg/.local/share/Steam/steamapps/common/GarrysMod/bin/libtcmalloc_minimal.so.4 + 0x12c18)
                                                       #6  0x00000000f7f09743 n/a (/home/qtg/.local/share/Steam/steamapps/common/GarrysMod/bin/libtcmalloc_minimal.so.4 + 0x14743)
                                                       #7  0x00000000f7f09848 n/a (/home/qtg/.local/share/Steam/steamapps/common/GarrysMod/bin/libtcmalloc_minimal.so.4 + 0x14848)
                                                       #8  0x00000000f7f099f3 n/a (/home/qtg/.local/share/Steam/steamapps/common/GarrysMod/bin/libtcmalloc_minimal.so.4 + 0x149f3)
                                                       #9  0x00000000f7f09a62 n/a (/home/qtg/.local/share/Steam/steamapps/common/GarrysMod/bin/libtcmalloc_minimal.so.4 + 0x14a62)
                                                       #10 0x00000000f7f1da70 n/a (/home/qtg/.local/share/Steam/steamapps/common/GarrysMod/bin/libtcmalloc_minimal.so.4 + 0x28a70)
                                                       ELF object binary architecture: Intel 80386
Jan 05 23:50:01 qtg systemd[1]: systemd-coredump@33-97683-0.service: Deactivated successfully.
Jan 05 23:50:01 qtg systemd[1]: systemd-coredump@33-97683-0.service: Consumed 2.989s CPU time.

I have vulkan-intel, mesa, SDL2, and libass.so installed, both 64-bit and 32-bit. I searched around and found out I also need to install the 32-bit versions of gconf and gperftools alongside its dependencies. Still no luck.

However, running the game from the terminal directly using the startup script provided in the game files works fine now, but there's no sound playing. I tried installing the 32-bit versions of ALSA, JACK, PulseAudio, and PipeWire to no avail (I'm using PipeWire as my sound server). And alongside that there's some errors about en_US UTF 8 not loaded, despite locale -a returning that it is loaded. One last quirk with running it from terminal is that it wont properly close. If I pressed 'Quit', it would turn black and not closing at all. I have to kill it for it to close.
I ran the startup script using strace ad here's the output (if it's of any use):
https://pastebin.com/jxALY1ZF

I have tried using proton to run it, but all the issue with running it from the terminal persists, with the exception of the not closing properly problem.

Can anyone help me on this? Because I'm honestly lost at this point

Edit: the method of running it from the terminal seems unreliable as now it crashed when I'm spawning in TFA weapons. I dont know if this is an addon-specific issue, but here's the journal output: https://pastebin.com/PAkrQwee

Last edited by qtg (2024-01-05 16:51:05)

Offline

Board footer

Powered by FluxBB