Skip to content
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

Clicking "browse servers" causes a crash on NixOS #290

Open
mikwielgus opened this issue Sep 18, 2024 · 0 comments
Open

Clicking "browse servers" causes a crash on NixOS #290

mikwielgus opened this issue Sep 18, 2024 · 0 comments

Comments

@mikwielgus
Copy link

mikwielgus commented Sep 18, 2024

To run Hypersomnia on NixOS, I have downloaded the latest AppImage and ran the following commands in my shell:

nix-shell -p appimage-run
appimage-run Hypersomnia.AppImage

This has launched Hypersomnia successfully, placing me in the tutorial. However, when I opened the main menu by pressing ESC and clicked Browse servers, Hypersomnia almost immediately crashed with the following error log:

Started at 16:02:48 on 18.09.24
Executable called from directory: "/home/mikolaj/Downloads"
Chosen working directory: "/home/mikolaj/.cache/appimage-run/4c41895fa06c917a55273212c7a86b5c79c04e840c980b9824fe6a20b3134fec/usr/share/hypersomnia"
If the game crashes repeatedly, consider deleting the "cache" folder.

Complete command line:
/home/mikolaj/.cache/appimage-run/4c41895fa06c917a55273212c7a86b5c79c04e840c980b9824fe6a20b3134fec/usr/bin/Hypersomnia --calling-cwd /home/mikolaj/Downloads --appdata-dir /home/mikolaj/.config/Hypersomnia --appimage-path 
Parsed as:
1=--calling-cwd 2=/home/mikolaj/Downloads 3=--appdata-dir 4=/home/mikolaj/.config/Hypersomnia 5=--appimage-path 6= 
App data directory: "/home/mikolaj/.config/Hypersomnia" (via --appdata-dir /home/mikolaj/.config/Hypersomnia)
(is_steam_client=0)
Creating directories:
/home/mikolaj/.config/Hypersomnia/cache
/home/mikolaj/.config/Hypersomnia/user
/home/mikolaj/.config/Hypersomnia/user/demos
/home/mikolaj/.config/Hypersomnia/user/downloads/arenas
/home/mikolaj/.config/Hypersomnia/user/projects
Loading default_config.json.
Applying config: /home/mikolaj/.config/Hypersomnia/user/config.json
Loaded all user configs.
Assigned teams: 
Size: 0

[16:02:48] Performing 5000 floating point consistency passes.
[16:02:48] (FP consistency test) Representations match. Achieved value: -4.40822
[16:02:48] (FP consistency test) Passed the test. Canonical result matches the actual results.
[16:02:48] (nans=622)
[16:02:48] (FP consistency test) Time taken: 13.2403 ms
[16:02:48] Initializing network RAII.
[16:02:48] Initializing the network library.
[16:02:48] Unit tests were disabled.
[16:02:48] Initializing ImGui.
[16:02:48] (should_update_headless=0)
[16:02:48] Checking for updates at https://hypersomnia.xyz.
[16:02:48] Downloading version file at: /builds/latest/version-Linux.txt
[16:02:48] (last_update_result.type=COULDNT_DOWNLOAD_VERSION_FILE)
[16:02:48] Initializing freetype
[16:02:48] Calling FT_Init_FreeType
[16:02:48] netcode_socket_raii ctor
[16:02:48] Successfully bound the nat detection socket to the preferred server port: 0.
[16:02:48] (get_bound_local_port()=35044)
[16:02:48] ---- BEGIN NAT ANALYSIS ----
[16:02:49] Reinferring all entities at step: 0
[16:02:49] Initializing the audio context.
[16:02:49] (custom_hrtf_path=/home/mikolaj/.cache/appimage-run/4c41895fa06c917a55273212c7a86b5c79c04e840c980b9824fe6a20b3134fec/usr/share/hypersomnia/detail/hrtf)
[16:02:49] Device sample rate: 48000
[16:02:49] (alIsEnabled(AL_SOURCE_DISTANCE_MODEL)=�)
[16:02:49] ALC_HRTF_DISABLED_SOFT
[16:02:49] ALC_HRTF_DISABLED_SOFT
[16:02:49] (num_stereo_sources=1, num_mono_sources=4200)
[16:02:49] Logging all audio devices.
[16:02:49] Devices list:
Built-in Audio Analog Stereo

[16:02:49] Default device: OpenAL Soft
[16:02:49] Creating the thread pool with 0 workers.
[16:02:49] Initializing audio command buffers.
[16:02:49] Initializing the window.
[16:02:49] GLFW: calling glfwInit.
[16:02:49] GLFW: setting version hints via glfwWindowHint.
[16:02:49] GLFW: calling glfwCreateWindow.
[16:02:49] GLFW: calling glfwMakeContextCurrent
[16:02:49] Error 65548: Wayland: The platform does not provide the window position

