Stellaris creashes at 81% during startup at loading screen since version 2.8 [Linux]

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
CK2, CK3, and EU4 work fine. At least, I was able to launch all of them this weekend
Then your problem is clearly different to the one in this thread, to some degree at least.

What happens when you run those two games from a terminal command line, what output do you get?
 
Then your problem is clearly different to the one in this thread, to some degree at least.

What happens when you run those two games from a terminal command line, what output do you get?
Well, no, it is unfortunately the same general scheme of problems.

I can launch EU4, but it is unplayable because it crashes when you start a new game:

Trying to Write minidump to dir: /home/admin/.local/share/Paradox Interactive/Europa Universalis IV/crashes/eu4_20220910_16570/
Created Minidump: /home/admin/.local/share/Paradox Interactive/Europa Universalis IV/crashes/eu4_20220910_165
707//218e6a69-b789-ffb4-5c14a85e-24e4134a.dmp



HoI 4 and Stellaris cannot be launched at all. Here is an example from launching HoI 4:

[S_API] SteamAPI_Init(): Loaded '/home/admin/.steam/linux64/steamclient.so' OK.
Setting breakpad minidump AppID = 394360
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198027889550 [API loaded no]
Trying to Write minidump to dir: /home/admin/.local/share/Paradox Interactive/Hearts of Iron IV/crashes/hoi4_
20220910_170057/
Created Minidump: /home/admin/.local/share/Paradox Interactive/Hearts of Iron IV/crashes/hoi4_20220910_170057
//46b066ab-8b7f-f49a-3df40f5f-219dc39a.dmp

(CrashReporter:2246619): Gtk-WARNING **: 17:00:57.539: Unable to locate theme engine in module_path: "adwaita"
,
Segmentation fault

This breakage has been present for a long time, I had just kinda given up on Paradox fixing it.
 
I've never seen that gtk warning you quote. Do you get that with Stellaris too?
 
The GTK warning shouldn't be very important. Something requested a theme engine that isn't installed, and GTK is warning us that the request will not be fulfilled.

(Not to mention, the segfault, signal eleven, isn't occurring inside GTK code -- or else this would have been very easy to solve)
 
If you haven't, you should try the latest version and upload the crash report. The function you were crashing in has changed substantially between those older versions and the current version.

Also wouldn't hurt to run ldd against the stellaris executable and provide that.

The 3.0.4 crash is crashing within the CTextureHandler, so it's likely some kind of unsupported texture compression. The DDS file listed in the strace output is the texture...
 
So, here is the output of ldd when running it myself. Steam has its own setup with a Ubuntu runtime that probably replaces most of these libs but I don't know much about that.

Code:
        linux-vdso.so.1 (0x00007ffeb85f6000) 
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fc81f2c8000) 
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fc81f18500
0) 
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fc81f1
63000) 
        libsteam_api.so => /home/Administrator/.steam/steam/steamapps/common/St
ellaris/./libsteam_api.so (0x00007fc81eef9000) 
        libpops_api.so => /home/Administrator/.steam/steam/steamapps/common/Ste
llaris/./libpops_api.so (0x00007fc81e60c000) 
        libnakama-cpp.so => /home/Administrator/.steam/steam/steamapps/common/S
tellaris/./libnakama-cpp.so (0x00007fc81dcc5000) 
        libPDXBrowser_IPC.so => /home/Administrator/.steam/steam/steamapps/comm
on/Stellaris/./libPDXBrowser_IPC.so (0x00007fc81da8d000) 
        libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007fc81da06000) 
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fc81
d839000) 
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc81d6f5000) 
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fc81d6d900
0) 
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc81d514000) 
        /lib64/ld-linux-x86-64.so.2 (0x00007fc81f301000) 
        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fc81d4e900
0) 
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fc81d4cc000) 
        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fc81d4b2
000) 
        libuuid.so.1 => /usr/lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fc81d4a9
000) 
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fc81d49c000) 
        libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x0
0007fc81d3e4000) 
        libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007fc81d3b000
