[#3875][Linux] Can't load main menu

Ask here if you experience technical problems with X4: Foundations.

Moderator: Moderators for English X Forum

RAZUMNO
Posts: 6
Joined: Tue, 6. Oct 20, 14:37

[#3875][Linux] Can't load main menu

Post by RAZUMNO »

I'm mainly using Arch + Hyprland. But I did try Plasma also.
Downloaded the GOG version of the game and installed. When using Hyprland the game doesn't start at all. Start.sh, or X4 or X4 with logfile command doesn't help. I'm not getting any error messages whatsoever, the log file also doesn't generate. When using Plasma or Hyprland+Gamescope the game at least starts, I can see the egosoft logo intro, then X4 Foundations intro art and as soon as I should be able to see the main menu the game crashes without an error.
At one point I did able to generate a logfile (i'm not sure when exactly), but I'm not sure what I should search there, because it's huge (79k lines) https://drive.google.com/file/d/1nCRRg6 ... sp=sharing
I did check packages, especially Vulkan ones, and everything should be fine.

Code: Select all

vulkaninfo --summary
==========
VULKANINFO
==========

Vulkan Instance Version: 1.4.309


Instance Extensions: count = 24
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 5
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1
VK_NV_display_stereo                   : extension revision 1

Instance Layers: count = 8
--------------------------
VK_LAYER_FROG_gamescope_wsi_x86_64 Gamescope WSI (XWayland Bypass) Layer (x86_64) 1.3.221  version 1
VK_LAYER_MANGOHUD_overlay_x86      Vulkan Hud Overlay                             1.3.0    version 1
VK_LAYER_MANGOHUD_overlay_x86_64   Vulkan Hud Overlay                             1.3.0    version 1
VK_LAYER_NV_optimus                NVIDIA Optimus layer                           1.4.303  version 1
VK_LAYER_VALVE_steam_fossilize_32  Steam Pipeline Caching Layer                   1.3.207  version 1
VK_LAYER_VALVE_steam_fossilize_64  Steam Pipeline Caching Layer                   1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_32    Steam Overlay Layer                            1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_64    Steam Overlay Layer                            1.3.207  version 1

Devices:
========
GPU0:
        apiVersion         = 1.4.303
        driverVersion      = 570.144.0.0
        vendorID           = 0x10de
        deviceID           = 0x2216
        deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
        deviceName         = NVIDIA GeForce RTX 3080
        driverID           = DRIVER_ID_NVIDIA_PROPRIETARY
        driverName         = NVIDIA
        driverInfo         = 570.144
        conformanceVersion = 1.4.1.0
        deviceUUID         = 40483925-6399-dd7b-cb02-2f5490de68a1
        driverUUID         = eaf4e390-464c-5ed9-8723-edf7c86851f3

Code: Select all

lspci | grep -i vga
01:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3080 Lite Hash Rate] (rev a1)

Code: Select all

OS   ›  CachyOS x86_64
KER  ›  Linux 6.14.4-2-cachyos
PKG  ›  1950 (pacman)
SH   ›  fish 4.0.2
TER  ›  ghostty 1.1.3-arch1.1
WM   ›  Hyprland 0.48.1 (Wayland)
Last edited by Tranxalive on Tue, 29. Apr 25, 16:55, edited 1 time in total.
Reason: Adding Mantis Report number.
User avatar
PGeyer-Ego
EGOSOFT
EGOSOFT
Posts: 56
Joined: Thu, 9. Jun 22, 14:37
x4

Re: [Linux] Can't load main menu

Post by PGeyer-Ego »

Hi,

This is very strange. I've not seen this before. It looks like it cannot load any assets.

Can you confirm that it's definitely installed correctly, perhaps retrying the GOG download and doing a clean install. You can also provide a checksum of the files you downloaded and I can confirm that these are correct.
Another thing to check is that X4 needs to be run within the game directory (ie the one with lib, extensions, and all the cat/dat files). It is possible that if your working directory is different it couldn't find the files, although the error messaging should be different in that case.
Finally, could you share the output of

Code: Select all

localectl status
It's possible that you're using some locale setup we've not tested, causing the XML parsing to get confused.

Thanks
PG
RAZUMNO
Posts: 6
Joined: Tue, 6. Oct 20, 14:37

Re: [#3875][Linux] Can't load main menu

Post by RAZUMNO »

I did reinstall it just to be sure it's installed correctly. Also I didn't install any DLC. I'm running the game (X4 file) from this path "/Railgun/Games/X4 Foundations/game/" there are lib, mousecursors, support, t, ui, videos folders and a bunch of dat and cat files, along with testandlaunch and testcommon scripts and ofc X4. I did also try running start.sh from "/Railgun/Games/X4 Foundations/" path, but it should just run testandlaunch script as far as I can understand.

Code: Select all

localectl status
System Locale: LANG=ru_RU.UTF-8
    VC Keymap: us
   X11 Layout: us
Checksums of installscript file:

Code: Select all

MD5: 46f67992a952a261f0226383fdc5547c
SHA1: 7147c21d075efbd770824f4f0f23d597c05fbf8d
SHA256: 7fd82f541ada6d3319f8a14cce8d010fbe32601286eaaa619eb261c3fae549df
RAZUMNO
Posts: 6
Joined: Tue, 6. Oct 20, 14:37

Re: [#3875][Linux] Can't load main menu

Post by RAZUMNO »

After one of the system updates I've been able to launch the game in Plasma. But on my main WM Hyprland it still doesn't launch at all. I don't use Plasma at all, installed just to test if X4 will be able to launch. In Hyprland X4 still doesn't even create logfile when I try

Code: Select all

cd /Railgun/Games/X4 Foundations/game
./X4 -logfile test.txt

Return to “X4: Foundations - Technical Support”