supertux icon indicating copy to clipboard operation
supertux copied to clipboard

Crash on startup

Open KarolWojtasiuk opened this issue 3 years ago • 4 comments

SuperTux version: 0.6.3 System information: Windows 11 21H2

Expected behavior

Game starts correctly

Actual behavior

Crashes as soon as the game window appears

Steps to reproduce actual behavior
  1. Install game (Steam version also does not work)
  2. Run
Additional debugging information

console.err

[FATAL] C:\Users\User\supertux\src\supertux\main.cpp:672 Unexpected exception: C:\Users\User\supertux\src\video\gl\gl_texture.cpp:78: glGetError: INVALID_OPERATION: The specified operation is not allowed in the current state.
[FATAL] C:\Users\User\supertux\src\supertux\main.cpp:672 Unexpected exception: C:\Users\User\supertux\src\video\gl\gl_texture.cpp:78: glGetError: INVALID_OPERATION: The specified operation is not allowed in the current state.
[FATAL] C:\Users\User\supertux\src\supertux\main.cpp:672 Unexpected exception: C:\Users\User\supertux\src\video\gl\gl_texture.cpp:78: glGetError: INVALID_OPERATION: The specified operation is not allowed in the current state.
[FATAL] C:\Users\User\supertux\src\supertux\main.cpp:672 Unexpected exception: C:\Users\User\supertux\src\video\gl\gl_texture.cpp:78: glGetError: INVALID_OPERATION: The specified operation is not allowed in the current state.
[FATAL] C:\Users\User\supertux\src\supertux\main.cpp:672 Unexpected exception: C:\Users\User\supertux\src\video\gl\gl_texture.cpp:78: glGetError: INVALID_OPERATION: The specified operation is not allowed in the current state.
[FATAL] C:\Users\User\supertux\src\supertux\main.cpp:672 Unexpected exception: C:\Users\User\supertux\src\video\gl\gl_texture.cpp:78: glGetError: INVALID_OPERATION: The specified operation is not allowed in the current state.

KarolWojtasiuk avatar Jan 14 '22 15:01 KarolWojtasiuk

It is related to your graphics drivers. Try changing renderer via editing video value in file %appdata%\SuperTux\.supertux2\config (I'm not sure about this path as I don't use Windows but it is something like that) to opengl20 or sdl.

mrkubax10 avatar Jan 14 '22 17:01 mrkubax10

An update of your graphics driver could be beneficial as well, if you haven't done that already.

tobbi avatar Jan 15 '22 09:01 tobbi

An update of your graphics driver could be beneficial as well, if you haven't done that already.

I have the latest AMD drivers, so that's not a problem.

It is related to your graphics drivers. Try changing renderer via editing video value in file %appdata%\SuperTux.supertux2\config (I'm not sure about this path as I don't use Windows but it is something like that) to opengl20 or sdl.

After setting the value to "opengl20" I had issues with overlays (Steam and RivaTuner) but using "sdl" it works perfectly.

I'm curious why "auto" does not work for me :/

ghost avatar Jan 15 '22 10:01 ghost

The "auto" option defaults to OpenGL 3.3 if your OS declares supporting it. If it declares supporting it but does not support it well, SuperTux will attempt to use it and will run into errors, which result in a crash.

Semphriss avatar Jan 19 '22 05:01 Semphriss