0) 
        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fc81d3ab00
0) 
        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fc81d1
a5000) 
        libbsd.so.0 => /usr/lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fc81d18c00
0) 
        libmd.so.0 => /usr/lib/x86_64-linux-gnu/libmd.so.0 (0x00007fc81d17f000)
 
Here is the exception.txt from the "crashes" directory:

Code:
Application: Stellaris 
Version: 3.5.2 
Date/Time: 2022-10-08 18:28:35

Caught signal 11 (SIGSEGV)

Original Stack Trace:
  ./stellaris() [0x1138296]
  ./stellaris(_ZN19CEmpireFlagDatabase4InitEv+0x152b) [0x113b9ab]
  ./stellaris(_ZN16CGameApplication8InitGameEv+0x3481) [0x11621b1]
  ./stellaris(_ZN16CGameApplication4InitEv+0x328) [0x115d458]
  ./stellaris(_Z7RunGameiPPc+0x2221) [0x10fa571]
  ./stellaris(main+0x3c) [0x10f3d6c]
  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7fb07403fd0a]
  ./stellaris(_start+0x2e) [0x10f3c6e]

Demangled Stack Trace:
  ./stellaris                    (                                            
      )  [0x1138296]
  ./stellaris                    ( CEmpireFlagDatabase::Init()               +
0x152b)  [0x113b9ab]
  ./stellaris                    ( CGameApplication::InitGame()              +
0x3481)  [0x11621b1]
  ./stellaris                    ( CGameApplication::Init()                  +
0x328 )  [0x115d458]
  ./stellaris                    ( RunGame(int, char**)                      +
0x2221)  [0x10fa571]
  ./stellaris                    ( main                                      +
0x3c  )  [0x10f3d6c]
  /lib/x86_64-linux-gnu/libc.so.6 ( __libc_start_main                         +
 0xea  )  [0x7fb07403fd0a]
  ./stellaris                    ( _start                                    +
0x2e  )  [0x10f3c6e]

This is from 3.5.2, and it doesn't look any different from the 3.0.4 problem to me.

I did let the crash report upload when prompted with the little gui dialogue -- my user_crash_report was "I launched the game, it loaded to 81%, and it crashed, just like always.", if that helps find it.
 
FYI, I don't, and I don't think anyone who has replied on this thread, works for PDX.

Code:
   0x000000000113b9a6 <+5414>:    e8 b5 cd ff ff    call   0x1138760 <_ZN11CEmpireFlag20SetBackgroundTextureERK12SFlagTexture>
   0x000000000113b9ab <+5419>:    8b 44 24 1c    mov    eax,DWORD PTR [rsp+0x1c]

So the game is crashing within or immediately after CEmpireFlag::SetBackgroundTexture(SFlagTexture const&) To be clear, I'm also running Ubuntu, just upgraded to 22.04.1, and have no issues running Stellaris, my system is using an Nvidia GTX 970 that I had leftover from years ago.

This would be very early in the loading process, and IMO points to a general rendering issue/failure.

Some suggestions: Check glxgears and glxinfo to see if gl itself is working normally

My own:
Code:
$ glxinfo | grep string
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 970/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 470.141.03
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL version string: 4.6.0 NVIDIA 470.141.03
OpenGL shading language version string: 4.60 NVIDIA
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 470.141.03
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

As imagemagick identifies .steam/steam/steamapps/common/Stellaris/flags/special/abandoned.dds as DDS 36x36 36x36+0+0 8-bit sRGB, I believe these would be the relevant GL extensions from my own output: GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_R8, GL_EXT_texture_sRGB_decode

Code:
$ glxinfo | grep -i texture
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_EXT_swap_control_tear, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GL_AMD_multi_draw_indirect, GL_AMD_seamless_cubemap_per_texture, 
    GL_ARB_arrays_of_arrays, GL_ARB_base_instance, GL_ARB_bindless_texture, 
    GL_ARB_clear_buffer_object, GL_ARB_clear_texture, GL_ARB_clip_control, 
    GL_ARB_color_buffer_float, GL_ARB_compressed_texture_pixel_storage, 
    GL_ARB_depth_texture, GL_ARB_derivative_control, 
    GL_ARB_get_program_binary, GL_ARB_get_texture_sub_image, GL_ARB_gl_spirv, 
    GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query, 
    GL_ARB_seamless_cube_map, GL_ARB_seamless_cubemap_per_texture, 
    GL_ARB_shader_texture_image_samples, GL_ARB_shader_texture_lod, 
    GL_ARB_sparse_texture, GL_ARB_sparse_texture2, 
    GL_ARB_sparse_texture_clamp, GL_ARB_spirv_extensions, 
    GL_ARB_texture_barrier, GL_ARB_texture_border_clamp, 
    GL_ARB_texture_buffer_object, GL_ARB_texture_buffer_object_rgb32, 
    GL_ARB_texture_buffer_range, GL_ARB_texture_compression, 
    GL_ARB_texture_compression_bptc, GL_ARB_texture_compression_rgtc, 
    GL_ARB_texture_cube_map, GL_ARB_texture_cube_map_array, 
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine, 
    GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, 
    GL_ARB_texture_filter_anisotropic, GL_ARB_texture_filter_minmax, 
    GL_ARB_texture_float, GL_ARB_texture_gather, 
    GL_ARB_texture_mirror_clamp_to_edge, GL_ARB_texture_mirrored_repeat, 
    GL_ARB_texture_multisample, GL_ARB_texture_non_power_of_two, 
    GL_ARB_texture_query_levels, GL_ARB_texture_query_lod, 
    GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui, 
    GL_ARB_texture_stencil8, GL_ARB_texture_storage, 
    GL_ARB_texture_storage_multisample, GL_ARB_texture_swizzle, 
    GL_ARB_texture_view, GL_ARB_timer_query, GL_ARB_transform_feedback2, 
    GL_ATI_texture_float, GL_ATI_texture_mirror_once, 
    GL_EXT_multi_draw_arrays, GL_EXT_multiview_texture_multisample, 
    GL_EXT_shadow_funcs, GL_EXT_sparse_texture2, GL_EXT_stencil_two_side, 
    GL_EXT_stencil_wrap, GL_EXT_texture3D, GL_EXT_texture_array, 
    GL_EXT_texture_buffer_object, GL_EXT_texture_compression_dxt1, 
    GL_EXT_texture_compression_latc, GL_EXT_texture_compression_rgtc, 
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map, 
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, 
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, 
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_filter_minmax, 
    GL_EXT_texture_integer, GL_EXT_texture_lod, GL_EXT_texture_lod_bias, 
    GL_EXT_texture_mirror_clamp, GL_EXT_texture_object, GL_EXT_texture_sRGB, 
    GL_EXT_texture_sRGB_R8, GL_EXT_texture_sRGB_decode, 
    GL_EXT_texture_shadow_lod, GL_EXT_texture_shared_exponent, 
    GL_EXT_texture_storage, GL_EXT_texture_swizzle, GL_EXT_timer_query, 
    GL_IBM_texture_mirrored_repeat, GL_KHR_blend_equation_advanced, 
    GL_NV_bindless_multi_draw_indirect_count, GL_NV_bindless_texture, 
    GL_NV_depth_clamp, GL_NV_draw_texture, GL_NV_draw_vulkan_image, 
    GL_NV_texture_barrier, GL_NV_texture_compression_vtc, 
    GL_NV_texture_env_combine4, GL_NV_texture_multisample, 
    GL_NV_texture_rectangle, GL_NV_texture_rectangle_compressed, 
    GL_NV_texture_shader, GL_NV_texture_shader2, GL_NV_texture_shader3, 
    GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow, 
    GL_AMD_multi_draw_indirect, GL_AMD_seamless_cubemap_per_texture, 
    GL_ARB_arrays_of_arrays, GL_ARB_base_instance, GL_ARB_bindless_texture, 
    GL_ARB_clear_buffer_object, GL_ARB_clear_texture, GL_ARB_clip_control, 
    GL_ARB_compressed_texture_pixel_storage, GL_ARB_compute_shader, 
    GL_ARB_depth_clamp, GL_ARB_depth_texture, GL_ARB_derivative_control, 
    GL_ARB_get_program_binary, GL_ARB_get_texture_sub_image, GL_ARB_gl_spirv, 
    GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query, 
    GL_ARB_seamless_cube_map, GL_ARB_seamless_cubemap_per_texture, 
    GL_ARB_shader_texture_image_samples, GL_ARB_shader_texture_lod, 
    GL_ARB_sparse_texture, GL_ARB_sparse_texture2, 
    GL_ARB_sparse_texture_clamp, GL_ARB_spirv_extensions, 
    GL_ARB_texture_barrier, GL_ARB_texture_border_clamp, 
    GL_ARB_texture_buffer_object, GL_ARB_texture_buffer_object_rgb32, 
    GL_ARB_texture_buffer_range, GL_ARB_texture_compression, 
    GL_ARB_texture_compression_bptc, GL_ARB_texture_compression_rgtc, 
    GL_ARB_texture_cube_map, GL_ARB_texture_cube_map_array, 
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine, 
    GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, 
    GL_ARB_texture_filter_anisotropic, GL_ARB_texture_filter_minmax, 
    GL_ARB_texture_float, GL_ARB_texture_gather, 
    GL_ARB_texture_mirror_clamp_to_edge, GL_ARB_texture_mirrored_repeat, 
    GL_ARB_texture_multisample, GL_ARB_texture_non_power_of_two, 
    GL_ARB_texture_query_levels, GL_ARB_texture_query_lod, 
    GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui, 
    GL_ARB_texture_stencil8, GL_ARB_texture_storage, 
    GL_ARB_texture_storage_multisample, GL_ARB_texture_swizzle, 
    GL_ARB_texture_view, GL_ARB_timer_query, GL_ARB_transform_feedback2, 
    GL_ATI_texture_float, GL_ATI_texture_mirror_once, 
    GL_EXT_multi_draw_arrays, GL_EXT_multiview_texture_multisample, 
    GL_EXT_shadow_funcs, GL_EXT_sparse_texture2, GL_EXT_stencil_two_side, 
    GL_EXT_stencil_wrap, GL_EXT_texture3D, GL_EXT_texture_array, 
    GL_EXT_texture_buffer_object, GL_EXT_texture_compression_dxt1, 
    GL_EXT_texture_compression_latc, GL_EXT_texture_compression_rgtc, 
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map, 
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, 
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, 
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_filter_minmax, 
    GL_EXT_texture_integer, GL_EXT_texture_lod, GL_EXT_texture_lod_bias, 
    GL_EXT_texture_mirror_clamp, GL_EXT_texture_object, GL_EXT_texture_sRGB, 
    GL_EXT_texture_sRGB_R8, GL_EXT_texture_sRGB_decode, 
    GL_EXT_texture_shadow_lod, GL_EXT_texture_shared_exponent, 
    GL_EXT_texture_storage, GL_EXT_texture_swizzle, GL_EXT_timer_query, 
    GL_IBM_texture_mirrored_repeat, GL_KHR_blend_equation_advanced, 
    GL_NV_bindless_multi_draw_indirect_count, GL_NV_bindless_texture, 
    GL_NV_depth_clamp, GL_NV_draw_texture, GL_NV_draw_vulkan_image, 
    GL_NV_texture_barrier, GL_NV_texture_compression_vtc, 
    GL_NV_texture_env_combine4, GL_NV_texture_multisample, 
    GL_NV_texture_rectangle, GL_NV_texture_rectangle_compressed, 
    GL_NV_texture_shader, GL_NV_texture_shader2, GL_NV_texture_shader3, 
    GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow, 
    GL_EXT_buffer_storage, GL_EXT_clear_texture, GL_EXT_clip_control, 
    GL_EXT_color_buffer_half_float, GL_EXT_compressed_ETC1_RGB8_sub_texture, 
    GL_EXT_multisample_compatibility, GL_EXT_multisampled_render_to_texture, 
    GL_EXT_multisampled_render_to_texture2, 
    GL_EXT_multiview_texture_multisample, GL_EXT_multiview_timer_query, 
    GL_EXT_shader_non_constant_global_initializers, GL_EXT_shader_texture_lod, 
    GL_EXT_shadow_samplers, GL_EXT_sparse_texture, GL_EXT_sparse_texture2, 
    GL_EXT_texture_border_clamp, GL_EXT_texture_buffer, 
    GL_EXT_texture_compression_bptc, GL_EXT_texture_compression_dxt1, 
    GL_EXT_texture_compression_rgtc, GL_EXT_texture_compression_s3tc, 
    GL_EXT_texture_cube_map_array, GL_EXT_texture_filter_anisotropic, 
    GL_EXT_texture_filter_minmax, GL_EXT_texture_format_BGRA8888, 
    GL_EXT_texture_mirror_clamp_to_edge, GL_EXT_texture_norm16, 
    GL_EXT_texture_query_lod, GL_EXT_texture_rg, GL_EXT_texture_sRGB_R8, 
    GL_EXT_texture_sRGB_decode, GL_EXT_texture_shadow_lod, 
    GL_EXT_texture_storage, GL_EXT_texture_view, GL_EXT_unpack_subimage, 
    GL_KHR_shader_subgroup, GL_KHR_texture_compression_astc_hdr, 
    GL_KHR_texture_compression_astc_ldr, 
    GL_KHR_texture_compression_astc_sliced_3d, GL_NV_bgr, 
    GL_NV_bindless_texture, GL_NV_blend_equation_advanced, 
    GL_NV_draw_texture, GL_NV_draw_vulkan_image, 
    GL_NV_shadow_samplers_cube, GL_NV_texture_array, GL_NV_texture_barrier, 
    GL_NV_texture_border_clamp, GL_NV_texture_compression_latc, 
    GL_NV_texture_compression_s3tc, GL_NV_texture_compression_s3tc_update, 
    GL_OES_compressed_ETC1_RGB8_texture, GL_OES_copy_image, GL_OES_depth24, 
    GL_OES_depth32, GL_OES_depth_texture, GL_OES_depth_texture_cube_map, 
    GL_OES_texture_border_clamp, GL_OES_texture_buffer, 
    GL_OES_texture_cube_map_array, GL_OES_texture_float, 
    GL_OES_texture_float_linear, GL_OES_texture_half_float, 
    GL_OES_texture_half_float_linear, GL_OES_texture_npot, 
    GL_OES_texture_stencil8, GL_OES_texture_storage_multisample_2d_array, 
    GL_OES_texture_view, GL_OES_vertex_array_object, GL_OES_vertex_half_float, 
    GL_OVR_multiview_multisampled_render_to_texture
 