[16:02:49] Initializing the renderer backend.
[16:02:49] Calling gladLoadGLLoader.
[16:02:49] GL Version: 4.6 (Core Profile) Mesa 24.0.7
[16:02:49] Calling gladLoadGLLoader succeeded.
[16:02:49] (renderer_backend.get_max_texture_size()=16384)
[16:02:49] Initializing the necessary fbos.
[16:02:49] Initializing the necessary shaders.
[16:02:49] Initializing the necessary sounds.
[16:02:49] Initializing the necessary image definitions.
[16:02:49] Reading content/gfx/necessary/procedural/menu_button.json
[16:02:49] Reading content/gfx/necessary/procedural/hotbar_button.json
[16:02:49] Reading content/gfx/necessary/procedural/action_button_filled.json
[16:02:49] Reading content/gfx/necessary/procedural/action_button_border.json
[16:02:49] Reading content/gfx/necessary/procedural/circular_bar_large.json
[16:02:49] Reading content/gfx/necessary/procedural/circular_bar_under_large.json
[16:02:49] Reading content/gfx/necessary/procedural/circular_bar_under_under_large.json
[16:02:49] Reading content/gfx/necessary/procedural/circular_bar_medium.json
[16:02:49] Reading content/gfx/necessary/procedural/circular_bar_over_medium.json
[16:02:49] Reading content/gfx/necessary/procedural/circular_bar_small.json
[16:02:49] Reading content/gfx/necessary/procedural/attachment_circle_filled.json
[16:02:49] Reading content/gfx/necessary/procedural/attachment_circle_border.json
[16:02:49] Creating the ImGui atlas.
[16:02:49] IMGUI FONT ATLAS SIZE: 512x1024
[16:02:49] netcode_socket_raii ctor
[16:02:49] Initializing the streaming of viewables.
[16:02:49] Initializing the audiovisual state.
[16:02:49] No Steam CLI detected.
[16:02:49] Launched mode: TUTORIAL
[16:02:49] Tutorial levels: 21
[16:02:49] Setting up tutorial level: 0.
[16:02:49] Starting game_thread_worker
[16:02:49] Allocating new atlas: 0x0 (0 rects)
[16:02:49] Allocated.
[16:02:49] Time until first swap: 701.742 ms
[16:02:49] Successfully resolved stun.l.google.com to 74.125.250.129:19302
[16:02:49] Successfully resolved stun.1und1.de to 212.227.67.33:3478
[16:02:49] All 2 stun hosts resolved. Generating requests.
[16:02:49] Successfully resolved masterserver.hypersomnia.xyz to 51.38.132.173:8430
[16:02:49] Firing packets for NAT resolution.
[16:02:49] received STUN response: 74.125.250.129:19302 -> <89.70.28.107:35044>
[16:02:49] port probe response: 51.38.132.173:8431 -> <89.70.28.107:35044>
[16:02:49] received STUN response: 212.227.67.33:3478 -> <89.70.28.107:35044>
[16:02:49] port probe response: 51.38.132.173:8432 -> <89.70.28.107:35044>
[16:02:49] port probe response: 51.38.132.173:8433 -> <89.70.28.107:35044>
[16:02:49] ---- FINISH NAT ANALYSIS ----
[16:02:49] Loading font content/fonts/LiberationSans-Regular.ttf
[16:02:49] Loading font content/fonts/LiberationSans-Regular.ttf
[16:02:49] Loading font content/fonts/LiberationSans-Regular.ttf
[16:02:49] Loading font content/fonts/LiberationSans-Regular.ttf
[16:02:49] Loading font content/fonts/LiberationSans-Regular.ttf
[16:02:49] Allocating new atlas: 3753x3750 (3053 rects)
[16:02:49] Allocated.
[16:02:53] Released all keys
[16:02:53] Released mouse
[16:02:54] Launching future_response
[16:02:54] async_get: http://masterserver.hypersomnia.xyz:8410/server_list_binary
[16:02:54] refresh_server_list returns.
[16:02:54] Server list response status: 200
[16:02:54] Server list response bytes: 2273
[16:02:54] Runtime error: discover_tz_dir failed to find zoneinfo

[16:02:54] game_thread_joiner
[16:02:54] audio_thread_joiner
[16:02:54] netcode_socket_raii dtor
[16:02:54] Destroyed OpenAL context: 0x55e327bf0d40
[16:02:54] Destroyed OpenAL device: 0x55e327d424d0
[16:02:54] netcode_socket_raii dtor
[16:02:54] Shutting down the network library.
[16:02:54] (completed_work_result=2)
[16:02:54] Failure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant