Frictional Games Forum (read-only)
Game doesn't start at all - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-57.html)
+--- Forum: Technical Support - SOMA (https://www.frictionalgames.com/forum/forum-74.html)
+---- Forum: Linux - SOMA (https://www.frictionalgames.com/forum/forum-75.html)
+---- Thread: Game doesn't start at all (/thread-54507.html)



Game doesn't start at all - poke86 - 06-07-2018

Hello
The game doesn't start at all via Steam or the Soma_NoSteam.bin.x86_64 executable.
Launching Soma_NoSteam.bin.x86_64 in a terminal gives this message : 

$ ./Soma_NoSteam.bin.x86_64 
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  101
  Current serial number in output stream:  102

Intel i5 6600K, GTX 1060 6GB, proprietary 396.24 driver, dual 1080p screens.


RE: Game doesn't start at all - Caterpillar - 06-07-2018

I am a Frictional Games customer like you. I will try helping you because since some years, despite releasing Linux games, Frictional Games has completely dropped Linux end user support. This is unacceptable.

Could you please show us the output of commands


Code:
cat ~/.local/share/frictionalgames/Soma/Launcher.log


Code:
cat ~/.local/share/frictionalgames/Soma/Main/hpl.log



RE: Game doesn't start at all - Guest - 11-30-2018

(06-07-2018, 08:30 AM)poke86 Wrote: Hello
The game doesn't start at all via Steam or the Soma_NoSteam.bin.x86_64 executable.
Launching Soma_NoSteam.bin.x86_64 in a terminal gives this message : 

$ ./Soma_NoSteam.bin.x86_64 
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  101
  Current serial number in output stream:  102

Intel i5 6600K, GTX 1060 6GB, proprietary 396.24 driver, dual 1080p screens.



RE: Game doesn't start at all - Guest - 11-30-2018

The Problem is that Soma doesn't create a GL 3.3 Context hence
"3 (X_GLXCreateContext)".which defaults to compatibility mode opengl 3. I surmise back when it was created it could get away with whatever mechanisms it used but not with 4.X opengl it seems.
Since the game folder files are flat except for the .exe's you could get away with tinkering with the main graphics init file (if there is one) to fix the problem. I've poked around but haven't found it YET.  Looks pretty easy. https://www.khronos.org/opengl/wiki/OpenGL_Context

Just an idea.


RE: Game doesn't start at all - ace102 - 11-30-2018

To Correct myself from above:

Either Mesa is advertising the wrong GL Version to Soma(Glew?) or Soma is asking for the wrong string in Mesa...nVidia seems to advertise the Max core from what I've seen.
IE. glxinfo
Max core profile version: 4.2
Max compat profile version: 3.0

Soma(Glew?) reads the compat not the max core version hence why the shaders will not compile.

The plot thickens.....


RE: Game doesn't start at all - ace102 - 12-02-2018

Solution (for MESA users):
MESA_GLSL_VERSION_OVERRIDE=420 MESA_GL_VERSION_OVERRIDE=4.2 /path/to/Soma

Specifying GL_VERSION_OVERRIDE=3.3COMPAT will also make your GL VERSION 3.3 ,so don't use it,

You can adjust the versions for your card and they can be used in Steam in the Launch Options.

Tested with GPU Caps Viewer(Wine) and glxinfo

Via https://www.mesa3d.org/envvars.html