Oh, and why that's leading to a segfault I don't know, but I'd guess it's a poorly handled error case in the rendering setup / texture loading.
 
Oh to add: While it's unlikely related to this issue, I HAVE seen unexplained crashes after ubuntu automatically updated the Nvidia drivers, so if you haven't rebooted in a while try that as well.
 
Well, if it were failing due to a missing extension I should either see a crash inside an nvidia library, or a warning from the opengl implementations about requests for missing extensions.

Not to mention, the extensions are present:
Code:
$ glxinfo | grep -i texture | grep -i srgb
    GL_EXT_texture_mirror_clamp, GL_EXT_texture_object, GL_EXT_texture_sRGB, 
    GL_EXT_texture_sRGB_R8, GL_EXT_texture_sRGB_decode, 
    GL_EXT_texture_mirror_clamp, GL_EXT_texture_object, GL_EXT_texture_sRGB, 
    GL_EXT_texture_sRGB_R8, GL_EXT_texture_sRGB_decode, 
    GL_EXT_texture_query_lod, GL_EXT_texture_rg, GL_EXT_texture_sRGB_R8, 
    GL_EXT_texture_sRGB_decode, GL_EXT_texture_shadow_lod,

Nah, this is a segfault from inside pdx code. Something is dereferencing a pointer-to-nowhere.
 
