Posted November 21, 2021
Had problems to run IG2. The game was running but no visuals where displayed just a black screen. Activated the logs in the ig2.settings. The problem is that the shaders can't compile because they some older version as the default OpenGL 4.6 core profile that seems are used by default. Properly IG2 don't set the OpenGL version to be used propertly.
Those where the rrrors in my logfile.txt
Compiling vertex shader
Vertex shader failed:
0:8(1): error: illegal use of reserved word `varying'
0:8(1): error: syntax error, unexpected ERROR_TOK
Worked around it with overriding the MESA OpenGL version like:
cd <path to ig2 "game" folder where ig2 and libGLEW.so.1.13 and co resides>
MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 ./ig2
Hope that helps some of you guys.
Happy Gaming :)
Those where the rrrors in my logfile.txt
Compiling vertex shader
Vertex shader failed:
0:8(1): error: illegal use of reserved word `varying'
0:8(1): error: syntax error, unexpected ERROR_TOK
Worked around it with overriding the MESA OpenGL version like:
cd <path to ig2 "game" folder where ig2 and libGLEW.so.1.13 and co resides>
MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 ./ig2
Hope that helps some of you guys.
Happy Gaming :)
Post edited November 21, 2021 by sven.gleitsmann