protonscr

Insurgency run from Steam does not start with failed to create GL context

steamclosed 3rd party gameruntimeDistro Family: Arch
ValveSoftware/steam-for-linux#7421 · opened 2020-10-20 by ghost · updated 2021-10-22 · 5 comments · github
?ghost 2020-10-20 github

Your system information

  • Steam client version (build number or date): Oct 15,2020. at 19:03:06
  • Distribution (e.g. Ubuntu): Arch Linux
  • Opted into Steam client beta?: [Yes/No] No
  • Have you checked for system updates?: [Yes/No] Yes

Please describe your issue in as much detail as possible:

  1. Download cs:go.
  2. Launch cs:go(both steam-native [using system's native libraries] and steam-runtime[using steam runtime].
  3. Game doesn't actually start.
  4. %command% > ~/csgo.log, insurgency_run_from_steam.log,
    LC_CTYPE="en_US.UTF-8" ./insurgency_linux &> insurgency.log: https://gist.github.com/kubast2/b9ef9a5d7845d40945c51e47bbc46d77

Insurgency can't find locale that has been generated:
image
cat /etc/locale.conf
LANG=en_US.UTF-8
sudo locale-gen
[sudo] password for kubast2:
Generating locales...
en_US.UTF-8... done
pl_PL.UTF-8... done

  1. Checked and it wouldn't bodge. Because the csgo libraries that fail are unique to cs:go are 32bit and the binary is 64bit.

Steps for reproducing this issue:

-1. Using ACO, but chainging to LLVM shader compiler doesn't help.

  1. Download cs:go.
  2. Launch cs:go(both steam-native [using system's native libraries] and steam-runtime[using steam runtime].
  3. Game doesn't actually start.
    Either because "wrong ELF class: ELFCLASS32" or "Timed out waiting for game mapping!"
  4. Possibly requires Asrock b550m pro4's asrock's led controller to break to break(?).

Left 4 Dead 2 works fine.

Kkisak-valve maintainer 2020-10-20 github

Hello @kubast2, Found joystick 'ASRock LED Controller' (03000000ce260000a201000010010000), but no recognized controller configuration for it. in your log hints that you've encountered https://github.com/ValveSoftware/csgo-osx-linux/issues/1757. Add -nojoy to CS:GO's launch options to workaround that issue.

The 32 bit library issue with CS:GO is being tracked at https://github.com/ValveSoftware/csgo-osx-linux/issues/1311. This is known to be a harmless oddity.

Let's use this issue report to focus on the Insurgency issue. That issue should also be mentioned to the game's dev(s).

In the future, please don't mix multiple game titles in the same issue report unless you're sure that the issue you're seeing has the same root cause.

Kkisak-valve maintainer 2020-10-20 github

Insurgency might be using <game_folder>/bin/libgcc_s.so.1 when launched from Steam but not from the terminal, and that library would be too old for mesa on Arch. Try deleting that file or test https://wiki.archlinux.org/index.php/Steam/Game-specific_troubleshooting#Insurgency.

?ghost 2020-10-23 github

Insurgency might be using <game_folder>/bin/libgcc_s.so.1 when launched from Steam but not from the terminal, and that library would be too old for mesa on Arch. Try deleting that file or test https://wiki.archlinux.org/index.php/Steam/Game-specific_troubleshooting#Insurgency.
Yep it works.

Rrhysday 2021-10-22 github

I tried all the fixes here and still can't get it to load on arch linux.

SDL video target is 'x11'
SDL video target is 'x11'

SDL failed to create GL compatibility profile (whichProfile=0!
SDL failed to create GL compatibility profile (whichProfile=0!

This system supports the OpenGL extension GL_EXT_framebuffer_object.
This system supports the OpenGL extension GL_EXT_framebuffer_blit.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
This system DOES NOT support the OpenGL extension GL_APPLE_fence.
This system supports the OpenGL extension GL_NV_fence.
This system supports the OpenGL extension GL_ARB_sync.
This system supports the OpenGL extension GL_EXT_draw_buffers2.
This system supports the OpenGL extension GL_EXT_bindable_uniform.
This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range.
This system supports the OpenGL extension GL_ARB_map_buffer_range.
This system supports the OpenGL extension GL_ARB_vertex_buffer_object.
This system supports the OpenGL extension GL_ARB_occlusion_query.
This system DOES NOT support the OpenGL extension GL_APPLE_texture_range.
This system DOES NOT support the OpenGL extension GL_APPLE_client_storage.
This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
This system supports the OpenGL extension GL_ARB_vertex_array_bgra.
This system supports the OpenGL extension GL_EXT_vertex_array_bgra.
This system supports the OpenGL extension GL_ARB_framebuffer_object.
This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker.
This system supports the OpenGL extension GL_ARB_debug_output.
This system supports the OpenGL extension GL_EXT_direct_state_access.
This system supports the OpenGL extension GL_NV_bindless_texture.
This system DOES NOT support the OpenGL extension GL_AMD_pinned_memory.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled.
This system supports the OpenGL extension GL_EXT_texture_sRGB_decode.
This system supports the OpenGL extension GL_NVX_gpu_memory_info.
This system DOES NOT support the OpenGL extension GL_ATI_meminfo.
This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
This system supports the OpenGL extension GL_EXT_texture_compression_dxt1.
This system DOES NOT support the OpenGL extension GL_ANGLE_texture_compression_dxt3.
This system DOES NOT support the OpenGL extension GL_ANGLE_texture_compression_dxt5.
This system supports the OpenGL extension GL_ARB_buffer_storage.
This system supports the OpenGL extension GLX_EXT_swap_control_tear.
failed to dlopen /home/me/.local/games/steamapps/common/insurgency2/bin/engine.so error=libopenal.so.1: cannot open shared object file: No such file or directory
failed to dlopen /home/me/.local/games/steamapps/common/insurgency2/bin/engine.so error=libopenal.so.1: cannot open shared object file: No such file or directory

failed to dlopen engine.so error=engine.so: cannot open shared object file: No such file or directory
failed to dlopen engine.so error=engine.so: cannot open shared object file: No such file or directory

AppFramework : Unable to load library module engine.so!
AppFramework : Unable to load library module engine.so!

Unable to load interface VCvarQuery001 from engine.so, requested from EXE.
Unable to load interface VCvarQuery001 from engine.so, requested from EXE.

Kkisak-valve maintainer 2021-10-22 github

Hello @rhysday, failed to dlopen /home/me/.local/games/steamapps/common/insurgency2/bin/engine.so error=libopenal.so.1: cannot open shared object file: No such file or directory in your log is the game trying to tell you it can't find libopenal.so.1 for some reason. OpenAL is provided by the Steam runtime, so it should always be available in some form to all Steam games. If you're using something to disable Steam's LD_* runtime (like steam-native), then you or whoever helped you disable the Steam runtime is responsible for providing any dependencies a game needs.

Closing because the user who opened this issue report has turned into a ghost.

Nothing extracted yet.