>Nah, this is a segfault from inside pdx code. Something is dereferencing a pointer-to-nowhere.

Well yeah duh, but that doesn't preclude something that can be fixed on the system side. IE, if the pdx code is missing some error handling and just tries to start using a pointer that wasn't allocated due to an error, that is what you'd see; and since, if you debug this code through it's execution path, it eventually gets to a configurable callback, I'd say that's fairly likely.

You should try starting with the -opengl or -opengl4 command line options.
 
Also, looking at your other bug report, the amount of missing items showing up in the error.log is highly unusual, also this:

Code:
[14:48:17][empire_flag.cpp:587]: invalid file [backgrounds]. Please use .dds texture files or text files callaed usage.txt only

Is even more strange, and seems to be related to your crash.

If you are using JFS, per https://lwn.net/Articles/71472/ I'd be curious about what setting the iocharset to utf-8 at mount time would do.
 
Hm actually I'm not sure that -opengl4 is actually functional, it seems to be missing a shader config.
I haven't seen that one before, but -force-glcore30 is a known one - worth a try?

Also -force-gfx-direct
 
I haven't seen that one before, but -force-glcore30 is a known one - worth a try?

Also -force-gfx-direct

Unfortunately, experimenting with these command line switches yields no new behavior.

I am not that surprised by it, though -- the segfault is inside pdx code. Something is chasing a pointer to nowhere, in all probability, a null pointer. And that's probably not going to be a graphics issue.
 
