BeamMP / BeamMP-Launcher

Official BeamMP Launcher
https://beammp.com
34 stars 42 forks source link

Linux launcher hangs after disconnecting from server #138

Open O1LER opened 1 month ago

O1LER commented 1 month ago

Linux launcher v2.2.1 hangs after disconnecting from a server and pins a CPU core to 100%

[13/10/2024 00:06:10] [INFO] BeamMP Launcher v2.2.1
[13/10/2024 00:06:10] [INFO] Mod caching directory: ./Resources
[13/10/2024 00:06:12] [INFO] Launcher version is up to date
[13/10/2024 00:06:12] [INFO] IMPORTANT: You MUST keep this window open to play BeamMP!
[13/10/2024 00:06:12] [DEBUG] HTTP Proxy listening on port 37513
[13/10/2024 00:06:12] [INFO] Game Version : 0.33.3.0
[13/10/2024 00:06:12] [INFO] Game user path: /home/o1ler/.local/share/BeamNG.drive/0.33/
[13/10/2024 00:06:12] [DEBUG] Core Network on start! port: 4444
[13/10/2024 00:06:39] [INFO] Game Connected!
[13/10/2024 00:07:22] [INFO] Connecting to server
[13/10/2024 00:07:22] [DEBUG] MAIN LOOP OF GAME SERVER
[13/10/2024 00:07:22] [INFO] Connected!
[13/10/2024 00:07:22] [DEBUG] Failed to receive mod list: [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - invalid literal; last read: 'R'
[13/10/2024 00:07:22] [ERROR] Failed to receive mod list!
[13/10/2024 00:07:24] [INFO] Checking Resources...
[13/10/2024 00:07:24] [INFO] Syncing...
[13/10/2024 00:07:24] [INFO] Done!
[13/10/2024 00:07:35] [DEBUG] (Proxy) Game Connected!
[13/10/2024 00:07:35] [DEBUG] Starting UDP receive loop
[13/10/2024 00:07:57] [DEBUG] Terminating UDP Socket: 15
[13/10/2024 00:07:57] [DEBUG] Terminating TCP Socket: 15
[13/10/2024 00:07:57] [DEBUG] Terminating GTCP Socket: 13
[13/10/2024 00:07:57] [DEBUG] (TCP) Connection closing... CheckBytes(16)
[13/10/2024 00:07:57] [DEBUG] Kill socket got -1 returning...
[13/10/2024 00:07:57] [DEBUG] (Proxy) Connection closing
[13/10/2024 00:07:57] [DEBUG] Waiting for client thread
[13/10/2024 00:07:57] [DEBUG] Client thread done
[13/10/2024 00:07:57] [DEBUG] Waiting for net main thread

The only further advancement can be made be closing the game

[13/10/2024 00:11:29] [DEBUG] (Core) Connection closing
[13/10/2024 00:11:29] [WARN] Game Reconnecting...

Suggesting that the application hangs at waiting for net main thread

This happens regardless of dev mode or not, and both on native and proton beamNG v0.33.3 and beamMP mod v4.13.5

The only way out of this is to kill the launcher and restart it

THEGOLDENPRO commented 2 weeks ago

Wait how do you even run the beammp launcher natively on linux? (Without WINE of course) Do I have to build it?

EDIT: Found a pre-compiled binary in the github actions here. 👍

O1LER commented 1 week ago

Issue persists with launcher 2.3.2 and mod 4.13.9