Also, looking at your other bug report, the amount of missing items showing up in the error.log is highly unusual, also this:

Code:
[14:48:17][empire_flag.cpp:587]: invalid file [backgrounds]. Please use .dds texture files or text files callaed usage.txt only

Is even more strange, and seems to be related to your crash.

If you are using JFS, per https://lwn.net/Articles/71472/ I'd be curious about what setting the iocharset to utf-8 at mount time would do.
I am not using JFS.

The error does look like it is directly related to my crash. Just, there's nothing I can do with that. Why is Stellaris looking for a file called "[backgrounds]" ? Looks like a missing config parameter.
 
The folder it is loading is called backgrounds, dunno why it's trying to load a folder as if it was a file, that's likely what your issue is.

You can keep mentioning that PDX code is segfaulting, but it isn't going to get you anywhere.
 
I've had this problem for years at this point, where running Stellaris under Ubuntu 20.04, then 22.04, would always crash on load at 81%. Would look into it every few months, but never too seriously & could never find a cause. But tonight, after seeing the talk of ext4 and JFS, I had a thought: I may not use JFS, but I do use XFS, so what if it is filesystem/drive related?

Stellaris is installed on an XFS-formatted LV running on an NVMe drive. I also have an LV on a SATA SSD formatted ext4. So, I copied the Stellaris install folder over to the ext4 LV, made a symlink to it on the XFS LV, and tried launching Stellaris. And what do you know? It finally worked.

After doing some searching, I came across the following topics regarding Stellaris and XFS specifically (add https: and replace DOT with .):
//forumDOTparadoxplazaDOTcom/forum/threads/severe-graphics-problem-after-installing-dlc-upgrades-ubuntu.1024132/post-23058124
//steamcommunityDOTcom/app/281990/discussions/0/357285562495332291/#c357286119104074497

Additionally, if you search for XFS on these forums, there's been plenty of other people with similar problems in other Paradox games, largely all solved by moving the game to an ext4 partition.

It looks like this is just a common thing with Paradox games: if you're running Linux, stick to ext4; don't install them on top of XFS.
 
Last edited:
Maybe this is not the correct answer, I am also facing the same problem
Ubuntu-21.04.png
 
  • 1Like
Reactions: